aws-sdk-sesv2 1.101.0 → 1.102.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b40681b7a59940e0e51c5cddc7b18e3f9e6580bb992ac4473e2220916600a518
4
- data.tar.gz: 93731861a93652e38bf74998e8121a178afa97979b2d2f5891dcb3537fb42a75
3
+ metadata.gz: 3926a149d629650ff6b48a39debf836b90de6681ec6a0a644a9abf12cfb29910
4
+ data.tar.gz: 03f530aa9abb5b9c87db5e77aa0669edf1ad75e7835a319455a7f8ec1f9e2f1d
5
5
  SHA512:
6
- metadata.gz: 5691a9d149259171e1fc220dc50afe7c6b14ff2f252e7a8508fa969afb8c03732b88ece774350b4773009e1605c29ae04849087a3ffa4431483e1d9faebb6870
7
- data.tar.gz: 491fdcea14bcb5c0c10dbb0c66cb57fa377fff8ded64a1546b237ec3a08623da5932aac35687516424d5ddacbadcb2a99a01bb32899f9cde463544e0eec07b82
6
+ metadata.gz: 85802275624ae1e812fbdb75d8878fd4b1d9fa50a3de9896e4d18cedee302da411e96cfa569d0ddbcde72c79a2ac931ffd9ed4d194b330df4d9502538879c566
7
+ data.tar.gz: 300c1043837c54a71c8d4cca9c759237048c557b261e9f62e133c98a62f2e3b362f39b6fc85794e201b0287c69241f3af762f9520e8f5de1fc7a740f0bd52f5f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.102.0 (2026-05-29)
5
+ ------------------
6
+
7
+ * Feature - This release introduces support for Tenant Suppression Lists
8
+
4
9
  1.101.0 (2026-05-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.101.0
1
+ 1.102.0
@@ -592,7 +592,9 @@ module Aws::SESV2
592
592
  #
593
593
  # @option params [Types::SuppressionOptions] :suppression_options
594
594
  # An object that contains information about the suppression list
595
- # preferences for your account.
595
+ # preferences for the configuration set. You can optionally include a
596
+ # `SuppressionScope` to override the tenant or account suppression scope
597
+ # for emails sent using this configuration set.
596
598
  #
597
599
  # @option params [Types::VdmOptions] :vdm_options
598
600
  # An object that defines the VDM options for emails that you send using
@@ -632,6 +634,7 @@ module Aws::SESV2
632
634
  # ],
633
635
  # suppression_options: {
634
636
  # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
637
+ # suppression_scope: "ACCOUNT", # accepts ACCOUNT, TENANT
635
638
  # validation_options: {
636
639
  # condition_threshold: { # required
637
640
  # condition_threshold_enabled: "ENABLED", # required, accepts ENABLED, DISABLED
@@ -1528,6 +1531,12 @@ module Aws::SESV2
1528
1531
  # sending for different customers or business units within your Amazon
1529
1532
  # SES API v2 account.
1530
1533
  #
1534
+ # You can optionally specify `SuppressionAttributes` to configure
1535
+ # tenant-level suppression at creation time. When tenant-level
1536
+ # suppression is enabled, Amazon SES maintains a separate suppression
1537
+ # list for the tenant instead of using the account-level suppression
1538
+ # list.
1539
+ #
1531
1540
  # @option params [required, String] :tenant_name
1532
1541
  # The name of the tenant to create. The name can contain up to 64
1533
1542
  # alphanumeric characters, including letters, numbers, hyphens (-) and
@@ -1537,6 +1546,11 @@ module Aws::SESV2
1537
1546
  # An array of objects that define the tags (keys and values) to
1538
1547
  # associate with the tenant
1539
1548
  #
1549
+ # @option params [Types::TenantSuppressionAttributes] :suppression_attributes
1550
+ # An object that contains information about the suppression list
1551
+ # preferences for the tenant. Use this to configure tenant-level
1552
+ # suppression at creation time.
1553
+ #
1540
1554
  # @return [Types::CreateTenantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1541
1555
  #
1542
1556
  # * {Types::CreateTenantResponse#tenant_name #tenant_name} => String
@@ -1545,6 +1559,7 @@ module Aws::SESV2
1545
1559
  # * {Types::CreateTenantResponse#created_timestamp #created_timestamp} => Time
1546
1560
  # * {Types::CreateTenantResponse#tags #tags} => Array<Types::Tag>
1547
1561
  # * {Types::CreateTenantResponse#sending_status #sending_status} => String
1562
+ # * {Types::CreateTenantResponse#suppression_attributes #suppression_attributes} => Types::TenantSuppressionAttributes
1548
1563
  #
1549
1564
  # @example Request syntax with placeholder values
1550
1565
  #
@@ -1556,6 +1571,10 @@ module Aws::SESV2
1556
1571
  # value: "TagValue", # required
1557
1572
  # },
1558
1573
  # ],
1574
+ # suppression_attributes: {
1575
+ # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
1576
+ # suppression_scope: "ACCOUNT", # accepts ACCOUNT, TENANT
1577
+ # },
1559
1578
  # })
1560
1579
  #
1561
1580
  # @example Response structure
@@ -1568,6 +1587,9 @@ module Aws::SESV2
1568
1587
  # resp.tags[0].key #=> String
1569
1588
  # resp.tags[0].value #=> String
1570
1589
  # resp.sending_status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
1590
+ # resp.suppression_attributes.suppressed_reasons #=> Array
1591
+ # resp.suppression_attributes.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
1592
+ # resp.suppression_attributes.suppression_scope #=> String, one of "ACCOUNT", "TENANT"
1571
1593
  #
1572
1594
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateTenant AWS API Documentation
1573
1595
  #
@@ -1901,11 +1923,19 @@ module Aws::SESV2
1901
1923
  req.send_request(options)
1902
1924
  end
1903
1925
 
1904
- # Removes an email address from the suppression list for your account.
1926
+ # Removes an email address from the suppression list for your account or
1927
+ # for a specific tenant. To target a tenant's suppression list, specify
1928
+ # the `TenantName` parameter. If you omit `TenantName`, the address is
1929
+ # removed from the account-level suppression list.
1905
1930
  #
1906
1931
  # @option params [required, String] :email_address
1907
- # The suppressed email destination to remove from the account
1908
- # suppression list.
1932
+ # The suppressed email destination to remove from the suppression list
1933
+ # for your account or for the specified tenant.
1934
+ #
1935
+ # @option params [String] :tenant_name
1936
+ # The name of the tenant whose suppression list you want to remove the
1937
+ # address from. If you omit this parameter, the address is removed from
1938
+ # the account-level suppression list.
1909
1939
  #
1910
1940
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1911
1941
  #
@@ -1913,6 +1943,7 @@ module Aws::SESV2
1913
1943
  #
1914
1944
  # resp = client.delete_suppressed_destination({
1915
1945
  # email_address: "EmailAddress", # required
1946
+ # tenant_name: "TenantName",
1916
1947
  # })
1917
1948
  #
1918
1949
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestination AWS API Documentation
@@ -2111,6 +2142,7 @@ module Aws::SESV2
2111
2142
  # resp.tags[0].value #=> String
2112
2143
  # resp.suppression_options.suppressed_reasons #=> Array
2113
2144
  # resp.suppression_options.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
2145
+ # resp.suppression_options.suppression_scope #=> String, one of "ACCOUNT", "TENANT"
2114
2146
  # resp.suppression_options.validation_options.condition_threshold.condition_threshold_enabled #=> String, one of "ENABLED", "DISABLED"
2115
2147
  # resp.suppression_options.validation_options.condition_threshold.overall_confidence_threshold.confidence_verdict_threshold #=> String, one of "MEDIUM", "HIGH", "MANAGED"
2116
2148
  # resp.vdm_options.dashboard_options.engagement_metrics #=> String, one of "ENABLED", "DISABLED"
@@ -2840,7 +2872,7 @@ module Aws::SESV2
2840
2872
  # Displays the template object (which includes the subject line, HTML
2841
2873
  # part and text part) for the template you specify.
2842
2874
  #
2843
- # You can execute this operation no more than once per second.
2875
+ # You can execute this operation no more than 50 times per second.
2844
2876
  #
2845
2877
  # @option params [required, String] :template_name
2846
2878
  # The name of the template.
@@ -3262,10 +3294,19 @@ module Aws::SESV2
3262
3294
  end
3263
3295
 
3264
3296
  # Retrieves information about a specific email address that's on the
3265
- # suppression list for your account.
3297
+ # suppression list for your account or for a specific tenant. To target
3298
+ # a tenant's suppression list, specify the `TenantName` parameter. If
3299
+ # you omit `TenantName`, the operation targets the account-level
3300
+ # suppression list.
3266
3301
  #
3267
3302
  # @option params [required, String] :email_address
3268
- # The email address that's on the account suppression list.
3303
+ # The email address that's on the suppression list for your account or
3304
+ # for the specified tenant.
3305
+ #
3306
+ # @option params [String] :tenant_name
3307
+ # The name of the tenant whose suppression list you want to query. If
3308
+ # you omit this parameter, the operation targets the account-level
3309
+ # suppression list.
3269
3310
  #
3270
3311
  # @return [Types::GetSuppressedDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3271
3312
  #
@@ -3275,6 +3316,7 @@ module Aws::SESV2
3275
3316
  #
3276
3317
  # resp = client.get_suppressed_destination({
3277
3318
  # email_address: "EmailAddress", # required
3319
+ # tenant_name: "TenantName",
3278
3320
  # })
3279
3321
  #
3280
3322
  # @example Response structure
@@ -3284,6 +3326,7 @@ module Aws::SESV2
3284
3326
  # resp.suppressed_destination.last_update_time #=> Time
3285
3327
  # resp.suppressed_destination.attributes.message_id #=> String
3286
3328
  # resp.suppressed_destination.attributes.feedback_id #=> String
3329
+ # resp.suppressed_destination.tenant_name #=> String
3287
3330
  #
3288
3331
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestination AWS API Documentation
3289
3332
  #
@@ -3295,7 +3338,8 @@ module Aws::SESV2
3295
3338
  end
3296
3339
 
3297
3340
  # Get information about a specific tenant, including the tenant's name,
3298
- # ID, ARN, creation timestamp, tags, and sending status.
3341
+ # ID, ARN, creation timestamp, tags, sending status, and suppression
3342
+ # attributes.
3299
3343
  #
3300
3344
  # @option params [required, String] :tenant_name
3301
3345
  # The name of the tenant to retrieve information about.
@@ -3320,6 +3364,9 @@ module Aws::SESV2
3320
3364
  # resp.tenant.tags[0].key #=> String
3321
3365
  # resp.tenant.tags[0].value #=> String
3322
3366
  # resp.tenant.sending_status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
3367
+ # resp.tenant.suppression_attributes.suppressed_reasons #=> Array
3368
+ # resp.tenant.suppression_attributes.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
3369
+ # resp.tenant.suppression_attributes.suppression_scope #=> String, one of "ACCOUNT", "TENANT"
3323
3370
  #
3324
3371
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetTenant AWS API Documentation
3325
3372
  #
@@ -4192,10 +4239,19 @@ module Aws::SESV2
4192
4239
  end
4193
4240
 
4194
4241
  # Retrieves a list of email addresses that are on the suppression list
4195
- # for your account.
4242
+ # for your account or for a specific tenant. To target a tenant's
4243
+ # suppression list, specify the `TenantName` parameter. If you omit
4244
+ # `TenantName`, the operation targets the account-level suppression
4245
+ # list.
4246
+ #
4247
+ # @option params [String] :tenant_name
4248
+ # The name of the tenant whose suppression list you want to retrieve. If
4249
+ # you omit this parameter, the operation targets the account-level
4250
+ # suppression list.
4196
4251
  #
4197
4252
  # @option params [Array<String>] :reasons
4198
- # The factors that caused the email address to be added to .
4253
+ # The factors that caused the email address to be added to the
4254
+ # suppression list for your account or for a specific tenant.
4199
4255
  #
4200
4256
  # @option params [Time,DateTime,Date,Integer,String] :start_date
4201
4257
  # Used to filter the list of suppressed email destinations so that it
@@ -4227,6 +4283,7 @@ module Aws::SESV2
4227
4283
  # @example Request syntax with placeholder values
4228
4284
  #
4229
4285
  # resp = client.list_suppressed_destinations({
4286
+ # tenant_name: "TenantName",
4230
4287
  # reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
4231
4288
  # start_date: Time.now,
4232
4289
  # end_date: Time.now,
@@ -4729,25 +4786,36 @@ module Aws::SESV2
4729
4786
  req.send_request(options)
4730
4787
  end
4731
4788
 
4732
- # Specify the account suppression list preferences for a configuration
4733
- # set.
4789
+ # Specify the suppression list preferences for a configuration set. You
4790
+ # can also use this operation to specify a `SuppressionScope` to
4791
+ # override the suppression scope of the tenant or account for emails
4792
+ # sent using this configuration set.
4734
4793
  #
4735
4794
  # @option params [required, String] :configuration_set_name
4736
4795
  # The name of the configuration set to change the suppression list
4737
4796
  # preferences for.
4738
4797
  #
4798
+ # @option params [String] :suppression_scope
4799
+ # The suppression scope for the configuration set. This overrides the
4800
+ # tenant or account suppression scope for emails sent using this
4801
+ # configuration set. Can be one of the following:
4802
+ #
4803
+ # * `TENANT` – Use the tenant's suppression list.
4804
+ #
4805
+ # * `ACCOUNT` – Use the account-level suppression list.
4806
+ #
4739
4807
  # @option params [Array<String>] :suppressed_reasons
4740
4808
  # A list that contains the reasons that email addresses are
4741
- # automatically added to the suppression list for your account. This
4742
- # list can contain any or all of the following:
4809
+ # automatically added to the suppression list for your account or for a
4810
+ # specific tenant. This list can contain any or all of the following:
4743
4811
  #
4744
4812
  # * `COMPLAINT` – Amazon SES adds an email address to the suppression
4745
- # list for your account when a message sent to that address results in
4746
- # a complaint.
4813
+ # list for your account or for a specific tenant when a message sent
4814
+ # to that address results in a complaint.
4747
4815
  #
4748
4816
  # * `BOUNCE` – Amazon SES adds an email address to the suppression list
4749
- # for your account when a message sent to that address results in a
4750
- # hard bounce.
4817
+ # for your account or for a specific tenant when a message sent to
4818
+ # that address results in a hard bounce.
4751
4819
  #
4752
4820
  # @option params [Types::SuppressionValidationOptions] :validation_options
4753
4821
  # An object that contains information about the email address
@@ -4760,6 +4828,7 @@ module Aws::SESV2
4760
4828
  #
4761
4829
  # resp = client.put_configuration_set_suppression_options({
4762
4830
  # configuration_set_name: "ConfigurationSetName", # required
4831
+ # suppression_scope: "ACCOUNT", # accepts ACCOUNT, TENANT
4763
4832
  # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
4764
4833
  # validation_options: {
4765
4834
  # condition_threshold: { # required
@@ -5245,15 +5314,23 @@ module Aws::SESV2
5245
5314
  req.send_request(options)
5246
5315
  end
5247
5316
 
5248
- # Adds an email address to the suppression list for your account.
5317
+ # Adds an email address to the suppression list for your account or for
5318
+ # a specific tenant. To target a tenant's suppression list, specify the
5319
+ # `TenantName` parameter. If you omit `TenantName`, the address is added
5320
+ # to the account-level suppression list.
5249
5321
  #
5250
5322
  # @option params [required, String] :email_address
5251
5323
  # The email address that should be added to the suppression list for
5252
- # your account.
5324
+ # your account or for the specified tenant.
5253
5325
  #
5254
5326
  # @option params [required, String] :reason
5255
5327
  # The factors that should cause the email address to be added to the
5256
- # suppression list for your account.
5328
+ # suppression list for your account or for the specified tenant.
5329
+ #
5330
+ # @option params [String] :tenant_name
5331
+ # The name of the tenant whose suppression list you want to add the
5332
+ # address to. If you omit this parameter, the address is added to the
5333
+ # account-level suppression list.
5257
5334
  #
5258
5335
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5259
5336
  #
@@ -5262,6 +5339,7 @@ module Aws::SESV2
5262
5339
  # resp = client.put_suppressed_destination({
5263
5340
  # email_address: "EmailAddress", # required
5264
5341
  # reason: "BOUNCE", # required, accepts BOUNCE, COMPLAINT
5342
+ # tenant_name: "TenantName",
5265
5343
  # })
5266
5344
  #
5267
5345
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestination AWS API Documentation
@@ -5273,6 +5351,57 @@ module Aws::SESV2
5273
5351
  req.send_request(options)
5274
5352
  end
5275
5353
 
5354
+ # Configure the suppression list preferences for a tenant. Use this
5355
+ # operation to enable or disable tenant-level suppression, or to change
5356
+ # the suppressed reasons for a tenant.
5357
+ #
5358
+ # When you set the suppression scope to `TENANT`, Amazon SES maintains a
5359
+ # separate suppression list for the tenant. When you set the scope to
5360
+ # `ACCOUNT`, the tenant uses the account-level suppression list.
5361
+ #
5362
+ # @option params [required, String] :tenant_name
5363
+ # The name of the tenant to configure suppression list preferences for.
5364
+ #
5365
+ # @option params [Array<String>] :suppressed_reasons
5366
+ # A list that contains the reasons that email addresses are
5367
+ # automatically added to the suppression list for the tenant. This list
5368
+ # can contain any or all of the following:
5369
+ #
5370
+ # * `COMPLAINT` – Amazon SES adds an email address to the suppression
5371
+ # list when a message sent to that address results in a complaint.
5372
+ #
5373
+ # * `BOUNCE` – Amazon SES adds an email address to the suppression list
5374
+ # when a message sent to that address results in a hard bounce.
5375
+ #
5376
+ # @option params [String] :suppression_scope
5377
+ # The suppression scope for the tenant. Specify `TENANT` to use the
5378
+ # tenant's own suppression list, or `ACCOUNT` to use the account-level
5379
+ # suppression list.
5380
+ #
5381
+ # <note markdown="1"> If you don't specify a suppression scope, the tenant defaults to
5382
+ # `ACCOUNT` scope and uses the account-level suppression list.
5383
+ #
5384
+ # </note>
5385
+ #
5386
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5387
+ #
5388
+ # @example Request syntax with placeholder values
5389
+ #
5390
+ # resp = client.put_tenant_suppression_attributes({
5391
+ # tenant_name: "TenantName", # required
5392
+ # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
5393
+ # suppression_scope: "ACCOUNT", # accepts ACCOUNT, TENANT
5394
+ # })
5395
+ #
5396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutTenantSuppressionAttributes AWS API Documentation
5397
+ #
5398
+ # @overload put_tenant_suppression_attributes(params = {})
5399
+ # @param [Hash] params ({})
5400
+ def put_tenant_suppression_attributes(params = {}, options = {})
5401
+ req = build_request(:put_tenant_suppression_attributes, params)
5402
+ req.send_request(options)
5403
+ end
5404
+
5276
5405
  # Composes an email message to multiple destinations.
5277
5406
  #
5278
5407
  # @option params [String] :from_email_address
@@ -6255,7 +6384,7 @@ module Aws::SESV2
6255
6384
  tracer: tracer
6256
6385
  )
6257
6386
  context[:gem_name] = 'aws-sdk-sesv2'
6258
- context[:gem_version] = '1.101.0'
6387
+ context[:gem_version] = '1.102.0'
6259
6388
  Seahorse::Client::Request.new(handlers, context)
6260
6389
  end
6261
6390
 
@@ -460,6 +460,8 @@ module Aws::SESV2
460
460
  PutEmailIdentityMailFromAttributesResponse = Shapes::StructureShape.new(name: 'PutEmailIdentityMailFromAttributesResponse')
461
461
  PutSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'PutSuppressedDestinationRequest')
462
462
  PutSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'PutSuppressedDestinationResponse')
463
+ PutTenantSuppressionAttributesRequest = Shapes::StructureShape.new(name: 'PutTenantSuppressionAttributesRequest')
464
+ PutTenantSuppressionAttributesResponse = Shapes::StructureShape.new(name: 'PutTenantSuppressionAttributesResponse')
463
465
  QueryErrorCode = Shapes::StringShape.new(name: 'QueryErrorCode')
464
466
  QueryErrorMessage = Shapes::StringShape.new(name: 'QueryErrorMessage')
465
467
  QueryIdentifier = Shapes::StringShape.new(name: 'QueryIdentifier')
@@ -533,6 +535,7 @@ module Aws::SESV2
533
535
  SuppressionListImportAction = Shapes::StringShape.new(name: 'SuppressionListImportAction')
534
536
  SuppressionListReason = Shapes::StringShape.new(name: 'SuppressionListReason')
535
537
  SuppressionListReasons = Shapes::ListShape.new(name: 'SuppressionListReasons')
538
+ SuppressionListScope = Shapes::StringShape.new(name: 'SuppressionListScope')
536
539
  SuppressionOptions = Shapes::StructureShape.new(name: 'SuppressionOptions')
537
540
  SuppressionValidationAttributes = Shapes::StructureShape.new(name: 'SuppressionValidationAttributes')
538
541
  SuppressionValidationOptions = Shapes::StructureShape.new(name: 'SuppressionValidationOptions')
@@ -552,6 +555,7 @@ module Aws::SESV2
552
555
  TenantName = Shapes::StringShape.new(name: 'TenantName')
553
556
  TenantResource = Shapes::StructureShape.new(name: 'TenantResource')
554
557
  TenantResourceList = Shapes::ListShape.new(name: 'TenantResourceList')
558
+ TenantSuppressionAttributes = Shapes::StructureShape.new(name: 'TenantSuppressionAttributes')
555
559
  TestRenderEmailTemplateRequest = Shapes::StructureShape.new(name: 'TestRenderEmailTemplateRequest')
556
560
  TestRenderEmailTemplateResponse = Shapes::StructureShape.new(name: 'TestRenderEmailTemplateResponse')
557
561
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -841,6 +845,7 @@ module Aws::SESV2
841
845
 
842
846
  CreateTenantRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, required: true, location_name: "TenantName"))
843
847
  CreateTenantRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
848
+ CreateTenantRequest.add_member(:suppression_attributes, Shapes::ShapeRef.new(shape: TenantSuppressionAttributes, location_name: "SuppressionAttributes"))
844
849
  CreateTenantRequest.struct_class = Types::CreateTenantRequest
845
850
 
846
851
  CreateTenantResourceAssociationRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, required: true, location_name: "TenantName"))
@@ -855,6 +860,7 @@ module Aws::SESV2
855
860
  CreateTenantResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
856
861
  CreateTenantResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
857
862
  CreateTenantResponse.add_member(:sending_status, Shapes::ShapeRef.new(shape: SendingStatus, location_name: "SendingStatus"))
863
+ CreateTenantResponse.add_member(:suppression_attributes, Shapes::ShapeRef.new(shape: TenantSuppressionAttributes, location_name: "SuppressionAttributes"))
858
864
  CreateTenantResponse.struct_class = Types::CreateTenantResponse
859
865
 
860
866
  CustomVerificationEmailTemplateMetadata.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, location_name: "TemplateName"))
@@ -946,6 +952,7 @@ module Aws::SESV2
946
952
  DeleteMultiRegionEndpointResponse.struct_class = Types::DeleteMultiRegionEndpointResponse
947
953
 
948
954
  DeleteSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
955
+ DeleteSuppressedDestinationRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, location: "querystring", location_name: "TenantName"))
949
956
  DeleteSuppressedDestinationRequest.struct_class = Types::DeleteSuppressedDestinationRequest
950
957
 
951
958
  DeleteSuppressedDestinationResponse.struct_class = Types::DeleteSuppressedDestinationResponse
@@ -1369,6 +1376,7 @@ module Aws::SESV2
1369
1376
  GetReputationEntityResponse.struct_class = Types::GetReputationEntityResponse
1370
1377
 
1371
1378
  GetSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
1379
+ GetSuppressedDestinationRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, location: "querystring", location_name: "TenantName"))
1372
1380
  GetSuppressedDestinationRequest.struct_class = Types::GetSuppressedDestinationRequest
1373
1381
 
1374
1382
  GetSuppressedDestinationResponse.add_member(:suppressed_destination, Shapes::ShapeRef.new(shape: SuppressedDestination, required: true, location_name: "SuppressedDestination"))
@@ -1597,6 +1605,7 @@ module Aws::SESV2
1597
1605
  ListResourceTenantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1598
1606
  ListResourceTenantsResponse.struct_class = Types::ListResourceTenantsResponse
1599
1607
 
1608
+ ListSuppressedDestinationsRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, location: "querystring", location_name: "TenantName"))
1600
1609
  ListSuppressedDestinationsRequest.add_member(:reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location: "querystring", location_name: "Reason"))
1601
1610
  ListSuppressedDestinationsRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "StartDate"))
1602
1611
  ListSuppressedDestinationsRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "EndDate"))
@@ -1792,6 +1801,7 @@ module Aws::SESV2
1792
1801
  PutConfigurationSetSendingOptionsResponse.struct_class = Types::PutConfigurationSetSendingOptionsResponse
1793
1802
 
1794
1803
  PutConfigurationSetSuppressionOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
1804
+ PutConfigurationSetSuppressionOptionsRequest.add_member(:suppression_scope, Shapes::ShapeRef.new(shape: SuppressionListScope, location_name: "SuppressionScope"))
1795
1805
  PutConfigurationSetSuppressionOptionsRequest.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
1796
1806
  PutConfigurationSetSuppressionOptionsRequest.add_member(:validation_options, Shapes::ShapeRef.new(shape: SuppressionValidationOptions, location_name: "ValidationOptions"))
1797
1807
  PutConfigurationSetSuppressionOptionsRequest.struct_class = Types::PutConfigurationSetSuppressionOptionsRequest
@@ -1872,10 +1882,18 @@ module Aws::SESV2
1872
1882
 
1873
1883
  PutSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
1874
1884
  PutSuppressedDestinationRequest.add_member(:reason, Shapes::ShapeRef.new(shape: SuppressionListReason, required: true, location_name: "Reason"))
1885
+ PutSuppressedDestinationRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, location_name: "TenantName"))
1875
1886
  PutSuppressedDestinationRequest.struct_class = Types::PutSuppressedDestinationRequest
1876
1887
 
1877
1888
  PutSuppressedDestinationResponse.struct_class = Types::PutSuppressedDestinationResponse
1878
1889
 
1890
+ PutTenantSuppressionAttributesRequest.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, required: true, location_name: "TenantName"))
1891
+ PutTenantSuppressionAttributesRequest.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
1892
+ PutTenantSuppressionAttributesRequest.add_member(:suppression_scope, Shapes::ShapeRef.new(shape: SuppressionListScope, location_name: "SuppressionScope"))
1893
+ PutTenantSuppressionAttributesRequest.struct_class = Types::PutTenantSuppressionAttributesRequest
1894
+
1895
+ PutTenantSuppressionAttributesResponse.struct_class = Types::PutTenantSuppressionAttributesResponse
1896
+
1879
1897
  RawMessage.add_member(:data, Shapes::ShapeRef.new(shape: RawMessageData, required: true, location_name: "Data"))
1880
1898
  RawMessage.struct_class = Types::RawMessage
1881
1899
 
@@ -2006,6 +2024,7 @@ module Aws::SESV2
2006
2024
  SuppressedDestination.add_member(:reason, Shapes::ShapeRef.new(shape: SuppressionListReason, required: true, location_name: "Reason"))
2007
2025
  SuppressedDestination.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdateTime"))
2008
2026
  SuppressedDestination.add_member(:attributes, Shapes::ShapeRef.new(shape: SuppressedDestinationAttributes, location_name: "Attributes"))
2027
+ SuppressedDestination.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, location_name: "TenantName"))
2009
2028
  SuppressedDestination.struct_class = Types::SuppressedDestination
2010
2029
 
2011
2030
  SuppressedDestinationAttributes.add_member(:message_id, Shapes::ShapeRef.new(shape: OutboundMessageId, location_name: "MessageId"))
@@ -2036,6 +2055,7 @@ module Aws::SESV2
2036
2055
  SuppressionListReasons.member = Shapes::ShapeRef.new(shape: SuppressionListReason)
2037
2056
 
2038
2057
  SuppressionOptions.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
2058
+ SuppressionOptions.add_member(:suppression_scope, Shapes::ShapeRef.new(shape: SuppressionListScope, location_name: "SuppressionScope"))
2039
2059
  SuppressionOptions.add_member(:validation_options, Shapes::ShapeRef.new(shape: SuppressionValidationOptions, location_name: "ValidationOptions"))
2040
2060
  SuppressionOptions.struct_class = Types::SuppressionOptions
2041
2061
 
@@ -2073,6 +2093,7 @@ module Aws::SESV2
2073
2093
  Tenant.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
2074
2094
  Tenant.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
2075
2095
  Tenant.add_member(:sending_status, Shapes::ShapeRef.new(shape: SendingStatus, location_name: "SendingStatus"))
2096
+ Tenant.add_member(:suppression_attributes, Shapes::ShapeRef.new(shape: TenantSuppressionAttributes, location_name: "SuppressionAttributes"))
2076
2097
  Tenant.struct_class = Types::Tenant
2077
2098
 
2078
2099
  TenantInfo.add_member(:tenant_name, Shapes::ShapeRef.new(shape: TenantName, location_name: "TenantName"))
@@ -2089,6 +2110,10 @@ module Aws::SESV2
2089
2110
 
2090
2111
  TenantResourceList.member = Shapes::ShapeRef.new(shape: TenantResource)
2091
2112
 
2113
+ TenantSuppressionAttributes.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
2114
+ TenantSuppressionAttributes.add_member(:suppression_scope, Shapes::ShapeRef.new(shape: SuppressionListScope, location_name: "SuppressionScope"))
2115
+ TenantSuppressionAttributes.struct_class = Types::TenantSuppressionAttributes
2116
+
2092
2117
  TestRenderEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
2093
2118
  TestRenderEmailTemplateRequest.add_member(:template_data, Shapes::ShapeRef.new(shape: EmailTemplateData, required: true, location_name: "TemplateData"))
2094
2119
  TestRenderEmailTemplateRequest.struct_class = Types::TestRenderEmailTemplateRequest
@@ -3126,6 +3151,7 @@ module Aws::SESV2
3126
3151
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3127
3152
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3128
3153
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
3154
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3129
3155
  o[:pager] = Aws::Pager.new(
3130
3156
  limit_key: "page_size",
3131
3157
  tokens: {
@@ -3416,6 +3442,18 @@ module Aws::SESV2
3416
3442
  o.output = Shapes::ShapeRef.new(shape: PutSuppressedDestinationResponse)
3417
3443
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3418
3444
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3445
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3446
+ end)
3447
+
3448
+ api.add_operation(:put_tenant_suppression_attributes, Seahorse::Model::Operation.new.tap do |o|
3449
+ o.name = "PutTenantSuppressionAttributes"
3450
+ o.http_method = "POST"
3451
+ o.http_request_uri = "/v2/email/tenant/suppression"
3452
+ o.input = Shapes::ShapeRef.new(shape: PutTenantSuppressionAttributesRequest)
3453
+ o.output = Shapes::ShapeRef.new(shape: PutTenantSuppressionAttributesResponse)
3454
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3455
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
3456
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3419
3457
  end)
3420
3458
 
3421
3459
  api.add_operation(:send_bulk_email, Seahorse::Model::Operation.new.tap do |o|
@@ -561,7 +561,7 @@ module Aws::SESV2
561
561
  # * It can only contain ASCII letters (a–z, A–Z), numbers (0–9),
562
562
  # underscores (\_), or dashes (-).
563
563
  #
564
- # * It can contain no more than 256 characters.
564
+ # * It can contain no more than 255 characters.
565
565
  # @return [String]
566
566
  #
567
567
  # @!attribute [rw] dimension_value_source
@@ -581,7 +581,7 @@ module Aws::SESV2
581
581
  # * Can only contain ASCII letters (a–z, A–Z), numbers (0–9),
582
582
  # underscores (\_), or dashes (-), at signs (@), and periods (.).
583
583
  #
584
- # * It can contain no more than 256 characters.
584
+ # * It can contain no more than 255 characters.
585
585
  # @return [String]
586
586
  #
587
587
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CloudWatchDimensionConfiguration AWS API Documentation
@@ -802,7 +802,9 @@ module Aws::SESV2
802
802
  #
803
803
  # @!attribute [rw] suppression_options
804
804
  # An object that contains information about the suppression list
805
- # preferences for your account.
805
+ # preferences for the configuration set. You can optionally include a
806
+ # `SuppressionScope` to override the tenant or account suppression
807
+ # scope for emails sent using this configuration set.
806
808
  # @return [Types::SuppressionOptions]
807
809
  #
808
810
  # @!attribute [rw] vdm_options
@@ -1380,11 +1382,18 @@ module Aws::SESV2
1380
1382
  # associate with the tenant
1381
1383
  # @return [Array<Types::Tag>]
1382
1384
  #
1385
+ # @!attribute [rw] suppression_attributes
1386
+ # An object that contains information about the suppression list
1387
+ # preferences for the tenant. Use this to configure tenant-level
1388
+ # suppression at creation time.
1389
+ # @return [Types::TenantSuppressionAttributes]
1390
+ #
1383
1391
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateTenantRequest AWS API Documentation
1384
1392
  #
1385
1393
  class CreateTenantRequest < Struct.new(
1386
1394
  :tenant_name,
1387
- :tags)
1395
+ :tags,
1396
+ :suppression_attributes)
1388
1397
  SENSITIVE = []
1389
1398
  include Aws::Structure
1390
1399
  end
@@ -1447,6 +1456,11 @@ module Aws::SESV2
1447
1456
  # The status of email sending capability for the tenant.
1448
1457
  # @return [String]
1449
1458
  #
1459
+ # @!attribute [rw] suppression_attributes
1460
+ # An object that contains the suppression list preferences for a
1461
+ # tenant.
1462
+ # @return [Types::TenantSuppressionAttributes]
1463
+ #
1450
1464
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateTenantResponse AWS API Documentation
1451
1465
  #
1452
1466
  class CreateTenantResponse < Struct.new(
@@ -1455,7 +1469,8 @@ module Aws::SESV2
1455
1469
  :tenant_arn,
1456
1470
  :created_timestamp,
1457
1471
  :tags,
1458
- :sending_status)
1472
+ :sending_status,
1473
+ :suppression_attributes)
1459
1474
  SENSITIVE = []
1460
1475
  include Aws::Structure
1461
1476
  end
@@ -1909,17 +1924,24 @@ module Aws::SESV2
1909
1924
  end
1910
1925
 
1911
1926
  # A request to remove an email address from the suppression list for
1912
- # your account.
1927
+ # your account or for a specific tenant.
1913
1928
  #
1914
1929
  # @!attribute [rw] email_address
1915
- # The suppressed email destination to remove from the account
1916
- # suppression list.
1930
+ # The suppressed email destination to remove from the suppression list
1931
+ # for your account or for the specified tenant.
1932
+ # @return [String]
1933
+ #
1934
+ # @!attribute [rw] tenant_name
1935
+ # The name of the tenant whose suppression list you want to remove the
1936
+ # address from. If you omit this parameter, the address is removed
1937
+ # from the account-level suppression list.
1917
1938
  # @return [String]
1918
1939
  #
1919
1940
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestinationRequest AWS API Documentation
1920
1941
  #
1921
1942
  class DeleteSuppressedDestinationRequest < Struct.new(
1922
- :email_address)
1943
+ :email_address,
1944
+ :tenant_name)
1923
1945
  SENSITIVE = []
1924
1946
  include Aws::Structure
1925
1947
  end
@@ -3532,7 +3554,7 @@ module Aws::SESV2
3532
3554
  #
3533
3555
  # @!attribute [rw] suppression_options
3534
3556
  # An object that contains information about the suppression list
3535
- # preferences for your account.
3557
+ # preferences for your account or for a specific tenant.
3536
3558
  # @return [Types::SuppressionOptions]
3537
3559
  #
3538
3560
  # @!attribute [rw] vdm_options
@@ -4572,16 +4594,24 @@ module Aws::SESV2
4572
4594
  end
4573
4595
 
4574
4596
  # A request to retrieve information about an email address that's on
4575
- # the suppression list for your account.
4597
+ # the suppression list for your account or for a specific tenant.
4576
4598
  #
4577
4599
  # @!attribute [rw] email_address
4578
- # The email address that's on the account suppression list.
4600
+ # The email address that's on the suppression list for your account
4601
+ # or for the specified tenant.
4602
+ # @return [String]
4603
+ #
4604
+ # @!attribute [rw] tenant_name
4605
+ # The name of the tenant whose suppression list you want to query. If
4606
+ # you omit this parameter, the operation targets the account-level
4607
+ # suppression list.
4579
4608
  # @return [String]
4580
4609
  #
4581
4610
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestinationRequest AWS API Documentation
4582
4611
  #
4583
4612
  class GetSuppressedDestinationRequest < Struct.new(
4584
- :email_address)
4613
+ :email_address,
4614
+ :tenant_name)
4585
4615
  SENSITIVE = []
4586
4616
  include Aws::Structure
4587
4617
  end
@@ -5802,10 +5832,17 @@ module Aws::SESV2
5802
5832
  end
5803
5833
 
5804
5834
  # A request to obtain a list of email destinations that are on the
5805
- # suppression list for your account.
5835
+ # suppression list for your account or for a specific tenant.
5836
+ #
5837
+ # @!attribute [rw] tenant_name
5838
+ # The name of the tenant whose suppression list you want to retrieve.
5839
+ # If you omit this parameter, the operation targets the account-level
5840
+ # suppression list.
5841
+ # @return [String]
5806
5842
  #
5807
5843
  # @!attribute [rw] reasons
5808
- # The factors that caused the email address to be added to .
5844
+ # The factors that caused the email address to be added to the
5845
+ # suppression list for your account or for a specific tenant.
5809
5846
  # @return [Array<String>]
5810
5847
  #
5811
5848
  # @!attribute [rw] start_date
@@ -5837,6 +5874,7 @@ module Aws::SESV2
5837
5874
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinationsRequest AWS API Documentation
5838
5875
  #
5839
5876
  class ListSuppressedDestinationsRequest < Struct.new(
5877
+ :tenant_name,
5840
5878
  :reasons,
5841
5879
  :start_date,
5842
5880
  :end_date,
@@ -5855,9 +5893,10 @@ module Aws::SESV2
5855
5893
  #
5856
5894
  # @!attribute [rw] next_token
5857
5895
  # A token that indicates that there are additional email addresses on
5858
- # the suppression list for your account. To view additional suppressed
5859
- # addresses, issue another request to `ListSuppressedDestinations`,
5860
- # and pass this token in the `NextToken` parameter.
5896
+ # the suppression list for your account or for the specified tenant.
5897
+ # To view additional suppressed addresses, issue another request to
5898
+ # `ListSuppressedDestinations`, and pass this token in the `NextToken`
5899
+ # parameter.
5861
5900
  # @return [String]
5862
5901
  #
5863
5902
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinationsResponse AWS API Documentation
@@ -6820,26 +6859,37 @@ module Aws::SESV2
6820
6859
  #
6821
6860
  class PutConfigurationSetSendingOptionsResponse < Aws::EmptyStructure; end
6822
6861
 
6823
- # A request to change the account suppression list preferences for a
6824
- # specific configuration set.
6862
+ # A request to change the suppression list preferences for a specific
6863
+ # configuration set.
6825
6864
  #
6826
6865
  # @!attribute [rw] configuration_set_name
6827
6866
  # The name of the configuration set to change the suppression list
6828
6867
  # preferences for.
6829
6868
  # @return [String]
6830
6869
  #
6870
+ # @!attribute [rw] suppression_scope
6871
+ # The suppression scope for the configuration set. This overrides the
6872
+ # tenant or account suppression scope for emails sent using this
6873
+ # configuration set. Can be one of the following:
6874
+ #
6875
+ # * `TENANT` – Use the tenant's suppression list.
6876
+ #
6877
+ # * `ACCOUNT` – Use the account-level suppression list.
6878
+ # @return [String]
6879
+ #
6831
6880
  # @!attribute [rw] suppressed_reasons
6832
6881
  # A list that contains the reasons that email addresses are
6833
- # automatically added to the suppression list for your account. This
6834
- # list can contain any or all of the following:
6882
+ # automatically added to the suppression list for your account or for
6883
+ # a specific tenant. This list can contain any or all of the
6884
+ # following:
6835
6885
  #
6836
6886
  # * `COMPLAINT` – Amazon SES adds an email address to the suppression
6837
- # list for your account when a message sent to that address results
6838
- # in a complaint.
6887
+ # list for your account or for a specific tenant when a message sent
6888
+ # to that address results in a complaint.
6839
6889
  #
6840
6890
  # * `BOUNCE` – Amazon SES adds an email address to the suppression
6841
- # list for your account when a message sent to that address results
6842
- # in a hard bounce.
6891
+ # list for your account or for a specific tenant when a message sent
6892
+ # to that address results in a hard bounce.
6843
6893
  # @return [Array<String>]
6844
6894
  #
6845
6895
  # @!attribute [rw] validation_options
@@ -6852,6 +6902,7 @@ module Aws::SESV2
6852
6902
  #
6853
6903
  class PutConfigurationSetSuppressionOptionsRequest < Struct.new(
6854
6904
  :configuration_set_name,
6905
+ :suppression_scope,
6855
6906
  :suppressed_reasons,
6856
6907
  :validation_options)
6857
6908
  SENSITIVE = []
@@ -7338,23 +7389,30 @@ module Aws::SESV2
7338
7389
  class PutEmailIdentityMailFromAttributesResponse < Aws::EmptyStructure; end
7339
7390
 
7340
7391
  # A request to add an email destination to the suppression list for your
7341
- # account.
7392
+ # account or for a specific tenant.
7342
7393
  #
7343
7394
  # @!attribute [rw] email_address
7344
7395
  # The email address that should be added to the suppression list for
7345
- # your account.
7396
+ # your account or for the specified tenant.
7346
7397
  # @return [String]
7347
7398
  #
7348
7399
  # @!attribute [rw] reason
7349
7400
  # The factors that should cause the email address to be added to the
7350
- # suppression list for your account.
7401
+ # suppression list for your account or for the specified tenant.
7402
+ # @return [String]
7403
+ #
7404
+ # @!attribute [rw] tenant_name
7405
+ # The name of the tenant whose suppression list you want to add the
7406
+ # address to. If you omit this parameter, the address is added to the
7407
+ # account-level suppression list.
7351
7408
  # @return [String]
7352
7409
  #
7353
7410
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestinationRequest AWS API Documentation
7354
7411
  #
7355
7412
  class PutSuppressedDestinationRequest < Struct.new(
7356
7413
  :email_address,
7357
- :reason)
7414
+ :reason,
7415
+ :tenant_name)
7358
7416
  SENSITIVE = []
7359
7417
  include Aws::Structure
7360
7418
  end
@@ -7366,6 +7424,53 @@ module Aws::SESV2
7366
7424
  #
7367
7425
  class PutSuppressedDestinationResponse < Aws::EmptyStructure; end
7368
7426
 
7427
+ # A request to configure the suppression list preferences for a tenant.
7428
+ #
7429
+ # @!attribute [rw] tenant_name
7430
+ # The name of the tenant to configure suppression list preferences
7431
+ # for.
7432
+ # @return [String]
7433
+ #
7434
+ # @!attribute [rw] suppressed_reasons
7435
+ # A list that contains the reasons that email addresses are
7436
+ # automatically added to the suppression list for the tenant. This
7437
+ # list can contain any or all of the following:
7438
+ #
7439
+ # * `COMPLAINT` – Amazon SES adds an email address to the suppression
7440
+ # list when a message sent to that address results in a complaint.
7441
+ #
7442
+ # * `BOUNCE` – Amazon SES adds an email address to the suppression
7443
+ # list when a message sent to that address results in a hard bounce.
7444
+ # @return [Array<String>]
7445
+ #
7446
+ # @!attribute [rw] suppression_scope
7447
+ # The suppression scope for the tenant. Specify `TENANT` to use the
7448
+ # tenant's own suppression list, or `ACCOUNT` to use the
7449
+ # account-level suppression list.
7450
+ #
7451
+ # <note markdown="1"> If you don't specify a suppression scope, the tenant defaults to
7452
+ # `ACCOUNT` scope and uses the account-level suppression list.
7453
+ #
7454
+ # </note>
7455
+ # @return [String]
7456
+ #
7457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutTenantSuppressionAttributesRequest AWS API Documentation
7458
+ #
7459
+ class PutTenantSuppressionAttributesRequest < Struct.new(
7460
+ :tenant_name,
7461
+ :suppressed_reasons,
7462
+ :suppression_scope)
7463
+ SENSITIVE = []
7464
+ include Aws::Structure
7465
+ end
7466
+
7467
+ # If the action is successful, the service sends back an HTTP 200
7468
+ # response with an empty HTTP body.
7469
+ #
7470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutTenantSuppressionAttributesResponse AWS API Documentation
7471
+ #
7472
+ class PutTenantSuppressionAttributesResponse < Aws::EmptyStructure; end
7473
+
7369
7474
  # Represents the raw content of an email message.
7370
7475
  #
7371
7476
  # @!attribute [rw] data
@@ -8134,15 +8239,16 @@ module Aws::SESV2
8134
8239
  end
8135
8240
 
8136
8241
  # An object that contains information about an email address that is on
8137
- # the suppression list for your account.
8242
+ # the suppression list for your account or for a specific tenant.
8138
8243
  #
8139
8244
  # @!attribute [rw] email_address
8140
- # The email address that is on the suppression list for your account.
8245
+ # The email address that is on the suppression list for your account
8246
+ # or for a specific tenant.
8141
8247
  # @return [String]
8142
8248
  #
8143
8249
  # @!attribute [rw] reason
8144
8250
  # The reason that the address was added to the suppression list for
8145
- # your account.
8251
+ # your account or for a specific tenant.
8146
8252
  # @return [String]
8147
8253
  #
8148
8254
  # @!attribute [rw] last_update_time
@@ -8153,31 +8259,40 @@ module Aws::SESV2
8153
8259
  # @!attribute [rw] attributes
8154
8260
  # An optional value that can contain additional information about the
8155
8261
  # reasons that the address was added to the suppression list for your
8156
- # account.
8262
+ # account or for a specific tenant.
8157
8263
  # @return [Types::SuppressedDestinationAttributes]
8158
8264
  #
8265
+ # @!attribute [rw] tenant_name
8266
+ # The name of the tenant that the suppressed destination belongs to.
8267
+ # This field is present only when the suppressed destination is on a
8268
+ # tenant's suppression list.
8269
+ # @return [String]
8270
+ #
8159
8271
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressedDestination AWS API Documentation
8160
8272
  #
8161
8273
  class SuppressedDestination < Struct.new(
8162
8274
  :email_address,
8163
8275
  :reason,
8164
8276
  :last_update_time,
8165
- :attributes)
8277
+ :attributes,
8278
+ :tenant_name)
8166
8279
  SENSITIVE = []
8167
8280
  include Aws::Structure
8168
8281
  end
8169
8282
 
8170
8283
  # An object that contains additional attributes that are related an
8171
- # email address that is on the suppression list for your account.
8284
+ # email address that is on the suppression list for your account or for
8285
+ # a specific tenant.
8172
8286
  #
8173
8287
  # @!attribute [rw] message_id
8174
8288
  # The unique identifier of the email message that caused the email
8175
- # address to be added to the suppression list for your account.
8289
+ # address to be added to the suppression list for your account or for
8290
+ # a specific tenant.
8176
8291
  # @return [String]
8177
8292
  #
8178
8293
  # @!attribute [rw] feedback_id
8179
8294
  # A unique identifier that's generated when an email address is added
8180
- # to the suppression list for your account.
8295
+ # to the suppression list for your account or for a specific tenant.
8181
8296
  # @return [String]
8182
8297
  #
8183
8298
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressedDestinationAttributes AWS API Documentation
@@ -8192,12 +8307,13 @@ module Aws::SESV2
8192
8307
  # A summary that describes the suppressed email address.
8193
8308
  #
8194
8309
  # @!attribute [rw] email_address
8195
- # The email address that's on the suppression list for your account.
8310
+ # The email address that's on the suppression list for your account
8311
+ # or for a specific tenant.
8196
8312
  # @return [String]
8197
8313
  #
8198
8314
  # @!attribute [rw] reason
8199
8315
  # The reason that the address was added to the suppression list for
8200
- # your account.
8316
+ # your account or for a specific tenant.
8201
8317
  # @return [String]
8202
8318
  #
8203
8319
  # @!attribute [rw] last_update_time
@@ -8310,22 +8426,33 @@ module Aws::SESV2
8310
8426
  end
8311
8427
 
8312
8428
  # An object that contains information about the suppression list
8313
- # preferences for your account.
8429
+ # preferences for your account or for a specific tenant.
8314
8430
  #
8315
8431
  # @!attribute [rw] suppressed_reasons
8316
8432
  # A list that contains the reasons that email addresses are
8317
- # automatically added to the suppression list for your account. This
8318
- # list can contain any or all of the following:
8433
+ # automatically added to the suppression list for your account or for
8434
+ # a specific tenant. This list can contain any or all of the
8435
+ # following:
8319
8436
  #
8320
8437
  # * `COMPLAINT` – Amazon SES adds an email address to the suppression
8321
- # list for your account when a message sent to that address results
8322
- # in a complaint.
8438
+ # list for your account or for a specific tenant when a message sent
8439
+ # to that address results in a complaint.
8323
8440
  #
8324
8441
  # * `BOUNCE` – Amazon SES adds an email address to the suppression
8325
- # list for your account when a message sent to that address results
8326
- # in a hard bounce.
8442
+ # list for your account or for a specific tenant when a message sent
8443
+ # to that address results in a hard bounce.
8327
8444
  # @return [Array<String>]
8328
8445
  #
8446
+ # @!attribute [rw] suppression_scope
8447
+ # The suppression scope for the configuration set. This overrides the
8448
+ # tenant or account suppression scope for emails sent using this
8449
+ # configuration set. Can be one of the following:
8450
+ #
8451
+ # * `TENANT` – Use the tenant's suppression list.
8452
+ #
8453
+ # * `ACCOUNT` – Use the account-level suppression list.
8454
+ # @return [String]
8455
+ #
8329
8456
  # @!attribute [rw] validation_options
8330
8457
  # Contains validation options for email address suppression.
8331
8458
  # @return [Types::SuppressionValidationOptions]
@@ -8334,6 +8461,7 @@ module Aws::SESV2
8334
8461
  #
8335
8462
  class SuppressionOptions < Struct.new(
8336
8463
  :suppressed_reasons,
8464
+ :suppression_scope,
8337
8465
  :validation_options)
8338
8466
  SENSITIVE = []
8339
8467
  include Aws::Structure
@@ -8532,6 +8660,11 @@ module Aws::SESV2
8532
8660
  # The status of sending capability for the tenant.
8533
8661
  # @return [String]
8534
8662
  #
8663
+ # @!attribute [rw] suppression_attributes
8664
+ # An object that contains information about the suppression list
8665
+ # preferences for the tenant.
8666
+ # @return [Types::TenantSuppressionAttributes]
8667
+ #
8535
8668
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Tenant AWS API Documentation
8536
8669
  #
8537
8670
  class Tenant < Struct.new(
@@ -8540,7 +8673,8 @@ module Aws::SESV2
8540
8673
  :tenant_arn,
8541
8674
  :created_timestamp,
8542
8675
  :tags,
8543
- :sending_status)
8676
+ :sending_status,
8677
+ :suppression_attributes)
8544
8678
  SENSITIVE = []
8545
8679
  include Aws::Structure
8546
8680
  end
@@ -8596,6 +8730,42 @@ module Aws::SESV2
8596
8730
  include Aws::Structure
8597
8731
  end
8598
8732
 
8733
+ # An object that contains the suppression list preferences for a tenant.
8734
+ #
8735
+ # @!attribute [rw] suppressed_reasons
8736
+ # A list that contains the reasons that email addresses are
8737
+ # automatically added to the suppression list for the tenant. This
8738
+ # list can contain any or all of the following:
8739
+ #
8740
+ # * `COMPLAINT` – Amazon SES adds an email address to the suppression
8741
+ # list when a message sent to that address results in a complaint.
8742
+ #
8743
+ # * `BOUNCE` – Amazon SES adds an email address to the suppression
8744
+ # list when a message sent to that address results in a hard bounce.
8745
+ # @return [Array<String>]
8746
+ #
8747
+ # @!attribute [rw] suppression_scope
8748
+ # The suppression scope for the tenant. Can be one of the following:
8749
+ #
8750
+ # * `TENANT` – The tenant uses its own suppression list.
8751
+ #
8752
+ # * `ACCOUNT` – The tenant uses the account-level suppression list.
8753
+ #
8754
+ # <note markdown="1"> If you don't specify a suppression scope, the tenant defaults to
8755
+ # `ACCOUNT` scope and uses the account-level suppression list.
8756
+ #
8757
+ # </note>
8758
+ # @return [String]
8759
+ #
8760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TenantSuppressionAttributes AWS API Documentation
8761
+ #
8762
+ class TenantSuppressionAttributes < Struct.new(
8763
+ :suppressed_reasons,
8764
+ :suppression_scope)
8765
+ SENSITIVE = []
8766
+ include Aws::Structure
8767
+ end
8768
+
8599
8769
  # &gt;Represents a request to create a preview of the MIME content of an
8600
8770
  # email when provided with a template and a set of replacement data.
8601
8771
  #
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::SESV2
54
54
  autoload :EndpointProvider, 'aws-sdk-sesv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-sesv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.101.0'
57
+ GEM_VERSION = '1.102.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -137,6 +137,7 @@ module Aws
137
137
  ],
138
138
  ?suppression_options: {
139
139
  suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")]?,
140
+ suppression_scope: ("ACCOUNT" | "TENANT")?,
140
141
  validation_options: Params::suppression_validation_options?
141
142
  },
142
143
  ?vdm_options: Params::vdm_options,
@@ -398,6 +399,7 @@ module Aws
398
399
  def created_timestamp: () -> ::Time
399
400
  def tags: () -> ::Array[Types::Tag]
400
401
  def sending_status: () -> ("ENABLED" | "REINSTATED" | "DISABLED")
402
+ def suppression_attributes: () -> Types::TenantSuppressionAttributes
401
403
  end
402
404
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#create_tenant-instance_method
403
405
  def create_tenant: (
@@ -407,7 +409,11 @@ module Aws
407
409
  key: ::String,
408
410
  value: ::String
409
411
  }
410
- ]
412
+ ],
413
+ ?suppression_attributes: {
414
+ suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")]?,
415
+ suppression_scope: ("ACCOUNT" | "TENANT")?
416
+ }
411
417
  ) -> _CreateTenantResponseSuccess
412
418
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTenantResponseSuccess
413
419
 
@@ -520,7 +526,8 @@ module Aws
520
526
  end
521
527
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#delete_suppressed_destination-instance_method
522
528
  def delete_suppressed_destination: (
523
- email_address: ::String
529
+ email_address: ::String,
530
+ ?tenant_name: ::String
524
531
  ) -> _DeleteSuppressedDestinationResponseSuccess
525
532
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSuppressedDestinationResponseSuccess
526
533
 
@@ -862,7 +869,8 @@ module Aws
862
869
  end
863
870
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_suppressed_destination-instance_method
864
871
  def get_suppressed_destination: (
865
- email_address: ::String
872
+ email_address: ::String,
873
+ ?tenant_name: ::String
866
874
  ) -> _GetSuppressedDestinationResponseSuccess
867
875
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSuppressedDestinationResponseSuccess
868
876
 
@@ -1080,6 +1088,7 @@ module Aws
1080
1088
  end
1081
1089
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#list_suppressed_destinations-instance_method
1082
1090
  def list_suppressed_destinations: (
1091
+ ?tenant_name: ::String,
1083
1092
  ?reasons: Array[("BOUNCE" | "COMPLAINT")],
1084
1093
  ?start_date: ::Time,
1085
1094
  ?end_date: ::Time,
@@ -1238,6 +1247,7 @@ module Aws
1238
1247
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_configuration_set_suppression_options-instance_method
1239
1248
  def put_configuration_set_suppression_options: (
1240
1249
  configuration_set_name: ::String,
1250
+ ?suppression_scope: ("ACCOUNT" | "TENANT"),
1241
1251
  ?suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")],
1242
1252
  ?validation_options: Params::suppression_validation_options
1243
1253
  ) -> _PutConfigurationSetSuppressionOptionsResponseSuccess
@@ -1379,10 +1389,22 @@ module Aws
1379
1389
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_suppressed_destination-instance_method
1380
1390
  def put_suppressed_destination: (
1381
1391
  email_address: ::String,
1382
- reason: ("BOUNCE" | "COMPLAINT")
1392
+ reason: ("BOUNCE" | "COMPLAINT"),
1393
+ ?tenant_name: ::String
1383
1394
  ) -> _PutSuppressedDestinationResponseSuccess
1384
1395
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSuppressedDestinationResponseSuccess
1385
1396
 
1397
+ interface _PutTenantSuppressionAttributesResponseSuccess
1398
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutTenantSuppressionAttributesResponse]
1399
+ end
1400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_tenant_suppression_attributes-instance_method
1401
+ def put_tenant_suppression_attributes: (
1402
+ tenant_name: ::String,
1403
+ ?suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")],
1404
+ ?suppression_scope: ("ACCOUNT" | "TENANT")
1405
+ ) -> _PutTenantSuppressionAttributesResponseSuccess
1406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTenantSuppressionAttributesResponseSuccess
1407
+
1386
1408
  interface _SendBulkEmailResponseSuccess
1387
1409
  include ::Seahorse::Client::_ResponseSuccess[Types::SendBulkEmailResponse]
1388
1410
  def bulk_email_entry_results: () -> ::Array[Types::BulkEmailEntryResult]
data/sig/types.rbs CHANGED
@@ -323,6 +323,7 @@ module Aws::SESV2
323
323
  class CreateTenantRequest
324
324
  attr_accessor tenant_name: ::String
325
325
  attr_accessor tags: ::Array[Types::Tag]
326
+ attr_accessor suppression_attributes: Types::TenantSuppressionAttributes
326
327
  SENSITIVE: []
327
328
  end
328
329
 
@@ -342,6 +343,7 @@ module Aws::SESV2
342
343
  attr_accessor created_timestamp: ::Time
343
344
  attr_accessor tags: ::Array[Types::Tag]
344
345
  attr_accessor sending_status: ("ENABLED" | "REINSTATED" | "DISABLED")
346
+ attr_accessor suppression_attributes: Types::TenantSuppressionAttributes
345
347
  SENSITIVE: []
346
348
  end
347
349
 
@@ -472,6 +474,7 @@ module Aws::SESV2
472
474
 
473
475
  class DeleteSuppressedDestinationRequest
474
476
  attr_accessor email_address: ::String
477
+ attr_accessor tenant_name: ::String
475
478
  SENSITIVE: []
476
479
  end
477
480
 
@@ -1006,6 +1009,7 @@ module Aws::SESV2
1006
1009
 
1007
1010
  class GetSuppressedDestinationRequest
1008
1011
  attr_accessor email_address: ::String
1012
+ attr_accessor tenant_name: ::String
1009
1013
  SENSITIVE: []
1010
1014
  end
1011
1015
 
@@ -1302,6 +1306,7 @@ module Aws::SESV2
1302
1306
  end
1303
1307
 
1304
1308
  class ListSuppressedDestinationsRequest
1309
+ attr_accessor tenant_name: ::String
1305
1310
  attr_accessor reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1306
1311
  attr_accessor start_date: ::Time
1307
1312
  attr_accessor end_date: ::Time
@@ -1553,6 +1558,7 @@ module Aws::SESV2
1553
1558
 
1554
1559
  class PutConfigurationSetSuppressionOptionsRequest
1555
1560
  attr_accessor configuration_set_name: ::String
1561
+ attr_accessor suppression_scope: ("ACCOUNT" | "TENANT")
1556
1562
  attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1557
1563
  attr_accessor validation_options: Types::SuppressionValidationOptions
1558
1564
  SENSITIVE: []
@@ -1670,12 +1676,23 @@ module Aws::SESV2
1670
1676
  class PutSuppressedDestinationRequest
1671
1677
  attr_accessor email_address: ::String
1672
1678
  attr_accessor reason: ("BOUNCE" | "COMPLAINT")
1679
+ attr_accessor tenant_name: ::String
1673
1680
  SENSITIVE: []
1674
1681
  end
1675
1682
 
1676
1683
  class PutSuppressedDestinationResponse < Aws::EmptyStructure
1677
1684
  end
1678
1685
 
1686
+ class PutTenantSuppressionAttributesRequest
1687
+ attr_accessor tenant_name: ::String
1688
+ attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1689
+ attr_accessor suppression_scope: ("ACCOUNT" | "TENANT")
1690
+ SENSITIVE: []
1691
+ end
1692
+
1693
+ class PutTenantSuppressionAttributesResponse < Aws::EmptyStructure
1694
+ end
1695
+
1679
1696
  class RawMessage
1680
1697
  attr_accessor data: ::String
1681
1698
  SENSITIVE: []
@@ -1835,6 +1852,7 @@ module Aws::SESV2
1835
1852
  attr_accessor reason: ("BOUNCE" | "COMPLAINT")
1836
1853
  attr_accessor last_update_time: ::Time
1837
1854
  attr_accessor attributes: Types::SuppressedDestinationAttributes
1855
+ attr_accessor tenant_name: ::String
1838
1856
  SENSITIVE: []
1839
1857
  end
1840
1858
 
@@ -1875,6 +1893,7 @@ module Aws::SESV2
1875
1893
 
1876
1894
  class SuppressionOptions
1877
1895
  attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1896
+ attr_accessor suppression_scope: ("ACCOUNT" | "TENANT")
1878
1897
  attr_accessor validation_options: Types::SuppressionValidationOptions
1879
1898
  SENSITIVE: []
1880
1899
  end
@@ -1921,6 +1940,7 @@ module Aws::SESV2
1921
1940
  attr_accessor created_timestamp: ::Time
1922
1941
  attr_accessor tags: ::Array[Types::Tag]
1923
1942
  attr_accessor sending_status: ("ENABLED" | "REINSTATED" | "DISABLED")
1943
+ attr_accessor suppression_attributes: Types::TenantSuppressionAttributes
1924
1944
  SENSITIVE: []
1925
1945
  end
1926
1946
 
@@ -1938,6 +1958,12 @@ module Aws::SESV2
1938
1958
  SENSITIVE: []
1939
1959
  end
1940
1960
 
1961
+ class TenantSuppressionAttributes
1962
+ attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1963
+ attr_accessor suppression_scope: ("ACCOUNT" | "TENANT")
1964
+ SENSITIVE: []
1965
+ end
1966
+
1941
1967
  class TestRenderEmailTemplateRequest
1942
1968
  attr_accessor template_name: ::String
1943
1969
  attr_accessor template_data: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sesv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.101.0
4
+ version: 1.102.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services