@aws-sdk/client-ses 3.36.0 → 3.39.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 (181) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/SES.js +0 -11
  3. package/dist-cjs/SESClient.js +0 -16
  4. package/dist-cjs/commands/CloneReceiptRuleSetCommand.js +0 -29
  5. package/dist-cjs/commands/CreateConfigurationSetCommand.js +0 -28
  6. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +0 -33
  7. package/dist-cjs/commands/CreateConfigurationSetTrackingOptionsCommand.js +0 -28
  8. package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +0 -27
  9. package/dist-cjs/commands/CreateReceiptFilterCommand.js +0 -26
  10. package/dist-cjs/commands/CreateReceiptRuleCommand.js +0 -27
  11. package/dist-cjs/commands/CreateReceiptRuleSetCommand.js +0 -27
  12. package/dist-cjs/commands/CreateTemplateCommand.js +0 -27
  13. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +0 -27
  15. package/dist-cjs/commands/DeleteConfigurationSetTrackingOptionsCommand.js +0 -33
  16. package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +0 -27
  17. package/dist-cjs/commands/DeleteIdentityCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteIdentityPolicyCommand.js +0 -35
  19. package/dist-cjs/commands/DeleteReceiptFilterCommand.js +0 -27
  20. package/dist-cjs/commands/DeleteReceiptRuleCommand.js +0 -27
  21. package/dist-cjs/commands/DeleteReceiptRuleSetCommand.js +0 -30
  22. package/dist-cjs/commands/DeleteTemplateCommand.js +0 -25
  23. package/dist-cjs/commands/DeleteVerifiedEmailAddressCommand.js +0 -25
  24. package/dist-cjs/commands/DescribeActiveReceiptRuleSetCommand.js +0 -28
  25. package/dist-cjs/commands/DescribeConfigurationSetCommand.js +0 -27
  26. package/dist-cjs/commands/DescribeReceiptRuleCommand.js +0 -27
  27. package/dist-cjs/commands/DescribeReceiptRuleSetCommand.js +0 -26
  28. package/dist-cjs/commands/GetAccountSendingEnabledCommand.js +0 -25
  29. package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +0 -28
  30. package/dist-cjs/commands/GetIdentityDkimAttributesCommand.js +0 -46
  31. package/dist-cjs/commands/GetIdentityMailFromDomainAttributesCommand.js +0 -27
  32. package/dist-cjs/commands/GetIdentityNotificationAttributesCommand.js +0 -29
  33. package/dist-cjs/commands/GetIdentityPoliciesCommand.js +0 -35
  34. package/dist-cjs/commands/GetIdentityVerificationAttributesCommand.js +0 -39
  35. package/dist-cjs/commands/GetSendQuotaCommand.js +0 -25
  36. package/dist-cjs/commands/GetSendStatisticsCommand.js +0 -27
  37. package/dist-cjs/commands/GetTemplateCommand.js +0 -26
  38. package/dist-cjs/commands/ListConfigurationSetsCommand.js +0 -33
  39. package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +0 -28
  40. package/dist-cjs/commands/ListIdentitiesCommand.js +0 -26
  41. package/dist-cjs/commands/ListIdentityPoliciesCommand.js +0 -35
  42. package/dist-cjs/commands/ListReceiptFiltersCommand.js +0 -28
  43. package/dist-cjs/commands/ListReceiptRuleSetsCommand.js +0 -29
  44. package/dist-cjs/commands/ListTemplatesCommand.js +0 -26
  45. package/dist-cjs/commands/ListVerifiedEmailAddressesCommand.js +0 -25
  46. package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +0 -24
  47. package/dist-cjs/commands/PutIdentityPolicyCommand.js +0 -34
  48. package/dist-cjs/commands/ReorderReceiptRuleSetCommand.js +0 -31
  49. package/dist-cjs/commands/SendBounceCommand.js +0 -32
  50. package/dist-cjs/commands/SendBulkTemplatedEmailCommand.js +0 -66
  51. package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +0 -32
  52. package/dist-cjs/commands/SendEmailCommand.js +0 -68
  53. package/dist-cjs/commands/SendRawEmailCommand.js +0 -132
  54. package/dist-cjs/commands/SendTemplatedEmailCommand.js +0 -73
  55. package/dist-cjs/commands/SetActiveReceiptRuleSetCommand.js +0 -30
  56. package/dist-cjs/commands/SetIdentityDkimEnabledCommand.js +0 -36
  57. package/dist-cjs/commands/SetIdentityFeedbackForwardingEnabledCommand.js +0 -34
  58. package/dist-cjs/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +0 -29
  59. package/dist-cjs/commands/SetIdentityMailFromDomainCommand.js +0 -33
  60. package/dist-cjs/commands/SetIdentityNotificationTopicCommand.js +0 -32
  61. package/dist-cjs/commands/SetReceiptRulePositionCommand.js +0 -27
  62. package/dist-cjs/commands/TestRenderTemplateCommand.js +0 -26
  63. package/dist-cjs/commands/UpdateAccountSendingEnabledCommand.js +0 -29
  64. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +0 -35
  65. package/dist-cjs/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +0 -28
  66. package/dist-cjs/commands/UpdateConfigurationSetSendingEnabledCommand.js +0 -29
  67. package/dist-cjs/commands/UpdateConfigurationSetTrackingOptionsCommand.js +0 -28
  68. package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +0 -27
  69. package/dist-cjs/commands/UpdateReceiptRuleCommand.js +0 -27
  70. package/dist-cjs/commands/UpdateTemplateCommand.js +0 -27
  71. package/dist-cjs/commands/VerifyDomainDkimCommand.js +0 -62
  72. package/dist-cjs/commands/VerifyDomainIdentityCommand.js +0 -30
  73. package/dist-cjs/commands/VerifyEmailAddressCommand.js +0 -25
  74. package/dist-cjs/commands/VerifyEmailIdentityCommand.js +0 -27
  75. package/dist-cjs/commands/index.js +74 -0
  76. package/dist-cjs/endpoints.js +6 -1
  77. package/dist-cjs/index.js +5 -77
  78. package/dist-cjs/models/models_0.js +0 -615
  79. package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +0 -10
  80. package/dist-cjs/pagination/ListIdentitiesPaginator.js +0 -10
  81. package/dist-cjs/pagination/index.js +6 -0
  82. package/dist-cjs/protocols/Aws_query.js +0 -2
  83. package/dist-cjs/runtimeConfig.browser.js +1 -5
  84. package/dist-cjs/runtimeConfig.js +1 -5
  85. package/dist-cjs/runtimeConfig.native.js +0 -3
  86. package/dist-cjs/runtimeConfig.shared.js +0 -3
  87. package/dist-cjs/waiters/index.js +4 -0
  88. package/dist-cjs/waiters/waitForIdentityExists.js +0 -9
  89. package/dist-es/commands/index.js +71 -0
  90. package/dist-es/endpoints.js +6 -1
  91. package/dist-es/index.js +5 -77
  92. package/dist-es/pagination/index.js +3 -0
  93. package/dist-es/waiters/index.js +1 -0
  94. package/dist-types/commands/index.d.ts +71 -0
  95. package/dist-types/index.d.ts +5 -77
  96. package/dist-types/pagination/index.d.ts +3 -0
  97. package/dist-types/ts3.4/SES.d.ts +72 -838
  98. package/dist-types/ts3.4/SESClient.d.ts +24 -97
  99. package/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +2 -25
  100. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +2 -24
  101. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -29
  102. package/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +2 -24
  103. package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  104. package/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +2 -22
  105. package/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +2 -23
  106. package/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +2 -23
  108. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +2 -22
  109. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +2 -29
  111. package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +2 -22
  113. package/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +2 -31
  114. package/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +2 -23
  115. package/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +2 -26
  117. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +2 -21
  118. package/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +2 -24
  120. package/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +2 -23
  122. package/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +2 -42
  126. package/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +2 -23
  127. package/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +2 -25
  128. package/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +2 -31
  129. package/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +2 -35
  130. package/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +2 -21
  131. package/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +2 -22
  133. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +2 -29
  134. package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -24
  135. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +2 -31
  137. package/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +2 -24
  138. package/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +2 -25
  139. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +2 -22
  140. package/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +2 -21
  141. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +2 -30
  143. package/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +2 -27
  144. package/dist-types/ts3.4/commands/SendBounceCommand.d.ts +2 -28
  145. package/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +2 -62
  146. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +2 -28
  147. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +2 -64
  148. package/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +2 -128
  149. package/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +2 -69
  150. package/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +2 -26
  151. package/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +2 -32
  152. package/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +2 -30
  153. package/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +2 -25
  154. package/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +2 -29
  155. package/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +2 -28
  156. package/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +2 -23
  157. package/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +2 -22
  158. package/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +2 -25
  159. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -31
  160. package/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +2 -24
  161. package/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +2 -25
  162. package/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +2 -24
  163. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  164. package/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +2 -23
  165. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +2 -23
  166. package/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +2 -58
  167. package/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +2 -26
  168. package/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +2 -21
  169. package/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +2 -23
  170. package/dist-types/ts3.4/commands/index.d.ts +71 -0
  171. package/dist-types/ts3.4/index.d.ts +5 -77
  172. package/dist-types/ts3.4/models/models_0.d.ts +748 -3405
  173. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  178. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  179. package/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +2 -9
  180. package/dist-types/waiters/index.d.ts +1 -0
  181. package/package.json +33 -33
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM
10
- * signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends
11
- * from addresses on that domain. If Easy DKIM signing is enabled for an email address,
12
- * then Amazon SES uses DKIM to sign all email it sends from that address.</p>
13
- * <note>
14
- * <p>For email addresses (for example, <code>user@example.com</code>), you can only
15
- * enable DKIM signing if the corresponding domain (in this case,
16
- * <code>example.com</code>) has been set up to use Easy DKIM.</p>
17
- * </note>
18
- * <p>You can enable DKIM signing for an identity at any time after you start the
19
- * verification process for the identity, even if the verification process isn't complete. </p>
20
- * <p>You can execute this operation no more than once per second.</p>
21
- * <p>For more information about Easy DKIM signing, go to the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">Amazon SES Developer Guide</a>.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { SESClient, SetIdentityDkimEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import
26
- * // const { SESClient, SetIdentityDkimEnabledCommand } = require("@aws-sdk/client-ses"); // CommonJS import
27
- * const client = new SESClient(config);
28
- * const command = new SetIdentityDkimEnabledCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link SetIdentityDkimEnabledCommandInput} for command's `input` shape.
33
- * @see {@link SetIdentityDkimEnabledCommandOutput} for command's `response` shape.
34
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class SetIdentityDkimEnabledCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Given an identity (an email address or a domain), enables or disables whether Amazon SES
10
- * forwards bounce and complaint notifications as email. Feedback forwarding can only be
11
- * disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and
12
- * complaints.</p>
13
- * <note>
14
- * <p>Feedback forwarding does not apply to delivery notifications. Delivery
15
- * notifications are only available through Amazon SNS.</p>
16
- * </note>
17
- * <p>You can execute this operation no more than once per second.</p>
18
- * <p>For more information about using notifications with Amazon SES, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html">Amazon SES
19
- * Developer Guide</a>.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { SESClient, SetIdentityFeedbackForwardingEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import
24
- * // const { SESClient, SetIdentityFeedbackForwardingEnabledCommand } = require("@aws-sdk/client-ses"); // CommonJS import
25
- * const client = new SESClient(config);
26
- * const command = new SetIdentityFeedbackForwardingEnabledCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link SetIdentityFeedbackForwardingEnabledCommandInput} for command's `input` shape.
31
- * @see {@link SetIdentityFeedbackForwardingEnabledCommandOutput} for command's `response` shape.
32
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class SetIdentityFeedbackForwardingEnabledCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Given an identity (an email address or a domain), sets whether Amazon SES includes the
10
- * original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified
11
- * type.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * <p>For more information about using notifications with Amazon SES, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html">Amazon SES
14
- * Developer Guide</a>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { SESClient, SetIdentityHeadersInNotificationsEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import
19
- * // const { SESClient, SetIdentityHeadersInNotificationsEnabledCommand } = require("@aws-sdk/client-ses"); // CommonJS import
20
- * const client = new SESClient(config);
21
- * const command = new SetIdentityHeadersInNotificationsEnabledCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link SetIdentityHeadersInNotificationsEnabledCommandInput} for command's `input` shape.
26
- * @see {@link SetIdentityHeadersInNotificationsEnabledCommandOutput} for command's `response` shape.
27
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class SetIdentityHeadersInNotificationsEnabledCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Enables or disables the custom MAIL FROM domain setup for a verified identity (an
10
- * email address or a domain).</p>
11
- * <important>
12
- * <p>To send emails using the specified MAIL FROM domain, you must add an MX record to
13
- * your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy
14
- * Framework (SPF) checks, you must also add or update an SPF record. For more
15
- * information, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html">Amazon SES Developer
16
- * Guide</a>.</p>
17
- * </important>
18
- * <p>You can execute this operation no more than once per second.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { SESClient, SetIdentityMailFromDomainCommand } from "@aws-sdk/client-ses"; // ES Modules import
23
- * // const { SESClient, SetIdentityMailFromDomainCommand } = require("@aws-sdk/client-ses"); // CommonJS import
24
- * const client = new SESClient(config);
25
- * const command = new SetIdentityMailFromDomainCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link SetIdentityMailFromDomainCommandInput} for command's `input` shape.
30
- * @see {@link SetIdentityMailFromDomainCommandOutput} for command's `response` shape.
31
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class SetIdentityMailFromDomainCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use
10
- * this operation, you specify a verified identity, such as an email address or domain.
11
- * When you send an email that uses the chosen identity in the Source field, Amazon SES sends
12
- * notifications to the topic you specified. You can send bounce, complaint, or delivery
13
- * notifications (or any combination of the three) to the Amazon SNS topic that you
14
- * specify.</p>
15
- * <p>You can execute this operation no more than once per second.</p>
16
- * <p>For more information about feedback notification, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html">Amazon SES Developer
17
- * Guide</a>.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { SESClient, SetIdentityNotificationTopicCommand } from "@aws-sdk/client-ses"; // ES Modules import
22
- * // const { SESClient, SetIdentityNotificationTopicCommand } = require("@aws-sdk/client-ses"); // CommonJS import
23
- * const client = new SESClient(config);
24
- * const command = new SetIdentityNotificationTopicCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link SetIdentityNotificationTopicCommandInput} for command's `input` shape.
29
- * @see {@link SetIdentityNotificationTopicCommandOutput} for command's `response` shape.
30
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class SetIdentityNotificationTopicCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Sets the position of the specified receipt rule in the receipt rule set.</p>
10
- * <p>For information about managing receipt rules, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html">Amazon SES
11
- * Developer Guide</a>.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { SESClient, SetReceiptRulePositionCommand } from "@aws-sdk/client-ses"; // ES Modules import
17
- * // const { SESClient, SetReceiptRulePositionCommand } = require("@aws-sdk/client-ses"); // CommonJS import
18
- * const client = new SESClient(config);
19
- * const command = new SetReceiptRulePositionCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link SetReceiptRulePositionCommandInput} for command's `input` shape.
24
- * @see {@link SetReceiptRulePositionCommandOutput} for command's `response` shape.
25
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class SetReceiptRulePositionCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Creates a preview of the MIME content of an email when provided with a template and a
10
- * set of replacement data.</p>
11
- * <p>You can execute this operation no more than once per second.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { SESClient, TestRenderTemplateCommand } from "@aws-sdk/client-ses"; // ES Modules import
16
- * // const { SESClient, TestRenderTemplateCommand } = require("@aws-sdk/client-ses"); // CommonJS import
17
- * const client = new SESClient(config);
18
- * const command = new TestRenderTemplateCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link TestRenderTemplateCommandInput} for command's `input` shape.
23
- * @see {@link TestRenderTemplateCommandOutput} for command's `response` shape.
24
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class TestRenderTemplateCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Enables or disables email sending across your entire Amazon SES account in the current
10
- * AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to
11
- * temporarily pause email sending across your Amazon SES account in a given AWS Region when
12
- * reputation metrics (such as your bounce or complaint rates) reach certain
13
- * thresholds.</p>
14
- * <p>You can execute this operation no more than once per second.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { SESClient, UpdateAccountSendingEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import
19
- * // const { SESClient, UpdateAccountSendingEnabledCommand } = require("@aws-sdk/client-ses"); // CommonJS import
20
- * const client = new SESClient(config);
21
- * const command = new UpdateAccountSendingEnabledCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link UpdateAccountSendingEnabledCommandInput} for command's `input` shape.
26
- * @see {@link UpdateAccountSendingEnabledCommandOutput} for command's `response` shape.
27
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class UpdateAccountSendingEnabledCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,46 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Updates the event destination of a configuration set. Event destinations are
10
- * associated with configuration sets, which enable you to publish email sending events to
11
- * Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets,
12
- * see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html">Monitoring Your Amazon SES
13
- * Sending Activity</a> in the <i>Amazon SES Developer Guide.</i>
14
- * </p>
15
- * <note>
16
- * <p>When you create or update an event destination, you must provide one, and only
17
- * one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service
18
- * (Amazon SNS).</p>
19
- * </note>
20
- * <p>You can execute this operation no more than once per second.</p>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { SESClient, UpdateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-ses"; // ES Modules import
25
- * // const { SESClient, UpdateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-ses"); // CommonJS import
26
- * const client = new SESClient(config);
27
- * const command = new UpdateConfigurationSetEventDestinationCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link UpdateConfigurationSetEventDestinationCommandInput} for command's `input` shape.
32
- * @see {@link UpdateConfigurationSetEventDestinationCommandOutput} for command's `response` shape.
33
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
8
  class UpdateConfigurationSetEventDestinationCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
9
  constructor(input) {
40
- // Start section: command_constructor
41
10
  super();
42
11
  this.input = input;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  resolveMiddleware(clientStack, configuration, options) {
49
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Enables or disables the publishing of reputation metrics for emails sent using a
10
- * specific configuration set in a given AWS Region. Reputation metrics include bounce
11
- * and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can
12
- * create alarms when bounce or complaint rates exceed certain thresholds.</p>
13
- * <p>You can execute this operation no more than once per second.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { SESClient, UpdateConfigurationSetReputationMetricsEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import
18
- * // const { SESClient, UpdateConfigurationSetReputationMetricsEnabledCommand } = require("@aws-sdk/client-ses"); // CommonJS import
19
- * const client = new SESClient(config);
20
- * const command = new UpdateConfigurationSetReputationMetricsEnabledCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UpdateConfigurationSetReputationMetricsEnabledCommandInput} for command's `input` shape.
25
- * @see {@link UpdateConfigurationSetReputationMetricsEnabledCommandOutput} for command's `response` shape.
26
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class UpdateConfigurationSetReputationMetricsEnabledCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Enables or disables email sending for messages sent using a specific configuration set
10
- * in a given AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms
11
- * to temporarily pause email sending for a configuration set when the reputation metrics
12
- * for that configuration set (such as your bounce on complaint rate) exceed certain
13
- * thresholds.</p>
14
- * <p>You can execute this operation no more than once per second.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { SESClient, UpdateConfigurationSetSendingEnabledCommand } from "@aws-sdk/client-ses"; // ES Modules import
19
- * // const { SESClient, UpdateConfigurationSetSendingEnabledCommand } = require("@aws-sdk/client-ses"); // CommonJS import
20
- * const client = new SESClient(config);
21
- * const command = new UpdateConfigurationSetSendingEnabledCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link UpdateConfigurationSetSendingEnabledCommandInput} for command's `input` shape.
26
- * @see {@link UpdateConfigurationSetSendingEnabledCommandOutput} for command's `response` shape.
27
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class UpdateConfigurationSetSendingEnabledCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Modifies an association between a configuration set and a custom domain for open and
10
- * click event tracking. </p>
11
- * <p>By default, images and links used for tracking open and click events are hosted on
12
- * domains operated by Amazon SES. You can configure a subdomain of your own to handle these
13
- * events. For information about using custom domains, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html">Amazon SES Developer Guide</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { SESClient, UpdateConfigurationSetTrackingOptionsCommand } from "@aws-sdk/client-ses"; // ES Modules import
18
- * // const { SESClient, UpdateConfigurationSetTrackingOptionsCommand } = require("@aws-sdk/client-ses"); // CommonJS import
19
- * const client = new SESClient(config);
20
- * const command = new UpdateConfigurationSetTrackingOptionsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UpdateConfigurationSetTrackingOptionsCommandInput} for command's `input` shape.
25
- * @see {@link UpdateConfigurationSetTrackingOptionsCommandOutput} for command's `response` shape.
26
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class UpdateConfigurationSetTrackingOptionsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Updates an existing custom verification email template.</p>
10
- * <p>For more information about custom verification email templates, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html">Using Custom Verification Email Templates</a> in the <i>Amazon SES Developer
11
- * Guide</i>.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { SESClient, UpdateCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-ses"; // ES Modules import
17
- * // const { SESClient, UpdateCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-ses"); // CommonJS import
18
- * const client = new SESClient(config);
19
- * const command = new UpdateCustomVerificationEmailTemplateCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateCustomVerificationEmailTemplateCommandInput} for command's `input` shape.
24
- * @see {@link UpdateCustomVerificationEmailTemplateCommandOutput} for command's `response` shape.
25
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateCustomVerificationEmailTemplateCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Updates a receipt rule.</p>
10
- * <p>For information about managing receipt rules, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html">Amazon SES
11
- * Developer Guide</a>.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { SESClient, UpdateReceiptRuleCommand } from "@aws-sdk/client-ses"; // ES Modules import
17
- * // const { SESClient, UpdateReceiptRuleCommand } = require("@aws-sdk/client-ses"); // CommonJS import
18
- * const client = new SESClient(config);
19
- * const command = new UpdateReceiptRuleCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateReceiptRuleCommandInput} for command's `input` shape.
24
- * @see {@link UpdateReceiptRuleCommandOutput} for command's `response` shape.
25
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateReceiptRuleCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Updates an email template. Email templates enable you to send personalized email to
10
- * one or more destinations in a single API operation. For more information, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html">Amazon SES Developer
11
- * Guide</a>.</p>
12
- * <p>You can execute this operation no more than once per second.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { SESClient, UpdateTemplateCommand } from "@aws-sdk/client-ses"; // ES Modules import
17
- * // const { SESClient, UpdateTemplateCommand } = require("@aws-sdk/client-ses"); // CommonJS import
18
- * const client = new SESClient(config);
19
- * const command = new UpdateTemplateCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateTemplateCommandInput} for command's `input` shape.
24
- * @see {@link UpdateTemplateCommandOutput} for command's `response` shape.
25
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateTemplateCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);