@aws-sdk/client-pinpoint-email 3.241.0 → 3.252.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -387,11 +387,11 @@ const serializeAws_restJson1GetDomainStatisticsReportCommand = async (input, con
|
|
|
387
387
|
const query = map({
|
|
388
388
|
StartDate: [
|
|
389
389
|
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
390
|
-
() =>
|
|
390
|
+
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
391
391
|
],
|
|
392
392
|
EndDate: [
|
|
393
393
|
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
394
|
-
() =>
|
|
394
|
+
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
395
395
|
],
|
|
396
396
|
});
|
|
397
397
|
let body;
|
|
@@ -497,11 +497,11 @@ const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (in
|
|
|
497
497
|
const query = map({
|
|
498
498
|
StartDate: [
|
|
499
499
|
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
500
|
-
() =>
|
|
500
|
+
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
501
501
|
],
|
|
502
502
|
EndDate: [
|
|
503
503
|
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
504
|
-
() =>
|
|
504
|
+
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
505
505
|
],
|
|
506
506
|
NextToken: [, input.NextToken],
|
|
507
507
|
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
@@ -2885,7 +2885,7 @@ const serializeAws_restJson1DomainDeliverabilityTrackingOption = (input, context
|
|
|
2885
2885
|
InboxPlacementTrackingOption: serializeAws_restJson1InboxPlacementTrackingOption(input.InboxPlacementTrackingOption, context),
|
|
2886
2886
|
}),
|
|
2887
2887
|
...(input.SubscriptionStartDate != null && {
|
|
2888
|
-
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000),
|
|
2888
|
+
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000).toString(),
|
|
2889
2889
|
}),
|
|
2890
2890
|
};
|
|
2891
2891
|
};
|
|
@@ -2987,7 +2987,9 @@ const serializeAws_restJson1RawMessage = (input, context) => {
|
|
|
2987
2987
|
};
|
|
2988
2988
|
const serializeAws_restJson1ReputationOptions = (input, context) => {
|
|
2989
2989
|
return {
|
|
2990
|
-
...(input.LastFreshStart != null && {
|
|
2990
|
+
...(input.LastFreshStart != null && {
|
|
2991
|
+
LastFreshStart: Math.round(input.LastFreshStart.getTime() / 1000).toString(),
|
|
2992
|
+
}),
|
|
2991
2993
|
...(input.ReputationMetricsEnabled != null && { ReputationMetricsEnabled: input.ReputationMetricsEnabled }),
|
|
2992
2994
|
};
|
|
2993
2995
|
};
|
|
@@ -365,11 +365,11 @@ export const serializeAws_restJson1GetDomainStatisticsReportCommand = async (inp
|
|
|
365
365
|
const query = map({
|
|
366
366
|
StartDate: [
|
|
367
367
|
__expectNonNull(input.StartDate, `StartDate`) != null,
|
|
368
|
-
() =>
|
|
368
|
+
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
369
369
|
],
|
|
370
370
|
EndDate: [
|
|
371
371
|
__expectNonNull(input.EndDate, `EndDate`) != null,
|
|
372
|
-
() =>
|
|
372
|
+
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
373
373
|
],
|
|
374
374
|
});
|
|
375
375
|
let body;
|
|
@@ -470,11 +470,11 @@ export const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = as
|
|
|
470
470
|
const query = map({
|
|
471
471
|
StartDate: [
|
|
472
472
|
__expectNonNull(input.StartDate, `StartDate`) != null,
|
|
473
|
-
() =>
|
|
473
|
+
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
474
474
|
],
|
|
475
475
|
EndDate: [
|
|
476
476
|
__expectNonNull(input.EndDate, `EndDate`) != null,
|
|
477
|
-
() =>
|
|
477
|
+
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
478
478
|
],
|
|
479
479
|
NextToken: [, input.NextToken],
|
|
480
480
|
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
@@ -2797,7 +2797,7 @@ const serializeAws_restJson1DomainDeliverabilityTrackingOption = (input, context
|
|
|
2797
2797
|
InboxPlacementTrackingOption: serializeAws_restJson1InboxPlacementTrackingOption(input.InboxPlacementTrackingOption, context),
|
|
2798
2798
|
}),
|
|
2799
2799
|
...(input.SubscriptionStartDate != null && {
|
|
2800
|
-
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000),
|
|
2800
|
+
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000).toString(),
|
|
2801
2801
|
}),
|
|
2802
2802
|
};
|
|
2803
2803
|
};
|
|
@@ -2899,7 +2899,9 @@ const serializeAws_restJson1RawMessage = (input, context) => {
|
|
|
2899
2899
|
};
|
|
2900
2900
|
const serializeAws_restJson1ReputationOptions = (input, context) => {
|
|
2901
2901
|
return {
|
|
2902
|
-
...(input.LastFreshStart != null && {
|
|
2902
|
+
...(input.LastFreshStart != null && {
|
|
2903
|
+
LastFreshStart: Math.round(input.LastFreshStart.getTime() / 1000).toString(),
|
|
2904
|
+
}),
|
|
2903
2905
|
...(input.ReputationMetricsEnabled != null && { ReputationMetricsEnabled: input.ReputationMetricsEnabled }),
|
|
2904
2906
|
};
|
|
2905
2907
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-email",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Email Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo pinpoint-email"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.245.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.229.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-node": "3.226.0",
|