@aws-sdk/client-ses 3.183.0 → 3.186.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 +19 -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 +34 -34
@@ -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 { DeleteConfigurationSetRequestFilterSensitiveLog, DeleteConfigurationSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteConfigurationSetCommand, serializeAws_queryDeleteConfigurationSetCommand, } from "../protocols/Aws_query";
5
- export class DeleteConfigurationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConfigurationSetCommand.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 = "DeleteConfigurationSetCommand";
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 = "DeleteConfigurationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConfigurationSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteConfigurationSetResponseFilterSensitiveLog,
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
+ DeleteConfigurationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteConfigurationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConfigurationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteConfigurationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConfigurationSetCommand;
38
+ }($Command));
39
+ export { DeleteConfigurationSetCommand };
@@ -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 { DeleteConfigurationSetEventDestinationRequestFilterSensitiveLog, DeleteConfigurationSetEventDestinationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteConfigurationSetEventDestinationCommand, serializeAws_queryDeleteConfigurationSetEventDestinationCommand, } from "../protocols/Aws_query";
5
- export class DeleteConfigurationSetEventDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConfigurationSetEventDestinationCommand.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 = "DeleteConfigurationSetEventDestinationCommand";
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 = "DeleteConfigurationSetEventDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConfigurationSetEventDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteConfigurationSetEventDestinationResponseFilterSensitiveLog,
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
+ DeleteConfigurationSetEventDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteConfigurationSetEventDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConfigurationSetEventDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteConfigurationSetEventDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConfigurationSetEventDestinationCommand;
38
+ }($Command));
39
+ export { DeleteConfigurationSetEventDestinationCommand };
@@ -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 { DeleteConfigurationSetTrackingOptionsRequestFilterSensitiveLog, DeleteConfigurationSetTrackingOptionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand, serializeAws_queryDeleteConfigurationSetTrackingOptionsCommand, } from "../protocols/Aws_query";
5
- export class DeleteConfigurationSetTrackingOptionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConfigurationSetTrackingOptionsCommand.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 = "DeleteConfigurationSetTrackingOptionsCommand";
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 = "DeleteConfigurationSetTrackingOptionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConfigurationSetTrackingOptionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteConfigurationSetTrackingOptionsResponseFilterSensitiveLog,
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
+ DeleteConfigurationSetTrackingOptionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteConfigurationSetTrackingOptionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConfigurationSetTrackingOptionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConfigurationSetTrackingOptionsCommand;
38
+ }($Command));
39
+ export { DeleteConfigurationSetTrackingOptionsCommand };
@@ -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 { DeleteCustomVerificationEmailTemplateRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand, serializeAws_queryDeleteCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_query";
5
- export class DeleteCustomVerificationEmailTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomVerificationEmailTemplateCommand.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 = "DeleteCustomVerificationEmailTemplateCommand";
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 = "DeleteCustomVerificationEmailTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomVerificationEmailTemplateRequestFilterSensitiveLog,
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
+ DeleteCustomVerificationEmailTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteCustomVerificationEmailTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomVerificationEmailTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomVerificationEmailTemplateCommand;
38
+ }($Command));
39
+ export { DeleteCustomVerificationEmailTemplateCommand };
@@ -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 { DeleteIdentityRequestFilterSensitiveLog, DeleteIdentityResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteIdentityCommand, serializeAws_queryDeleteIdentityCommand, } from "../protocols/Aws_query";
5
- export class DeleteIdentityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteIdentityCommand.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 = "DeleteIdentityCommand";
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 = "DeleteIdentityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteIdentityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteIdentityResponseFilterSensitiveLog,
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
+ DeleteIdentityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteIdentityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteIdentityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteIdentityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteIdentityCommand;
38
+ }($Command));
39
+ export { DeleteIdentityCommand };
@@ -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 { DeleteIdentityPolicyRequestFilterSensitiveLog, DeleteIdentityPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteIdentityPolicyCommand, serializeAws_queryDeleteIdentityPolicyCommand, } from "../protocols/Aws_query";
5
- export class DeleteIdentityPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteIdentityPolicyCommand.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 = "DeleteIdentityPolicyCommand";
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 = "DeleteIdentityPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteIdentityPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteIdentityPolicyResponseFilterSensitiveLog,
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
+ DeleteIdentityPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteIdentityPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteIdentityPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteIdentityPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteIdentityPolicyCommand;
38
+ }($Command));
39
+ export { DeleteIdentityPolicyCommand };
@@ -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 { DeleteReceiptFilterRequestFilterSensitiveLog, DeleteReceiptFilterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteReceiptFilterCommand, serializeAws_queryDeleteReceiptFilterCommand, } from "../protocols/Aws_query";
5
- export class DeleteReceiptFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReceiptFilterCommand.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 = "DeleteReceiptFilterCommand";
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 = "DeleteReceiptFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReceiptFilterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteReceiptFilterResponseFilterSensitiveLog,
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
+ DeleteReceiptFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteReceiptFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReceiptFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteReceiptFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReceiptFilterCommand;
38
+ }($Command));
39
+ export { DeleteReceiptFilterCommand };
@@ -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 { DeleteReceiptRuleRequestFilterSensitiveLog, DeleteReceiptRuleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteReceiptRuleCommand, serializeAws_queryDeleteReceiptRuleCommand, } from "../protocols/Aws_query";
5
- export class DeleteReceiptRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReceiptRuleCommand.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 = "DeleteReceiptRuleCommand";
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 = "DeleteReceiptRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReceiptRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteReceiptRuleResponseFilterSensitiveLog,
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
+ DeleteReceiptRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteReceiptRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReceiptRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteReceiptRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReceiptRuleCommand;
38
+ }($Command));
39
+ export { DeleteReceiptRuleCommand };
@@ -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 { DeleteReceiptRuleSetRequestFilterSensitiveLog, DeleteReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteReceiptRuleSetCommand, serializeAws_queryDeleteReceiptRuleSetCommand, } from "../protocols/Aws_query";
5
- export class DeleteReceiptRuleSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReceiptRuleSetCommand.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 = "DeleteReceiptRuleSetCommand";
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 = "DeleteReceiptRuleSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReceiptRuleSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteReceiptRuleSetResponseFilterSensitiveLog,
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
+ DeleteReceiptRuleSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteReceiptRuleSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteReceiptRuleSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReceiptRuleSetCommand;
38
+ }($Command));
39
+ export { DeleteReceiptRuleSetCommand };
@@ -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 { DeleteTemplateRequestFilterSensitiveLog, DeleteTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteTemplateCommand, serializeAws_queryDeleteTemplateCommand, } from "../protocols/Aws_query";
5
- export class DeleteTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTemplateCommand.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 = "DeleteTemplateCommand";
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 = "DeleteTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTemplateResponseFilterSensitiveLog,
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
+ DeleteTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTemplateCommand;
38
+ }($Command));
39
+ export { DeleteTemplateCommand };