@aws-sdk/client-ses 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/SES.js +293 -286
  4. package/dist-es/SESClient.js +28 -22
  5. package/dist-es/commands/CloneReceiptRuleSetCommand.js +28 -21
  6. package/dist-es/commands/CreateConfigurationSetCommand.js +28 -21
  7. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +28 -21
  8. package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +28 -21
  9. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +29 -22
  10. package/dist-es/commands/CreateReceiptFilterCommand.js +28 -21
  11. package/dist-es/commands/CreateReceiptRuleCommand.js +28 -21
  12. package/dist-es/commands/CreateReceiptRuleSetCommand.js +28 -21
  13. package/dist-es/commands/CreateTemplateCommand.js +28 -21
  14. package/dist-es/commands/DeleteConfigurationSetCommand.js +28 -21
  15. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +28 -21
  16. package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +28 -21
  17. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +29 -22
  18. package/dist-es/commands/DeleteIdentityCommand.js +28 -21
  19. package/dist-es/commands/DeleteIdentityPolicyCommand.js +28 -21
  20. package/dist-es/commands/DeleteReceiptFilterCommand.js +28 -21
  21. package/dist-es/commands/DeleteReceiptRuleCommand.js +28 -21
  22. package/dist-es/commands/DeleteReceiptRuleSetCommand.js +28 -21
  23. package/dist-es/commands/DeleteTemplateCommand.js +28 -21
  24. package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +29 -22
  25. package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +28 -21
  26. package/dist-es/commands/DescribeConfigurationSetCommand.js +28 -21
  27. package/dist-es/commands/DescribeReceiptRuleCommand.js +28 -21
  28. package/dist-es/commands/DescribeReceiptRuleSetCommand.js +28 -21
  29. package/dist-es/commands/GetAccountSendingEnabledCommand.js +29 -22
  30. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +28 -21
  31. package/dist-es/commands/GetIdentityDkimAttributesCommand.js +28 -21
  32. package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +28 -21
  33. package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +28 -21
  34. package/dist-es/commands/GetIdentityPoliciesCommand.js +28 -21
  35. package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +28 -21
  36. package/dist-es/commands/GetSendQuotaCommand.js +29 -22
  37. package/dist-es/commands/GetSendStatisticsCommand.js +29 -22
  38. package/dist-es/commands/GetTemplateCommand.js +28 -21
  39. package/dist-es/commands/ListConfigurationSetsCommand.js +28 -21
  40. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +28 -21
  41. package/dist-es/commands/ListIdentitiesCommand.js +28 -21
  42. package/dist-es/commands/ListIdentityPoliciesCommand.js +28 -21
  43. package/dist-es/commands/ListReceiptFiltersCommand.js +28 -21
  44. package/dist-es/commands/ListReceiptRuleSetsCommand.js +28 -21
  45. package/dist-es/commands/ListTemplatesCommand.js +28 -21
  46. package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +29 -22
  47. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +28 -21
  48. package/dist-es/commands/PutIdentityPolicyCommand.js +28 -21
  49. package/dist-es/commands/ReorderReceiptRuleSetCommand.js +28 -21
  50. package/dist-es/commands/SendBounceCommand.js +28 -21
  51. package/dist-es/commands/SendBulkTemplatedEmailCommand.js +28 -21
  52. package/dist-es/commands/SendCustomVerificationEmailCommand.js +28 -21
  53. package/dist-es/commands/SendEmailCommand.js +28 -21
  54. package/dist-es/commands/SendRawEmailCommand.js +28 -21
  55. package/dist-es/commands/SendTemplatedEmailCommand.js +28 -21
  56. package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +28 -21
  57. package/dist-es/commands/SetIdentityDkimEnabledCommand.js +28 -21
  58. package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +28 -21
  59. package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +28 -21
  60. package/dist-es/commands/SetIdentityMailFromDomainCommand.js +28 -21
  61. package/dist-es/commands/SetIdentityNotificationTopicCommand.js +28 -21
  62. package/dist-es/commands/SetReceiptRulePositionCommand.js +28 -21
  63. package/dist-es/commands/TestRenderTemplateCommand.js +28 -21
  64. package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +29 -22
  65. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +28 -21
  66. package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +29 -22
  67. package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +29 -22
  68. package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +28 -21
  69. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +29 -22
  70. package/dist-es/commands/UpdateReceiptRuleCommand.js +28 -21
  71. package/dist-es/commands/UpdateTemplateCommand.js +28 -21
  72. package/dist-es/commands/VerifyDomainDkimCommand.js +28 -21
  73. package/dist-es/commands/VerifyDomainIdentityCommand.js +28 -21
  74. package/dist-es/commands/VerifyEmailAddressCommand.js +29 -22
  75. package/dist-es/commands/VerifyEmailIdentityCommand.js +28 -21
  76. package/dist-es/endpoints.js +8 -8
  77. package/dist-es/models/SESServiceException.js +10 -5
  78. package/dist-es/models/models_0.js +609 -950
  79. package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +68 -25
  80. package/dist-es/pagination/ListIdentitiesPaginator.js +68 -25
  81. package/dist-es/protocols/Aws_query.js +5668 -4324
  82. package/dist-es/runtimeConfig.browser.js +12 -26
  83. package/dist-es/runtimeConfig.js +12 -30
  84. package/dist-es/runtimeConfig.native.js +5 -8
  85. package/dist-es/runtimeConfig.shared.js +11 -8
  86. package/dist-es/waiters/waitForIdentityExists.js +66 -35
  87. package/package.json +5 -5
@@ -1,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 { SendRawEmailRequestFilterSensitiveLog, SendRawEmailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySendRawEmailCommand, serializeAws_querySendRawEmailCommand } from "../protocols/Aws_query";
5
- export class SendRawEmailCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SendRawEmailCommand = (function (_super) {
7
+ __extends(SendRawEmailCommand, _super);
8
+ function SendRawEmailCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SendRawEmailCommand.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 = "SendRawEmailCommand";
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 = "SendRawEmailCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SendRawEmailRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SendRawEmailResponseFilterSensitiveLog,
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
+ SendRawEmailCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySendRawEmailCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SendRawEmailCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySendRawEmailCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SendRawEmailCommand;
38
+ }($Command));
39
+ export { SendRawEmailCommand };
@@ -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 { SendTemplatedEmailRequestFilterSensitiveLog, SendTemplatedEmailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySendTemplatedEmailCommand, serializeAws_querySendTemplatedEmailCommand, } from "../protocols/Aws_query";
5
- export class SendTemplatedEmailCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SendTemplatedEmailCommand = (function (_super) {
7
+ __extends(SendTemplatedEmailCommand, _super);
8
+ function SendTemplatedEmailCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SendTemplatedEmailCommand.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 = "SendTemplatedEmailCommand";
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 = "SendTemplatedEmailCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SendTemplatedEmailRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SendTemplatedEmailResponseFilterSensitiveLog,
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
+ SendTemplatedEmailCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySendTemplatedEmailCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SendTemplatedEmailCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySendTemplatedEmailCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SendTemplatedEmailCommand;
38
+ }($Command));
39
+ export { SendTemplatedEmailCommand };
@@ -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 { SetActiveReceiptRuleSetRequestFilterSensitiveLog, SetActiveReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetActiveReceiptRuleSetCommand, serializeAws_querySetActiveReceiptRuleSetCommand, } from "../protocols/Aws_query";
5
- export class SetActiveReceiptRuleSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetActiveReceiptRuleSetCommand = (function (_super) {
7
+ __extends(SetActiveReceiptRuleSetCommand, _super);
8
+ function SetActiveReceiptRuleSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetActiveReceiptRuleSetCommand.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 = "SetActiveReceiptRuleSetCommand";
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 = "SetActiveReceiptRuleSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetActiveReceiptRuleSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetActiveReceiptRuleSetResponseFilterSensitiveLog,
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
+ SetActiveReceiptRuleSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetActiveReceiptRuleSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetActiveReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetActiveReceiptRuleSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetActiveReceiptRuleSetCommand;
38
+ }($Command));
39
+ export { SetActiveReceiptRuleSetCommand };
@@ -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 { SetIdentityDkimEnabledRequestFilterSensitiveLog, SetIdentityDkimEnabledResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetIdentityDkimEnabledCommand, serializeAws_querySetIdentityDkimEnabledCommand, } from "../protocols/Aws_query";
5
- export class SetIdentityDkimEnabledCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetIdentityDkimEnabledCommand = (function (_super) {
7
+ __extends(SetIdentityDkimEnabledCommand, _super);
8
+ function SetIdentityDkimEnabledCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetIdentityDkimEnabledCommand.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 = "SetIdentityDkimEnabledCommand";
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 = "SetIdentityDkimEnabledCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetIdentityDkimEnabledRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetIdentityDkimEnabledResponseFilterSensitiveLog,
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
+ SetIdentityDkimEnabledCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetIdentityDkimEnabledCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetIdentityDkimEnabledCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetIdentityDkimEnabledCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetIdentityDkimEnabledCommand;
38
+ }($Command));
39
+ export { SetIdentityDkimEnabledCommand };
@@ -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 { SetIdentityFeedbackForwardingEnabledRequestFilterSensitiveLog, SetIdentityFeedbackForwardingEnabledResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetIdentityFeedbackForwardingEnabledCommand, serializeAws_querySetIdentityFeedbackForwardingEnabledCommand, } from "../protocols/Aws_query";
5
- export class SetIdentityFeedbackForwardingEnabledCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetIdentityFeedbackForwardingEnabledCommand = (function (_super) {
7
+ __extends(SetIdentityFeedbackForwardingEnabledCommand, _super);
8
+ function SetIdentityFeedbackForwardingEnabledCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetIdentityFeedbackForwardingEnabledCommand.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 = "SetIdentityFeedbackForwardingEnabledCommand";
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 = "SetIdentityFeedbackForwardingEnabledCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetIdentityFeedbackForwardingEnabledRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetIdentityFeedbackForwardingEnabledResponseFilterSensitiveLog,
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
+ SetIdentityFeedbackForwardingEnabledCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetIdentityFeedbackForwardingEnabledCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetIdentityFeedbackForwardingEnabledCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetIdentityFeedbackForwardingEnabledCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetIdentityFeedbackForwardingEnabledCommand;
38
+ }($Command));
39
+ export { SetIdentityFeedbackForwardingEnabledCommand };
@@ -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 { SetIdentityHeadersInNotificationsEnabledRequestFilterSensitiveLog, SetIdentityHeadersInNotificationsEnabledResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommand, serializeAws_querySetIdentityHeadersInNotificationsEnabledCommand, } from "../protocols/Aws_query";
5
- export class SetIdentityHeadersInNotificationsEnabledCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetIdentityHeadersInNotificationsEnabledCommand = (function (_super) {
7
+ __extends(SetIdentityHeadersInNotificationsEnabledCommand, _super);
8
+ function SetIdentityHeadersInNotificationsEnabledCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetIdentityHeadersInNotificationsEnabledCommand.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 = "SetIdentityHeadersInNotificationsEnabledCommand";
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 = "SetIdentityHeadersInNotificationsEnabledCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetIdentityHeadersInNotificationsEnabledRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetIdentityHeadersInNotificationsEnabledResponseFilterSensitiveLog,
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
+ SetIdentityHeadersInNotificationsEnabledCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetIdentityHeadersInNotificationsEnabledCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetIdentityHeadersInNotificationsEnabledCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetIdentityHeadersInNotificationsEnabledCommand;
38
+ }($Command));
39
+ export { SetIdentityHeadersInNotificationsEnabledCommand };
@@ -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 { SetIdentityMailFromDomainRequestFilterSensitiveLog, SetIdentityMailFromDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetIdentityMailFromDomainCommand, serializeAws_querySetIdentityMailFromDomainCommand, } from "../protocols/Aws_query";
5
- export class SetIdentityMailFromDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetIdentityMailFromDomainCommand = (function (_super) {
7
+ __extends(SetIdentityMailFromDomainCommand, _super);
8
+ function SetIdentityMailFromDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetIdentityMailFromDomainCommand.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 = "SetIdentityMailFromDomainCommand";
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 = "SetIdentityMailFromDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetIdentityMailFromDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetIdentityMailFromDomainResponseFilterSensitiveLog,
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
+ SetIdentityMailFromDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetIdentityMailFromDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetIdentityMailFromDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetIdentityMailFromDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetIdentityMailFromDomainCommand;
38
+ }($Command));
39
+ export { SetIdentityMailFromDomainCommand };
@@ -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 { SetIdentityNotificationTopicRequestFilterSensitiveLog, SetIdentityNotificationTopicResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetIdentityNotificationTopicCommand, serializeAws_querySetIdentityNotificationTopicCommand, } from "../protocols/Aws_query";
5
- export class SetIdentityNotificationTopicCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetIdentityNotificationTopicCommand = (function (_super) {
7
+ __extends(SetIdentityNotificationTopicCommand, _super);
8
+ function SetIdentityNotificationTopicCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetIdentityNotificationTopicCommand.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 = "SetIdentityNotificationTopicCommand";
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 = "SetIdentityNotificationTopicCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetIdentityNotificationTopicRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetIdentityNotificationTopicResponseFilterSensitiveLog,
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
+ SetIdentityNotificationTopicCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetIdentityNotificationTopicCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetIdentityNotificationTopicCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetIdentityNotificationTopicCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetIdentityNotificationTopicCommand;
38
+ }($Command));
39
+ export { SetIdentityNotificationTopicCommand };
@@ -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 { SetReceiptRulePositionRequestFilterSensitiveLog, SetReceiptRulePositionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_querySetReceiptRulePositionCommand, serializeAws_querySetReceiptRulePositionCommand, } from "../protocols/Aws_query";
5
- export class SetReceiptRulePositionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetReceiptRulePositionCommand = (function (_super) {
7
+ __extends(SetReceiptRulePositionCommand, _super);
8
+ function SetReceiptRulePositionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetReceiptRulePositionCommand.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 = "SetReceiptRulePositionCommand";
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 = "SetReceiptRulePositionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetReceiptRulePositionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetReceiptRulePositionResponseFilterSensitiveLog,
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
+ SetReceiptRulePositionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_querySetReceiptRulePositionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetReceiptRulePositionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_querySetReceiptRulePositionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetReceiptRulePositionCommand;
38
+ }($Command));
39
+ export { SetReceiptRulePositionCommand };
@@ -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 { TestRenderTemplateRequestFilterSensitiveLog, TestRenderTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryTestRenderTemplateCommand, serializeAws_queryTestRenderTemplateCommand, } from "../protocols/Aws_query";
5
- export class TestRenderTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TestRenderTemplateCommand = (function (_super) {
7
+ __extends(TestRenderTemplateCommand, _super);
8
+ function TestRenderTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TestRenderTemplateCommand.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 = "TestRenderTemplateCommand";
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 = "TestRenderTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TestRenderTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TestRenderTemplateResponseFilterSensitiveLog,
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
+ TestRenderTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryTestRenderTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TestRenderTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryTestRenderTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TestRenderTemplateCommand;
38
+ }($Command));
39
+ export { TestRenderTemplateCommand };