@aws-sdk/client-ses 3.288.0 → 3.290.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 (72) hide show
  1. package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +24 -0
  2. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +14 -0
  3. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +25 -0
  4. package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +21 -0
  5. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +17 -0
  6. package/dist-types/commands/CreateReceiptFilterCommand.d.ts +26 -0
  7. package/dist-types/commands/CreateReceiptRuleCommand.d.ts +59 -0
  8. package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +20 -0
  9. package/dist-types/commands/CreateTemplateCommand.d.ts +13 -0
  10. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +7 -0
  12. package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +7 -0
  13. package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteIdentityCommand.d.ts +12 -0
  15. package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +13 -0
  16. package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +12 -0
  17. package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +15 -0
  19. package/dist-types/commands/DeleteTemplateCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +12 -0
  21. package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +34 -0
  22. package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +37 -0
  24. package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +39 -0
  25. package/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +15 -0
  26. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +5 -0
  27. package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +34 -0
  28. package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +25 -0
  29. package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +29 -0
  30. package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +22 -0
  31. package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +24 -0
  32. package/dist-types/commands/GetSendQuotaCommand.d.ts +17 -0
  33. package/dist-types/commands/GetSendStatisticsCommand.d.ts +37 -0
  34. package/dist-types/commands/GetTemplateCommand.d.ts +5 -0
  35. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +1 -0
  36. package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +1 -0
  37. package/dist-types/commands/ListIdentitiesCommand.d.ts +22 -0
  38. package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +19 -0
  39. package/dist-types/commands/ListReceiptFiltersCommand.d.ts +23 -0
  40. package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +23 -0
  41. package/dist-types/commands/ListTemplatesCommand.d.ts +1 -0
  42. package/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +18 -0
  43. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +7 -0
  44. package/dist-types/commands/PutIdentityPolicyCommand.d.ts +18 -0
  45. package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +22 -0
  46. package/dist-types/commands/SendBounceCommand.d.ts +5 -0
  47. package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +26 -0
  48. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +19 -0
  49. package/dist-types/commands/SendEmailCommand.d.ts +68 -0
  50. package/dist-types/commands/SendRawEmailCommand.d.ts +45 -0
  51. package/dist-types/commands/SendTemplatedEmailCommand.d.ts +26 -0
  52. package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +15 -0
  53. package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +13 -0
  54. package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +13 -0
  55. package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +14 -0
  56. package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +14 -0
  57. package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +14 -0
  58. package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +20 -0
  59. package/dist-types/commands/TestRenderTemplateCommand.d.ts +14 -0
  60. package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +12 -0
  61. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +19 -0
  62. package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +16 -0
  63. package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +16 -0
  64. package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +20 -0
  65. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +12 -0
  66. package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +55 -0
  67. package/dist-types/commands/UpdateTemplateCommand.d.ts +9 -0
  68. package/dist-types/commands/VerifyDomainDkimCommand.d.ts +21 -0
  69. package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +17 -0
  70. package/dist-types/commands/VerifyEmailAddressCommand.d.ts +12 -0
  71. package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +12 -0
  72. package/package.json +30 -30
@@ -34,6 +34,30 @@ export interface CloneReceiptRuleSetCommandOutput extends CloneReceiptRuleSetRes
34
34
  * @see {@link CloneReceiptRuleSetCommandOutput} for command's `response` shape.
35
35
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
36
36
  *
37
+ * @throws {@link AlreadyExistsException} (client fault)
38
+ * <p>Indicates that a resource could not be created because of a naming conflict.</p>
39
+ *
40
+ * @throws {@link LimitExceededException} (client fault)
41
+ * <p>Indicates that a resource could not be created because of service limits. For a list
42
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
43
+ * Guide</a>.</p>
44
+ *
45
+ * @throws {@link RuleSetDoesNotExistException} (client fault)
46
+ * <p>Indicates that the provided receipt rule set does not exist.</p>
47
+ *
48
+ *
49
+ * @example CloneReceiptRuleSet
50
+ * ```javascript
51
+ * // The following example creates a receipt rule set by cloning an existing one:
52
+ * const input = {
53
+ * "OriginalRuleSetName": "RuleSetToClone",
54
+ * "RuleSetName": "RuleSetToCreate"
55
+ * };
56
+ * const command = new CloneReceiptRuleSetCommand(input);
57
+ * await client.send(command);
58
+ * // example id: clonereceiptruleset-1469055039770
59
+ * ```
60
+ *
37
61
  */
38
62
  export declare class CloneReceiptRuleSetCommand extends $Command<CloneReceiptRuleSetCommandInput, CloneReceiptRuleSetCommandOutput, SESClientResolvedConfig> {
39
63
  readonly input: CloneReceiptRuleSetCommandInput;
@@ -33,6 +33,20 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration
33
33
  * @see {@link CreateConfigurationSetCommandOutput} for command's `response` shape.
34
34
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
35
35
  *
36
+ * @throws {@link ConfigurationSetAlreadyExistsException} (client fault)
37
+ * <p>Indicates that the configuration set could not be created because of a naming
38
+ * conflict.</p>
39
+ *
40
+ * @throws {@link InvalidConfigurationSetException} (client fault)
41
+ * <p>Indicates that the configuration set is invalid. See the error message for
42
+ * details.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>Indicates that a resource could not be created because of service limits. For a list
46
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
47
+ * Guide</a>.</p>
48
+ *
49
+ *
36
50
  */
37
51
  export declare class CreateConfigurationSetCommand extends $Command<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, SESClientResolvedConfig> {
38
52
  readonly input: CreateConfigurationSetCommandInput;
@@ -38,6 +38,31 @@ export interface CreateConfigurationSetEventDestinationCommandOutput extends Cre
38
38
  * @see {@link CreateConfigurationSetEventDestinationCommandOutput} for command's `response` shape.
39
39
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
40
40
  *
41
+ * @throws {@link ConfigurationSetDoesNotExistException} (client fault)
42
+ * <p>Indicates that the configuration set does not exist.</p>
43
+ *
44
+ * @throws {@link EventDestinationAlreadyExistsException} (client fault)
45
+ * <p>Indicates that the event destination could not be created because of a naming
46
+ * conflict.</p>
47
+ *
48
+ * @throws {@link InvalidCloudWatchDestinationException} (client fault)
49
+ * <p>Indicates that the Amazon CloudWatch destination is invalid. See the error message for
50
+ * details.</p>
51
+ *
52
+ * @throws {@link InvalidFirehoseDestinationException} (client fault)
53
+ * <p>Indicates that the Amazon Kinesis Firehose destination is invalid. See the error
54
+ * message for details.</p>
55
+ *
56
+ * @throws {@link InvalidSNSDestinationException} (client fault)
57
+ * <p>Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is
58
+ * invalid. See the error message for details.</p>
59
+ *
60
+ * @throws {@link LimitExceededException} (client fault)
61
+ * <p>Indicates that a resource could not be created because of service limits. For a list
62
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
63
+ * Guide</a>.</p>
64
+ *
65
+ *
41
66
  */
42
67
  export declare class CreateConfigurationSetEventDestinationCommand extends $Command<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, SESClientResolvedConfig> {
43
68
  readonly input: CreateConfigurationSetEventDestinationCommandInput;
@@ -33,6 +33,27 @@ export interface CreateConfigurationSetTrackingOptionsCommandOutput extends Crea
33
33
  * @see {@link CreateConfigurationSetTrackingOptionsCommandOutput} for command's `response` shape.
34
34
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
35
35
  *
36
+ * @throws {@link ConfigurationSetDoesNotExistException} (client fault)
37
+ * <p>Indicates that the configuration set does not exist.</p>
38
+ *
39
+ * @throws {@link InvalidTrackingOptionsException} (client fault)
40
+ * <p>Indicates that the custom domain to be used for open and click tracking redirects is
41
+ * invalid. This error appears most often in the following situations:</p>
42
+ * <ul>
43
+ * <li>
44
+ * <p>When the tracking domain you specified is not verified in Amazon SES.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>When the tracking domain you specified is not a valid domain or
48
+ * subdomain.</p>
49
+ * </li>
50
+ * </ul>
51
+ *
52
+ * @throws {@link TrackingOptionsAlreadyExistsException} (client fault)
53
+ * <p>Indicates that the configuration set you specified already contains a TrackingOptions
54
+ * object.</p>
55
+ *
56
+ *
36
57
  */
37
58
  export declare class CreateConfigurationSetTrackingOptionsCommand extends $Command<CreateConfigurationSetTrackingOptionsCommandInput, CreateConfigurationSetTrackingOptionsCommandOutput, SESClientResolvedConfig> {
38
59
  readonly input: CreateConfigurationSetTrackingOptionsCommandInput;
@@ -32,6 +32,23 @@ export interface CreateCustomVerificationEmailTemplateCommandOutput extends __Me
32
32
  * @see {@link CreateCustomVerificationEmailTemplateCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link CustomVerificationEmailInvalidContentException} (client fault)
36
+ * <p>Indicates that custom verification email template provided content is invalid.</p>
37
+ *
38
+ * @throws {@link CustomVerificationEmailTemplateAlreadyExistsException} (client fault)
39
+ * <p>Indicates that a custom verification email template with the name you specified
40
+ * already exists.</p>
41
+ *
42
+ * @throws {@link FromEmailAddressNotVerifiedException} (client fault)
43
+ * <p>Indicates that the sender address specified for a custom verification email is not
44
+ * verified, and is therefore not eligible to send the custom verification email. </p>
45
+ *
46
+ * @throws {@link LimitExceededException} (client fault)
47
+ * <p>Indicates that a resource could not be created because of service limits. For a list
48
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
49
+ * Guide</a>.</p>
50
+ *
51
+ *
35
52
  */
36
53
  export declare class CreateCustomVerificationEmailTemplateCommand extends $Command<CreateCustomVerificationEmailTemplateCommandInput, CreateCustomVerificationEmailTemplateCommandOutput, SESClientResolvedConfig> {
37
54
  readonly input: CreateCustomVerificationEmailTemplateCommandInput;
@@ -31,6 +31,32 @@ export interface CreateReceiptFilterCommandOutput extends CreateReceiptFilterRes
31
31
  * @see {@link CreateReceiptFilterCommandOutput} for command's `response` shape.
32
32
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
33
33
  *
34
+ * @throws {@link AlreadyExistsException} (client fault)
35
+ * <p>Indicates that a resource could not be created because of a naming conflict.</p>
36
+ *
37
+ * @throws {@link LimitExceededException} (client fault)
38
+ * <p>Indicates that a resource could not be created because of service limits. For a list
39
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
40
+ * Guide</a>.</p>
41
+ *
42
+ *
43
+ * @example CreateReceiptFilter
44
+ * ```javascript
45
+ * // The following example creates a new IP address filter:
46
+ * const input = {
47
+ * "Filter": {
48
+ * "IpFilter": {
49
+ * "Cidr": "1.2.3.4/24",
50
+ * "Policy": "Allow"
51
+ * },
52
+ * "Name": "MyFilter"
53
+ * }
54
+ * };
55
+ * const command = new CreateReceiptFilterCommand(input);
56
+ * await client.send(command);
57
+ * // example id: createreceiptfilter-1469122681253
58
+ * ```
59
+ *
34
60
  */
35
61
  export declare class CreateReceiptFilterCommand extends $Command<CreateReceiptFilterCommandInput, CreateReceiptFilterCommandOutput, SESClientResolvedConfig> {
36
62
  readonly input: CreateReceiptFilterCommandInput;
@@ -32,6 +32,65 @@ export interface CreateReceiptRuleCommandOutput extends CreateReceiptRuleRespons
32
32
  * @see {@link CreateReceiptRuleCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link AlreadyExistsException} (client fault)
36
+ * <p>Indicates that a resource could not be created because of a naming conflict.</p>
37
+ *
38
+ * @throws {@link InvalidLambdaFunctionException} (client fault)
39
+ * <p>Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could
40
+ * not execute the provided function, possibly due to permissions issues. For information
41
+ * about giving permissions, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html">Amazon SES
42
+ * Developer Guide</a>.</p>
43
+ *
44
+ * @throws {@link InvalidS3ConfigurationException} (client fault)
45
+ * <p>Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, or
46
+ * that Amazon SES could not publish to the bucket, possibly due to permissions issues. For
47
+ * information about giving permissions, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html">Amazon SES
48
+ * Developer Guide</a>.</p>
49
+ *
50
+ * @throws {@link InvalidSnsTopicException} (client fault)
51
+ * <p>Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could not
52
+ * publish to the topic, possibly due to permissions issues. For information about giving
53
+ * permissions, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html">Amazon SES
54
+ * Developer Guide</a>.</p>
55
+ *
56
+ * @throws {@link LimitExceededException} (client fault)
57
+ * <p>Indicates that a resource could not be created because of service limits. For a list
58
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
59
+ * Guide</a>.</p>
60
+ *
61
+ * @throws {@link RuleDoesNotExistException} (client fault)
62
+ * <p>Indicates that the provided receipt rule does not exist.</p>
63
+ *
64
+ * @throws {@link RuleSetDoesNotExistException} (client fault)
65
+ * <p>Indicates that the provided receipt rule set does not exist.</p>
66
+ *
67
+ *
68
+ * @example CreateReceiptRule
69
+ * ```javascript
70
+ * // The following example creates a new receipt rule:
71
+ * const input = {
72
+ * "After": "",
73
+ * "Rule": {
74
+ * "Actions": [
75
+ * {
76
+ * "S3Action": {
77
+ * "BucketName": "MyBucket",
78
+ * "ObjectKeyPrefix": "email"
79
+ * }
80
+ * }
81
+ * ],
82
+ * "Enabled": true,
83
+ * "Name": "MyRule",
84
+ * "ScanEnabled": true,
85
+ * "TlsPolicy": "Optional"
86
+ * },
87
+ * "RuleSetName": "MyRuleSet"
88
+ * };
89
+ * const command = new CreateReceiptRuleCommand(input);
90
+ * await client.send(command);
91
+ * // example id: createreceiptrule-1469122946515
92
+ * ```
93
+ *
35
94
  */
36
95
  export declare class CreateReceiptRuleCommand extends $Command<CreateReceiptRuleCommandInput, CreateReceiptRuleCommandOutput, SESClientResolvedConfig> {
37
96
  readonly input: CreateReceiptRuleCommandInput;
@@ -32,6 +32,26 @@ export interface CreateReceiptRuleSetCommandOutput extends CreateReceiptRuleSetR
32
32
  * @see {@link CreateReceiptRuleSetCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link AlreadyExistsException} (client fault)
36
+ * <p>Indicates that a resource could not be created because of a naming conflict.</p>
37
+ *
38
+ * @throws {@link LimitExceededException} (client fault)
39
+ * <p>Indicates that a resource could not be created because of service limits. For a list
40
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
41
+ * Guide</a>.</p>
42
+ *
43
+ *
44
+ * @example CreateReceiptRuleSet
45
+ * ```javascript
46
+ * // The following example creates an empty receipt rule set:
47
+ * const input = {
48
+ * "RuleSetName": "MyRuleSet"
49
+ * };
50
+ * const command = new CreateReceiptRuleSetCommand(input);
51
+ * await client.send(command);
52
+ * // example id: createreceiptruleset-1469058761646
53
+ * ```
54
+ *
35
55
  */
36
56
  export declare class CreateReceiptRuleSetCommand extends $Command<CreateReceiptRuleSetCommandInput, CreateReceiptRuleSetCommandOutput, SESClientResolvedConfig> {
37
57
  readonly input: CreateReceiptRuleSetCommandInput;
@@ -32,6 +32,19 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
32
32
  * @see {@link CreateTemplateCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link AlreadyExistsException} (client fault)
36
+ * <p>Indicates that a resource could not be created because of a naming conflict.</p>
37
+ *
38
+ * @throws {@link InvalidTemplateException} (client fault)
39
+ * <p>Indicates that the template that you specified could not be rendered. This issue may
40
+ * occur when a template refers to a partial that does not exist.</p>
41
+ *
42
+ * @throws {@link LimitExceededException} (client fault)
43
+ * <p>Indicates that a resource could not be created because of service limits. For a list
44
+ * of Amazon SES limits, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html">Amazon SES Developer
45
+ * Guide</a>.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class CreateTemplateCommand extends $Command<CreateTemplateCommandInput, CreateTemplateCommandOutput, SESClientResolvedConfig> {
37
50
  readonly input: CreateTemplateCommandInput;
@@ -31,6 +31,10 @@ export interface DeleteConfigurationSetCommandOutput extends DeleteConfiguration
31
31
  * @see {@link DeleteConfigurationSetCommandOutput} for command's `response` shape.
32
32
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConfigurationSetDoesNotExistException} (client fault)
35
+ * <p>Indicates that the configuration set does not exist.</p>
36
+ *
37
+ *
34
38
  */
35
39
  export declare class DeleteConfigurationSetCommand extends $Command<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, SESClientResolvedConfig> {
36
40
  readonly input: DeleteConfigurationSetCommandInput;
@@ -32,6 +32,13 @@ export interface DeleteConfigurationSetEventDestinationCommandOutput extends Del
32
32
  * @see {@link DeleteConfigurationSetEventDestinationCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConfigurationSetDoesNotExistException} (client fault)
36
+ * <p>Indicates that the configuration set does not exist.</p>
37
+ *
38
+ * @throws {@link EventDestinationDoesNotExistException} (client fault)
39
+ * <p>Indicates that the event destination does not exist.</p>
40
+ *
41
+ *
35
42
  */
36
43
  export declare class DeleteConfigurationSetEventDestinationCommand extends $Command<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, SESClientResolvedConfig> {
37
44
  readonly input: DeleteConfigurationSetEventDestinationCommandInput;
@@ -38,6 +38,13 @@ export interface DeleteConfigurationSetTrackingOptionsCommandOutput extends Dele
38
38
  * @see {@link DeleteConfigurationSetTrackingOptionsCommandOutput} for command's `response` shape.
39
39
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
40
40
  *
41
+ * @throws {@link ConfigurationSetDoesNotExistException} (client fault)
42
+ * <p>Indicates that the configuration set does not exist.</p>
43
+ *
44
+ * @throws {@link TrackingOptionsDoesNotExistException} (client fault)
45
+ * <p>Indicates that the TrackingOptions object you specified does not exist.</p>
46
+ *
47
+ *
41
48
  */
42
49
  export declare class DeleteConfigurationSetTrackingOptionsCommand extends $Command<DeleteConfigurationSetTrackingOptionsCommandInput, DeleteConfigurationSetTrackingOptionsCommandOutput, SESClientResolvedConfig> {
43
50
  readonly input: DeleteConfigurationSetTrackingOptionsCommandInput;
@@ -32,6 +32,7 @@ export interface DeleteCustomVerificationEmailTemplateCommandOutput extends __Me
32
32
  * @see {@link DeleteCustomVerificationEmailTemplateCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ *
35
36
  */
36
37
  export declare class DeleteCustomVerificationEmailTemplateCommand extends $Command<DeleteCustomVerificationEmailTemplateCommandInput, DeleteCustomVerificationEmailTemplateCommandOutput, SESClientResolvedConfig> {
37
38
  readonly input: DeleteCustomVerificationEmailTemplateCommandInput;
@@ -31,6 +31,18 @@ export interface DeleteIdentityCommandOutput extends DeleteIdentityResponse, __M
31
31
  * @see {@link DeleteIdentityCommandOutput} for command's `response` shape.
32
32
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
33
33
  *
34
+ *
35
+ * @example DeleteIdentity
36
+ * ```javascript
37
+ * // The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:
38
+ * const input = {
39
+ * "Identity": "user@example.com"
40
+ * };
41
+ * const command = new DeleteIdentityCommand(input);
42
+ * await client.send(command);
43
+ * // example id: deleteidentity-1469047858906
44
+ * ```
45
+ *
34
46
  */
35
47
  export declare class DeleteIdentityCommand extends $Command<DeleteIdentityCommandInput, DeleteIdentityCommandOutput, SESClientResolvedConfig> {
36
48
  readonly input: DeleteIdentityCommandInput;
@@ -40,6 +40,19 @@ export interface DeleteIdentityPolicyCommandOutput extends DeleteIdentityPolicyR
40
40
  * @see {@link DeleteIdentityPolicyCommandOutput} for command's `response` shape.
41
41
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
42
42
  *
43
+ *
44
+ * @example DeleteIdentityPolicy
45
+ * ```javascript
46
+ * // The following example deletes a sending authorization policy for an identity:
47
+ * const input = {
48
+ * "Identity": "user@example.com",
49
+ * "PolicyName": "MyPolicy"
50
+ * };
51
+ * const command = new DeleteIdentityPolicyCommand(input);
52
+ * await client.send(command);
53
+ * // example id: deleteidentitypolicy-1469055282499
54
+ * ```
55
+ *
43
56
  */
44
57
  export declare class DeleteIdentityPolicyCommand extends $Command<DeleteIdentityPolicyCommandInput, DeleteIdentityPolicyCommandOutput, SESClientResolvedConfig> {
45
58
  readonly input: DeleteIdentityPolicyCommandInput;
@@ -32,6 +32,18 @@ export interface DeleteReceiptFilterCommandOutput extends DeleteReceiptFilterRes
32
32
  * @see {@link DeleteReceiptFilterCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ *
36
+ * @example DeleteReceiptFilter
37
+ * ```javascript
38
+ * // The following example deletes an IP address filter:
39
+ * const input = {
40
+ * "FilterName": "MyFilter"
41
+ * };
42
+ * const command = new DeleteReceiptFilterCommand(input);
43
+ * await client.send(command);
44
+ * // example id: deletereceiptfilter-1469055456835
45
+ * ```
46
+ *
35
47
  */
36
48
  export declare class DeleteReceiptFilterCommand extends $Command<DeleteReceiptFilterCommandInput, DeleteReceiptFilterCommandOutput, SESClientResolvedConfig> {
37
49
  readonly input: DeleteReceiptFilterCommandInput;
@@ -32,6 +32,22 @@ export interface DeleteReceiptRuleCommandOutput extends DeleteReceiptRuleRespons
32
32
  * @see {@link DeleteReceiptRuleCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link RuleSetDoesNotExistException} (client fault)
36
+ * <p>Indicates that the provided receipt rule set does not exist.</p>
37
+ *
38
+ *
39
+ * @example DeleteReceiptRule
40
+ * ```javascript
41
+ * // The following example deletes a receipt rule:
42
+ * const input = {
43
+ * "RuleName": "MyRule",
44
+ * "RuleSetName": "MyRuleSet"
45
+ * };
46
+ * const command = new DeleteReceiptRuleCommand(input);
47
+ * await client.send(command);
48
+ * // example id: deletereceiptrule-1469055563599
49
+ * ```
50
+ *
35
51
  */
36
52
  export declare class DeleteReceiptRuleCommand extends $Command<DeleteReceiptRuleCommandInput, DeleteReceiptRuleCommandOutput, SESClientResolvedConfig> {
37
53
  readonly input: DeleteReceiptRuleCommandInput;
@@ -35,6 +35,21 @@ export interface DeleteReceiptRuleSetCommandOutput extends DeleteReceiptRuleSetR
35
35
  * @see {@link DeleteReceiptRuleSetCommandOutput} for command's `response` shape.
36
36
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
37
37
  *
38
+ * @throws {@link CannotDeleteException} (client fault)
39
+ * <p>Indicates that the delete operation could not be completed.</p>
40
+ *
41
+ *
42
+ * @example DeleteReceiptRuleSet
43
+ * ```javascript
44
+ * // The following example deletes a receipt rule set:
45
+ * const input = {
46
+ * "RuleSetName": "MyRuleSet"
47
+ * };
48
+ * const command = new DeleteReceiptRuleSetCommand(input);
49
+ * await client.send(command);
50
+ * // example id: deletereceiptruleset-1469055713690
51
+ * ```
52
+ *
38
53
  */
39
54
  export declare class DeleteReceiptRuleSetCommand extends $Command<DeleteReceiptRuleSetCommandInput, DeleteReceiptRuleSetCommandOutput, SESClientResolvedConfig> {
40
55
  readonly input: DeleteReceiptRuleSetCommandInput;
@@ -30,6 +30,7 @@ export interface DeleteTemplateCommandOutput extends DeleteTemplateResponse, __M
30
30
  * @see {@link DeleteTemplateCommandOutput} for command's `response` shape.
31
31
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
32
32
  *
33
+ *
33
34
  */
34
35
  export declare class DeleteTemplateCommand extends $Command<DeleteTemplateCommandInput, DeleteTemplateCommandOutput, SESClientResolvedConfig> {
35
36
  readonly input: DeleteTemplateCommandInput;
@@ -30,6 +30,18 @@ export interface DeleteVerifiedEmailAddressCommandOutput extends __MetadataBeare
30
30
  * @see {@link DeleteVerifiedEmailAddressCommandOutput} for command's `response` shape.
31
31
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
32
32
  *
33
+ *
34
+ * @example DeleteVerifiedEmailAddress
35
+ * ```javascript
36
+ * // The following example deletes an email address from the list of identities that have been submitted for verification with Amazon SES:
37
+ * const input = {
38
+ * "EmailAddress": "user@example.com"
39
+ * };
40
+ * const command = new DeleteVerifiedEmailAddressCommand(input);
41
+ * await client.send(command);
42
+ * // example id: deleteverifiedemailaddress-1469051086444
43
+ * ```
44
+ *
33
45
  */
34
46
  export declare class DeleteVerifiedEmailAddressCommand extends $Command<DeleteVerifiedEmailAddressCommandInput, DeleteVerifiedEmailAddressCommandOutput, SESClientResolvedConfig> {
35
47
  readonly input: DeleteVerifiedEmailAddressCommandInput;
@@ -33,6 +33,40 @@ export interface DescribeActiveReceiptRuleSetCommandOutput extends DescribeActiv
33
33
  * @see {@link DescribeActiveReceiptRuleSetCommandOutput} for command's `response` shape.
34
34
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
35
35
  *
36
+ *
37
+ * @example DescribeActiveReceiptRuleSet
38
+ * ```javascript
39
+ * // The following example returns the metadata and receipt rules for the receipt rule set that is currently active:
40
+ * const input = {};
41
+ * const command = new DescribeActiveReceiptRuleSetCommand(input);
42
+ * const response = await client.send(command);
43
+ * /* response ==
44
+ * {
45
+ * "Metadata": {
46
+ * "CreatedTimestamp": "2016-07-15T16:25:59.607Z",
47
+ * "Name": "default-rule-set"
48
+ * },
49
+ * "Rules": [
50
+ * {
51
+ * "Actions": [
52
+ * {
53
+ * "S3Action": {
54
+ * "BucketName": "MyBucket",
55
+ * "ObjectKeyPrefix": "email"
56
+ * }
57
+ * }
58
+ * ],
59
+ * "Enabled": true,
60
+ * "Name": "MyRule",
61
+ * "ScanEnabled": true,
62
+ * "TlsPolicy": "Optional"
63
+ * }
64
+ * ]
65
+ * }
66
+ * *\/
67
+ * // example id: describeactivereceiptruleset-1469121611502
68
+ * ```
69
+ *
36
70
  */
37
71
  export declare class DescribeActiveReceiptRuleSetCommand extends $Command<DescribeActiveReceiptRuleSetCommandInput, DescribeActiveReceiptRuleSetCommandOutput, SESClientResolvedConfig> {
38
72
  readonly input: DescribeActiveReceiptRuleSetCommandInput;
@@ -32,6 +32,10 @@ export interface DescribeConfigurationSetCommandOutput extends DescribeConfigura
32
32
  * @see {@link DescribeConfigurationSetCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConfigurationSetDoesNotExistException} (client fault)
36
+ * <p>Indicates that the configuration set does not exist.</p>
37
+ *
38
+ *
35
39
  */
36
40
  export declare class DescribeConfigurationSetCommand extends $Command<DescribeConfigurationSetCommandInput, DescribeConfigurationSetCommandOutput, SESClientResolvedConfig> {
37
41
  readonly input: DescribeConfigurationSetCommandInput;
@@ -32,6 +32,43 @@ export interface DescribeReceiptRuleCommandOutput extends DescribeReceiptRuleRes
32
32
  * @see {@link DescribeReceiptRuleCommandOutput} for command's `response` shape.
33
33
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
34
34
  *
35
+ * @throws {@link RuleDoesNotExistException} (client fault)
36
+ * <p>Indicates that the provided receipt rule does not exist.</p>
37
+ *
38
+ * @throws {@link RuleSetDoesNotExistException} (client fault)
39
+ * <p>Indicates that the provided receipt rule set does not exist.</p>
40
+ *
41
+ *
42
+ * @example DescribeReceiptRule
43
+ * ```javascript
44
+ * // The following example returns the details of a receipt rule:
45
+ * const input = {
46
+ * "RuleName": "MyRule",
47
+ * "RuleSetName": "MyRuleSet"
48
+ * };
49
+ * const command = new DescribeReceiptRuleCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "Rule": {
54
+ * "Actions": [
55
+ * {
56
+ * "S3Action": {
57
+ * "BucketName": "MyBucket",
58
+ * "ObjectKeyPrefix": "email"
59
+ * }
60
+ * }
61
+ * ],
62
+ * "Enabled": true,
63
+ * "Name": "MyRule",
64
+ * "ScanEnabled": true,
65
+ * "TlsPolicy": "Optional"
66
+ * }
67
+ * }
68
+ * *\/
69
+ * // example id: describereceiptrule-1469055813118
70
+ * ```
71
+ *
35
72
  */
36
73
  export declare class DescribeReceiptRuleCommand extends $Command<DescribeReceiptRuleCommandInput, DescribeReceiptRuleCommandOutput, SESClientResolvedConfig> {
37
74
  readonly input: DescribeReceiptRuleCommandInput;
@@ -31,6 +31,45 @@ export interface DescribeReceiptRuleSetCommandOutput extends DescribeReceiptRule
31
31
  * @see {@link DescribeReceiptRuleSetCommandOutput} for command's `response` shape.
32
32
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
33
33
  *
34
+ * @throws {@link RuleSetDoesNotExistException} (client fault)
35
+ * <p>Indicates that the provided receipt rule set does not exist.</p>
36
+ *
37
+ *
38
+ * @example DescribeReceiptRuleSet
39
+ * ```javascript
40
+ * // The following example returns the metadata and receipt rules of a receipt rule set:
41
+ * const input = {
42
+ * "RuleSetName": "MyRuleSet"
43
+ * };
44
+ * const command = new DescribeReceiptRuleSetCommand(input);
45
+ * const response = await client.send(command);
46
+ * /* response ==
47
+ * {
48
+ * "Metadata": {
49
+ * "CreatedTimestamp": "2016-07-15T16:25:59.607Z",
50
+ * "Name": "MyRuleSet"
51
+ * },
52
+ * "Rules": [
53
+ * {
54
+ * "Actions": [
55
+ * {
56
+ * "S3Action": {
57
+ * "BucketName": "MyBucket",
58
+ * "ObjectKeyPrefix": "email"
59
+ * }
60
+ * }
61
+ * ],
62
+ * "Enabled": true,
63
+ * "Name": "MyRule",
64
+ * "ScanEnabled": true,
65
+ * "TlsPolicy": "Optional"
66
+ * }
67
+ * ]
68
+ * }
69
+ * *\/
70
+ * // example id: describereceiptruleset-1469121240385
71
+ * ```
72
+ *
34
73
  */
35
74
  export declare class DescribeReceiptRuleSetCommand extends $Command<DescribeReceiptRuleSetCommandInput, DescribeReceiptRuleSetCommandOutput, SESClientResolvedConfig> {
36
75
  readonly input: DescribeReceiptRuleSetCommandInput;
@@ -30,6 +30,21 @@ export interface GetAccountSendingEnabledCommandOutput extends GetAccountSending
30
30
  * @see {@link GetAccountSendingEnabledCommandOutput} for command's `response` shape.
31
31
  * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape.
32
32
  *
33
+ *
34
+ * @example GetAccountSendingEnabled
35
+ * ```javascript
36
+ * // The following example returns if sending status for an account is enabled. (true / false):
37
+ * const input = undefined;
38
+ * const command = new GetAccountSendingEnabledCommand(input);
39
+ * const response = await client.send(command);
40
+ * /* response ==
41
+ * {
42
+ * "Enabled": true
43
+ * }
44
+ * *\/
45
+ * // example id: getaccountsendingenabled-1469047741333
46
+ * ```
47
+ *
33
48
  */
34
49
  export declare class GetAccountSendingEnabledCommand extends $Command<GetAccountSendingEnabledCommandInput, GetAccountSendingEnabledCommandOutput, SESClientResolvedConfig> {
35
50
  readonly input: GetAccountSendingEnabledCommandInput;