@aws-sdk/client-ses 3.185.0 → 3.188.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.
- package/CHANGELOG.md +16 -0
- package/dist-cjs/protocols/Aws_query.js +8 -4
- package/dist-es/SES.js +286 -293
- package/dist-es/SESClient.js +22 -28
- package/dist-es/commands/CloneReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +22 -29
- package/dist-es/commands/CreateReceiptFilterCommand.js +21 -28
- package/dist-es/commands/CreateReceiptRuleCommand.js +21 -28
- package/dist-es/commands/CreateReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/CreateTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +22 -29
- package/dist-es/commands/DeleteIdentityCommand.js +21 -28
- package/dist-es/commands/DeleteIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteReceiptFilterCommand.js +21 -28
- package/dist-es/commands/DeleteReceiptRuleCommand.js +21 -28
- package/dist-es/commands/DeleteReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/DeleteTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +22 -29
- package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DescribeReceiptRuleCommand.js +21 -28
- package/dist-es/commands/DescribeReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/GetAccountSendingEnabledCommand.js +22 -29
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetIdentityDkimAttributesCommand.js +21 -28
- package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +21 -28
- package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +21 -28
- package/dist-es/commands/GetIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +21 -28
- package/dist-es/commands/GetSendQuotaCommand.js +22 -29
- package/dist-es/commands/GetSendStatisticsCommand.js +22 -29
- package/dist-es/commands/GetTemplateCommand.js +21 -28
- package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListIdentitiesCommand.js +21 -28
- package/dist-es/commands/ListIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/ListReceiptFiltersCommand.js +21 -28
- package/dist-es/commands/ListReceiptRuleSetsCommand.js +21 -28
- package/dist-es/commands/ListTemplatesCommand.js +21 -28
- package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +22 -29
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
- package/dist-es/commands/PutIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/ReorderReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/SendBounceCommand.js +21 -28
- package/dist-es/commands/SendBulkTemplatedEmailCommand.js +21 -28
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
- package/dist-es/commands/SendEmailCommand.js +21 -28
- package/dist-es/commands/SendRawEmailCommand.js +21 -28
- package/dist-es/commands/SendTemplatedEmailCommand.js +21 -28
- package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/SetIdentityDkimEnabledCommand.js +21 -28
- package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +21 -28
- package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +21 -28
- package/dist-es/commands/SetIdentityMailFromDomainCommand.js +21 -28
- package/dist-es/commands/SetIdentityNotificationTopicCommand.js +21 -28
- package/dist-es/commands/SetReceiptRulePositionCommand.js +21 -28
- package/dist-es/commands/TestRenderTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +22 -29
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +22 -29
- package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +22 -29
- package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +22 -29
- package/dist-es/commands/UpdateReceiptRuleCommand.js +21 -28
- package/dist-es/commands/UpdateTemplateCommand.js +21 -28
- package/dist-es/commands/VerifyDomainDkimCommand.js +21 -28
- package/dist-es/commands/VerifyDomainIdentityCommand.js +21 -28
- package/dist-es/commands/VerifyEmailAddressCommand.js +22 -29
- package/dist-es/commands/VerifyEmailIdentityCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SESServiceException.js +5 -10
- package/dist-es/models/models_0.js +950 -609
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListIdentitiesPaginator.js +25 -68
- package/dist-es/protocols/Aws_query.js +4301 -5641
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForIdentityExists.js +35 -66
- package/package.json +35 -36
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { VerifyEmailAddressRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryVerifyEmailAddressCommand, serializeAws_queryVerifyEmailAddressCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class VerifyEmailAddressCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "SESClient";
|
|
15
|
+
const commandName = "VerifyEmailAddressCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: VerifyEmailAddressRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
VerifyEmailAddressCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryVerifyEmailAddressCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryVerifyEmailAddressCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { VerifyEmailAddressCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { VerifyEmailIdentityRequestFilterSensitiveLog, VerifyEmailIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryVerifyEmailIdentityCommand, serializeAws_queryVerifyEmailIdentityCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class VerifyEmailIdentityCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "SESClient";
|
|
15
|
+
const commandName = "VerifyEmailIdentityCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: VerifyEmailIdentityRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: VerifyEmailIdentityResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
VerifyEmailIdentityCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryVerifyEmailIdentityCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryVerifyEmailIdentityCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { VerifyEmailIdentityCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"us-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -26,7 +25,7 @@ var regionHash = {
|
|
|
26
25
|
],
|
|
27
26
|
},
|
|
28
27
|
};
|
|
29
|
-
|
|
28
|
+
const partitionHash = {
|
|
30
29
|
aws: {
|
|
31
30
|
regions: [
|
|
32
31
|
"af-south-1",
|
|
@@ -148,8 +147,9 @@ var partitionHash = {
|
|
|
148
147
|
],
|
|
149
148
|
},
|
|
150
149
|
};
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
151
|
+
...options,
|
|
152
|
+
signingService: "ses",
|
|
153
|
+
regionHash,
|
|
154
|
+
partitionHash,
|
|
155
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, SESServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class SESServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, SESServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { SESServiceException };
|
|
7
|
+
}
|