@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,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>Adds or updates a sending authorization policy for the specified identity (an email
10
- * address or a domain).</p>
11
- * <note>
12
- * <p>This API is for the identity owner only. If you have not verified the identity,
13
- * this API will return an error.</p>
14
- * </note>
15
- * <p>Sending authorization is a feature that enables an identity owner to authorize other
16
- * senders to use its identities. For information about using sending authorization, see
17
- * the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html">Amazon SES Developer
18
- * Guide</a>.</p>
19
- * <p>You can execute this operation no more than once per second.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { SESClient, PutIdentityPolicyCommand } from "@aws-sdk/client-ses"; // ES Modules import
24
- * // const { SESClient, PutIdentityPolicyCommand } = require("@aws-sdk/client-ses"); // CommonJS import
25
- * const client = new SESClient(config);
26
- * const command = new PutIdentityPolicyCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link PutIdentityPolicyCommandInput} for command's `input` shape.
31
- * @see {@link PutIdentityPolicyCommandOutput} for command's `response` shape.
32
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class PutIdentityPolicyCommand 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,42 +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>Reorders the receipt rules within a receipt rule set.</p>
10
- * <note>
11
- * <p>All of the rules in the rule set must be represented in this request. That is,
12
- * this API will return an error if the reorder request doesn't explicitly position all
13
- * of the rules.</p>
14
- * </note>
15
- * <p>For information about managing receipt rule sets, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html">Amazon SES Developer Guide</a>.</p>
16
- * <p>You can execute this operation no more than once per second.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { SESClient, ReorderReceiptRuleSetCommand } from "@aws-sdk/client-ses"; // ES Modules import
21
- * // const { SESClient, ReorderReceiptRuleSetCommand } = require("@aws-sdk/client-ses"); // CommonJS import
22
- * const client = new SESClient(config);
23
- * const command = new ReorderReceiptRuleSetCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link ReorderReceiptRuleSetCommandInput} for command's `input` shape.
28
- * @see {@link ReorderReceiptRuleSetCommandOutput} for command's `response` shape.
29
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class ReorderReceiptRuleSetCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
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>Generates and sends a bounce message to the sender of an email you received through
10
- * Amazon SES. You can only use this API on an email up to 24 hours after you receive it.</p>
11
- * <note>
12
- * <p>You cannot use this API to send generic bounces for mail that was not received by
13
- * Amazon SES.</p>
14
- * </note>
15
- * <p>For information about receiving email through Amazon SES, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html">Amazon SES
16
- * Developer Guide</a>.</p>
17
- * <p>You can execute this operation no more than once per second.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { SESClient, SendBounceCommand } from "@aws-sdk/client-ses"; // ES Modules import
22
- * // const { SESClient, SendBounceCommand } = require("@aws-sdk/client-ses"); // CommonJS import
23
- * const client = new SESClient(config);
24
- * const command = new SendBounceCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link SendBounceCommandInput} for command's `input` shape.
29
- * @see {@link SendBounceCommandOutput} for command's `response` shape.
30
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class SendBounceCommand 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,77 +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>Composes an email message to multiple destinations. The message body is created using
10
- * an email template.</p>
11
- * <p>In order to send email using the <code>SendBulkTemplatedEmail</code> operation, your
12
- * call to the API must meet the following requirements:</p>
13
- * <ul>
14
- * <li>
15
- * <p>The call must refer to an existing email template. You can create email
16
- * templates using the <a>CreateTemplate</a> operation.</p>
17
- * </li>
18
- * <li>
19
- * <p>The message must be sent from a verified email address or domain.</p>
20
- * </li>
21
- * <li>
22
- * <p>If your account is still in the Amazon SES sandbox, you may only send to verified
23
- * addresses or domains, or to email addresses associated with the Amazon SES Mailbox
24
- * Simulator. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html">Verifying
25
- * Email Addresses and Domains</a> in the <i>Amazon SES Developer
26
- * Guide.</i>
27
- * </p>
28
- * </li>
29
- * <li>
30
- * <p>The maximum message size is 10 MB.</p>
31
- * </li>
32
- * <li>
33
- * <p>Each <code>Destination</code> parameter must include at least one recipient
34
- * email address. The recipient address can be a To: address, a CC: address, or a
35
- * BCC: address. If a recipient email address is invalid (that is, it is not in the
36
- * format <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), the
37
- * entire message will be rejected, even if the message contains other recipients
38
- * that are valid.</p>
39
- * </li>
40
- * <li>
41
- * <p>The message may not include more than 50 recipients, across the To:, CC: and
42
- * BCC: fields. If you need to send an email message to a larger audience, you can
43
- * divide your recipient list into groups of 50 or fewer, and then call the
44
- * <code>SendBulkTemplatedEmail</code> operation several times to send the
45
- * message to each group.</p>
46
- * </li>
47
- * <li>
48
- * <p>The number of destinations you can contact in a single call to the API may be
49
- * limited by your account's maximum sending rate.</p>
50
- * </li>
51
- * </ul>
52
- * @example
53
- * Use a bare-bones client and the command you need to make an API call.
54
- * ```javascript
55
- * import { SESClient, SendBulkTemplatedEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
56
- * // const { SESClient, SendBulkTemplatedEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
57
- * const client = new SESClient(config);
58
- * const command = new SendBulkTemplatedEmailCommand(input);
59
- * const response = await client.send(command);
60
- * ```
61
- *
62
- * @see {@link SendBulkTemplatedEmailCommandInput} for command's `input` shape.
63
- * @see {@link SendBulkTemplatedEmailCommandOutput} for command's `response` shape.
64
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
65
- *
66
- */
67
8
  class SendBulkTemplatedEmailCommand extends smithy_client_1.Command {
68
- // Start section: command_properties
69
- // End section: command_properties
70
9
  constructor(input) {
71
- // Start section: command_constructor
72
10
  super();
73
11
  this.input = input;
74
- // End section: command_constructor
75
12
  }
76
- /**
77
- * @internal
78
- */
79
13
  resolveMiddleware(clientStack, configuration, options) {
80
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
81
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>Adds an email address to the list of identities for your Amazon SES account in the current
10
- * AWS Region and attempts to verify it. As a result of executing this operation, a
11
- * customized verification email is sent to the specified address.</p>
12
- * <p>To use this operation, you must first create a custom verification email template. For
13
- * more information about creating and using custom verification email templates, see
14
- * <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html">Using Custom
15
- * Verification Email Templates</a> in the <i>Amazon SES Developer
16
- * Guide</i>.</p>
17
- * <p>You can execute this operation no more than once per second.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { SESClient, SendCustomVerificationEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
22
- * // const { SESClient, SendCustomVerificationEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
23
- * const client = new SESClient(config);
24
- * const command = new SendCustomVerificationEmailCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link SendCustomVerificationEmailCommandInput} for command's `input` shape.
29
- * @see {@link SendCustomVerificationEmailCommandOutput} for command's `response` shape.
30
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class SendCustomVerificationEmailCommand 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,79 +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>Composes an email message and immediately queues it for sending. In order to send
10
- * email using the <code>SendEmail</code> operation, your message must meet the following
11
- * requirements:</p>
12
- *
13
- * <ul>
14
- * <li>
15
- * <p>The message must be sent from a verified email address or domain. If you
16
- * attempt to send email using a non-verified address or domain, the operation will
17
- * result in an "Email address not verified" error. </p>
18
- * </li>
19
- * <li>
20
- * <p>If your account is still in the Amazon SES sandbox, you may only send to verified
21
- * addresses or domains, or to email addresses associated with the Amazon SES Mailbox
22
- * Simulator. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html">Verifying
23
- * Email Addresses and Domains</a> in the <i>Amazon SES Developer
24
- * Guide.</i>
25
- * </p>
26
- * </li>
27
- * <li>
28
- * <p>The maximum message size is 10 MB.</p>
29
- * </li>
30
- * <li>
31
- * <p>The message must include at least one recipient email address. The recipient
32
- * address can be a To: address, a CC: address, or a BCC: address. If a recipient
33
- * email address is invalid (that is, it is not in the format
34
- * <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), the entire
35
- * message will be rejected, even if the message contains other recipients that are
36
- * valid.</p>
37
- * </li>
38
- * <li>
39
- * <p>The message may not include more than 50 recipients, across the To:, CC: and
40
- * BCC: fields. If you need to send an email message to a larger audience, you can
41
- * divide your recipient list into groups of 50 or fewer, and then call the
42
- * <code>SendEmail</code> operation several times to send the message to each
43
- * group.</p>
44
- * </li>
45
- * </ul>
46
- * <important>
47
- * <p>For every message that you send, the total number of recipients (including each
48
- * recipient in the To:, CC: and BCC: fields) is counted against the maximum number of
49
- * emails you can send in a 24-hour period (your <i>sending quota</i>).
50
- * For more information about sending quotas in Amazon SES, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html">Managing Your Amazon SES
51
- * Sending Limits</a> in the <i>Amazon SES Developer Guide.</i>
52
- * </p>
53
- * </important>
54
- * @example
55
- * Use a bare-bones client and the command you need to make an API call.
56
- * ```javascript
57
- * import { SESClient, SendEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
58
- * // const { SESClient, SendEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
59
- * const client = new SESClient(config);
60
- * const command = new SendEmailCommand(input);
61
- * const response = await client.send(command);
62
- * ```
63
- *
64
- * @see {@link SendEmailCommandInput} for command's `input` shape.
65
- * @see {@link SendEmailCommandOutput} for command's `response` shape.
66
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
67
- *
68
- */
69
8
  class SendEmailCommand extends smithy_client_1.Command {
70
- // Start section: command_properties
71
- // End section: command_properties
72
9
  constructor(input) {
73
- // Start section: command_constructor
74
10
  super();
75
11
  this.input = input;
76
- // End section: command_constructor
77
12
  }
78
- /**
79
- * @internal
80
- */
81
13
  resolveMiddleware(clientStack, configuration, options) {
82
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
83
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,143 +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>Composes an email message and immediately queues it for sending.</p>
10
- *
11
- * <p>This operation is more flexible than the <code>SendEmail</code> API operation. When
12
- * you use the <code>SendRawEmail</code> operation, you can specify the headers of the
13
- * message as well as its content. This flexibility is useful, for example, when you want
14
- * to send a multipart MIME email (such a message that contains both a text and an HTML
15
- * version). You can also use this operation to send messages that include
16
- * attachments.</p>
17
- * <p>The <code>SendRawEmail</code> operation has the following requirements:</p>
18
- * <ul>
19
- * <li>
20
- * <p>You can only send email from <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html">verified email addresses or domains</a>. If you try
21
- * to send email from an address that isn't verified, the operation results in an
22
- * "Email address not verified" error.</p>
23
- * </li>
24
- * <li>
25
- * <p>If your account is still in the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html">Amazon SES sandbox</a>, you can only send email to other
26
- * verified addresses in your account, or to addresses that are associated with the
27
- * <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mailbox-simulator.html">Amazon SES mailbox simulator</a>.</p>
28
- * </li>
29
- * <li>
30
- * <p>The maximum message size, including attachments, is 10 MB.</p>
31
- * </li>
32
- * <li>
33
- * <p>Each message has to include at least one recipient address. A recipient
34
- * address includes any address on the To:, CC:, or BCC: lines.</p>
35
- * </li>
36
- * <li>
37
- * <p>If you send a single message to more than one recipient address, and one of
38
- * the recipient addresses isn't in a valid format (that is, it's not in the format
39
- * <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), Amazon SES
40
- * rejects the entire message, even if the other addresses are valid.</p>
41
- * </li>
42
- * <li>
43
- * <p>Each message can include up to 50 recipient addresses across the To:, CC:, or
44
- * BCC: lines. If you need to send a single message to more than 50 recipients, you
45
- * have to split the list of recipient addresses into groups of less than 50
46
- * recipients, and send separate messages to each group.</p>
47
- * </li>
48
- * <li>
49
- * <p>Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message
50
- * parts. However, if Amazon SES has to modify the contents of your message (for
51
- * example, if you use open and click tracking), 8-bit content isn't preserved. For
52
- * this reason, we highly recommend that you encode all content that isn't 7-bit
53
- * ASCII. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding">MIME Encoding</a> in the <i>Amazon SES Developer
54
- * Guide</i>.</p>
55
- * </li>
56
- * </ul>
57
- *
58
- *
59
- *
60
- * <p>Additionally, keep the following considerations in mind when using the
61
- * <code>SendRawEmail</code> operation:</p>
62
- *
63
- * <ul>
64
- * <li>
65
- * <p>Although you can customize the message headers when using the
66
- * <code>SendRawEmail</code> operation, Amazon SES will automatically apply its own
67
- * <code>Message-ID</code> and <code>Date</code> headers; if you passed these
68
- * headers when creating the message, they will be overwritten by the values that
69
- * Amazon SES provides.</p>
70
- * </li>
71
- * <li>
72
- * <p>If you are using sending authorization to send on behalf of another user,
73
- * <code>SendRawEmail</code> enables you to specify the cross-account identity
74
- * for the email's Source, From, and Return-Path parameters in one of two ways: you
75
- * can pass optional parameters <code>SourceArn</code>, <code>FromArn</code>,
76
- * and/or <code>ReturnPathArn</code> to the API, or you can include the following
77
- * X-headers in the header of your raw email:</p>
78
- * <ul>
79
- * <li>
80
- * <p>
81
- * <code>X-SES-SOURCE-ARN</code>
82
- * </p>
83
- * </li>
84
- * <li>
85
- * <p>
86
- * <code>X-SES-FROM-ARN</code>
87
- * </p>
88
- * </li>
89
- * <li>
90
- * <p>
91
- * <code>X-SES-RETURN-PATH-ARN</code>
92
- * </p>
93
- * </li>
94
- * </ul>
95
- * <important>
96
- * <p>Don't include these X-headers in the DKIM signature. Amazon SES removes these
97
- * before it sends the email.</p>
98
- * </important>
99
- * <p>If you only specify the <code>SourceIdentityArn</code> parameter, Amazon SES sets
100
- * the From and Return-Path addresses to the same identity that you
101
- * specified.</p>
102
- * <p>For more information about sending authorization, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html">Using Sending
103
- * Authorization with Amazon SES</a> in the <i>Amazon SES Developer
104
- * Guide.</i>
105
- * </p>
106
- * </li>
107
- * <li>
108
- * <p>For every message that you send, the total number of recipients (including
109
- * each recipient in the To:, CC: and BCC: fields) is counted against the maximum
110
- * number of emails you can send in a 24-hour period (your <i>sending
111
- * quota</i>). For more information about sending quotas in Amazon SES, see
112
- * <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html">Managing Your
113
- * Amazon SES Sending Limits</a> in the <i>Amazon SES Developer
114
- * Guide.</i>
115
- * </p>
116
- * </li>
117
- * </ul>
118
- * @example
119
- * Use a bare-bones client and the command you need to make an API call.
120
- * ```javascript
121
- * import { SESClient, SendRawEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
122
- * // const { SESClient, SendRawEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
123
- * const client = new SESClient(config);
124
- * const command = new SendRawEmailCommand(input);
125
- * const response = await client.send(command);
126
- * ```
127
- *
128
- * @see {@link SendRawEmailCommandInput} for command's `input` shape.
129
- * @see {@link SendRawEmailCommandOutput} for command's `response` shape.
130
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
131
- *
132
- */
133
8
  class SendRawEmailCommand extends smithy_client_1.Command {
134
- // Start section: command_properties
135
- // End section: command_properties
136
9
  constructor(input) {
137
- // Start section: command_constructor
138
10
  super();
139
11
  this.input = input;
140
- // End section: command_constructor
141
12
  }
142
- /**
143
- * @internal
144
- */
145
13
  resolveMiddleware(clientStack, configuration, options) {
146
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
147
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,84 +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>Composes an email message using an email template and immediately queues it for
10
- * sending.</p>
11
- * <p>In order to send email using the <code>SendTemplatedEmail</code> operation, your call
12
- * to the API must meet the following requirements:</p>
13
- * <ul>
14
- * <li>
15
- * <p>The call must refer to an existing email template. You can create email
16
- * templates using the <a>CreateTemplate</a> operation.</p>
17
- * </li>
18
- * <li>
19
- * <p>The message must be sent from a verified email address or domain.</p>
20
- * </li>
21
- * <li>
22
- * <p>If your account is still in the Amazon SES sandbox, you may only send to verified
23
- * addresses or domains, or to email addresses associated with the Amazon SES Mailbox
24
- * Simulator. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html">Verifying
25
- * Email Addresses and Domains</a> in the <i>Amazon SES Developer
26
- * Guide.</i>
27
- * </p>
28
- * </li>
29
- * <li>
30
- * <p>The maximum message size is 10 MB.</p>
31
- * </li>
32
- * <li>
33
- * <p>Calls to the <code>SendTemplatedEmail</code> operation may only include one
34
- * <code>Destination</code> parameter. A destination is a set of recipients who
35
- * will receive the same version of the email. The <code>Destination</code>
36
- * parameter can include up to 50 recipients, across the To:, CC: and BCC:
37
- * fields.</p>
38
- * </li>
39
- * <li>
40
- * <p>The <code>Destination</code> parameter must include at least one recipient
41
- * email address. The recipient address can be a To: address, a CC: address, or a
42
- * BCC: address. If a recipient email address is invalid (that is, it is not in the
43
- * format <i>UserName@[SubDomain.]Domain.TopLevelDomain</i>), the
44
- * entire message will be rejected, even if the message contains other recipients
45
- * that are valid.</p>
46
- * </li>
47
- * </ul>
48
- * <important>
49
- * <p>If your call to the <code>SendTemplatedEmail</code> operation includes all of the
50
- * required parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon SES
51
- * can't render the email because the template contains errors, it doesn't send the
52
- * email. Additionally, because it already accepted the message, Amazon SES doesn't return a
53
- * message stating that it was unable to send the email.</p>
54
- * <p>For these reasons, we highly recommend that you set up Amazon SES to send you
55
- * notifications when Rendering Failure events occur. For more information, see <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html">Sending
56
- * Personalized Email Using the Amazon SES API</a> in the <i>Amazon Simple Email Service
57
- * Developer Guide</i>.</p>
58
- * </important>
59
- * @example
60
- * Use a bare-bones client and the command you need to make an API call.
61
- * ```javascript
62
- * import { SESClient, SendTemplatedEmailCommand } from "@aws-sdk/client-ses"; // ES Modules import
63
- * // const { SESClient, SendTemplatedEmailCommand } = require("@aws-sdk/client-ses"); // CommonJS import
64
- * const client = new SESClient(config);
65
- * const command = new SendTemplatedEmailCommand(input);
66
- * const response = await client.send(command);
67
- * ```
68
- *
69
- * @see {@link SendTemplatedEmailCommandInput} for command's `input` shape.
70
- * @see {@link SendTemplatedEmailCommandOutput} for command's `response` shape.
71
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
72
- *
73
- */
74
8
  class SendTemplatedEmailCommand extends smithy_client_1.Command {
75
- // Start section: command_properties
76
- // End section: command_properties
77
9
  constructor(input) {
78
- // Start section: command_constructor
79
10
  super();
80
11
  this.input = input;
81
- // End section: command_constructor
82
12
  }
83
- /**
84
- * @internal
85
- */
86
13
  resolveMiddleware(clientStack, configuration, options) {
87
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
88
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +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 specified receipt rule set as the active receipt rule set.</p>
10
- * <note>
11
- * <p>To disable your email-receiving through Amazon SES completely, you can call this API
12
- * with RuleSetName set to null.</p>
13
- * </note>
14
- * <p>For information about managing receipt rule sets, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html">Amazon SES Developer Guide</a>.</p>
15
- * <p>You can execute this operation no more than once per second.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { SESClient, SetActiveReceiptRuleSetCommand } from "@aws-sdk/client-ses"; // ES Modules import
20
- * // const { SESClient, SetActiveReceiptRuleSetCommand } = require("@aws-sdk/client-ses"); // CommonJS import
21
- * const client = new SESClient(config);
22
- * const command = new SetActiveReceiptRuleSetCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link SetActiveReceiptRuleSetCommandInput} for command's `input` shape.
27
- * @see {@link SetActiveReceiptRuleSetCommandOutput} for command's `response` shape.
28
- * @see {@link SESClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class SetActiveReceiptRuleSetCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);