@aws-sdk/client-sesv2 3.658.0 → 3.658.1
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.
- package/dist-cjs/index.js +3 -9
- package/dist-es/protocols/Aws_restJson1.js +3 -14
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -1216,10 +1216,7 @@ var se_GetBlacklistReportsCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1216
1216
|
const headers = {};
|
|
1217
1217
|
b.bp("/v2/email/deliverability-dashboard/blacklist-report");
|
|
1218
1218
|
const query = (0, import_smithy_client.map)({
|
|
1219
|
-
[_BIN]: [
|
|
1220
|
-
(0, import_smithy_client.expectNonNull)(input.BlacklistItemNames, `BlacklistItemNames`) != null,
|
|
1221
|
-
() => (input[_BIN] || []).map((_entry) => _entry)
|
|
1222
|
-
]
|
|
1219
|
+
[_BIN]: [(0, import_smithy_client.expectNonNull)(input.BlacklistItemNames, `BlacklistItemNames`) != null, () => input[_BIN] || []]
|
|
1223
1220
|
});
|
|
1224
1221
|
let body;
|
|
1225
1222
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1578,7 +1575,7 @@ var se_ListSuppressedDestinationsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1578
1575
|
const headers = {};
|
|
1579
1576
|
b.bp("/v2/email/suppression/addresses");
|
|
1580
1577
|
const query = (0, import_smithy_client.map)({
|
|
1581
|
-
[_Re]: [() => input.Reasons !== void 0, () =>
|
|
1578
|
+
[_Re]: [() => input.Reasons !== void 0, () => input[_R] || []],
|
|
1582
1579
|
[_SD]: [() => input.StartDate !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_SD]).toString()],
|
|
1583
1580
|
[_ED]: [() => input.EndDate !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ED]).toString()],
|
|
1584
1581
|
[_NT]: [, input[_NT]],
|
|
@@ -2040,10 +2037,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2040
2037
|
b.bp("/v2/email/tags");
|
|
2041
2038
|
const query = (0, import_smithy_client.map)({
|
|
2042
2039
|
[_RA]: [, (0, import_smithy_client.expectNonNull)(input[_RA], `ResourceArn`)],
|
|
2043
|
-
[_TK]: [
|
|
2044
|
-
(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
2045
|
-
() => (input[_TK] || []).map((_entry) => _entry)
|
|
2046
|
-
]
|
|
2040
|
+
[_TK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
|
|
2047
2041
|
});
|
|
2048
2042
|
let body;
|
|
2049
2043
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -321,10 +321,7 @@ export const se_GetBlacklistReportsCommand = async (input, context) => {
|
|
|
321
321
|
const headers = {};
|
|
322
322
|
b.bp("/v2/email/deliverability-dashboard/blacklist-report");
|
|
323
323
|
const query = map({
|
|
324
|
-
[_BIN]: [
|
|
325
|
-
__expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null,
|
|
326
|
-
() => (input[_BIN] || []).map((_entry) => _entry),
|
|
327
|
-
],
|
|
324
|
+
[_BIN]: [__expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null, () => input[_BIN] || []],
|
|
328
325
|
});
|
|
329
326
|
let body;
|
|
330
327
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -675,7 +672,7 @@ export const se_ListSuppressedDestinationsCommand = async (input, context) => {
|
|
|
675
672
|
const headers = {};
|
|
676
673
|
b.bp("/v2/email/suppression/addresses");
|
|
677
674
|
const query = map({
|
|
678
|
-
[_Re]: [() => input.Reasons !== void 0, () =>
|
|
675
|
+
[_Re]: [() => input.Reasons !== void 0, () => input[_R] || []],
|
|
679
676
|
[_SD]: [() => input.StartDate !== void 0, () => __serializeDateTime(input[_SD]).toString()],
|
|
680
677
|
[_ED]: [() => input.EndDate !== void 0, () => __serializeDateTime(input[_ED]).toString()],
|
|
681
678
|
[_NT]: [, input[_NT]],
|
|
@@ -1085,10 +1082,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
1085
1082
|
b.bp("/v2/email/tags");
|
|
1086
1083
|
const query = map({
|
|
1087
1084
|
[_RA]: [, __expectNonNull(input[_RA], `ResourceArn`)],
|
|
1088
|
-
[_TK]: [
|
|
1089
|
-
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
1090
|
-
() => (input[_TK] || []).map((_entry) => _entry),
|
|
1091
|
-
],
|
|
1085
|
+
[_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
1092
1086
|
});
|
|
1093
1087
|
let body;
|
|
1094
1088
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -3058,11 +3052,6 @@ const deserializeMetadata = (output) => ({
|
|
|
3058
3052
|
cfId: output.headers["x-amz-cf-id"],
|
|
3059
3053
|
});
|
|
3060
3054
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3061
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3062
|
-
value !== null &&
|
|
3063
|
-
value !== "" &&
|
|
3064
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3065
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3066
3055
|
const _BIN = "BlacklistItemNames";
|
|
3067
3056
|
const _ED = "EndDate";
|
|
3068
3057
|
const _NT = "NextToken";
|
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.658.
|
|
4
|
+
"version": "3.658.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sesv2",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.658.
|
|
24
|
-
"@aws-sdk/client-sts": "3.658.
|
|
25
|
-
"@aws-sdk/core": "3.658.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.658.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
25
|
+
"@aws-sdk/core": "3.658.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.8",
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.4.6",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
39
39
|
"@smithy/hash-node": "^3.0.6",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.6",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.6",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.7",
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.3",
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
49
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
50
50
|
"@smithy/types": "^3.4.2",
|
|
51
51
|
"@smithy/url-parser": "^3.0.6",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
57
57
|
"@smithy/util-endpoints": "^2.1.2",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.6",
|
|
59
59
|
"@smithy/util-retry": "^3.0.6",
|