@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.
Files changed (87) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/SES.js +293 -286
  4. package/dist-es/SESClient.js +28 -22
  5. package/dist-es/commands/CloneReceiptRuleSetCommand.js +28 -21
  6. package/dist-es/commands/CreateConfigurationSetCommand.js +28 -21
  7. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +28 -21
  8. package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +28 -21
  9. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +29 -22
  10. package/dist-es/commands/CreateReceiptFilterCommand.js +28 -21
  11. package/dist-es/commands/CreateReceiptRuleCommand.js +28 -21
  12. package/dist-es/commands/CreateReceiptRuleSetCommand.js +28 -21
  13. package/dist-es/commands/CreateTemplateCommand.js +28 -21
  14. package/dist-es/commands/DeleteConfigurationSetCommand.js +28 -21
  15. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +28 -21
  16. package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +28 -21
  17. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +29 -22
  18. package/dist-es/commands/DeleteIdentityCommand.js +28 -21
  19. package/dist-es/commands/DeleteIdentityPolicyCommand.js +28 -21
  20. package/dist-es/commands/DeleteReceiptFilterCommand.js +28 -21
  21. package/dist-es/commands/DeleteReceiptRuleCommand.js +28 -21
  22. package/dist-es/commands/DeleteReceiptRuleSetCommand.js +28 -21
  23. package/dist-es/commands/DeleteTemplateCommand.js +28 -21
  24. package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +29 -22
  25. package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +28 -21
  26. package/dist-es/commands/DescribeConfigurationSetCommand.js +28 -21
  27. package/dist-es/commands/DescribeReceiptRuleCommand.js +28 -21
  28. package/dist-es/commands/DescribeReceiptRuleSetCommand.js +28 -21
  29. package/dist-es/commands/GetAccountSendingEnabledCommand.js +29 -22
  30. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +28 -21
  31. package/dist-es/commands/GetIdentityDkimAttributesCommand.js +28 -21
  32. package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +28 -21
  33. package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +28 -21
  34. package/dist-es/commands/GetIdentityPoliciesCommand.js +28 -21
  35. package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +28 -21
  36. package/dist-es/commands/GetSendQuotaCommand.js +29 -22
  37. package/dist-es/commands/GetSendStatisticsCommand.js +29 -22
  38. package/dist-es/commands/GetTemplateCommand.js +28 -21
  39. package/dist-es/commands/ListConfigurationSetsCommand.js +28 -21
  40. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +28 -21
  41. package/dist-es/commands/ListIdentitiesCommand.js +28 -21
  42. package/dist-es/commands/ListIdentityPoliciesCommand.js +28 -21
  43. package/dist-es/commands/ListReceiptFiltersCommand.js +28 -21
  44. package/dist-es/commands/ListReceiptRuleSetsCommand.js +28 -21
  45. package/dist-es/commands/ListTemplatesCommand.js +28 -21
  46. package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +29 -22
  47. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +28 -21
  48. package/dist-es/commands/PutIdentityPolicyCommand.js +28 -21
  49. package/dist-es/commands/ReorderReceiptRuleSetCommand.js +28 -21
  50. package/dist-es/commands/SendBounceCommand.js +28 -21
  51. package/dist-es/commands/SendBulkTemplatedEmailCommand.js +28 -21
  52. package/dist-es/commands/SendCustomVerificationEmailCommand.js +28 -21
  53. package/dist-es/commands/SendEmailCommand.js +28 -21
  54. package/dist-es/commands/SendRawEmailCommand.js +28 -21
  55. package/dist-es/commands/SendTemplatedEmailCommand.js +28 -21
  56. package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +28 -21
  57. package/dist-es/commands/SetIdentityDkimEnabledCommand.js +28 -21
  58. package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +28 -21
  59. package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +28 -21
  60. package/dist-es/commands/SetIdentityMailFromDomainCommand.js +28 -21
  61. package/dist-es/commands/SetIdentityNotificationTopicCommand.js +28 -21
  62. package/dist-es/commands/SetReceiptRulePositionCommand.js +28 -21
  63. package/dist-es/commands/TestRenderTemplateCommand.js +28 -21
  64. package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +29 -22
  65. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +28 -21
  66. package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +29 -22
  67. package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +29 -22
  68. package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +28 -21
  69. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +29 -22
  70. package/dist-es/commands/UpdateReceiptRuleCommand.js +28 -21
  71. package/dist-es/commands/UpdateTemplateCommand.js +28 -21
  72. package/dist-es/commands/VerifyDomainDkimCommand.js +28 -21
  73. package/dist-es/commands/VerifyDomainIdentityCommand.js +28 -21
  74. package/dist-es/commands/VerifyEmailAddressCommand.js +29 -22
  75. package/dist-es/commands/VerifyEmailIdentityCommand.js +28 -21
  76. package/dist-es/endpoints.js +8 -8
  77. package/dist-es/models/SESServiceException.js +10 -5
  78. package/dist-es/models/models_0.js +609 -950
  79. package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +68 -25
  80. package/dist-es/pagination/ListIdentitiesPaginator.js +68 -25
  81. package/dist-es/protocols/Aws_query.js +5668 -4324
  82. package/dist-es/runtimeConfig.browser.js +12 -26
  83. package/dist-es/runtimeConfig.js +12 -30
  84. package/dist-es/runtimeConfig.native.js +5 -8
  85. package/dist-es/runtimeConfig.shared.js +11 -8
  86. package/dist-es/waiters/waitForIdentityExists.js +66 -35
  87. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class SESClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var SESClient = (function (_super) {
13
+ __extends(SESClient, _super);
14
+ function SESClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ SESClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return SESClient;
38
+ }(__Client));
39
+ export { SESClient };
@@ -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 { CloneReceiptRuleSetRequestFilterSensitiveLog, CloneReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCloneReceiptRuleSetCommand, serializeAws_queryCloneReceiptRuleSetCommand, } from "../protocols/Aws_query";
5
- export class CloneReceiptRuleSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CloneReceiptRuleSetCommand = (function (_super) {
7
+ __extends(CloneReceiptRuleSetCommand, _super);
8
+ function CloneReceiptRuleSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CloneReceiptRuleSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CloneReceiptRuleSetCommand";
16
- const handlerExecutionContext = {
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 = "CloneReceiptRuleSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CloneReceiptRuleSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CloneReceiptRuleSetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CloneReceiptRuleSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCloneReceiptRuleSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CloneReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCloneReceiptRuleSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CloneReceiptRuleSetCommand;
38
+ }($Command));
39
+ export { CloneReceiptRuleSetCommand };
@@ -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 { CreateConfigurationSetRequestFilterSensitiveLog, CreateConfigurationSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateConfigurationSetCommand, serializeAws_queryCreateConfigurationSetCommand, } from "../protocols/Aws_query";
5
- export class CreateConfigurationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateConfigurationSetCommand = (function (_super) {
7
+ __extends(CreateConfigurationSetCommand, _super);
8
+ function CreateConfigurationSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateConfigurationSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateConfigurationSetCommand";
16
- const handlerExecutionContext = {
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 = "CreateConfigurationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateConfigurationSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateConfigurationSetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateConfigurationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateConfigurationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateConfigurationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateConfigurationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateConfigurationSetCommand;
38
+ }($Command));
39
+ export { CreateConfigurationSetCommand };
@@ -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 { CreateConfigurationSetEventDestinationRequestFilterSensitiveLog, CreateConfigurationSetEventDestinationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateConfigurationSetEventDestinationCommand, serializeAws_queryCreateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_query";
5
- export class CreateConfigurationSetEventDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateConfigurationSetEventDestinationCommand = (function (_super) {
7
+ __extends(CreateConfigurationSetEventDestinationCommand, _super);
8
+ function CreateConfigurationSetEventDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateConfigurationSetEventDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateConfigurationSetEventDestinationCommand";
16
- const handlerExecutionContext = {
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 = "CreateConfigurationSetEventDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateConfigurationSetEventDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateConfigurationSetEventDestinationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateConfigurationSetEventDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateConfigurationSetEventDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateConfigurationSetEventDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateConfigurationSetEventDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateConfigurationSetEventDestinationCommand;
38
+ }($Command));
39
+ export { CreateConfigurationSetEventDestinationCommand };
@@ -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 { CreateConfigurationSetTrackingOptionsRequestFilterSensitiveLog, CreateConfigurationSetTrackingOptionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateConfigurationSetTrackingOptionsCommand, serializeAws_queryCreateConfigurationSetTrackingOptionsCommand, } from "../protocols/Aws_query";
5
- export class CreateConfigurationSetTrackingOptionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateConfigurationSetTrackingOptionsCommand = (function (_super) {
7
+ __extends(CreateConfigurationSetTrackingOptionsCommand, _super);
8
+ function CreateConfigurationSetTrackingOptionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateConfigurationSetTrackingOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateConfigurationSetTrackingOptionsCommand";
16
- const handlerExecutionContext = {
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 = "CreateConfigurationSetTrackingOptionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateConfigurationSetTrackingOptionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateConfigurationSetTrackingOptionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateConfigurationSetTrackingOptionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateConfigurationSetTrackingOptionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateConfigurationSetTrackingOptionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateConfigurationSetTrackingOptionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateConfigurationSetTrackingOptionsCommand;
38
+ }($Command));
39
+ export { CreateConfigurationSetTrackingOptionsCommand };
@@ -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 { CreateCustomVerificationEmailTemplateRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateCustomVerificationEmailTemplateCommand, serializeAws_queryCreateCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_query";
5
- export class CreateCustomVerificationEmailTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateCustomVerificationEmailTemplateCommand = (function (_super) {
7
+ __extends(CreateCustomVerificationEmailTemplateCommand, _super);
8
+ function CreateCustomVerificationEmailTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCustomVerificationEmailTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateCustomVerificationEmailTemplateCommand";
16
- const handlerExecutionContext = {
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 = "CreateCustomVerificationEmailTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCustomVerificationEmailTemplateRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateCustomVerificationEmailTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateCustomVerificationEmailTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCustomVerificationEmailTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateCustomVerificationEmailTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCustomVerificationEmailTemplateCommand;
38
+ }($Command));
39
+ export { CreateCustomVerificationEmailTemplateCommand };
@@ -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 { CreateReceiptFilterRequestFilterSensitiveLog, CreateReceiptFilterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateReceiptFilterCommand, serializeAws_queryCreateReceiptFilterCommand, } from "../protocols/Aws_query";
5
- export class CreateReceiptFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReceiptFilterCommand = (function (_super) {
7
+ __extends(CreateReceiptFilterCommand, _super);
8
+ function CreateReceiptFilterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReceiptFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateReceiptFilterCommand";
16
- const handlerExecutionContext = {
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 = "CreateReceiptFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReceiptFilterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateReceiptFilterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateReceiptFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateReceiptFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReceiptFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateReceiptFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReceiptFilterCommand;
38
+ }($Command));
39
+ export { CreateReceiptFilterCommand };
@@ -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 { CreateReceiptRuleRequestFilterSensitiveLog, CreateReceiptRuleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateReceiptRuleCommand, serializeAws_queryCreateReceiptRuleCommand, } from "../protocols/Aws_query";
5
- export class CreateReceiptRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReceiptRuleCommand = (function (_super) {
7
+ __extends(CreateReceiptRuleCommand, _super);
8
+ function CreateReceiptRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReceiptRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateReceiptRuleCommand";
16
- const handlerExecutionContext = {
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 = "CreateReceiptRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReceiptRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateReceiptRuleResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateReceiptRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateReceiptRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReceiptRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateReceiptRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReceiptRuleCommand;
38
+ }($Command));
39
+ export { CreateReceiptRuleCommand };
@@ -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 { CreateReceiptRuleSetRequestFilterSensitiveLog, CreateReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateReceiptRuleSetCommand, serializeAws_queryCreateReceiptRuleSetCommand, } from "../protocols/Aws_query";
5
- export class CreateReceiptRuleSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReceiptRuleSetCommand = (function (_super) {
7
+ __extends(CreateReceiptRuleSetCommand, _super);
8
+ function CreateReceiptRuleSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReceiptRuleSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateReceiptRuleSetCommand";
16
- const handlerExecutionContext = {
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 = "CreateReceiptRuleSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReceiptRuleSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateReceiptRuleSetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateReceiptRuleSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateReceiptRuleSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateReceiptRuleSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReceiptRuleSetCommand;
38
+ }($Command));
39
+ export { CreateReceiptRuleSetCommand };
@@ -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 { CreateTemplateRequestFilterSensitiveLog, CreateTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateTemplateCommand, serializeAws_queryCreateTemplateCommand, } from "../protocols/Aws_query";
5
- export class CreateTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateTemplateCommand = (function (_super) {
7
+ __extends(CreateTemplateCommand, _super);
8
+ function CreateTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SESClient";
15
- const commandName = "CreateTemplateCommand";
16
- const handlerExecutionContext = {
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 = "CreateTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTemplateCommand;
38
+ }($Command));
39
+ export { CreateTemplateCommand };