@aws-sdk/client-ses 3.181.0 → 3.183.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 (86) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/SES.js +286 -293
  3. package/dist-es/SESClient.js +22 -28
  4. package/dist-es/commands/CloneReceiptRuleSetCommand.js +21 -28
  5. package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
  6. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
  7. package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +21 -28
  8. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +22 -29
  9. package/dist-es/commands/CreateReceiptFilterCommand.js +21 -28
  10. package/dist-es/commands/CreateReceiptRuleCommand.js +21 -28
  11. package/dist-es/commands/CreateReceiptRuleSetCommand.js +21 -28
  12. package/dist-es/commands/CreateTemplateCommand.js +21 -28
  13. package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
  14. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
  15. package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +21 -28
  16. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +22 -29
  17. package/dist-es/commands/DeleteIdentityCommand.js +21 -28
  18. package/dist-es/commands/DeleteIdentityPolicyCommand.js +21 -28
  19. package/dist-es/commands/DeleteReceiptFilterCommand.js +21 -28
  20. package/dist-es/commands/DeleteReceiptRuleCommand.js +21 -28
  21. package/dist-es/commands/DeleteReceiptRuleSetCommand.js +21 -28
  22. package/dist-es/commands/DeleteTemplateCommand.js +21 -28
  23. package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +22 -29
  24. package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +21 -28
  25. package/dist-es/commands/DescribeConfigurationSetCommand.js +21 -28
  26. package/dist-es/commands/DescribeReceiptRuleCommand.js +21 -28
  27. package/dist-es/commands/DescribeReceiptRuleSetCommand.js +21 -28
  28. package/dist-es/commands/GetAccountSendingEnabledCommand.js +22 -29
  29. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
  30. package/dist-es/commands/GetIdentityDkimAttributesCommand.js +21 -28
  31. package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +21 -28
  32. package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +21 -28
  33. package/dist-es/commands/GetIdentityPoliciesCommand.js +21 -28
  34. package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +21 -28
  35. package/dist-es/commands/GetSendQuotaCommand.js +22 -29
  36. package/dist-es/commands/GetSendStatisticsCommand.js +22 -29
  37. package/dist-es/commands/GetTemplateCommand.js +21 -28
  38. package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
  39. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
  40. package/dist-es/commands/ListIdentitiesCommand.js +21 -28
  41. package/dist-es/commands/ListIdentityPoliciesCommand.js +21 -28
  42. package/dist-es/commands/ListReceiptFiltersCommand.js +21 -28
  43. package/dist-es/commands/ListReceiptRuleSetsCommand.js +21 -28
  44. package/dist-es/commands/ListTemplatesCommand.js +21 -28
  45. package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +22 -29
  46. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
  47. package/dist-es/commands/PutIdentityPolicyCommand.js +21 -28
  48. package/dist-es/commands/ReorderReceiptRuleSetCommand.js +21 -28
  49. package/dist-es/commands/SendBounceCommand.js +21 -28
  50. package/dist-es/commands/SendBulkTemplatedEmailCommand.js +21 -28
  51. package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
  52. package/dist-es/commands/SendEmailCommand.js +21 -28
  53. package/dist-es/commands/SendRawEmailCommand.js +21 -28
  54. package/dist-es/commands/SendTemplatedEmailCommand.js +21 -28
  55. package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +21 -28
  56. package/dist-es/commands/SetIdentityDkimEnabledCommand.js +21 -28
  57. package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +21 -28
  58. package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +21 -28
  59. package/dist-es/commands/SetIdentityMailFromDomainCommand.js +21 -28
  60. package/dist-es/commands/SetIdentityNotificationTopicCommand.js +21 -28
  61. package/dist-es/commands/SetReceiptRulePositionCommand.js +21 -28
  62. package/dist-es/commands/TestRenderTemplateCommand.js +21 -28
  63. package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +22 -29
  64. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
  65. package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +22 -29
  66. package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +22 -29
  67. package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +21 -28
  68. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +22 -29
  69. package/dist-es/commands/UpdateReceiptRuleCommand.js +21 -28
  70. package/dist-es/commands/UpdateTemplateCommand.js +21 -28
  71. package/dist-es/commands/VerifyDomainDkimCommand.js +21 -28
  72. package/dist-es/commands/VerifyDomainIdentityCommand.js +21 -28
  73. package/dist-es/commands/VerifyEmailAddressCommand.js +22 -29
  74. package/dist-es/commands/VerifyEmailIdentityCommand.js +21 -28
  75. package/dist-es/endpoints.js +8 -8
  76. package/dist-es/models/SESServiceException.js +5 -10
  77. package/dist-es/models/models_0.js +950 -609
  78. package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
  79. package/dist-es/pagination/ListIdentitiesPaginator.js +25 -68
  80. package/dist-es/protocols/Aws_query.js +4295 -5639
  81. package/dist-es/runtimeConfig.browser.js +26 -12
  82. package/dist-es/runtimeConfig.js +30 -12
  83. package/dist-es/runtimeConfig.native.js +8 -5
  84. package/dist-es/runtimeConfig.shared.js +8 -11
  85. package/dist-es/waiters/waitForIdentityExists.js +35 -66
  86. package/package.json +34 -34
@@ -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 { UpdateAccountSendingEnabledRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateAccountSendingEnabledCommand, serializeAws_queryUpdateAccountSendingEnabledCommand, } from "../protocols/Aws_query";
6
- var UpdateAccountSendingEnabledCommand = (function (_super) {
7
- __extends(UpdateAccountSendingEnabledCommand, _super);
8
- function UpdateAccountSendingEnabledCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateAccountSendingEnabledCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateAccountSendingEnabledCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateAccountSendingEnabledCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateAccountSendingEnabledCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateAccountSendingEnabledRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateAccountSendingEnabledCommand.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_queryUpdateAccountSendingEnabledCommand(input, context);
33
- };
34
- UpdateAccountSendingEnabledCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateAccountSendingEnabledCommand(output, context);
36
- };
37
- return UpdateAccountSendingEnabledCommand;
38
- }($Command));
39
- export { UpdateAccountSendingEnabledCommand };
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 { UpdateConfigurationSetEventDestinationRequestFilterSensitiveLog, UpdateConfigurationSetEventDestinationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateConfigurationSetEventDestinationCommand, serializeAws_queryUpdateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_query";
6
- var UpdateConfigurationSetEventDestinationCommand = (function (_super) {
7
- __extends(UpdateConfigurationSetEventDestinationCommand, _super);
8
- function UpdateConfigurationSetEventDestinationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateConfigurationSetEventDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateConfigurationSetEventDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateConfigurationSetEventDestinationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateConfigurationSetEventDestinationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateConfigurationSetEventDestinationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateConfigurationSetEventDestinationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateConfigurationSetEventDestinationCommand.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_queryUpdateConfigurationSetEventDestinationCommand(input, context);
33
- };
34
- UpdateConfigurationSetEventDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateConfigurationSetEventDestinationCommand(output, context);
36
- };
37
- return UpdateConfigurationSetEventDestinationCommand;
38
- }($Command));
39
- export { UpdateConfigurationSetEventDestinationCommand };
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 { UpdateConfigurationSetReputationMetricsEnabledRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand, serializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand, } from "../protocols/Aws_query";
6
- var UpdateConfigurationSetReputationMetricsEnabledCommand = (function (_super) {
7
- __extends(UpdateConfigurationSetReputationMetricsEnabledCommand, _super);
8
- function UpdateConfigurationSetReputationMetricsEnabledCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateConfigurationSetReputationMetricsEnabledCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateConfigurationSetReputationMetricsEnabledCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateConfigurationSetReputationMetricsEnabledCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateConfigurationSetReputationMetricsEnabledCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateConfigurationSetReputationMetricsEnabledRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateConfigurationSetReputationMetricsEnabledCommand.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_queryUpdateConfigurationSetReputationMetricsEnabledCommand(input, context);
33
- };
34
- UpdateConfigurationSetReputationMetricsEnabledCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand(output, context);
36
- };
37
- return UpdateConfigurationSetReputationMetricsEnabledCommand;
38
- }($Command));
39
- export { UpdateConfigurationSetReputationMetricsEnabledCommand };
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 { UpdateConfigurationSetSendingEnabledRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateConfigurationSetSendingEnabledCommand, serializeAws_queryUpdateConfigurationSetSendingEnabledCommand, } from "../protocols/Aws_query";
6
- var UpdateConfigurationSetSendingEnabledCommand = (function (_super) {
7
- __extends(UpdateConfigurationSetSendingEnabledCommand, _super);
8
- function UpdateConfigurationSetSendingEnabledCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateConfigurationSetSendingEnabledCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateConfigurationSetSendingEnabledCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateConfigurationSetSendingEnabledCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateConfigurationSetSendingEnabledCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateConfigurationSetSendingEnabledRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateConfigurationSetSendingEnabledCommand.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_queryUpdateConfigurationSetSendingEnabledCommand(input, context);
33
- };
34
- UpdateConfigurationSetSendingEnabledCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateConfigurationSetSendingEnabledCommand(output, context);
36
- };
37
- return UpdateConfigurationSetSendingEnabledCommand;
38
- }($Command));
39
- export { UpdateConfigurationSetSendingEnabledCommand };
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 { UpdateConfigurationSetTrackingOptionsRequestFilterSensitiveLog, UpdateConfigurationSetTrackingOptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommand, serializeAws_queryUpdateConfigurationSetTrackingOptionsCommand, } from "../protocols/Aws_query";
6
- var UpdateConfigurationSetTrackingOptionsCommand = (function (_super) {
7
- __extends(UpdateConfigurationSetTrackingOptionsCommand, _super);
8
- function UpdateConfigurationSetTrackingOptionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateConfigurationSetTrackingOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateConfigurationSetTrackingOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateConfigurationSetTrackingOptionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateConfigurationSetTrackingOptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateConfigurationSetTrackingOptionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateConfigurationSetTrackingOptionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateConfigurationSetTrackingOptionsCommand.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_queryUpdateConfigurationSetTrackingOptionsCommand(input, context);
33
- };
34
- UpdateConfigurationSetTrackingOptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommand(output, context);
36
- };
37
- return UpdateConfigurationSetTrackingOptionsCommand;
38
- }($Command));
39
- export { UpdateConfigurationSetTrackingOptionsCommand };
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 { UpdateCustomVerificationEmailTemplateRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateCustomVerificationEmailTemplateCommand, serializeAws_queryUpdateCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_query";
6
- var UpdateCustomVerificationEmailTemplateCommand = (function (_super) {
7
- __extends(UpdateCustomVerificationEmailTemplateCommand, _super);
8
- function UpdateCustomVerificationEmailTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateCustomVerificationEmailTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateCustomVerificationEmailTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateCustomVerificationEmailTemplateCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateCustomVerificationEmailTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateCustomVerificationEmailTemplateRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateCustomVerificationEmailTemplateCommand.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_queryUpdateCustomVerificationEmailTemplateCommand(input, context);
33
- };
34
- UpdateCustomVerificationEmailTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateCustomVerificationEmailTemplateCommand(output, context);
36
- };
37
- return UpdateCustomVerificationEmailTemplateCommand;
38
- }($Command));
39
- export { UpdateCustomVerificationEmailTemplateCommand };
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 { UpdateReceiptRuleRequestFilterSensitiveLog, UpdateReceiptRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateReceiptRuleCommand, serializeAws_queryUpdateReceiptRuleCommand, } from "../protocols/Aws_query";
6
- var UpdateReceiptRuleCommand = (function (_super) {
7
- __extends(UpdateReceiptRuleCommand, _super);
8
- function UpdateReceiptRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateReceiptRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateReceiptRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateReceiptRuleCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateReceiptRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateReceiptRuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateReceiptRuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateReceiptRuleCommand.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_queryUpdateReceiptRuleCommand(input, context);
33
- };
34
- UpdateReceiptRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateReceiptRuleCommand(output, context);
36
- };
37
- return UpdateReceiptRuleCommand;
38
- }($Command));
39
- export { UpdateReceiptRuleCommand };
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 { UpdateTemplateRequestFilterSensitiveLog, UpdateTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryUpdateTemplateCommand, serializeAws_queryUpdateTemplateCommand, } from "../protocols/Aws_query";
6
- var UpdateTemplateCommand = (function (_super) {
7
- __extends(UpdateTemplateCommand, _super);
8
- function UpdateTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "UpdateTemplateCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "UpdateTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateTemplateCommand.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_queryUpdateTemplateCommand(input, context);
33
- };
34
- UpdateTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryUpdateTemplateCommand(output, context);
36
- };
37
- return UpdateTemplateCommand;
38
- }($Command));
39
- export { UpdateTemplateCommand };
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 { VerifyDomainDkimRequestFilterSensitiveLog, VerifyDomainDkimResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryVerifyDomainDkimCommand, serializeAws_queryVerifyDomainDkimCommand, } from "../protocols/Aws_query";
6
- var VerifyDomainDkimCommand = (function (_super) {
7
- __extends(VerifyDomainDkimCommand, _super);
8
- function VerifyDomainDkimCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class VerifyDomainDkimCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- VerifyDomainDkimCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "VerifyDomainDkimCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "VerifyDomainDkimCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: VerifyDomainDkimRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: VerifyDomainDkimResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- VerifyDomainDkimCommand.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_queryVerifyDomainDkimCommand(input, context);
33
- };
34
- VerifyDomainDkimCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryVerifyDomainDkimCommand(output, context);
36
- };
37
- return VerifyDomainDkimCommand;
38
- }($Command));
39
- export { VerifyDomainDkimCommand };
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 { VerifyDomainIdentityRequestFilterSensitiveLog, VerifyDomainIdentityResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryVerifyDomainIdentityCommand, serializeAws_queryVerifyDomainIdentityCommand, } from "../protocols/Aws_query";
6
- var VerifyDomainIdentityCommand = (function (_super) {
7
- __extends(VerifyDomainIdentityCommand, _super);
8
- function VerifyDomainIdentityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class VerifyDomainIdentityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- VerifyDomainIdentityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SESClient";
18
- var commandName = "VerifyDomainIdentityCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "VerifyDomainIdentityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: VerifyDomainIdentityRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: VerifyDomainIdentityResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- VerifyDomainIdentityCommand.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_queryVerifyDomainIdentityCommand(input, context);
33
- };
34
- VerifyDomainIdentityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryVerifyDomainIdentityCommand(output, context);
36
- };
37
- return VerifyDomainIdentityCommand;
38
- }($Command));
39
- export { VerifyDomainIdentityCommand };
31
+ }
32
+ }