@aws-sdk/client-ses 3.353.0 → 3.357.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.
|
@@ -950,7 +950,7 @@ const de_CreateCustomVerificationEmailTemplateCommand = async (output, context)
|
|
|
950
950
|
if (output.statusCode >= 300) {
|
|
951
951
|
return de_CreateCustomVerificationEmailTemplateCommandError(output, context);
|
|
952
952
|
}
|
|
953
|
-
await collectBody(output.body, context);
|
|
953
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
954
954
|
const response = {
|
|
955
955
|
$metadata: deserializeMetadata(output),
|
|
956
956
|
};
|
|
@@ -1256,7 +1256,7 @@ const de_DeleteCustomVerificationEmailTemplateCommand = async (output, context)
|
|
|
1256
1256
|
if (output.statusCode >= 300) {
|
|
1257
1257
|
return de_DeleteCustomVerificationEmailTemplateCommandError(output, context);
|
|
1258
1258
|
}
|
|
1259
|
-
await collectBody(output.body, context);
|
|
1259
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1260
1260
|
const response = {
|
|
1261
1261
|
$metadata: deserializeMetadata(output),
|
|
1262
1262
|
};
|
|
@@ -1454,7 +1454,7 @@ const de_DeleteVerifiedEmailAddressCommand = async (output, context) => {
|
|
|
1454
1454
|
if (output.statusCode >= 300) {
|
|
1455
1455
|
return de_DeleteVerifiedEmailAddressCommandError(output, context);
|
|
1456
1456
|
}
|
|
1457
|
-
await collectBody(output.body, context);
|
|
1457
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1458
1458
|
const response = {
|
|
1459
1459
|
$metadata: deserializeMetadata(output),
|
|
1460
1460
|
};
|
|
@@ -2717,7 +2717,7 @@ const de_UpdateAccountSendingEnabledCommand = async (output, context) => {
|
|
|
2717
2717
|
if (output.statusCode >= 300) {
|
|
2718
2718
|
return de_UpdateAccountSendingEnabledCommandError(output, context);
|
|
2719
2719
|
}
|
|
2720
|
-
await collectBody(output.body, context);
|
|
2720
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2721
2721
|
const response = {
|
|
2722
2722
|
$metadata: deserializeMetadata(output),
|
|
2723
2723
|
};
|
|
@@ -2786,7 +2786,7 @@ const de_UpdateConfigurationSetReputationMetricsEnabledCommand = async (output,
|
|
|
2786
2786
|
if (output.statusCode >= 300) {
|
|
2787
2787
|
return de_UpdateConfigurationSetReputationMetricsEnabledCommandError(output, context);
|
|
2788
2788
|
}
|
|
2789
|
-
await collectBody(output.body, context);
|
|
2789
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2790
2790
|
const response = {
|
|
2791
2791
|
$metadata: deserializeMetadata(output),
|
|
2792
2792
|
};
|
|
@@ -2816,7 +2816,7 @@ const de_UpdateConfigurationSetSendingEnabledCommand = async (output, context) =
|
|
|
2816
2816
|
if (output.statusCode >= 300) {
|
|
2817
2817
|
return de_UpdateConfigurationSetSendingEnabledCommandError(output, context);
|
|
2818
2818
|
}
|
|
2819
|
-
await collectBody(output.body, context);
|
|
2819
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2820
2820
|
const response = {
|
|
2821
2821
|
$metadata: deserializeMetadata(output),
|
|
2822
2822
|
};
|
|
@@ -2885,7 +2885,7 @@ const de_UpdateCustomVerificationEmailTemplateCommand = async (output, context)
|
|
|
2885
2885
|
if (output.statusCode >= 300) {
|
|
2886
2886
|
return de_UpdateCustomVerificationEmailTemplateCommandError(output, context);
|
|
2887
2887
|
}
|
|
2888
|
-
await collectBody(output.body, context);
|
|
2888
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2889
2889
|
const response = {
|
|
2890
2890
|
$metadata: deserializeMetadata(output),
|
|
2891
2891
|
};
|
|
@@ -3059,7 +3059,7 @@ const de_VerifyEmailAddressCommand = async (output, context) => {
|
|
|
3059
3059
|
if (output.statusCode >= 300) {
|
|
3060
3060
|
return de_VerifyEmailAddressCommandError(output, context);
|
|
3061
3061
|
}
|
|
3062
|
-
await collectBody(output.body, context);
|
|
3062
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3063
3063
|
const response = {
|
|
3064
3064
|
$metadata: deserializeMetadata(output),
|
|
3065
3065
|
};
|
|
@@ -6390,13 +6390,7 @@ const deserializeMetadata = (output) => ({
|
|
|
6390
6390
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
6391
6391
|
cfId: output.headers["x-amz-cf-id"],
|
|
6392
6392
|
});
|
|
6393
|
-
const
|
|
6394
|
-
if (streamBody instanceof Uint8Array) {
|
|
6395
|
-
return Promise.resolve(streamBody);
|
|
6396
|
-
}
|
|
6397
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6398
|
-
};
|
|
6399
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
6393
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
6400
6394
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(SESServiceException_1.SESServiceException);
|
|
6401
6395
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
6402
6396
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AccountSendingPausedException, AlreadyExistsException, CannotDeleteException, ConfigurationSetAlreadyExistsException, ConfigurationSetDoesNotExistException, ConfigurationSetSendingPausedException, CustomVerificationEmailInvalidContentException, CustomVerificationEmailTemplateAlreadyExistsException, CustomVerificationEmailTemplateDoesNotExistException, EventDestinationAlreadyExistsException, EventDestinationDoesNotExistException, FromEmailAddressNotVerifiedException, InvalidCloudWatchDestinationException, InvalidConfigurationSetException, InvalidDeliveryOptionsException, InvalidFirehoseDestinationException, InvalidLambdaFunctionException, InvalidPolicyException, InvalidRenderingParameterException, InvalidS3ConfigurationException, InvalidSNSDestinationException, InvalidSnsTopicException, InvalidTemplateException, InvalidTrackingOptionsException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, MissingRenderingAttributeException, ProductionAccessNotGrantedException, RuleDoesNotExistException, RuleSetDoesNotExistException, TemplateDoesNotExistException, TrackingOptionsAlreadyExistsException, TrackingOptionsDoesNotExistException, } from "../models/models_0";
|
|
@@ -6243,12 +6243,6 @@ const deserializeMetadata = (output) => ({
|
|
|
6243
6243
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
6244
6244
|
cfId: output.headers["x-amz-cf-id"],
|
|
6245
6245
|
});
|
|
6246
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
6247
|
-
if (streamBody instanceof Uint8Array) {
|
|
6248
|
-
return Promise.resolve(streamBody);
|
|
6249
|
-
}
|
|
6250
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6251
|
-
};
|
|
6252
6246
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
6253
6247
|
const throwDefaultError = withBaseException(__BaseException);
|
|
6254
6248
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -144,7 +144,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
144
144
|
*/
|
|
145
145
|
runtime?: string;
|
|
146
146
|
/**
|
|
147
|
-
* Disable
|
|
147
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
148
148
|
* trait of an operation.
|
|
149
149
|
*/
|
|
150
150
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ses",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.357.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",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.357.0",
|
|
56
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
57
57
|
"@smithy/types": "^1.0.0",
|
|
58
58
|
"fast-xml-parser": "4.2.4",
|