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