@aws-sdk/client-sesv2 3.1056.0 → 3.1057.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 (37) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +19 -0
  3. package/dist-cjs/schemas/schemas_0.js +50 -27
  4. package/dist-es/SESv2.js +2 -0
  5. package/dist-es/commands/PutTenantSuppressionAttributesCommand.js +16 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/enums.js +4 -0
  8. package/dist-es/schemas/schemas_0.js +45 -22
  9. package/dist-types/SESv2.d.ts +7 -0
  10. package/dist-types/SESv2Client.d.ts +3 -2
  11. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateTenantCommand.d.ts +15 -0
  13. package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +5 -1
  14. package/dist-types/commands/GetConfigurationSetCommand.d.ts +1 -0
  15. package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
  16. package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +5 -1
  17. package/dist-types/commands/GetTenantCommand.d.ts +7 -1
  18. package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +7 -1
  19. package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +5 -1
  20. package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -1
  21. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +8 -1
  22. package/dist-types/commands/PutTenantSuppressionAttributesCommand.d.ts +91 -0
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/models/enums.d.ts +12 -0
  25. package/dist-types/models/models_0.d.ts +160 -40
  26. package/dist-types/models/models_1.d.ts +65 -5
  27. package/dist-types/schemas/schemas_0.d.ts +4 -0
  28. package/dist-types/ts3.4/SESv2.d.ts +17 -0
  29. package/dist-types/ts3.4/SESv2Client.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/PutTenantSuppressionAttributesCommand.d.ts +53 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +14 -1
  35. package/dist-types/ts3.4/models/models_1.d.ts +9 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import type { AttachmentContentDisposition, AttachmentContentTransferEncoding, BehaviorOnMxFailure, BounceType, BulkEmailStatus, ContactLanguage, ContactListImportAction, DataFormat, DeliverabilityDashboardAccountStatus, DeliverabilityTestStatus, DeliveryEventType, DimensionValueSource, DkimSigningAttributesOrigin, DkimSigningKeyLength, DkimStatus, EmailAddressInsightsConfidenceVerdict, EngagementEventType, EventType, ExportSourceType, FeatureStatus, HttpsPolicy, IdentityType, ImportDestinationType, JobStatus, ListRecommendationsFilterKey, ListTenantResourcesFilterKey, MailFromDomainStatus, MailType, Metric, MetricAggregation, MetricDimensionName, MetricNamespace, QueryErrorCode, RecommendationImpact, RecommendationStatus, RecommendationType, ReputationEntityFilterKey, ReputationEntityType, ResourceType, ReviewStatus, ScalingMode, SendingStatus, Status, SubscriptionStatus, SuppressionConfidenceVerdictThreshold, SuppressionListImportAction, SuppressionListReason, TlsPolicy, VerificationError, VerificationStatus, WarmupStatus } from "./enums";
1
+ import type { AttachmentContentDisposition, AttachmentContentTransferEncoding, BehaviorOnMxFailure, BounceType, BulkEmailStatus, ContactLanguage, ContactListImportAction, DataFormat, DeliverabilityDashboardAccountStatus, DeliverabilityTestStatus, DeliveryEventType, DimensionValueSource, DkimSigningAttributesOrigin, DkimSigningKeyLength, DkimStatus, EmailAddressInsightsConfidenceVerdict, EngagementEventType, EventType, ExportSourceType, FeatureStatus, HttpsPolicy, IdentityType, ImportDestinationType, JobStatus, ListRecommendationsFilterKey, ListTenantResourcesFilterKey, MailFromDomainStatus, MailType, Metric, MetricAggregation, MetricDimensionName, MetricNamespace, QueryErrorCode, RecommendationImpact, RecommendationStatus, RecommendationType, ReputationEntityFilterKey, ReputationEntityType, ResourceType, ReviewStatus, ScalingMode, SendingStatus, Status, SubscriptionStatus, SuppressionConfidenceVerdictThreshold, SuppressionListImportAction, SuppressionListReason, SuppressionListScope, TlsPolicy, VerificationError, VerificationStatus, WarmupStatus } from "./enums";
2
2
  /**
3
3
  * <p>An object that contains information about your account details review.</p>
4
4
  * @public
@@ -829,7 +829,7 @@ export interface CloudWatchDimensionConfiguration {
829
829
  * underscores (_), or dashes (-).</p>
830
830
  * </li>
831
831
  * <li>
832
- * <p>It can contain no more than 256 characters.</p>
832
+ * <p>It can contain no more than 255 characters.</p>
833
833
  * </li>
834
834
  * </ul>
835
835
  * @public
@@ -854,7 +854,7 @@ export interface CloudWatchDimensionConfiguration {
854
854
  * underscores (_), or dashes (-), at signs (@), and periods (.).</p>
855
855
  * </li>
856
856
  * <li>
857
- * <p>It can contain no more than 256 characters.</p>
857
+ * <p>It can contain no more than 255 characters.</p>
858
858
  * </li>
859
859
  * </ul>
860
860
  * @public
@@ -1092,31 +1092,48 @@ export interface SuppressionValidationOptions {
1092
1092
  }
1093
1093
  /**
1094
1094
  * <p>An object that contains information about the suppression list preferences for your
1095
- * account.</p>
1095
+ * account or for a specific tenant.</p>
1096
1096
  * @public
1097
1097
  */
1098
1098
  export interface SuppressionOptions {
1099
1099
  /**
1100
1100
  * <p>A list that contains the reasons that email addresses are automatically added to the
1101
- * suppression list for your account. This list can contain any or all of the
1101
+ * suppression list for your account or for a specific tenant. This list can contain any or all of the
1102
1102
  * following:</p>
1103
1103
  * <ul>
1104
1104
  * <li>
1105
1105
  * <p>
1106
1106
  * <code>COMPLAINT</code> – Amazon SES adds an email address to the suppression
1107
- * list for your account when a message sent to that address results in a
1107
+ * list for your account or for a specific tenant when a message sent to that address results in a
1108
1108
  * complaint.</p>
1109
1109
  * </li>
1110
1110
  * <li>
1111
1111
  * <p>
1112
1112
  * <code>BOUNCE</code> – Amazon SES adds an email address to the suppression
1113
- * list for your account when a message sent to that address results in a hard
1113
+ * list for your account or for a specific tenant when a message sent to that address results in a hard
1114
1114
  * bounce.</p>
1115
1115
  * </li>
1116
1116
  * </ul>
1117
1117
  * @public
1118
1118
  */
1119
1119
  SuppressedReasons?: SuppressionListReason[] | undefined;
1120
+ /**
1121
+ * <p>The suppression scope for the configuration set. This overrides the tenant or account
1122
+ * suppression scope for emails sent using this configuration set. Can be one of the
1123
+ * following:</p>
1124
+ * <ul>
1125
+ * <li>
1126
+ * <p>
1127
+ * <code>TENANT</code> – Use the tenant's suppression list.</p>
1128
+ * </li>
1129
+ * <li>
1130
+ * <p>
1131
+ * <code>ACCOUNT</code> – Use the account-level suppression list.</p>
1132
+ * </li>
1133
+ * </ul>
1134
+ * @public
1135
+ */
1136
+ SuppressionScope?: SuppressionListScope | undefined;
1120
1137
  /**
1121
1138
  * <p>Contains validation options for email address suppression.</p>
1122
1139
  * @public
@@ -1308,8 +1325,9 @@ export interface CreateConfigurationSetRequest {
1308
1325
  */
1309
1326
  Tags?: Tag[] | undefined;
1310
1327
  /**
1311
- * <p>An object that contains information about the suppression list preferences for your
1312
- * account.</p>
1328
+ * <p>An object that contains information about the suppression list preferences for the
1329
+ * configuration set. You can optionally include a <code>SuppressionScope</code> to override the
1330
+ * tenant or account suppression scope for emails sent using this configuration set.</p>
1313
1331
  * @public
1314
1332
  */
1315
1333
  SuppressionOptions?: SuppressionOptions | undefined;
@@ -2939,6 +2957,49 @@ export interface CreateMultiRegionEndpointResponse {
2939
2957
  */
2940
2958
  EndpointId?: string | undefined;
2941
2959
  }
2960
+ /**
2961
+ * <p>An object that contains the suppression list preferences for a tenant.</p>
2962
+ * @public
2963
+ */
2964
+ export interface TenantSuppressionAttributes {
2965
+ /**
2966
+ * <p>A list that contains the reasons that email addresses are automatically added to the
2967
+ * suppression list for the tenant. This list can contain any or all of the following:</p>
2968
+ * <ul>
2969
+ * <li>
2970
+ * <p>
2971
+ * <code>COMPLAINT</code> – Amazon SES adds an email address to the suppression
2972
+ * list when a message sent to that address results in a complaint.</p>
2973
+ * </li>
2974
+ * <li>
2975
+ * <p>
2976
+ * <code>BOUNCE</code> – Amazon SES adds an email address to the suppression
2977
+ * list when a message sent to that address results in a hard bounce.</p>
2978
+ * </li>
2979
+ * </ul>
2980
+ * @public
2981
+ */
2982
+ SuppressedReasons?: SuppressionListReason[] | undefined;
2983
+ /**
2984
+ * <p>The suppression scope for the tenant. Can be one of the following:</p>
2985
+ * <ul>
2986
+ * <li>
2987
+ * <p>
2988
+ * <code>TENANT</code> – The tenant uses its own suppression list.</p>
2989
+ * </li>
2990
+ * <li>
2991
+ * <p>
2992
+ * <code>ACCOUNT</code> – The tenant uses the account-level suppression list.</p>
2993
+ * </li>
2994
+ * </ul>
2995
+ * <note>
2996
+ * <p>If you don't specify a suppression scope, the tenant defaults to <code>ACCOUNT</code> scope
2997
+ * and uses the account-level suppression list.</p>
2998
+ * </note>
2999
+ * @public
3000
+ */
3001
+ SuppressionScope?: SuppressionListScope | undefined;
3002
+ }
2942
3003
  /**
2943
3004
  * <p>Represents a request to create a tenant.</p>
2944
3005
  * <p>
@@ -2960,6 +3021,12 @@ export interface CreateTenantRequest {
2960
3021
  * @public
2961
3022
  */
2962
3023
  Tags?: Tag[] | undefined;
3024
+ /**
3025
+ * <p>An object that contains information about the suppression list preferences for the tenant.
3026
+ * Use this to configure tenant-level suppression at creation time.</p>
3027
+ * @public
3028
+ */
3029
+ SuppressionAttributes?: TenantSuppressionAttributes | undefined;
2963
3030
  }
2964
3031
  /**
2965
3032
  * <p>Information about a newly created tenant.</p>
@@ -2996,6 +3063,11 @@ export interface CreateTenantResponse {
2996
3063
  * @public
2997
3064
  */
2998
3065
  SendingStatus?: SendingStatus | undefined;
3066
+ /**
3067
+ * <p>An object that contains the suppression list preferences for a tenant.</p>
3068
+ * @public
3069
+ */
3070
+ SuppressionAttributes?: TenantSuppressionAttributes | undefined;
2999
3071
  }
3000
3072
  /**
3001
3073
  * <p>Represents a request to associate a resource with a tenant.</p>
@@ -3479,16 +3551,24 @@ export interface DeleteMultiRegionEndpointResponse {
3479
3551
  Status?: Status | undefined;
3480
3552
  }
3481
3553
  /**
3482
- * <p>A request to remove an email address from the suppression list for your
3483
- * account.</p>
3554
+ * <p>A request to remove an email address from the suppression list for your account or
3555
+ * for a specific tenant.</p>
3484
3556
  * @public
3485
3557
  */
3486
3558
  export interface DeleteSuppressedDestinationRequest {
3487
3559
  /**
3488
- * <p>The suppressed email destination to remove from the account suppression list.</p>
3560
+ * <p>The suppressed email destination to remove from the suppression list for your account
3561
+ * or for the specified tenant.</p>
3489
3562
  * @public
3490
3563
  */
3491
3564
  EmailAddress: string | undefined;
3565
+ /**
3566
+ * <p>The name of the tenant whose suppression list you want to remove the address from. If
3567
+ * you omit this parameter, the address is removed from the account-level suppression
3568
+ * list.</p>
3569
+ * @public
3570
+ */
3571
+ TenantName?: string | undefined;
3492
3572
  }
3493
3573
  /**
3494
3574
  * <p>An HTTP 200 response if the request succeeds, or an error message if the request
@@ -4368,7 +4448,7 @@ export interface GetConfigurationSetResponse {
4368
4448
  Tags?: Tag[] | undefined;
4369
4449
  /**
4370
4450
  * <p>An object that contains information about the suppression list preferences for your
4371
- * account.</p>
4451
+ * account or for a specific tenant.</p>
4372
4452
  * @public
4373
4453
  */
4374
4454
  SuppressionOptions?: SuppressionOptions | undefined;
@@ -5655,48 +5735,57 @@ export interface GetReputationEntityResponse {
5655
5735
  }
5656
5736
  /**
5657
5737
  * <p>A request to retrieve information about an email address that's on the suppression
5658
- * list for your account.</p>
5738
+ * list for your account or for a specific tenant.</p>
5659
5739
  * @public
5660
5740
  */
5661
5741
  export interface GetSuppressedDestinationRequest {
5662
5742
  /**
5663
- * <p>The email address that's on the account suppression list.</p>
5743
+ * <p>The email address that's on the suppression list for your account or for the
5744
+ * specified tenant.</p>
5664
5745
  * @public
5665
5746
  */
5666
5747
  EmailAddress: string | undefined;
5748
+ /**
5749
+ * <p>The name of the tenant whose suppression list you want to query. If you omit this
5750
+ * parameter, the operation targets the account-level suppression list.</p>
5751
+ * @public
5752
+ */
5753
+ TenantName?: string | undefined;
5667
5754
  }
5668
5755
  /**
5669
5756
  * <p>An object that contains additional attributes that are related an email address that
5670
- * is on the suppression list for your account.</p>
5757
+ * is on the suppression list for your account or for a specific tenant.</p>
5671
5758
  * @public
5672
5759
  */
5673
5760
  export interface SuppressedDestinationAttributes {
5674
5761
  /**
5675
5762
  * <p>The unique identifier of the email message that caused the email address to be added
5676
- * to the suppression list for your account.</p>
5763
+ * to the suppression list for your account or for a specific tenant.</p>
5677
5764
  * @public
5678
5765
  */
5679
5766
  MessageId?: string | undefined;
5680
5767
  /**
5681
5768
  * <p>A unique identifier that's generated when an email address is added to the suppression
5682
- * list for your account.</p>
5769
+ * list for your account or for a specific tenant.</p>
5683
5770
  * @public
5684
5771
  */
5685
5772
  FeedbackId?: string | undefined;
5686
5773
  }
5687
5774
  /**
5688
5775
  * <p>An object that contains information about an email address that is on the suppression
5689
- * list for your account.</p>
5776
+ * list for your account or for a specific tenant.</p>
5690
5777
  * @public
5691
5778
  */
5692
5779
  export interface SuppressedDestination {
5693
5780
  /**
5694
- * <p>The email address that is on the suppression list for your account.</p>
5781
+ * <p>The email address that is on the suppression list for your account or for a specific
5782
+ * tenant.</p>
5695
5783
  * @public
5696
5784
  */
5697
5785
  EmailAddress: string | undefined;
5698
5786
  /**
5699
- * <p>The reason that the address was added to the suppression list for your account.</p>
5787
+ * <p>The reason that the address was added to the suppression list for your account or for
5788
+ * a specific tenant.</p>
5700
5789
  * @public
5701
5790
  */
5702
5791
  Reason: SuppressionListReason | undefined;
@@ -5708,10 +5797,17 @@ export interface SuppressedDestination {
5708
5797
  LastUpdateTime: Date | undefined;
5709
5798
  /**
5710
5799
  * <p>An optional value that can contain additional information about the reasons that the
5711
- * address was added to the suppression list for your account.</p>
5800
+ * address was added to the suppression list for your account or for a specific
5801
+ * tenant.</p>
5712
5802
  * @public
5713
5803
  */
5714
5804
  Attributes?: SuppressedDestinationAttributes | undefined;
5805
+ /**
5806
+ * <p>The name of the tenant that the suppressed destination belongs to. This field is
5807
+ * present only when the suppressed destination is on a tenant's suppression list.</p>
5808
+ * @public
5809
+ */
5810
+ TenantName?: string | undefined;
5715
5811
  }
5716
5812
  /**
5717
5813
  * <p>Information about the suppressed email address.</p>
@@ -5770,6 +5866,11 @@ export interface Tenant {
5770
5866
  * @public
5771
5867
  */
5772
5868
  SendingStatus?: SendingStatus | undefined;
5869
+ /**
5870
+ * <p>An object that contains information about the suppression list preferences for the tenant.</p>
5871
+ * @public
5872
+ */
5873
+ SuppressionAttributes?: TenantSuppressionAttributes | undefined;
5773
5874
  }
5774
5875
  /**
5775
5876
  * <p>Information about a specific tenant.</p>
@@ -6748,12 +6849,19 @@ export interface ListResourceTenantsResponse {
6748
6849
  }
6749
6850
  /**
6750
6851
  * <p>A request to obtain a list of email destinations that are on the suppression list for
6751
- * your account.</p>
6852
+ * your account or for a specific tenant.</p>
6752
6853
  * @public
6753
6854
  */
6754
6855
  export interface ListSuppressedDestinationsRequest {
6755
6856
  /**
6756
- * <p>The factors that caused the email address to be added to .</p>
6857
+ * <p>The name of the tenant whose suppression list you want to retrieve. If you omit this
6858
+ * parameter, the operation targets the account-level suppression list.</p>
6859
+ * @public
6860
+ */
6861
+ TenantName?: string | undefined;
6862
+ /**
6863
+ * <p>The factors that caused the email address to be added to the suppression list for
6864
+ * your account or for a specific tenant.</p>
6757
6865
  * @public
6758
6866
  */
6759
6867
  Reasons?: SuppressionListReason[] | undefined;
@@ -6791,12 +6899,14 @@ export interface ListSuppressedDestinationsRequest {
6791
6899
  */
6792
6900
  export interface SuppressedDestinationSummary {
6793
6901
  /**
6794
- * <p>The email address that's on the suppression list for your account.</p>
6902
+ * <p>The email address that's on the suppression list for your account or for a specific
6903
+ * tenant.</p>
6795
6904
  * @public
6796
6905
  */
6797
6906
  EmailAddress: string | undefined;
6798
6907
  /**
6799
- * <p>The reason that the address was added to the suppression list for your account.</p>
6908
+ * <p>The reason that the address was added to the suppression list for your account or for
6909
+ * a specific tenant.</p>
6800
6910
  * @public
6801
6911
  */
6802
6912
  Reason: SuppressionListReason | undefined;
@@ -6820,9 +6930,9 @@ export interface ListSuppressedDestinationsResponse {
6820
6930
  SuppressedDestinationSummaries?: SuppressedDestinationSummary[] | undefined;
6821
6931
  /**
6822
6932
  * <p>A token that indicates that there are additional email addresses on the suppression
6823
- * list for your account. To view additional suppressed addresses, issue another request to
6824
- * <code>ListSuppressedDestinations</code>, and pass this token in the
6825
- * <code>NextToken</code> parameter.</p>
6933
+ * list for your account or for the specified tenant. To view additional suppressed
6934
+ * addresses, issue another request to <code>ListSuppressedDestinations</code>, and pass
6935
+ * this token in the <code>NextToken</code> parameter.</p>
6826
6936
  * @public
6827
6937
  */
6828
6938
  NextToken?: string | undefined;
@@ -7243,7 +7353,7 @@ export interface PutConfigurationSetSendingOptionsRequest {
7243
7353
  export interface PutConfigurationSetSendingOptionsResponse {
7244
7354
  }
7245
7355
  /**
7246
- * <p>A request to change the account suppression list preferences for a specific
7356
+ * <p>A request to change the suppression list preferences for a specific
7247
7357
  * configuration set.</p>
7248
7358
  * @public
7249
7359
  */
@@ -7254,21 +7364,38 @@ export interface PutConfigurationSetSuppressionOptionsRequest {
7254
7364
  * @public
7255
7365
  */
7256
7366
  ConfigurationSetName: string | undefined;
7367
+ /**
7368
+ * <p>The suppression scope for the configuration set. This overrides the tenant or account
7369
+ * suppression scope for emails sent using this configuration set. Can be one of the
7370
+ * following:</p>
7371
+ * <ul>
7372
+ * <li>
7373
+ * <p>
7374
+ * <code>TENANT</code> – Use the tenant's suppression list.</p>
7375
+ * </li>
7376
+ * <li>
7377
+ * <p>
7378
+ * <code>ACCOUNT</code> – Use the account-level suppression list.</p>
7379
+ * </li>
7380
+ * </ul>
7381
+ * @public
7382
+ */
7383
+ SuppressionScope?: SuppressionListScope | undefined;
7257
7384
  /**
7258
7385
  * <p>A list that contains the reasons that email addresses are automatically added to the
7259
- * suppression list for your account. This list can contain any or all of the
7386
+ * suppression list for your account or for a specific tenant. This list can contain any or all of the
7260
7387
  * following:</p>
7261
7388
  * <ul>
7262
7389
  * <li>
7263
7390
  * <p>
7264
7391
  * <code>COMPLAINT</code> – Amazon SES adds an email address to the suppression
7265
- * list for your account when a message sent to that address results in a
7392
+ * list for your account or for a specific tenant when a message sent to that address results in a
7266
7393
  * complaint.</p>
7267
7394
  * </li>
7268
7395
  * <li>
7269
7396
  * <p>
7270
7397
  * <code>BOUNCE</code> – Amazon SES adds an email address to the suppression
7271
- * list for your account when a message sent to that address results in a hard
7398
+ * list for your account or for a specific tenant when a message sent to that address results in a hard
7272
7399
  * bounce.</p>
7273
7400
  * </li>
7274
7401
  * </ul>
@@ -7645,10 +7772,3 @@ export interface PutEmailIdentityFeedbackAttributesRequest {
7645
7772
  */
7646
7773
  EmailForwardingEnabled?: boolean | undefined;
7647
7774
  }
7648
- /**
7649
- * <p>An HTTP 200 response if the request succeeds, or an error message if the request
7650
- * fails.</p>
7651
- * @public
7652
- */
7653
- export interface PutEmailIdentityFeedbackAttributesResponse {
7654
- }
@@ -1,5 +1,12 @@
1
- import type { BehaviorOnMxFailure, ReputationEntityType, SendingStatus, SuppressionListReason } from "./enums";
1
+ import type { BehaviorOnMxFailure, ReputationEntityType, SendingStatus, SuppressionListReason, SuppressionListScope } from "./enums";
2
2
  import type { BulkEmailContent, BulkEmailEntry, BulkEmailEntryResult, Destination, EmailContent, EmailTemplateContent, EventDestinationDefinition, ListManagementOptions, MessageTag, Tag, Topic, TopicPreference } from "./models_0";
3
+ /**
4
+ * <p>An HTTP 200 response if the request succeeds, or an error message if the request
5
+ * fails.</p>
6
+ * @public
7
+ */
8
+ export interface PutEmailIdentityFeedbackAttributesResponse {
9
+ }
3
10
  /**
4
11
  * <p>A request to configure the custom MAIL FROM domain for a verified identity.</p>
5
12
  * @public
@@ -50,22 +57,29 @@ export interface PutEmailIdentityMailFromAttributesRequest {
50
57
  export interface PutEmailIdentityMailFromAttributesResponse {
51
58
  }
52
59
  /**
53
- * <p>A request to add an email destination to the suppression list for your account.</p>
60
+ * <p>A request to add an email destination to the suppression list for your account or
61
+ * for a specific tenant.</p>
54
62
  * @public
55
63
  */
56
64
  export interface PutSuppressedDestinationRequest {
57
65
  /**
58
- * <p>The email address that should be added to the suppression list for your
59
- * account.</p>
66
+ * <p>The email address that should be added to the suppression list for your account or
67
+ * for the specified tenant.</p>
60
68
  * @public
61
69
  */
62
70
  EmailAddress: string | undefined;
63
71
  /**
64
72
  * <p>The factors that should cause the email address to be added to the suppression list
65
- * for your account.</p>
73
+ * for your account or for the specified tenant.</p>
66
74
  * @public
67
75
  */
68
76
  Reason: SuppressionListReason | undefined;
77
+ /**
78
+ * <p>The name of the tenant whose suppression list you want to add the address to. If you
79
+ * omit this parameter, the address is added to the account-level suppression list.</p>
80
+ * @public
81
+ */
82
+ TenantName?: string | undefined;
69
83
  }
70
84
  /**
71
85
  * <p>An HTTP 200 response if the request succeeds, or an error message if the request
@@ -74,6 +88,52 @@ export interface PutSuppressedDestinationRequest {
74
88
  */
75
89
  export interface PutSuppressedDestinationResponse {
76
90
  }
91
+ /**
92
+ * <p>A request to configure the suppression list preferences for a tenant.</p>
93
+ * @public
94
+ */
95
+ export interface PutTenantSuppressionAttributesRequest {
96
+ /**
97
+ * <p>The name of the tenant to configure suppression list preferences for.</p>
98
+ * @public
99
+ */
100
+ TenantName: string | undefined;
101
+ /**
102
+ * <p>A list that contains the reasons that email addresses are automatically added to the
103
+ * suppression list for the tenant. This list can contain any or all of the following:</p>
104
+ * <ul>
105
+ * <li>
106
+ * <p>
107
+ * <code>COMPLAINT</code> – Amazon SES adds an email address to the suppression
108
+ * list when a message sent to that address results in a complaint.</p>
109
+ * </li>
110
+ * <li>
111
+ * <p>
112
+ * <code>BOUNCE</code> – Amazon SES adds an email address to the suppression
113
+ * list when a message sent to that address results in a hard bounce.</p>
114
+ * </li>
115
+ * </ul>
116
+ * @public
117
+ */
118
+ SuppressedReasons?: SuppressionListReason[] | undefined;
119
+ /**
120
+ * <p>The suppression scope for the tenant. Specify <code>TENANT</code> to use the tenant's
121
+ * own suppression list, or <code>ACCOUNT</code> to use the account-level suppression list.</p>
122
+ * <note>
123
+ * <p>If you don't specify a suppression scope, the tenant defaults to <code>ACCOUNT</code> scope
124
+ * and uses the account-level suppression list.</p>
125
+ * </note>
126
+ * @public
127
+ */
128
+ SuppressionScope?: SuppressionListScope | undefined;
129
+ }
130
+ /**
131
+ * <p>If the action is successful, the service sends back an HTTP 200 response with an empty
132
+ * HTTP body.</p>
133
+ * @public
134
+ */
135
+ export interface PutTenantSuppressionAttributesResponse {
136
+ }
77
137
  /**
78
138
  * <p>Represents a request to send email messages to multiple destinations using Amazon SES. For
79
139
  * more information, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html">Amazon SES Developer
@@ -286,6 +286,8 @@ export declare var PutEmailIdentityMailFromAttributesRequest$: StaticStructureSc
286
286
  export declare var PutEmailIdentityMailFromAttributesResponse$: StaticStructureSchema;
287
287
  export declare var PutSuppressedDestinationRequest$: StaticStructureSchema;
288
288
  export declare var PutSuppressedDestinationResponse$: StaticStructureSchema;
289
+ export declare var PutTenantSuppressionAttributesRequest$: StaticStructureSchema;
290
+ export declare var PutTenantSuppressionAttributesResponse$: StaticStructureSchema;
289
291
  export declare var RawMessage$: StaticStructureSchema;
290
292
  export declare var Recommendation$: StaticStructureSchema;
291
293
  export declare var ReplacementEmailContent$: StaticStructureSchema;
@@ -324,6 +326,7 @@ export declare var Template$: StaticStructureSchema;
324
326
  export declare var Tenant$: StaticStructureSchema;
325
327
  export declare var TenantInfo$: StaticStructureSchema;
326
328
  export declare var TenantResource$: StaticStructureSchema;
329
+ export declare var TenantSuppressionAttributes$: StaticStructureSchema;
327
330
  export declare var TestRenderEmailTemplateRequest$: StaticStructureSchema;
328
331
  export declare var TestRenderEmailTemplateResponse$: StaticStructureSchema;
329
332
  export declare var Topic$: StaticStructureSchema;
@@ -448,6 +451,7 @@ export declare var PutEmailIdentityDkimSigningAttributes$: StaticOperationSchema
448
451
  export declare var PutEmailIdentityFeedbackAttributes$: StaticOperationSchema;
449
452
  export declare var PutEmailIdentityMailFromAttributes$: StaticOperationSchema;
450
453
  export declare var PutSuppressedDestination$: StaticOperationSchema;
454
+ export declare var PutTenantSuppressionAttributes$: StaticOperationSchema;
451
455
  export declare var SendBulkEmail$: StaticOperationSchema;
452
456
  export declare var SendCustomVerificationEmail$: StaticOperationSchema;
453
457
  export declare var SendEmail$: StaticOperationSchema;
@@ -387,6 +387,10 @@ import {
387
387
  PutSuppressedDestinationCommandInput,
388
388
  PutSuppressedDestinationCommandOutput,
389
389
  } from "./commands/PutSuppressedDestinationCommand";
390
+ import {
391
+ PutTenantSuppressionAttributesCommandInput,
392
+ PutTenantSuppressionAttributesCommandOutput,
393
+ } from "./commands/PutTenantSuppressionAttributesCommand";
390
394
  import {
391
395
  SendBulkEmailCommandInput,
392
396
  SendBulkEmailCommandOutput,
@@ -1839,6 +1843,19 @@ export interface SESv2 {
1839
1843
  options: __HttpHandlerOptions,
1840
1844
  cb: (err: any, data?: PutSuppressedDestinationCommandOutput) => void
1841
1845
  ): void;
1846
+ putTenantSuppressionAttributes(
1847
+ args: PutTenantSuppressionAttributesCommandInput,
1848
+ options?: __HttpHandlerOptions
1849
+ ): Promise<PutTenantSuppressionAttributesCommandOutput>;
1850
+ putTenantSuppressionAttributes(
1851
+ args: PutTenantSuppressionAttributesCommandInput,
1852
+ cb: (err: any, data?: PutTenantSuppressionAttributesCommandOutput) => void
1853
+ ): void;
1854
+ putTenantSuppressionAttributes(
1855
+ args: PutTenantSuppressionAttributesCommandInput,
1856
+ options: __HttpHandlerOptions,
1857
+ cb: (err: any, data?: PutTenantSuppressionAttributesCommandOutput) => void
1858
+ ): void;
1842
1859
  sendBulkEmail(
1843
1860
  args: SendBulkEmailCommandInput,
1844
1861
  options?: __HttpHandlerOptions
@@ -420,6 +420,10 @@ import {
420
420
  PutSuppressedDestinationCommandInput,
421
421
  PutSuppressedDestinationCommandOutput,
422
422
  } from "./commands/PutSuppressedDestinationCommand";
423
+ import {
424
+ PutTenantSuppressionAttributesCommandInput,
425
+ PutTenantSuppressionAttributesCommandOutput,
426
+ } from "./commands/PutTenantSuppressionAttributesCommand";
423
427
  import {
424
428
  SendBulkEmailCommandInput,
425
429
  SendBulkEmailCommandOutput,
@@ -580,6 +584,7 @@ export type ServiceInputTypes =
580
584
  | PutEmailIdentityFeedbackAttributesCommandInput
581
585
  | PutEmailIdentityMailFromAttributesCommandInput
582
586
  | PutSuppressedDestinationCommandInput
587
+ | PutTenantSuppressionAttributesCommandInput
583
588
  | SendBulkEmailCommandInput
584
589
  | SendCustomVerificationEmailCommandInput
585
590
  | SendEmailCommandInput
@@ -691,6 +696,7 @@ export type ServiceOutputTypes =
691
696
  | PutEmailIdentityFeedbackAttributesCommandOutput
692
697
  | PutEmailIdentityMailFromAttributesCommandOutput
693
698
  | PutSuppressedDestinationCommandOutput
699
+ | PutTenantSuppressionAttributesCommandOutput
694
700
  | SendBulkEmailCommandOutput
695
701
  | SendCustomVerificationEmailCommandOutput
696
702
  | SendEmailCommandOutput
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- PutEmailIdentityFeedbackAttributesRequest,
5
- PutEmailIdentityFeedbackAttributesResponse,
6
- } from "../models/models_0";
3
+ import { PutEmailIdentityFeedbackAttributesRequest } from "../models/models_0";
4
+ import { PutEmailIdentityFeedbackAttributesResponse } from "../models/models_1";
7
5
  import {
8
6
  ServiceInputTypes,
9
7
  ServiceOutputTypes,
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ PutTenantSuppressionAttributesRequest,
5
+ PutTenantSuppressionAttributesResponse,
6
+ } from "../models/models_1";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SESv2ClientResolvedConfig,
11
+ } from "../SESv2Client";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface PutTenantSuppressionAttributesCommandInput
15
+ extends PutTenantSuppressionAttributesRequest {}
16
+ export interface PutTenantSuppressionAttributesCommandOutput
17
+ extends PutTenantSuppressionAttributesResponse,
18
+ __MetadataBearer {}
19
+ declare const PutTenantSuppressionAttributesCommand_base: {
20
+ new (
21
+ input: PutTenantSuppressionAttributesCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ PutTenantSuppressionAttributesCommandInput,
24
+ PutTenantSuppressionAttributesCommandOutput,
25
+ SESv2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: PutTenantSuppressionAttributesCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ PutTenantSuppressionAttributesCommandInput,
33
+ PutTenantSuppressionAttributesCommandOutput,
34
+ SESv2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class PutTenantSuppressionAttributesCommand extends PutTenantSuppressionAttributesCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: PutTenantSuppressionAttributesRequest;
46
+ output: {};
47
+ };
48
+ sdk: {
49
+ input: PutTenantSuppressionAttributesCommandInput;
50
+ output: PutTenantSuppressionAttributesCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -94,6 +94,7 @@ export * from "./PutEmailIdentityDkimSigningAttributesCommand";
94
94
  export * from "./PutEmailIdentityFeedbackAttributesCommand";
95
95
  export * from "./PutEmailIdentityMailFromAttributesCommand";
96
96
  export * from "./PutSuppressedDestinationCommand";
97
+ export * from "./PutTenantSuppressionAttributesCommand";
97
98
  export * from "./SendBulkEmailCommand";
98
99
  export * from "./SendCustomVerificationEmailCommand";
99
100
  export * from "./SendEmailCommand";