aws-sdk-sesv2 1.67.0 → 1.69.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +216 -2
- data/lib/aws-sdk-sesv2/client_api.rb +134 -0
- data/lib/aws-sdk-sesv2/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-sesv2/endpoint_provider.rb +19 -0
- data/lib/aws-sdk-sesv2/endpoints.rb +26 -1
- data/lib/aws-sdk-sesv2/types.rb +320 -1
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +66 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +78 -1
- metadata +4 -4
@@ -14,6 +14,25 @@ module Aws::SESV2
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
+
endpoint_id = parameters.endpoint_id
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint_id) && Aws::Endpoints::Matchers.set?(region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
19
|
+
if Aws::Endpoints::Matchers.valid_host_label?(endpoint_id, true)
|
20
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false)
|
21
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
22
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"ses", "signingRegionSet"=>["*"]}]})
|
23
|
+
end
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
25
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoints.email.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"ses", "signingRegionSet"=>["*"]}]})
|
27
|
+
end
|
28
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
29
|
+
end
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoints.email.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"ses", "signingRegionSet"=>["*"]}]})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "Invalid Configuration: FIPS is not supported with multi-region endpoints"
|
33
|
+
end
|
34
|
+
raise ArgumentError, "EndpointId must be a valid host label"
|
35
|
+
end
|
17
36
|
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
37
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
38
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
@@ -12,9 +12,34 @@ module Aws::SESV2
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class SendBulkEmail
|
16
|
+
def self.build(context)
|
17
|
+
Aws::SESV2::EndpointParameters.create(
|
18
|
+
context.config,
|
19
|
+
endpoint_id: context.params[:endpoint_id],
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
class SendEmail
|
25
|
+
def self.build(context)
|
26
|
+
Aws::SESV2::EndpointParameters.create(
|
27
|
+
context.config,
|
28
|
+
endpoint_id: context.params[:endpoint_id],
|
29
|
+
)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
15
33
|
|
16
34
|
def self.parameters_for_operation(context)
|
17
|
-
|
35
|
+
case context.operation_name
|
36
|
+
when :send_bulk_email
|
37
|
+
SendBulkEmail.build(context)
|
38
|
+
when :send_email
|
39
|
+
SendEmail.build(context)
|
40
|
+
else
|
41
|
+
Aws::SESV2::EndpointParameters.create(context.config)
|
42
|
+
end
|
18
43
|
end
|
19
44
|
end
|
20
45
|
end
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -1210,6 +1210,62 @@ module Aws::SESV2
|
|
1210
1210
|
include Aws::Structure
|
1211
1211
|
end
|
1212
1212
|
|
1213
|
+
# Represents a request to create a multi-region endpoint
|
1214
|
+
# (global-endpoint).
|
1215
|
+
#
|
1216
|
+
# @!attribute [rw] endpoint_name
|
1217
|
+
# The name of the multi-region endpoint (global-endpoint).
|
1218
|
+
# @return [String]
|
1219
|
+
#
|
1220
|
+
# @!attribute [rw] details
|
1221
|
+
# Contains details of a multi-region endpoint (global-endpoint) being
|
1222
|
+
# created.
|
1223
|
+
# @return [Types::Details]
|
1224
|
+
#
|
1225
|
+
# @!attribute [rw] tags
|
1226
|
+
# An array of objects that define the tags (keys and values) to
|
1227
|
+
# associate with the multi-region endpoint (global-endpoint).
|
1228
|
+
# @return [Array<Types::Tag>]
|
1229
|
+
#
|
1230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateMultiRegionEndpointRequest AWS API Documentation
|
1231
|
+
#
|
1232
|
+
class CreateMultiRegionEndpointRequest < Struct.new(
|
1233
|
+
:endpoint_name,
|
1234
|
+
:details,
|
1235
|
+
:tags)
|
1236
|
+
SENSITIVE = []
|
1237
|
+
include Aws::Structure
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
1241
|
+
# the request fails.
|
1242
|
+
#
|
1243
|
+
# @!attribute [rw] status
|
1244
|
+
# A status of the multi-region endpoint (global-endpoint) right after
|
1245
|
+
# the create request.
|
1246
|
+
#
|
1247
|
+
# * `CREATING` – The resource is being provisioned.
|
1248
|
+
#
|
1249
|
+
# * `READY` – The resource is ready to use.
|
1250
|
+
#
|
1251
|
+
# * `FAILED` – The resource failed to be provisioned.
|
1252
|
+
#
|
1253
|
+
# * `DELETING` – The resource is being deleted as requested.
|
1254
|
+
# @return [String]
|
1255
|
+
#
|
1256
|
+
# @!attribute [rw] endpoint_id
|
1257
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
1258
|
+
# @return [String]
|
1259
|
+
#
|
1260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateMultiRegionEndpointResponse AWS API Documentation
|
1261
|
+
#
|
1262
|
+
class CreateMultiRegionEndpointResponse < Struct.new(
|
1263
|
+
:status,
|
1264
|
+
:endpoint_id)
|
1265
|
+
SENSITIVE = []
|
1266
|
+
include Aws::Structure
|
1267
|
+
end
|
1268
|
+
|
1213
1269
|
# Contains information about a custom verification email template.
|
1214
1270
|
#
|
1215
1271
|
# @!attribute [rw] template_name
|
@@ -1607,6 +1663,46 @@ module Aws::SESV2
|
|
1607
1663
|
#
|
1608
1664
|
class DeleteEmailTemplateResponse < Aws::EmptyStructure; end
|
1609
1665
|
|
1666
|
+
# Represents a request to delete a multi-region endpoint
|
1667
|
+
# (global-endpoint).
|
1668
|
+
#
|
1669
|
+
# @!attribute [rw] endpoint_name
|
1670
|
+
# The name of the multi-region endpoint (global-endpoint) to be
|
1671
|
+
# deleted.
|
1672
|
+
# @return [String]
|
1673
|
+
#
|
1674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteMultiRegionEndpointRequest AWS API Documentation
|
1675
|
+
#
|
1676
|
+
class DeleteMultiRegionEndpointRequest < Struct.new(
|
1677
|
+
:endpoint_name)
|
1678
|
+
SENSITIVE = []
|
1679
|
+
include Aws::Structure
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
1683
|
+
# the request fails.
|
1684
|
+
#
|
1685
|
+
# @!attribute [rw] status
|
1686
|
+
# A status of the multi-region endpoint (global-endpoint) right after
|
1687
|
+
# the delete request.
|
1688
|
+
#
|
1689
|
+
# * `CREATING` – The resource is being provisioned.
|
1690
|
+
#
|
1691
|
+
# * `READY` – The resource is ready to use.
|
1692
|
+
#
|
1693
|
+
# * `FAILED` – The resource failed to be provisioned.
|
1694
|
+
#
|
1695
|
+
# * `DELETING` – The resource is being deleted as requested.
|
1696
|
+
# @return [String]
|
1697
|
+
#
|
1698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteMultiRegionEndpointResponse AWS API Documentation
|
1699
|
+
#
|
1700
|
+
class DeleteMultiRegionEndpointResponse < Struct.new(
|
1701
|
+
:status)
|
1702
|
+
SENSITIVE = []
|
1703
|
+
include Aws::Structure
|
1704
|
+
end
|
1705
|
+
|
1610
1706
|
# A request to remove an email address from the suppression list for
|
1611
1707
|
# your account.
|
1612
1708
|
#
|
@@ -1753,6 +1849,22 @@ module Aws::SESV2
|
|
1753
1849
|
include Aws::Structure
|
1754
1850
|
end
|
1755
1851
|
|
1852
|
+
# An object that contains configuration details of multi-region endpoint
|
1853
|
+
# (global-endpoint).
|
1854
|
+
#
|
1855
|
+
# @!attribute [rw] routes_details
|
1856
|
+
# A list of route configuration details. Must contain exactly one
|
1857
|
+
# route configuration.
|
1858
|
+
# @return [Array<Types::RouteDetails>]
|
1859
|
+
#
|
1860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Details AWS API Documentation
|
1861
|
+
#
|
1862
|
+
class Details < Struct.new(
|
1863
|
+
:routes_details)
|
1864
|
+
SENSITIVE = []
|
1865
|
+
include Aws::Structure
|
1866
|
+
end
|
1867
|
+
|
1756
1868
|
# An object that contains information about the DKIM authentication
|
1757
1869
|
# status for an email identity.
|
1758
1870
|
#
|
@@ -3934,6 +4046,72 @@ module Aws::SESV2
|
|
3934
4046
|
include Aws::Structure
|
3935
4047
|
end
|
3936
4048
|
|
4049
|
+
# Represents a request to display the multi-region endpoint
|
4050
|
+
# (global-endpoint).
|
4051
|
+
#
|
4052
|
+
# @!attribute [rw] endpoint_name
|
4053
|
+
# The name of the multi-region endpoint (global-endpoint).
|
4054
|
+
# @return [String]
|
4055
|
+
#
|
4056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetMultiRegionEndpointRequest AWS API Documentation
|
4057
|
+
#
|
4058
|
+
class GetMultiRegionEndpointRequest < Struct.new(
|
4059
|
+
:endpoint_name)
|
4060
|
+
SENSITIVE = []
|
4061
|
+
include Aws::Structure
|
4062
|
+
end
|
4063
|
+
|
4064
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
4065
|
+
# the request fails.
|
4066
|
+
#
|
4067
|
+
# @!attribute [rw] endpoint_name
|
4068
|
+
# The name of the multi-region endpoint (global-endpoint).
|
4069
|
+
# @return [String]
|
4070
|
+
#
|
4071
|
+
# @!attribute [rw] endpoint_id
|
4072
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
4073
|
+
# @return [String]
|
4074
|
+
#
|
4075
|
+
# @!attribute [rw] routes
|
4076
|
+
# Contains routes information for the multi-region endpoint
|
4077
|
+
# (global-endpoint).
|
4078
|
+
# @return [Array<Types::Route>]
|
4079
|
+
#
|
4080
|
+
# @!attribute [rw] status
|
4081
|
+
# The status of the multi-region endpoint (global-endpoint).
|
4082
|
+
#
|
4083
|
+
# * `CREATING` – The resource is being provisioned.
|
4084
|
+
#
|
4085
|
+
# * `READY` – The resource is ready to use.
|
4086
|
+
#
|
4087
|
+
# * `FAILED` – The resource failed to be provisioned.
|
4088
|
+
#
|
4089
|
+
# * `DELETING` – The resource is being deleted as requested.
|
4090
|
+
# @return [String]
|
4091
|
+
#
|
4092
|
+
# @!attribute [rw] created_timestamp
|
4093
|
+
# The time stamp of when the multi-region endpoint (global-endpoint)
|
4094
|
+
# was created.
|
4095
|
+
# @return [Time]
|
4096
|
+
#
|
4097
|
+
# @!attribute [rw] last_updated_timestamp
|
4098
|
+
# The time stamp of when the multi-region endpoint (global-endpoint)
|
4099
|
+
# was last updated.
|
4100
|
+
# @return [Time]
|
4101
|
+
#
|
4102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetMultiRegionEndpointResponse AWS API Documentation
|
4103
|
+
#
|
4104
|
+
class GetMultiRegionEndpointResponse < Struct.new(
|
4105
|
+
:endpoint_name,
|
4106
|
+
:endpoint_id,
|
4107
|
+
:routes,
|
4108
|
+
:status,
|
4109
|
+
:created_timestamp,
|
4110
|
+
:last_updated_timestamp)
|
4111
|
+
SENSITIVE = []
|
4112
|
+
include Aws::Structure
|
4113
|
+
end
|
4114
|
+
|
3937
4115
|
# A request to retrieve information about an email address that's on
|
3938
4116
|
# the suppression list for your account.
|
3939
4117
|
#
|
@@ -4920,6 +5098,56 @@ module Aws::SESV2
|
|
4920
5098
|
include Aws::Structure
|
4921
5099
|
end
|
4922
5100
|
|
5101
|
+
# Represents a request to list all the multi-region endpoints
|
5102
|
+
# (global-endpoints) whose primary region is the AWS-Region where
|
5103
|
+
# operation is executed.
|
5104
|
+
#
|
5105
|
+
# @!attribute [rw] next_token
|
5106
|
+
# A token returned from a previous call to `ListMultiRegionEndpoints`
|
5107
|
+
# to indicate the position in the list of multi-region endpoints
|
5108
|
+
# (global-endpoints).
|
5109
|
+
# @return [String]
|
5110
|
+
#
|
5111
|
+
# @!attribute [rw] page_size
|
5112
|
+
# The number of results to show in a single call to
|
5113
|
+
# `ListMultiRegionEndpoints`. If the number of results is larger than
|
5114
|
+
# the number you specified in this parameter, the response includes a
|
5115
|
+
# `NextToken` element that you can use to retrieve the next page of
|
5116
|
+
# results.
|
5117
|
+
# @return [Integer]
|
5118
|
+
#
|
5119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListMultiRegionEndpointsRequest AWS API Documentation
|
5120
|
+
#
|
5121
|
+
class ListMultiRegionEndpointsRequest < Struct.new(
|
5122
|
+
:next_token,
|
5123
|
+
:page_size)
|
5124
|
+
SENSITIVE = []
|
5125
|
+
include Aws::Structure
|
5126
|
+
end
|
5127
|
+
|
5128
|
+
# The following elements are returned by the service.
|
5129
|
+
#
|
5130
|
+
# @!attribute [rw] multi_region_endpoints
|
5131
|
+
# An array that contains key multi-region endpoint (global-endpoint)
|
5132
|
+
# properties.
|
5133
|
+
# @return [Array<Types::MultiRegionEndpoint>]
|
5134
|
+
#
|
5135
|
+
# @!attribute [rw] next_token
|
5136
|
+
# A token indicating that there are additional multi-region endpoints
|
5137
|
+
# (global-endpoints) available to be listed. Pass this token to a
|
5138
|
+
# subsequent `ListMultiRegionEndpoints` call to retrieve the next
|
5139
|
+
# page.
|
5140
|
+
# @return [String]
|
5141
|
+
#
|
5142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListMultiRegionEndpointsResponse AWS API Documentation
|
5143
|
+
#
|
5144
|
+
class ListMultiRegionEndpointsResponse < Struct.new(
|
5145
|
+
:multi_region_endpoints,
|
5146
|
+
:next_token)
|
5147
|
+
SENSITIVE = []
|
5148
|
+
include Aws::Structure
|
5149
|
+
end
|
5150
|
+
|
4923
5151
|
# Represents a request to list the existing recommendations for your
|
4924
5152
|
# account.
|
4925
5153
|
#
|
@@ -5418,6 +5646,57 @@ module Aws::SESV2
|
|
5418
5646
|
include Aws::Structure
|
5419
5647
|
end
|
5420
5648
|
|
5649
|
+
# An object that contains multi-region endpoint (global-endpoint)
|
5650
|
+
# properties.
|
5651
|
+
#
|
5652
|
+
# @!attribute [rw] endpoint_name
|
5653
|
+
# The name of the multi-region endpoint (global-endpoint).
|
5654
|
+
# @return [String]
|
5655
|
+
#
|
5656
|
+
# @!attribute [rw] status
|
5657
|
+
# The status of the multi-region endpoint (global-endpoint).
|
5658
|
+
#
|
5659
|
+
# * `CREATING` – The resource is being provisioned.
|
5660
|
+
#
|
5661
|
+
# * `READY` – The resource is ready to use.
|
5662
|
+
#
|
5663
|
+
# * `FAILED` – The resource failed to be provisioned.
|
5664
|
+
#
|
5665
|
+
# * `DELETING` – The resource is being deleted as requested.
|
5666
|
+
# @return [String]
|
5667
|
+
#
|
5668
|
+
# @!attribute [rw] endpoint_id
|
5669
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
5670
|
+
# @return [String]
|
5671
|
+
#
|
5672
|
+
# @!attribute [rw] regions
|
5673
|
+
# Primary and secondary regions between which multi-region endpoint
|
5674
|
+
# splits sending traffic.
|
5675
|
+
# @return [Array<String>]
|
5676
|
+
#
|
5677
|
+
# @!attribute [rw] created_timestamp
|
5678
|
+
# The time stamp of when the multi-region endpoint (global-endpoint)
|
5679
|
+
# was created.
|
5680
|
+
# @return [Time]
|
5681
|
+
#
|
5682
|
+
# @!attribute [rw] last_updated_timestamp
|
5683
|
+
# The time stamp of when the multi-region endpoint (global-endpoint)
|
5684
|
+
# was last updated.
|
5685
|
+
# @return [Time]
|
5686
|
+
#
|
5687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/MultiRegionEndpoint AWS API Documentation
|
5688
|
+
#
|
5689
|
+
class MultiRegionEndpoint < Struct.new(
|
5690
|
+
:endpoint_name,
|
5691
|
+
:status,
|
5692
|
+
:endpoint_id,
|
5693
|
+
:regions,
|
5694
|
+
:created_timestamp,
|
5695
|
+
:last_updated_timestamp)
|
5696
|
+
SENSITIVE = []
|
5697
|
+
include Aws::Structure
|
5698
|
+
end
|
5699
|
+
|
5421
5700
|
# The resource you attempted to access doesn't exist.
|
5422
5701
|
#
|
5423
5702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/NotFoundException AWS API Documentation
|
@@ -6480,6 +6759,36 @@ module Aws::SESV2
|
|
6480
6759
|
include Aws::Structure
|
6481
6760
|
end
|
6482
6761
|
|
6762
|
+
# An object which contains an AWS-Region and routing status.
|
6763
|
+
#
|
6764
|
+
# @!attribute [rw] region
|
6765
|
+
# The name of an AWS-Region.
|
6766
|
+
# @return [String]
|
6767
|
+
#
|
6768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Route AWS API Documentation
|
6769
|
+
#
|
6770
|
+
class Route < Struct.new(
|
6771
|
+
:region)
|
6772
|
+
SENSITIVE = []
|
6773
|
+
include Aws::Structure
|
6774
|
+
end
|
6775
|
+
|
6776
|
+
# An object that contains route configuration. Includes secondary region
|
6777
|
+
# name.
|
6778
|
+
#
|
6779
|
+
# @!attribute [rw] region
|
6780
|
+
# The name of an AWS-Region to be a secondary region for the
|
6781
|
+
# multi-region endpoint (global-endpoint).
|
6782
|
+
# @return [String]
|
6783
|
+
#
|
6784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/RouteDetails AWS API Documentation
|
6785
|
+
#
|
6786
|
+
class RouteDetails < Struct.new(
|
6787
|
+
:region)
|
6788
|
+
SENSITIVE = []
|
6789
|
+
include Aws::Structure
|
6790
|
+
end
|
6791
|
+
|
6483
6792
|
# An object that contains information about the start of authority (SOA)
|
6484
6793
|
# record associated with the identity.
|
6485
6794
|
#
|
@@ -6590,6 +6899,10 @@ module Aws::SESV2
|
|
6590
6899
|
# The name of the configuration set to use when sending the email.
|
6591
6900
|
# @return [String]
|
6592
6901
|
#
|
6902
|
+
# @!attribute [rw] endpoint_id
|
6903
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
6904
|
+
# @return [String]
|
6905
|
+
#
|
6593
6906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmailRequest AWS API Documentation
|
6594
6907
|
#
|
6595
6908
|
class SendBulkEmailRequest < Struct.new(
|
@@ -6601,7 +6914,8 @@ module Aws::SESV2
|
|
6601
6914
|
:default_email_tags,
|
6602
6915
|
:default_content,
|
6603
6916
|
:bulk_email_entries,
|
6604
|
-
:configuration_set_name
|
6917
|
+
:configuration_set_name,
|
6918
|
+
:endpoint_id)
|
6605
6919
|
SENSITIVE = []
|
6606
6920
|
include Aws::Structure
|
6607
6921
|
end
|
@@ -6751,6 +7065,10 @@ module Aws::SESV2
|
|
6751
7065
|
# The name of the configuration set to use when sending the email.
|
6752
7066
|
# @return [String]
|
6753
7067
|
#
|
7068
|
+
# @!attribute [rw] endpoint_id
|
7069
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
7070
|
+
# @return [String]
|
7071
|
+
#
|
6754
7072
|
# @!attribute [rw] list_management_options
|
6755
7073
|
# An object used to specify a list or topic to which an email belongs,
|
6756
7074
|
# which will be used when a contact chooses to unsubscribe.
|
@@ -6768,6 +7086,7 @@ module Aws::SESV2
|
|
6768
7086
|
:content,
|
6769
7087
|
:email_tags,
|
6770
7088
|
:configuration_set_name,
|
7089
|
+
:endpoint_id,
|
6771
7090
|
:list_management_options)
|
6772
7091
|
SENSITIVE = []
|
6773
7092
|
include Aws::Structure
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -435,6 +437,30 @@ module Aws
|
|
435
437
|
) -> _CreateImportJobResponseSuccess
|
436
438
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateImportJobResponseSuccess
|
437
439
|
|
440
|
+
interface _CreateMultiRegionEndpointResponseSuccess
|
441
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultiRegionEndpointResponse]
|
442
|
+
def status: () -> ("CREATING" | "READY" | "FAILED" | "DELETING")
|
443
|
+
def endpoint_id: () -> ::String
|
444
|
+
end
|
445
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#create_multi_region_endpoint-instance_method
|
446
|
+
def create_multi_region_endpoint: (
|
447
|
+
endpoint_name: ::String,
|
448
|
+
details: {
|
449
|
+
routes_details: Array[
|
450
|
+
{
|
451
|
+
region: ::String
|
452
|
+
},
|
453
|
+
]
|
454
|
+
},
|
455
|
+
?tags: Array[
|
456
|
+
{
|
457
|
+
key: ::String,
|
458
|
+
value: ::String
|
459
|
+
},
|
460
|
+
]
|
461
|
+
) -> _CreateMultiRegionEndpointResponseSuccess
|
462
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultiRegionEndpointResponseSuccess
|
463
|
+
|
438
464
|
interface _DeleteConfigurationSetResponseSuccess
|
439
465
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConfigurationSetResponse]
|
440
466
|
end
|
@@ -519,6 +545,16 @@ module Aws
|
|
519
545
|
) -> _DeleteEmailTemplateResponseSuccess
|
520
546
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEmailTemplateResponseSuccess
|
521
547
|
|
548
|
+
interface _DeleteMultiRegionEndpointResponseSuccess
|
549
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMultiRegionEndpointResponse]
|
550
|
+
def status: () -> ("CREATING" | "READY" | "FAILED" | "DELETING")
|
551
|
+
end
|
552
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#delete_multi_region_endpoint-instance_method
|
553
|
+
def delete_multi_region_endpoint: (
|
554
|
+
endpoint_name: ::String
|
555
|
+
) -> _DeleteMultiRegionEndpointResponseSuccess
|
556
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMultiRegionEndpointResponseSuccess
|
557
|
+
|
522
558
|
interface _DeleteSuppressedDestinationResponseSuccess
|
523
559
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSuppressedDestinationResponse]
|
524
560
|
end
|
@@ -802,6 +838,21 @@ module Aws
|
|
802
838
|
) -> _GetMessageInsightsResponseSuccess
|
803
839
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMessageInsightsResponseSuccess
|
804
840
|
|
841
|
+
interface _GetMultiRegionEndpointResponseSuccess
|
842
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMultiRegionEndpointResponse]
|
843
|
+
def endpoint_name: () -> ::String
|
844
|
+
def endpoint_id: () -> ::String
|
845
|
+
def routes: () -> ::Array[Types::Route]
|
846
|
+
def status: () -> ("CREATING" | "READY" | "FAILED" | "DELETING")
|
847
|
+
def created_timestamp: () -> ::Time
|
848
|
+
def last_updated_timestamp: () -> ::Time
|
849
|
+
end
|
850
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_multi_region_endpoint-instance_method
|
851
|
+
def get_multi_region_endpoint: (
|
852
|
+
endpoint_name: ::String
|
853
|
+
) -> _GetMultiRegionEndpointResponseSuccess
|
854
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMultiRegionEndpointResponseSuccess
|
855
|
+
|
805
856
|
interface _GetSuppressedDestinationResponseSuccess
|
806
857
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSuppressedDestinationResponse]
|
807
858
|
def suppressed_destination: () -> Types::SuppressedDestination
|
@@ -958,6 +1009,18 @@ module Aws
|
|
958
1009
|
) -> _ListImportJobsResponseSuccess
|
959
1010
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportJobsResponseSuccess
|
960
1011
|
|
1012
|
+
interface _ListMultiRegionEndpointsResponseSuccess
|
1013
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMultiRegionEndpointsResponse]
|
1014
|
+
def multi_region_endpoints: () -> ::Array[Types::MultiRegionEndpoint]
|
1015
|
+
def next_token: () -> ::String
|
1016
|
+
end
|
1017
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#list_multi_region_endpoints-instance_method
|
1018
|
+
def list_multi_region_endpoints: (
|
1019
|
+
?next_token: ::String,
|
1020
|
+
?page_size: ::Integer
|
1021
|
+
) -> _ListMultiRegionEndpointsResponseSuccess
|
1022
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMultiRegionEndpointsResponseSuccess
|
1023
|
+
|
961
1024
|
interface _ListRecommendationsResponseSuccess
|
962
1025
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResponse]
|
963
1026
|
def recommendations: () -> ::Array[Types::Recommendation]
|
@@ -1303,7 +1366,8 @@ module Aws
|
|
1303
1366
|
]?
|
1304
1367
|
},
|
1305
1368
|
],
|
1306
|
-
?configuration_set_name: ::String
|
1369
|
+
?configuration_set_name: ::String,
|
1370
|
+
?endpoint_id: ::String
|
1307
1371
|
) -> _SendBulkEmailResponseSuccess
|
1308
1372
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendBulkEmailResponseSuccess
|
1309
1373
|
|
@@ -1385,6 +1449,7 @@ module Aws
|
|
1385
1449
|
},
|
1386
1450
|
],
|
1387
1451
|
?configuration_set_name: ::String,
|
1452
|
+
?endpoint_id: ::String,
|
1388
1453
|
?list_management_options: {
|
1389
1454
|
contact_list_name: ::String,
|
1390
1455
|
topic_name: ::String?
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|