aws-sdk-sesv2 1.80.0 → 1.82.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.
@@ -95,8 +95,8 @@ module Aws::SESV2
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials used for authentication. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,8 +124,7 @@ module Aws::SESV2
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
131
130
  #
@@ -139,12 +138,10 @@ module Aws::SESV2
139
138
  #
140
139
  # * `~/.aws/config`
141
140
  #
142
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
143
- # are very aggressive. Construct and pass an instance of
144
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
145
- # enable retries and extended timeouts. Instance profile credential
146
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
- # to `true`.
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
148
145
  #
149
146
  # @option options [required, String] :region
150
147
  # The AWS region to connect to. The configured `:region` is
@@ -377,8 +374,8 @@ module Aws::SESV2
377
374
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
378
375
  #
379
376
  # @option options [Aws::TokenProvider] :token_provider
380
- # Your Bearer token used for authentication. This can be an instance of any one of the
381
- # following classes:
377
+ # Your Bearer token used for authentication. This can be any class that includes and implements
378
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
382
379
  #
383
380
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
384
381
  # tokens.
@@ -1495,6 +1492,100 @@ module Aws::SESV2
1495
1492
  req.send_request(options)
1496
1493
  end
1497
1494
 
1495
+ # Create a tenant.
1496
+ #
1497
+ # *Tenants* are logical containers that group related SES resources
1498
+ # together. Each tenant can have its own set of resources like email
1499
+ # identities, configuration sets, and templates, along with reputation
1500
+ # metrics and sending status. This helps isolate and manage email
1501
+ # sending for different customers or business units within your Amazon
1502
+ # SES API v2 account.
1503
+ #
1504
+ # @option params [required, String] :tenant_name
1505
+ # The name of the tenant to create. The name can contain up to 64
1506
+ # alphanumeric characters, including letters, numbers, hyphens (-) and
1507
+ # underscores (\_) only.
1508
+ #
1509
+ # @option params [Array<Types::Tag>] :tags
1510
+ # An array of objects that define the tags (keys and values) to
1511
+ # associate with the tenant
1512
+ #
1513
+ # @return [Types::CreateTenantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1514
+ #
1515
+ # * {Types::CreateTenantResponse#tenant_name #tenant_name} => String
1516
+ # * {Types::CreateTenantResponse#tenant_id #tenant_id} => String
1517
+ # * {Types::CreateTenantResponse#tenant_arn #tenant_arn} => String
1518
+ # * {Types::CreateTenantResponse#created_timestamp #created_timestamp} => Time
1519
+ # * {Types::CreateTenantResponse#tags #tags} => Array&lt;Types::Tag&gt;
1520
+ # * {Types::CreateTenantResponse#sending_status #sending_status} => String
1521
+ #
1522
+ # @example Request syntax with placeholder values
1523
+ #
1524
+ # resp = client.create_tenant({
1525
+ # tenant_name: "TenantName", # required
1526
+ # tags: [
1527
+ # {
1528
+ # key: "TagKey", # required
1529
+ # value: "TagValue", # required
1530
+ # },
1531
+ # ],
1532
+ # })
1533
+ #
1534
+ # @example Response structure
1535
+ #
1536
+ # resp.tenant_name #=> String
1537
+ # resp.tenant_id #=> String
1538
+ # resp.tenant_arn #=> String
1539
+ # resp.created_timestamp #=> Time
1540
+ # resp.tags #=> Array
1541
+ # resp.tags[0].key #=> String
1542
+ # resp.tags[0].value #=> String
1543
+ # resp.sending_status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
1544
+ #
1545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateTenant AWS API Documentation
1546
+ #
1547
+ # @overload create_tenant(params = {})
1548
+ # @param [Hash] params ({})
1549
+ def create_tenant(params = {}, options = {})
1550
+ req = build_request(:create_tenant, params)
1551
+ req.send_request(options)
1552
+ end
1553
+
1554
+ # Associate a resource with a tenant.
1555
+ #
1556
+ # *Resources* can be email identities, configuration sets, or email
1557
+ # templates. When you associate a resource with a tenant, you can use
1558
+ # that resource when sending emails on behalf of that tenant.
1559
+ #
1560
+ # A single resource can be associated with multiple tenants, allowing
1561
+ # for resource sharing across different tenants while maintaining
1562
+ # isolation in email sending operations.
1563
+ #
1564
+ # @option params [required, String] :tenant_name
1565
+ # The name of the tenant to associate the resource with.
1566
+ #
1567
+ # @option params [required, String] :resource_arn
1568
+ # The Amazon Resource Name (ARN) of the resource to associate with the
1569
+ # tenant.
1570
+ #
1571
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1572
+ #
1573
+ # @example Request syntax with placeholder values
1574
+ #
1575
+ # resp = client.create_tenant_resource_association({
1576
+ # tenant_name: "TenantName", # required
1577
+ # resource_arn: "AmazonResourceName", # required
1578
+ # })
1579
+ #
1580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateTenantResourceAssociation AWS API Documentation
1581
+ #
1582
+ # @overload create_tenant_resource_association(params = {})
1583
+ # @param [Hash] params ({})
1584
+ def create_tenant_resource_association(params = {}, options = {})
1585
+ req = build_request(:create_tenant_resource_association, params)
1586
+ req.send_request(options)
1587
+ end
1588
+
1498
1589
  # Delete an existing configuration set.
1499
1590
  #
1500
1591
  # *Configuration sets* are groups of rules that you can apply to the
@@ -1806,6 +1897,63 @@ module Aws::SESV2
1806
1897
  req.send_request(options)
1807
1898
  end
1808
1899
 
1900
+ # Delete an existing tenant.
1901
+ #
1902
+ # When you delete a tenant, its associations with resources are removed,
1903
+ # but the resources themselves are not deleted.
1904
+ #
1905
+ # @option params [required, String] :tenant_name
1906
+ # The name of the tenant to delete.
1907
+ #
1908
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1909
+ #
1910
+ # @example Request syntax with placeholder values
1911
+ #
1912
+ # resp = client.delete_tenant({
1913
+ # tenant_name: "TenantName", # required
1914
+ # })
1915
+ #
1916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteTenant AWS API Documentation
1917
+ #
1918
+ # @overload delete_tenant(params = {})
1919
+ # @param [Hash] params ({})
1920
+ def delete_tenant(params = {}, options = {})
1921
+ req = build_request(:delete_tenant, params)
1922
+ req.send_request(options)
1923
+ end
1924
+
1925
+ # Delete an association between a tenant and a resource.
1926
+ #
1927
+ # When you delete a tenant-resource association, the resource itself is
1928
+ # not deleted, only its association with the specific tenant is removed.
1929
+ # After removal, the resource will no longer be available for use with
1930
+ # that tenant's email sending operations.
1931
+ #
1932
+ # @option params [required, String] :tenant_name
1933
+ # The name of the tenant to remove the resource association from.
1934
+ #
1935
+ # @option params [required, String] :resource_arn
1936
+ # The Amazon Resource Name (ARN) of the resource to remove from the
1937
+ # tenant association.
1938
+ #
1939
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1940
+ #
1941
+ # @example Request syntax with placeholder values
1942
+ #
1943
+ # resp = client.delete_tenant_resource_association({
1944
+ # tenant_name: "TenantName", # required
1945
+ # resource_arn: "AmazonResourceName", # required
1946
+ # })
1947
+ #
1948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteTenantResourceAssociation AWS API Documentation
1949
+ #
1950
+ # @overload delete_tenant_resource_association(params = {})
1951
+ # @param [Hash] params ({})
1952
+ def delete_tenant_resource_association(params = {}, options = {})
1953
+ req = build_request(:delete_tenant_resource_association, params)
1954
+ req.send_request(options)
1955
+ end
1956
+
1809
1957
  # Obtain information about the email-sending status and capabilities of
1810
1958
  # your Amazon SES account in the current Amazon Web Services Region.
1811
1959
  #
@@ -2947,6 +3095,58 @@ module Aws::SESV2
2947
3095
  req.send_request(options)
2948
3096
  end
2949
3097
 
3098
+ # Retrieve information about a specific reputation entity, including its
3099
+ # reputation management policy, customer-managed status, Amazon Web
3100
+ # Services Amazon SES-managed status, and aggregate sending status.
3101
+ #
3102
+ # *Reputation entities* represent resources in your Amazon SES account
3103
+ # that have reputation tracking and management capabilities. The
3104
+ # reputation impact reflects the highest impact reputation finding for
3105
+ # the entity. Reputation findings can be retrieved using the
3106
+ # `ListRecommendations` operation.
3107
+ #
3108
+ # @option params [required, String] :reputation_entity_reference
3109
+ # The unique identifier for the reputation entity. For resource-type
3110
+ # entities, this is the Amazon Resource Name (ARN) of the resource.
3111
+ #
3112
+ # @option params [required, String] :reputation_entity_type
3113
+ # The type of reputation entity. Currently, only `RESOURCE` type
3114
+ # entities are supported.
3115
+ #
3116
+ # @return [Types::GetReputationEntityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3117
+ #
3118
+ # * {Types::GetReputationEntityResponse#reputation_entity #reputation_entity} => Types::ReputationEntity
3119
+ #
3120
+ # @example Request syntax with placeholder values
3121
+ #
3122
+ # resp = client.get_reputation_entity({
3123
+ # reputation_entity_reference: "ReputationEntityReference", # required
3124
+ # reputation_entity_type: "RESOURCE", # required, accepts RESOURCE
3125
+ # })
3126
+ #
3127
+ # @example Response structure
3128
+ #
3129
+ # resp.reputation_entity.reputation_entity_reference #=> String
3130
+ # resp.reputation_entity.reputation_entity_type #=> String, one of "RESOURCE"
3131
+ # resp.reputation_entity.reputation_management_policy #=> String
3132
+ # resp.reputation_entity.customer_managed_status.status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
3133
+ # resp.reputation_entity.customer_managed_status.cause #=> String
3134
+ # resp.reputation_entity.customer_managed_status.last_updated_timestamp #=> Time
3135
+ # resp.reputation_entity.aws_ses_managed_status.status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
3136
+ # resp.reputation_entity.aws_ses_managed_status.cause #=> String
3137
+ # resp.reputation_entity.aws_ses_managed_status.last_updated_timestamp #=> Time
3138
+ # resp.reputation_entity.sending_status_aggregate #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
3139
+ # resp.reputation_entity.reputation_impact #=> String, one of "LOW", "HIGH"
3140
+ #
3141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetReputationEntity AWS API Documentation
3142
+ #
3143
+ # @overload get_reputation_entity(params = {})
3144
+ # @param [Hash] params ({})
3145
+ def get_reputation_entity(params = {}, options = {})
3146
+ req = build_request(:get_reputation_entity, params)
3147
+ req.send_request(options)
3148
+ end
3149
+
2950
3150
  # Retrieves information about a specific email address that's on the
2951
3151
  # suppression list for your account.
2952
3152
  #
@@ -2980,6 +3180,42 @@ module Aws::SESV2
2980
3180
  req.send_request(options)
2981
3181
  end
2982
3182
 
3183
+ # Get information about a specific tenant, including the tenant's name,
3184
+ # ID, ARN, creation timestamp, tags, and sending status.
3185
+ #
3186
+ # @option params [required, String] :tenant_name
3187
+ # The name of the tenant to retrieve information about.
3188
+ #
3189
+ # @return [Types::GetTenantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3190
+ #
3191
+ # * {Types::GetTenantResponse#tenant #tenant} => Types::Tenant
3192
+ #
3193
+ # @example Request syntax with placeholder values
3194
+ #
3195
+ # resp = client.get_tenant({
3196
+ # tenant_name: "TenantName", # required
3197
+ # })
3198
+ #
3199
+ # @example Response structure
3200
+ #
3201
+ # resp.tenant.tenant_name #=> String
3202
+ # resp.tenant.tenant_id #=> String
3203
+ # resp.tenant.tenant_arn #=> String
3204
+ # resp.tenant.created_timestamp #=> Time
3205
+ # resp.tenant.tags #=> Array
3206
+ # resp.tenant.tags[0].key #=> String
3207
+ # resp.tenant.tags[0].value #=> String
3208
+ # resp.tenant.sending_status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
3209
+ #
3210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetTenant AWS API Documentation
3211
+ #
3212
+ # @overload get_tenant(params = {})
3213
+ # @param [Hash] params ({})
3214
+ def get_tenant(params = {}, options = {})
3215
+ req = build_request(:get_tenant, params)
3216
+ req.send_request(options)
3217
+ end
3218
+
2983
3219
  # List all of the configuration sets associated with your account in the
2984
3220
  # current region.
2985
3221
  #
@@ -3705,7 +3941,7 @@ module Aws::SESV2
3705
3941
  #
3706
3942
  # resp.recommendations #=> Array
3707
3943
  # resp.recommendations[0].resource_arn #=> String
3708
- # resp.recommendations[0].type #=> String, one of "DKIM", "DMARC", "SPF", "BIMI", "COMPLAINT"
3944
+ # resp.recommendations[0].type #=> String, one of "DKIM", "DMARC", "SPF", "BIMI", "COMPLAINT", "BOUNCE", "FEEDBACK_3P", "IP_LISTING"
3709
3945
  # resp.recommendations[0].description #=> String
3710
3946
  # resp.recommendations[0].status #=> String, one of "OPEN", "FIXED"
3711
3947
  # resp.recommendations[0].created_timestamp #=> Time
@@ -3722,6 +3958,125 @@ module Aws::SESV2
3722
3958
  req.send_request(options)
3723
3959
  end
3724
3960
 
3961
+ # List reputation entities in your Amazon SES account in the current
3962
+ # Amazon Web Services Region. You can filter the results by entity type,
3963
+ # reputation impact, sending status, or entity reference prefix.
3964
+ #
3965
+ # *Reputation entities* represent resources in your account that have
3966
+ # reputation tracking and management capabilities. Use this operation to
3967
+ # get an overview of all entities and their current reputation status.
3968
+ #
3969
+ # @option params [Hash<String,String>] :filter
3970
+ # An object that contains filters to apply when listing reputation
3971
+ # entities. You can filter by entity type, reputation impact, sending
3972
+ # status, or entity reference prefix.
3973
+ #
3974
+ # @option params [String] :next_token
3975
+ # A token returned from a previous call to `ListReputationEntities` to
3976
+ # indicate the position in the list of reputation entities.
3977
+ #
3978
+ # @option params [Integer] :page_size
3979
+ # The number of results to show in a single call to
3980
+ # `ListReputationEntities`. If the number of results is larger than the
3981
+ # number you specified in this parameter, then the response includes a
3982
+ # `NextToken` element, which you can use to obtain additional results.
3983
+ #
3984
+ # @return [Types::ListReputationEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3985
+ #
3986
+ # * {Types::ListReputationEntitiesResponse#reputation_entities #reputation_entities} => Array&lt;Types::ReputationEntity&gt;
3987
+ # * {Types::ListReputationEntitiesResponse#next_token #next_token} => String
3988
+ #
3989
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3990
+ #
3991
+ # @example Request syntax with placeholder values
3992
+ #
3993
+ # resp = client.list_reputation_entities({
3994
+ # filter: {
3995
+ # "ENTITY_TYPE" => "ReputationEntityFilterValue",
3996
+ # },
3997
+ # next_token: "NextToken",
3998
+ # page_size: 1,
3999
+ # })
4000
+ #
4001
+ # @example Response structure
4002
+ #
4003
+ # resp.reputation_entities #=> Array
4004
+ # resp.reputation_entities[0].reputation_entity_reference #=> String
4005
+ # resp.reputation_entities[0].reputation_entity_type #=> String, one of "RESOURCE"
4006
+ # resp.reputation_entities[0].reputation_management_policy #=> String
4007
+ # resp.reputation_entities[0].customer_managed_status.status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
4008
+ # resp.reputation_entities[0].customer_managed_status.cause #=> String
4009
+ # resp.reputation_entities[0].customer_managed_status.last_updated_timestamp #=> Time
4010
+ # resp.reputation_entities[0].aws_ses_managed_status.status #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
4011
+ # resp.reputation_entities[0].aws_ses_managed_status.cause #=> String
4012
+ # resp.reputation_entities[0].aws_ses_managed_status.last_updated_timestamp #=> Time
4013
+ # resp.reputation_entities[0].sending_status_aggregate #=> String, one of "ENABLED", "REINSTATED", "DISABLED"
4014
+ # resp.reputation_entities[0].reputation_impact #=> String, one of "LOW", "HIGH"
4015
+ # resp.next_token #=> String
4016
+ #
4017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListReputationEntities AWS API Documentation
4018
+ #
4019
+ # @overload list_reputation_entities(params = {})
4020
+ # @param [Hash] params ({})
4021
+ def list_reputation_entities(params = {}, options = {})
4022
+ req = build_request(:list_reputation_entities, params)
4023
+ req.send_request(options)
4024
+ end
4025
+
4026
+ # List all tenants associated with a specific resource.
4027
+ #
4028
+ # This operation returns a list of tenants that are associated with the
4029
+ # specified resource. This is useful for understanding which tenants are
4030
+ # currently using a particular resource such as an email identity,
4031
+ # configuration set, or email template.
4032
+ #
4033
+ # @option params [required, String] :resource_arn
4034
+ # The Amazon Resource Name (ARN) of the resource to list associated
4035
+ # tenants for.
4036
+ #
4037
+ # @option params [Integer] :page_size
4038
+ # The number of results to show in a single call to
4039
+ # `ListResourceTenants`. If the number of results is larger than the
4040
+ # number you specified in this parameter, then the response includes a
4041
+ # `NextToken` element, which you can use to obtain additional results.
4042
+ #
4043
+ # @option params [String] :next_token
4044
+ # A token returned from a previous call to `ListResourceTenants` to
4045
+ # indicate the position in the list of resource tenants.
4046
+ #
4047
+ # @return [Types::ListResourceTenantsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4048
+ #
4049
+ # * {Types::ListResourceTenantsResponse#resource_tenants #resource_tenants} => Array&lt;Types::ResourceTenantMetadata&gt;
4050
+ # * {Types::ListResourceTenantsResponse#next_token #next_token} => String
4051
+ #
4052
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4053
+ #
4054
+ # @example Request syntax with placeholder values
4055
+ #
4056
+ # resp = client.list_resource_tenants({
4057
+ # resource_arn: "AmazonResourceName", # required
4058
+ # page_size: 1,
4059
+ # next_token: "NextToken",
4060
+ # })
4061
+ #
4062
+ # @example Response structure
4063
+ #
4064
+ # resp.resource_tenants #=> Array
4065
+ # resp.resource_tenants[0].tenant_name #=> String
4066
+ # resp.resource_tenants[0].tenant_id #=> String
4067
+ # resp.resource_tenants[0].resource_arn #=> String
4068
+ # resp.resource_tenants[0].associated_timestamp #=> Time
4069
+ # resp.next_token #=> String
4070
+ #
4071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListResourceTenants AWS API Documentation
4072
+ #
4073
+ # @overload list_resource_tenants(params = {})
4074
+ # @param [Hash] params ({})
4075
+ def list_resource_tenants(params = {}, options = {})
4076
+ req = build_request(:list_resource_tenants, params)
4077
+ req.send_request(options)
4078
+ end
4079
+
3725
4080
  # Retrieves a list of email addresses that are on the suppression list
3726
4081
  # for your account.
3727
4082
  #
@@ -3818,6 +4173,113 @@ module Aws::SESV2
3818
4173
  req.send_request(options)
3819
4174
  end
3820
4175
 
4176
+ # List all resources associated with a specific tenant.
4177
+ #
4178
+ # This operation returns a list of resources (email identities,
4179
+ # configuration sets, or email templates) that are associated with the
4180
+ # specified tenant. You can optionally filter the results by resource
4181
+ # type.
4182
+ #
4183
+ # @option params [required, String] :tenant_name
4184
+ # The name of the tenant to list resources for.
4185
+ #
4186
+ # @option params [Hash<String,String>] :filter
4187
+ # A map of filter keys and values for filtering the list of tenant
4188
+ # resources. Currently, the only supported filter key is
4189
+ # `RESOURCE_TYPE`.
4190
+ #
4191
+ # @option params [Integer] :page_size
4192
+ # The number of results to show in a single call to
4193
+ # `ListTenantResources`. If the number of results is larger than the
4194
+ # number you specified in this parameter, then the response includes a
4195
+ # `NextToken` element, which you can use to obtain additional results.
4196
+ #
4197
+ # @option params [String] :next_token
4198
+ # A token returned from a previous call to `ListTenantResources` to
4199
+ # indicate the position in the list of tenant resources.
4200
+ #
4201
+ # @return [Types::ListTenantResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4202
+ #
4203
+ # * {Types::ListTenantResourcesResponse#tenant_resources #tenant_resources} => Array&lt;Types::TenantResource&gt;
4204
+ # * {Types::ListTenantResourcesResponse#next_token #next_token} => String
4205
+ #
4206
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4207
+ #
4208
+ # @example Request syntax with placeholder values
4209
+ #
4210
+ # resp = client.list_tenant_resources({
4211
+ # tenant_name: "TenantName", # required
4212
+ # filter: {
4213
+ # "RESOURCE_TYPE" => "ListTenantResourcesFilterValue",
4214
+ # },
4215
+ # page_size: 1,
4216
+ # next_token: "NextToken",
4217
+ # })
4218
+ #
4219
+ # @example Response structure
4220
+ #
4221
+ # resp.tenant_resources #=> Array
4222
+ # resp.tenant_resources[0].resource_type #=> String, one of "EMAIL_IDENTITY", "CONFIGURATION_SET", "EMAIL_TEMPLATE"
4223
+ # resp.tenant_resources[0].resource_arn #=> String
4224
+ # resp.next_token #=> String
4225
+ #
4226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListTenantResources AWS API Documentation
4227
+ #
4228
+ # @overload list_tenant_resources(params = {})
4229
+ # @param [Hash] params ({})
4230
+ def list_tenant_resources(params = {}, options = {})
4231
+ req = build_request(:list_tenant_resources, params)
4232
+ req.send_request(options)
4233
+ end
4234
+
4235
+ # List all tenants associated with your account in the current Amazon
4236
+ # Web Services Region.
4237
+ #
4238
+ # This operation returns basic information about each tenant, such as
4239
+ # tenant name, ID, ARN, and creation timestamp.
4240
+ #
4241
+ # @option params [String] :next_token
4242
+ # A token returned from a previous call to `ListTenants` to indicate the
4243
+ # position in the list of tenants.
4244
+ #
4245
+ # @option params [Integer] :page_size
4246
+ # The number of results to show in a single call to `ListTenants`. If
4247
+ # the number of results is larger than the number you specified in this
4248
+ # parameter, then the response includes a `NextToken` element, which you
4249
+ # can use to obtain additional results.
4250
+ #
4251
+ # @return [Types::ListTenantsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4252
+ #
4253
+ # * {Types::ListTenantsResponse#tenants #tenants} => Array&lt;Types::TenantInfo&gt;
4254
+ # * {Types::ListTenantsResponse#next_token #next_token} => String
4255
+ #
4256
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4257
+ #
4258
+ # @example Request syntax with placeholder values
4259
+ #
4260
+ # resp = client.list_tenants({
4261
+ # next_token: "NextToken",
4262
+ # page_size: 1,
4263
+ # })
4264
+ #
4265
+ # @example Response structure
4266
+ #
4267
+ # resp.tenants #=> Array
4268
+ # resp.tenants[0].tenant_name #=> String
4269
+ # resp.tenants[0].tenant_id #=> String
4270
+ # resp.tenants[0].tenant_arn #=> String
4271
+ # resp.tenants[0].created_timestamp #=> Time
4272
+ # resp.next_token #=> String
4273
+ #
4274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListTenants AWS API Documentation
4275
+ #
4276
+ # @overload list_tenants(params = {})
4277
+ # @param [Hash] params ({})
4278
+ def list_tenants(params = {}, options = {})
4279
+ req = build_request(:list_tenants, params)
4280
+ req.send_request(options)
4281
+ end
4282
+
3821
4283
  # Enable or disable the automatic warm-up feature for dedicated IP
3822
4284
  # addresses.
3823
4285
  #
@@ -4743,6 +5205,15 @@ module Aws::SESV2
4743
5205
  # @option params [String] :endpoint_id
4744
5206
  # The ID of the multi-region endpoint (global-endpoint).
4745
5207
  #
5208
+ # @option params [String] :tenant_name
5209
+ # The name of the tenant through which this bulk email will be sent.
5210
+ #
5211
+ # <note markdown="1"> The email sending operation will only succeed if all referenced
5212
+ # resources (identities, configuration sets, and templates) are
5213
+ # associated with this tenant.
5214
+ #
5215
+ # </note>
5216
+ #
4746
5217
  # @return [Types::SendBulkEmailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4747
5218
  #
4748
5219
  # * {Types::SendBulkEmailResponse#bulk_email_entry_results #bulk_email_entry_results} => Array&lt;Types::BulkEmailEntryResult&gt;
@@ -4818,6 +5289,7 @@ module Aws::SESV2
4818
5289
  # ],
4819
5290
  # configuration_set_name: "ConfigurationSetName",
4820
5291
  # endpoint_id: "EndpointId",
5292
+ # tenant_name: "TenantName",
4821
5293
  # })
4822
5294
  #
4823
5295
  # @example Response structure
@@ -4980,6 +5452,15 @@ module Aws::SESV2
4980
5452
  # @option params [String] :endpoint_id
4981
5453
  # The ID of the multi-region endpoint (global-endpoint).
4982
5454
  #
5455
+ # @option params [String] :tenant_name
5456
+ # The name of the tenant through which this email will be sent.
5457
+ #
5458
+ # <note markdown="1"> The email sending operation will only succeed if all referenced
5459
+ # resources (identities, configuration sets, and templates) are
5460
+ # associated with this tenant.
5461
+ #
5462
+ # </note>
5463
+ #
4983
5464
  # @option params [Types::ListManagementOptions] :list_management_options
4984
5465
  # An object used to specify a list or topic to which an email belongs,
4985
5466
  # which will be used when a contact chooses to unsubscribe.
@@ -5074,6 +5555,7 @@ module Aws::SESV2
5074
5555
  # ],
5075
5556
  # configuration_set_name: "ConfigurationSetName",
5076
5557
  # endpoint_id: "EndpointId",
5558
+ # tenant_name: "TenantName",
5077
5559
  # list_management_options: {
5078
5560
  # contact_list_name: "ContactListName", # required
5079
5561
  # topic_name: "TopicName",
@@ -5520,6 +6002,100 @@ module Aws::SESV2
5520
6002
  req.send_request(options)
5521
6003
  end
5522
6004
 
6005
+ # Update the customer-managed sending status for a reputation entity.
6006
+ # This allows you to enable, disable, or reinstate sending for the
6007
+ # entity.
6008
+ #
6009
+ # The customer-managed status works in conjunction with the Amazon Web
6010
+ # Services Amazon SES-managed status to determine the overall sending
6011
+ # capability. When you update the customer-managed status, the Amazon
6012
+ # Web Services Amazon SES-managed status remains unchanged. If Amazon
6013
+ # Web Services Amazon SES has disabled the entity, it will not be
6014
+ # allowed to send regardless of the customer-managed status setting.
6015
+ # When you reinstate an entity through the customer-managed status, it
6016
+ # can continue sending only if the Amazon Web Services Amazon
6017
+ # SES-managed status also permits sending, even if there are active
6018
+ # reputation findings, until the findings are resolved or new violations
6019
+ # occur.
6020
+ #
6021
+ # @option params [required, String] :reputation_entity_type
6022
+ # The type of reputation entity. Currently, only `RESOURCE` type
6023
+ # entities are supported.
6024
+ #
6025
+ # @option params [required, String] :reputation_entity_reference
6026
+ # The unique identifier for the reputation entity. For resource-type
6027
+ # entities, this is the Amazon Resource Name (ARN) of the resource.
6028
+ #
6029
+ # @option params [required, String] :sending_status
6030
+ # The new customer-managed sending status for the reputation entity.
6031
+ # This can be one of the following:
6032
+ #
6033
+ # * `ENABLED` – Allow sending for this entity.
6034
+ #
6035
+ # * `DISABLED` – Prevent sending for this entity.
6036
+ #
6037
+ # * `REINSTATED` – Allow sending even if there are active reputation
6038
+ # findings.
6039
+ #
6040
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6041
+ #
6042
+ # @example Request syntax with placeholder values
6043
+ #
6044
+ # resp = client.update_reputation_entity_customer_managed_status({
6045
+ # reputation_entity_type: "RESOURCE", # required, accepts RESOURCE
6046
+ # reputation_entity_reference: "ReputationEntityReference", # required
6047
+ # sending_status: "ENABLED", # required, accepts ENABLED, REINSTATED, DISABLED
6048
+ # })
6049
+ #
6050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateReputationEntityCustomerManagedStatus AWS API Documentation
6051
+ #
6052
+ # @overload update_reputation_entity_customer_managed_status(params = {})
6053
+ # @param [Hash] params ({})
6054
+ def update_reputation_entity_customer_managed_status(params = {}, options = {})
6055
+ req = build_request(:update_reputation_entity_customer_managed_status, params)
6056
+ req.send_request(options)
6057
+ end
6058
+
6059
+ # Update the reputation management policy for a reputation entity. The
6060
+ # policy determines how the entity responds to reputation findings, such
6061
+ # as automatically pausing sending when certain thresholds are exceeded.
6062
+ #
6063
+ # Reputation management policies are Amazon Web Services Amazon
6064
+ # SES-managed (predefined policies). You can select from none, standard,
6065
+ # and strict policies.
6066
+ #
6067
+ # @option params [required, String] :reputation_entity_type
6068
+ # The type of reputation entity. Currently, only `RESOURCE` type
6069
+ # entities are supported.
6070
+ #
6071
+ # @option params [required, String] :reputation_entity_reference
6072
+ # The unique identifier for the reputation entity. For resource-type
6073
+ # entities, this is the Amazon Resource Name (ARN) of the resource.
6074
+ #
6075
+ # @option params [required, String] :reputation_entity_policy
6076
+ # The Amazon Resource Name (ARN) of the reputation management policy to
6077
+ # apply to this entity. This is an Amazon Web Services Amazon
6078
+ # SES-managed policy.
6079
+ #
6080
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6081
+ #
6082
+ # @example Request syntax with placeholder values
6083
+ #
6084
+ # resp = client.update_reputation_entity_policy({
6085
+ # reputation_entity_type: "RESOURCE", # required, accepts RESOURCE
6086
+ # reputation_entity_reference: "ReputationEntityReference", # required
6087
+ # reputation_entity_policy: "AmazonResourceName", # required
6088
+ # })
6089
+ #
6090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateReputationEntityPolicy AWS API Documentation
6091
+ #
6092
+ # @overload update_reputation_entity_policy(params = {})
6093
+ # @param [Hash] params ({})
6094
+ def update_reputation_entity_policy(params = {}, options = {})
6095
+ req = build_request(:update_reputation_entity_policy, params)
6096
+ req.send_request(options)
6097
+ end
6098
+
5523
6099
  # @!endgroup
5524
6100
 
5525
6101
  # @param params ({})
@@ -5538,7 +6114,7 @@ module Aws::SESV2
5538
6114
  tracer: tracer
5539
6115
  )
5540
6116
  context[:gem_name] = 'aws-sdk-sesv2'
5541
- context[:gem_version] = '1.80.0'
6117
+ context[:gem_version] = '1.82.0'
5542
6118
  Seahorse::Client::Request.new(handlers, context)
5543
6119
  end
5544
6120