@aws-sdk/client-sesv2 3.216.0 → 3.218.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.
|
@@ -524,7 +524,7 @@ const serializeAws_restJson1GetBlacklistReportsCommand = async (input, context)
|
|
|
524
524
|
"/v2/email/deliverability-dashboard/blacklist-report";
|
|
525
525
|
const query = map({
|
|
526
526
|
BlacklistItemNames: [
|
|
527
|
-
()
|
|
527
|
+
(0, smithy_client_1.expectNonNull)(input.BlacklistItemNames, `BlacklistItemNames`) != null,
|
|
528
528
|
() => (input.BlacklistItemNames || []).map((_entry) => _entry),
|
|
529
529
|
],
|
|
530
530
|
});
|
|
@@ -750,10 +750,13 @@ const serializeAws_restJson1GetDomainStatisticsReportCommand = async (input, con
|
|
|
750
750
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Domain", () => input.Domain, "{Domain}", false);
|
|
751
751
|
const query = map({
|
|
752
752
|
StartDate: [
|
|
753
|
-
()
|
|
753
|
+
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
754
754
|
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
755
755
|
],
|
|
756
|
-
EndDate: [
|
|
756
|
+
EndDate: [
|
|
757
|
+
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
758
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
759
|
+
],
|
|
757
760
|
});
|
|
758
761
|
let body;
|
|
759
762
|
return new protocol_http_1.HttpRequest({
|
|
@@ -998,10 +1001,13 @@ const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (in
|
|
|
998
1001
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SubscribedDomain", () => input.SubscribedDomain, "{SubscribedDomain}", false);
|
|
999
1002
|
const query = map({
|
|
1000
1003
|
StartDate: [
|
|
1001
|
-
()
|
|
1004
|
+
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
1002
1005
|
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
1003
1006
|
],
|
|
1004
|
-
EndDate: [
|
|
1007
|
+
EndDate: [
|
|
1008
|
+
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
1009
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
1010
|
+
],
|
|
1005
1011
|
NextToken: [, input.NextToken],
|
|
1006
1012
|
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
1007
1013
|
});
|
|
@@ -1141,7 +1147,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
1141
1147
|
const headers = {};
|
|
1142
1148
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/tags";
|
|
1143
1149
|
const query = map({
|
|
1144
|
-
ResourceArn: [, input.ResourceArn],
|
|
1150
|
+
ResourceArn: [, (0, smithy_client_1.expectNonNull)(input.ResourceArn, `ResourceArn`)],
|
|
1145
1151
|
});
|
|
1146
1152
|
let body;
|
|
1147
1153
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1777,8 +1783,11 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1777
1783
|
const headers = {};
|
|
1778
1784
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/tags";
|
|
1779
1785
|
const query = map({
|
|
1780
|
-
ResourceArn: [, input.ResourceArn],
|
|
1781
|
-
TagKeys: [
|
|
1786
|
+
ResourceArn: [, (0, smithy_client_1.expectNonNull)(input.ResourceArn, `ResourceArn`)],
|
|
1787
|
+
TagKeys: [
|
|
1788
|
+
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
1789
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
1790
|
+
],
|
|
1782
1791
|
});
|
|
1783
1792
|
let body;
|
|
1784
1793
|
return new protocol_http_1.HttpRequest({
|
|
@@ -495,7 +495,7 @@ export const serializeAws_restJson1GetBlacklistReportsCommand = async (input, co
|
|
|
495
495
|
"/v2/email/deliverability-dashboard/blacklist-report";
|
|
496
496
|
const query = map({
|
|
497
497
|
BlacklistItemNames: [
|
|
498
|
-
(
|
|
498
|
+
__expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null,
|
|
499
499
|
() => (input.BlacklistItemNames || []).map((_entry) => _entry),
|
|
500
500
|
],
|
|
501
501
|
});
|
|
@@ -709,10 +709,13 @@ export const serializeAws_restJson1GetDomainStatisticsReportCommand = async (inp
|
|
|
709
709
|
resolvedPath = __resolvedPath(resolvedPath, input, "Domain", () => input.Domain, "{Domain}", false);
|
|
710
710
|
const query = map({
|
|
711
711
|
StartDate: [
|
|
712
|
-
(
|
|
712
|
+
__expectNonNull(input.StartDate, `StartDate`) != null,
|
|
713
713
|
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
714
714
|
],
|
|
715
|
-
EndDate: [
|
|
715
|
+
EndDate: [
|
|
716
|
+
__expectNonNull(input.EndDate, `EndDate`) != null,
|
|
717
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
718
|
+
],
|
|
716
719
|
});
|
|
717
720
|
let body;
|
|
718
721
|
return new __HttpRequest({
|
|
@@ -945,10 +948,13 @@ export const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = as
|
|
|
945
948
|
resolvedPath = __resolvedPath(resolvedPath, input, "SubscribedDomain", () => input.SubscribedDomain, "{SubscribedDomain}", false);
|
|
946
949
|
const query = map({
|
|
947
950
|
StartDate: [
|
|
948
|
-
(
|
|
951
|
+
__expectNonNull(input.StartDate, `StartDate`) != null,
|
|
949
952
|
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
950
953
|
],
|
|
951
|
-
EndDate: [
|
|
954
|
+
EndDate: [
|
|
955
|
+
__expectNonNull(input.EndDate, `EndDate`) != null,
|
|
956
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
957
|
+
],
|
|
952
958
|
NextToken: [, input.NextToken],
|
|
953
959
|
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
954
960
|
});
|
|
@@ -1082,7 +1088,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
1082
1088
|
const headers = {};
|
|
1083
1089
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/tags";
|
|
1084
1090
|
const query = map({
|
|
1085
|
-
ResourceArn: [, input.ResourceArn],
|
|
1091
|
+
ResourceArn: [, __expectNonNull(input.ResourceArn, `ResourceArn`)],
|
|
1086
1092
|
});
|
|
1087
1093
|
let body;
|
|
1088
1094
|
return new __HttpRequest({
|
|
@@ -1692,8 +1698,11 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
1692
1698
|
const headers = {};
|
|
1693
1699
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/tags";
|
|
1694
1700
|
const query = map({
|
|
1695
|
-
ResourceArn: [, input.ResourceArn],
|
|
1696
|
-
TagKeys: [
|
|
1701
|
+
ResourceArn: [, __expectNonNull(input.ResourceArn, `ResourceArn`)],
|
|
1702
|
+
TagKeys: [
|
|
1703
|
+
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
1704
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
1705
|
+
],
|
|
1697
1706
|
});
|
|
1698
1707
|
let body;
|
|
1699
1708
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sesv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|