@aws-sdk/client-ses 3.186.0 → 3.188.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 +8 -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 { DeleteVerifiedEmailAddressRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDeleteVerifiedEmailAddressCommand, serializeAws_queryDeleteVerifiedEmailAddressCommand, } from "../protocols/Aws_query";
6
- var DeleteVerifiedEmailAddressCommand = (function (_super) {
7
- __extends(DeleteVerifiedEmailAddressCommand, _super);
8
- function DeleteVerifiedEmailAddressCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteVerifiedEmailAddressCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteVerifiedEmailAddressCommand.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 = "DeleteVerifiedEmailAddressCommand";
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 = "DeleteVerifiedEmailAddressCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteVerifiedEmailAddressRequestFilterSensitiveLog,
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
- DeleteVerifiedEmailAddressCommand.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_queryDeleteVerifiedEmailAddressCommand(input, context);
33
- };
34
- DeleteVerifiedEmailAddressCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDeleteVerifiedEmailAddressCommand(output, context);
36
- };
37
- return DeleteVerifiedEmailAddressCommand;
38
- }($Command));
39
- export { DeleteVerifiedEmailAddressCommand };
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 { DescribeActiveReceiptRuleSetRequestFilterSensitiveLog, DescribeActiveReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeActiveReceiptRuleSetCommand, serializeAws_queryDescribeActiveReceiptRuleSetCommand, } from "../protocols/Aws_query";
6
- var DescribeActiveReceiptRuleSetCommand = (function (_super) {
7
- __extends(DescribeActiveReceiptRuleSetCommand, _super);
8
- function DescribeActiveReceiptRuleSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeActiveReceiptRuleSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeActiveReceiptRuleSetCommand.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 = "DescribeActiveReceiptRuleSetCommand";
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 = "DescribeActiveReceiptRuleSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeActiveReceiptRuleSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeActiveReceiptRuleSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeActiveReceiptRuleSetCommand.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_queryDescribeActiveReceiptRuleSetCommand(input, context);
33
- };
34
- DescribeActiveReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeActiveReceiptRuleSetCommand(output, context);
36
- };
37
- return DescribeActiveReceiptRuleSetCommand;
38
- }($Command));
39
- export { DescribeActiveReceiptRuleSetCommand };
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 { DescribeConfigurationSetRequestFilterSensitiveLog, DescribeConfigurationSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeConfigurationSetCommand, serializeAws_queryDescribeConfigurationSetCommand, } from "../protocols/Aws_query";
6
- var DescribeConfigurationSetCommand = (function (_super) {
7
- __extends(DescribeConfigurationSetCommand, _super);
8
- function DescribeConfigurationSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeConfigurationSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeConfigurationSetCommand.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 = "DescribeConfigurationSetCommand";
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 = "DescribeConfigurationSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeConfigurationSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeConfigurationSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeConfigurationSetCommand.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_queryDescribeConfigurationSetCommand(input, context);
33
- };
34
- DescribeConfigurationSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeConfigurationSetCommand(output, context);
36
- };
37
- return DescribeConfigurationSetCommand;
38
- }($Command));
39
- export { DescribeConfigurationSetCommand };
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 { DescribeReceiptRuleRequestFilterSensitiveLog, DescribeReceiptRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeReceiptRuleCommand, serializeAws_queryDescribeReceiptRuleCommand, } from "../protocols/Aws_query";
6
- var DescribeReceiptRuleCommand = (function (_super) {
7
- __extends(DescribeReceiptRuleCommand, _super);
8
- function DescribeReceiptRuleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeReceiptRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeReceiptRuleCommand.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 = "DescribeReceiptRuleCommand";
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 = "DescribeReceiptRuleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeReceiptRuleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeReceiptRuleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeReceiptRuleCommand.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_queryDescribeReceiptRuleCommand(input, context);
33
- };
34
- DescribeReceiptRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeReceiptRuleCommand(output, context);
36
- };
37
- return DescribeReceiptRuleCommand;
38
- }($Command));
39
- export { DescribeReceiptRuleCommand };
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 { DescribeReceiptRuleSetRequestFilterSensitiveLog, DescribeReceiptRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeReceiptRuleSetCommand, serializeAws_queryDescribeReceiptRuleSetCommand, } from "../protocols/Aws_query";
6
- var DescribeReceiptRuleSetCommand = (function (_super) {
7
- __extends(DescribeReceiptRuleSetCommand, _super);
8
- function DescribeReceiptRuleSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeReceiptRuleSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeReceiptRuleSetCommand.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 = "DescribeReceiptRuleSetCommand";
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 = "DescribeReceiptRuleSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeReceiptRuleSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeReceiptRuleSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeReceiptRuleSetCommand.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_queryDescribeReceiptRuleSetCommand(input, context);
33
- };
34
- DescribeReceiptRuleSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeReceiptRuleSetCommand(output, context);
36
- };
37
- return DescribeReceiptRuleSetCommand;
38
- }($Command));
39
- export { DescribeReceiptRuleSetCommand };
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 { GetAccountSendingEnabledResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryGetAccountSendingEnabledCommand, serializeAws_queryGetAccountSendingEnabledCommand, } from "../protocols/Aws_query";
6
- var GetAccountSendingEnabledCommand = (function (_super) {
7
- __extends(GetAccountSendingEnabledCommand, _super);
8
- function GetAccountSendingEnabledCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAccountSendingEnabledCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAccountSendingEnabledCommand.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 = "GetAccountSendingEnabledCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
23
- inputFilterSensitiveLog: function (input) { return input; },
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SESClient";
15
+ const commandName = "GetAccountSendingEnabledCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
20
+ inputFilterSensitiveLog: (input) => input,
24
21
  outputFilterSensitiveLog: GetAccountSendingEnabledResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAccountSendingEnabledCommand.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_queryGetAccountSendingEnabledCommand(input, context);
33
- };
34
- GetAccountSendingEnabledCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetAccountSendingEnabledCommand(output, context);
36
- };
37
- return GetAccountSendingEnabledCommand;
38
- }($Command));
39
- export { GetAccountSendingEnabledCommand };
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 { GetCustomVerificationEmailTemplateRequestFilterSensitiveLog, GetCustomVerificationEmailTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryGetCustomVerificationEmailTemplateCommand, serializeAws_queryGetCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_query";
6
- var GetCustomVerificationEmailTemplateCommand = (function (_super) {
7
- __extends(GetCustomVerificationEmailTemplateCommand, _super);
8
- function GetCustomVerificationEmailTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetCustomVerificationEmailTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetCustomVerificationEmailTemplateCommand.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 = "GetCustomVerificationEmailTemplateCommand";
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 = "GetCustomVerificationEmailTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetCustomVerificationEmailTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetCustomVerificationEmailTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetCustomVerificationEmailTemplateCommand.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_queryGetCustomVerificationEmailTemplateCommand(input, context);
33
- };
34
- GetCustomVerificationEmailTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetCustomVerificationEmailTemplateCommand(output, context);
36
- };
37
- return GetCustomVerificationEmailTemplateCommand;
38
- }($Command));
39
- export { GetCustomVerificationEmailTemplateCommand };
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 { GetIdentityDkimAttributesRequestFilterSensitiveLog, GetIdentityDkimAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryGetIdentityDkimAttributesCommand, serializeAws_queryGetIdentityDkimAttributesCommand, } from "../protocols/Aws_query";
6
- var GetIdentityDkimAttributesCommand = (function (_super) {
7
- __extends(GetIdentityDkimAttributesCommand, _super);
8
- function GetIdentityDkimAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetIdentityDkimAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetIdentityDkimAttributesCommand.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 = "GetIdentityDkimAttributesCommand";
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 = "GetIdentityDkimAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetIdentityDkimAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetIdentityDkimAttributesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetIdentityDkimAttributesCommand.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_queryGetIdentityDkimAttributesCommand(input, context);
33
- };
34
- GetIdentityDkimAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetIdentityDkimAttributesCommand(output, context);
36
- };
37
- return GetIdentityDkimAttributesCommand;
38
- }($Command));
39
- export { GetIdentityDkimAttributesCommand };
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 { GetIdentityMailFromDomainAttributesRequestFilterSensitiveLog, GetIdentityMailFromDomainAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryGetIdentityMailFromDomainAttributesCommand, serializeAws_queryGetIdentityMailFromDomainAttributesCommand, } from "../protocols/Aws_query";
6
- var GetIdentityMailFromDomainAttributesCommand = (function (_super) {
7
- __extends(GetIdentityMailFromDomainAttributesCommand, _super);
8
- function GetIdentityMailFromDomainAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetIdentityMailFromDomainAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetIdentityMailFromDomainAttributesCommand.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 = "GetIdentityMailFromDomainAttributesCommand";
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 = "GetIdentityMailFromDomainAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetIdentityMailFromDomainAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetIdentityMailFromDomainAttributesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetIdentityMailFromDomainAttributesCommand.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_queryGetIdentityMailFromDomainAttributesCommand(input, context);
33
- };
34
- GetIdentityMailFromDomainAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetIdentityMailFromDomainAttributesCommand(output, context);
36
- };
37
- return GetIdentityMailFromDomainAttributesCommand;
38
- }($Command));
39
- export { GetIdentityMailFromDomainAttributesCommand };
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 { GetIdentityNotificationAttributesRequestFilterSensitiveLog, GetIdentityNotificationAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryGetIdentityNotificationAttributesCommand, serializeAws_queryGetIdentityNotificationAttributesCommand, } from "../protocols/Aws_query";
6
- var GetIdentityNotificationAttributesCommand = (function (_super) {
7
- __extends(GetIdentityNotificationAttributesCommand, _super);
8
- function GetIdentityNotificationAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetIdentityNotificationAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetIdentityNotificationAttributesCommand.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 = "GetIdentityNotificationAttributesCommand";
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 = "GetIdentityNotificationAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetIdentityNotificationAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetIdentityNotificationAttributesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetIdentityNotificationAttributesCommand.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_queryGetIdentityNotificationAttributesCommand(input, context);
33
- };
34
- GetIdentityNotificationAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetIdentityNotificationAttributesCommand(output, context);
36
- };
37
- return GetIdentityNotificationAttributesCommand;
38
- }($Command));
39
- export { GetIdentityNotificationAttributesCommand };
31
+ }
32
+ }