@aws-sdk/client-ses 3.186.0 → 3.190.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 +16 -0
  2. package/dist-cjs/protocols/Aws_query.js +8 -4
  3. package/dist-es/SES.js +286 -293
  4. package/dist-es/SESClient.js +22 -28
  5. package/dist-es/commands/CloneReceiptRuleSetCommand.js +21 -28
  6. package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
  7. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
  8. package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +21 -28
  9. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +22 -29
  10. package/dist-es/commands/CreateReceiptFilterCommand.js +21 -28
  11. package/dist-es/commands/CreateReceiptRuleCommand.js +21 -28
  12. package/dist-es/commands/CreateReceiptRuleSetCommand.js +21 -28
  13. package/dist-es/commands/CreateTemplateCommand.js +21 -28
  14. package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
  15. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
  16. package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +21 -28
  17. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +22 -29
  18. package/dist-es/commands/DeleteIdentityCommand.js +21 -28
  19. package/dist-es/commands/DeleteIdentityPolicyCommand.js +21 -28
  20. package/dist-es/commands/DeleteReceiptFilterCommand.js +21 -28
  21. package/dist-es/commands/DeleteReceiptRuleCommand.js +21 -28
  22. package/dist-es/commands/DeleteReceiptRuleSetCommand.js +21 -28
  23. package/dist-es/commands/DeleteTemplateCommand.js +21 -28
  24. package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +22 -29
  25. package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +21 -28
  26. package/dist-es/commands/DescribeConfigurationSetCommand.js +21 -28
  27. package/dist-es/commands/DescribeReceiptRuleCommand.js +21 -28
  28. package/dist-es/commands/DescribeReceiptRuleSetCommand.js +21 -28
  29. package/dist-es/commands/GetAccountSendingEnabledCommand.js +22 -29
  30. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
  31. package/dist-es/commands/GetIdentityDkimAttributesCommand.js +21 -28
  32. package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +21 -28
  33. package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +21 -28
  34. package/dist-es/commands/GetIdentityPoliciesCommand.js +21 -28
  35. package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +21 -28
  36. package/dist-es/commands/GetSendQuotaCommand.js +22 -29
  37. package/dist-es/commands/GetSendStatisticsCommand.js +22 -29
  38. package/dist-es/commands/GetTemplateCommand.js +21 -28
  39. package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
  40. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
  41. package/dist-es/commands/ListIdentitiesCommand.js +21 -28
  42. package/dist-es/commands/ListIdentityPoliciesCommand.js +21 -28
  43. package/dist-es/commands/ListReceiptFiltersCommand.js +21 -28
  44. package/dist-es/commands/ListReceiptRuleSetsCommand.js +21 -28
  45. package/dist-es/commands/ListTemplatesCommand.js +21 -28
  46. package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +22 -29
  47. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
  48. package/dist-es/commands/PutIdentityPolicyCommand.js +21 -28
  49. package/dist-es/commands/ReorderReceiptRuleSetCommand.js +21 -28
  50. package/dist-es/commands/SendBounceCommand.js +21 -28
  51. package/dist-es/commands/SendBulkTemplatedEmailCommand.js +21 -28
  52. package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
  53. package/dist-es/commands/SendEmailCommand.js +21 -28
  54. package/dist-es/commands/SendRawEmailCommand.js +21 -28
  55. package/dist-es/commands/SendTemplatedEmailCommand.js +21 -28
  56. package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +21 -28
  57. package/dist-es/commands/SetIdentityDkimEnabledCommand.js +21 -28
  58. package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +21 -28
  59. package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +21 -28
  60. package/dist-es/commands/SetIdentityMailFromDomainCommand.js +21 -28
  61. package/dist-es/commands/SetIdentityNotificationTopicCommand.js +21 -28
  62. package/dist-es/commands/SetReceiptRulePositionCommand.js +21 -28
  63. package/dist-es/commands/TestRenderTemplateCommand.js +21 -28
  64. package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +22 -29
  65. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
  66. package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +22 -29
  67. package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +22 -29
  68. package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +21 -28
  69. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +22 -29
  70. package/dist-es/commands/UpdateReceiptRuleCommand.js +21 -28
  71. package/dist-es/commands/UpdateTemplateCommand.js +21 -28
  72. package/dist-es/commands/VerifyDomainDkimCommand.js +21 -28
  73. package/dist-es/commands/VerifyDomainIdentityCommand.js +21 -28
  74. package/dist-es/commands/VerifyEmailAddressCommand.js +22 -29
  75. package/dist-es/commands/VerifyEmailIdentityCommand.js +21 -28
  76. package/dist-es/endpoints.js +8 -8
  77. package/dist-es/models/SESServiceException.js +5 -10
  78. package/dist-es/models/models_0.js +950 -609
  79. package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
  80. package/dist-es/pagination/ListIdentitiesPaginator.js +25 -68
  81. package/dist-es/protocols/Aws_query.js +4301 -5641
  82. package/dist-es/runtimeConfig.browser.js +26 -12
  83. package/dist-es/runtimeConfig.js +30 -12
  84. package/dist-es/runtimeConfig.native.js +8 -5
  85. package/dist-es/runtimeConfig.shared.js +8 -11
  86. package/dist-es/waiters/waitForIdentityExists.js +35 -66
  87. 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 { DeleteConfigurationSetRequestFilterSensitiveLog, DeleteConfigurationSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteConfigurationSetCommand, serializeAws_queryDeleteConfigurationSetCommand, } from "../protocols/Aws_query";
6
- var DeleteConfigurationSetCommand = (function (_super) {
7
- __extends(DeleteConfigurationSetCommand, _super);
8
- function DeleteConfigurationSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConfigurationSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConfigurationSetCommand.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 = "DeleteConfigurationSetCommand";
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 = "DeleteConfigurationSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConfigurationSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConfigurationSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConfigurationSetCommand.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_queryDeleteConfigurationSetCommand(input, context);
33
- };
34
- DeleteConfigurationSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteConfigurationSetCommand(output, context);
36
- };
37
- return DeleteConfigurationSetCommand;
38
- }($Command));
39
- export { DeleteConfigurationSetCommand };
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 { DeleteConfigurationSetEventDestinationRequestFilterSensitiveLog, DeleteConfigurationSetEventDestinationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteConfigurationSetEventDestinationCommand, serializeAws_queryDeleteConfigurationSetEventDestinationCommand, } from "../protocols/Aws_query";
6
- var DeleteConfigurationSetEventDestinationCommand = (function (_super) {
7
- __extends(DeleteConfigurationSetEventDestinationCommand, _super);
8
- function DeleteConfigurationSetEventDestinationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConfigurationSetEventDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConfigurationSetEventDestinationCommand.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 = "DeleteConfigurationSetEventDestinationCommand";
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 = "DeleteConfigurationSetEventDestinationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConfigurationSetEventDestinationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConfigurationSetEventDestinationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConfigurationSetEventDestinationCommand.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_queryDeleteConfigurationSetEventDestinationCommand(input, context);
33
- };
34
- DeleteConfigurationSetEventDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteConfigurationSetEventDestinationCommand(output, context);
36
- };
37
- return DeleteConfigurationSetEventDestinationCommand;
38
- }($Command));
39
- export { DeleteConfigurationSetEventDestinationCommand };
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 { DeleteConfigurationSetTrackingOptionsRequestFilterSensitiveLog, DeleteConfigurationSetTrackingOptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand, serializeAws_queryDeleteConfigurationSetTrackingOptionsCommand, } from "../protocols/Aws_query";
6
- var DeleteConfigurationSetTrackingOptionsCommand = (function (_super) {
7
- __extends(DeleteConfigurationSetTrackingOptionsCommand, _super);
8
- function DeleteConfigurationSetTrackingOptionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConfigurationSetTrackingOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConfigurationSetTrackingOptionsCommand.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 = "DeleteConfigurationSetTrackingOptionsCommand";
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 = "DeleteConfigurationSetTrackingOptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConfigurationSetTrackingOptionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConfigurationSetTrackingOptionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConfigurationSetTrackingOptionsCommand.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_queryDeleteConfigurationSetTrackingOptionsCommand(input, context);
33
- };
34
- DeleteConfigurationSetTrackingOptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand(output, context);
36
- };
37
- return DeleteConfigurationSetTrackingOptionsCommand;
38
- }($Command));
39
- export { DeleteConfigurationSetTrackingOptionsCommand };
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 { DeleteCustomVerificationEmailTemplateRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand, serializeAws_queryDeleteCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_query";
6
- var DeleteCustomVerificationEmailTemplateCommand = (function (_super) {
7
- __extends(DeleteCustomVerificationEmailTemplateCommand, _super);
8
- function DeleteCustomVerificationEmailTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCustomVerificationEmailTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCustomVerificationEmailTemplateCommand.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 = "DeleteCustomVerificationEmailTemplateCommand";
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 = "DeleteCustomVerificationEmailTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCustomVerificationEmailTemplateRequestFilterSensitiveLog,
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
- DeleteCustomVerificationEmailTemplateCommand.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_queryDeleteCustomVerificationEmailTemplateCommand(input, context);
33
- };
34
- DeleteCustomVerificationEmailTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand(output, context);
36
- };
37
- return DeleteCustomVerificationEmailTemplateCommand;
38
- }($Command));
39
- export { DeleteCustomVerificationEmailTemplateCommand };
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 { DeleteIdentityRequestFilterSensitiveLog, DeleteIdentityResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteIdentityCommand, serializeAws_queryDeleteIdentityCommand, } from "../protocols/Aws_query";
6
- var DeleteIdentityCommand = (function (_super) {
7
- __extends(DeleteIdentityCommand, _super);
8
- function DeleteIdentityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteIdentityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteIdentityCommand.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 = "DeleteIdentityCommand";
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 = "DeleteIdentityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteIdentityRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteIdentityResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteIdentityCommand.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_queryDeleteIdentityCommand(input, context);
33
- };
34
- DeleteIdentityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteIdentityCommand(output, context);
36
- };
37
- return DeleteIdentityCommand;
38
- }($Command));
39
- export { DeleteIdentityCommand };
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 { DeleteIdentityPolicyRequestFilterSensitiveLog, DeleteIdentityPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteIdentityPolicyCommand, serializeAws_queryDeleteIdentityPolicyCommand, } from "../protocols/Aws_query";
6
- var DeleteIdentityPolicyCommand = (function (_super) {
7
- __extends(DeleteIdentityPolicyCommand, _super);
8
- function DeleteIdentityPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteIdentityPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteIdentityPolicyCommand.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 = "DeleteIdentityPolicyCommand";
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 = "DeleteIdentityPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteIdentityPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteIdentityPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteIdentityPolicyCommand.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_queryDeleteIdentityPolicyCommand(input, context);
33
- };
34
- DeleteIdentityPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteIdentityPolicyCommand(output, context);
36
- };
37
- return DeleteIdentityPolicyCommand;
38
- }($Command));
39
- export { DeleteIdentityPolicyCommand };
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 { DeleteReceiptFilterRequestFilterSensitiveLog, DeleteReceiptFilterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteReceiptFilterCommand, serializeAws_queryDeleteReceiptFilterCommand, } from "../protocols/Aws_query";
6
- var DeleteReceiptFilterCommand = (function (_super) {
7
- __extends(DeleteReceiptFilterCommand, _super);
8
- function DeleteReceiptFilterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReceiptFilterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReceiptFilterCommand.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 = "DeleteReceiptFilterCommand";
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 = "DeleteReceiptFilterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReceiptFilterRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReceiptFilterResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReceiptFilterCommand.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_queryDeleteReceiptFilterCommand(input, context);
33
- };
34
- DeleteReceiptFilterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteReceiptFilterCommand(output, context);
36
- };
37
- return DeleteReceiptFilterCommand;
38
- }($Command));
39
- export { DeleteReceiptFilterCommand };
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 { DeleteReceiptRuleRequestFilterSensitiveLog, DeleteReceiptRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteReceiptRuleCommand, serializeAws_queryDeleteReceiptRuleCommand, } from "../protocols/Aws_query";
6
- var DeleteReceiptRuleCommand = (function (_super) {
7
- __extends(DeleteReceiptRuleCommand, _super);
8
- function DeleteReceiptRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReceiptRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReceiptRuleCommand.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 = "DeleteReceiptRuleCommand";
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 = "DeleteReceiptRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReceiptRuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReceiptRuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReceiptRuleCommand.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_queryDeleteReceiptRuleCommand(input, context);
33
- };
34
- DeleteReceiptRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteReceiptRuleCommand(output, context);
36
- };
37
- return DeleteReceiptRuleCommand;
38
- }($Command));
39
- export { DeleteReceiptRuleCommand };
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 { DeleteReceiptRuleSetRequestFilterSensitiveLog, DeleteReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteReceiptRuleSetCommand, serializeAws_queryDeleteReceiptRuleSetCommand, } from "../protocols/Aws_query";
6
- var DeleteReceiptRuleSetCommand = (function (_super) {
7
- __extends(DeleteReceiptRuleSetCommand, _super);
8
- function DeleteReceiptRuleSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReceiptRuleSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReceiptRuleSetCommand.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 = "DeleteReceiptRuleSetCommand";
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 = "DeleteReceiptRuleSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReceiptRuleSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReceiptRuleSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReceiptRuleSetCommand.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_queryDeleteReceiptRuleSetCommand(input, context);
33
- };
34
- DeleteReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteReceiptRuleSetCommand(output, context);
36
- };
37
- return DeleteReceiptRuleSetCommand;
38
- }($Command));
39
- export { DeleteReceiptRuleSetCommand };
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 { DeleteTemplateRequestFilterSensitiveLog, DeleteTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteTemplateCommand, serializeAws_queryDeleteTemplateCommand, } from "../protocols/Aws_query";
6
- var DeleteTemplateCommand = (function (_super) {
7
- __extends(DeleteTemplateCommand, _super);
8
- function DeleteTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTemplateCommand.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 = "DeleteTemplateCommand";
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 = "DeleteTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteTemplateCommand.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_queryDeleteTemplateCommand(input, context);
33
- };
34
- DeleteTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteTemplateCommand(output, context);
36
- };
37
- return DeleteTemplateCommand;
38
- }($Command));
39
- export { DeleteTemplateCommand };
31
+ }
32
+ }