aws-sdk-sesv2 1.67.0 → 1.68.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +192 -1
- 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 +64 -1
- data/sig/types.rbs +77 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89fdd4e7e071c2e63882e7ceaf90a11ab1bc6c51846216a6ef4a242e708df934
|
4
|
+
data.tar.gz: e8c71a4fb7af9344dc11e6fe5d0a7efe9303dcecd68fa8e8b38116a9947497ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aebe07489ac7a6675e18e6f4ae1dc14b5318ec73587ebc8345e1971472cb665a03cba2d96b5754789424d2a90a805f0a65f752faa1a4e8527a373e0de4d17319
|
7
|
+
data.tar.gz: 6dd5e1cb41ddcae4817d87ec1b962c45a146dae0672d2b1ac89f3f30d681e3f1e20a371883d2a5bc1a64aa0e5ead40cf20664ef79cc3b037241c8e8b79ae25ec
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -1376,6 +1376,64 @@ module Aws::SESV2
|
|
1376
1376
|
req.send_request(options)
|
1377
1377
|
end
|
1378
1378
|
|
1379
|
+
# Creates a multi-region endpoint (global-endpoint).
|
1380
|
+
#
|
1381
|
+
# The primary region is going to be the AWS-Region where the operation
|
1382
|
+
# is executed. The secondary region has to be provided in request's
|
1383
|
+
# parameters. From the data flow standpoint there is no difference
|
1384
|
+
# between primary and secondary regions - sending traffic will be split
|
1385
|
+
# equally between the two. The primary region is the region where the
|
1386
|
+
# resource has been created and where it can be managed.
|
1387
|
+
#
|
1388
|
+
# @option params [required, String] :endpoint_name
|
1389
|
+
# The name of the multi-region endpoint (global-endpoint).
|
1390
|
+
#
|
1391
|
+
# @option params [required, Types::Details] :details
|
1392
|
+
# Contains details of a multi-region endpoint (global-endpoint) being
|
1393
|
+
# created.
|
1394
|
+
#
|
1395
|
+
# @option params [Array<Types::Tag>] :tags
|
1396
|
+
# An array of objects that define the tags (keys and values) to
|
1397
|
+
# associate with the multi-region endpoint (global-endpoint).
|
1398
|
+
#
|
1399
|
+
# @return [Types::CreateMultiRegionEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1400
|
+
#
|
1401
|
+
# * {Types::CreateMultiRegionEndpointResponse#status #status} => String
|
1402
|
+
# * {Types::CreateMultiRegionEndpointResponse#endpoint_id #endpoint_id} => String
|
1403
|
+
#
|
1404
|
+
# @example Request syntax with placeholder values
|
1405
|
+
#
|
1406
|
+
# resp = client.create_multi_region_endpoint({
|
1407
|
+
# endpoint_name: "EndpointName", # required
|
1408
|
+
# details: { # required
|
1409
|
+
# routes_details: [ # required
|
1410
|
+
# {
|
1411
|
+
# region: "Region", # required
|
1412
|
+
# },
|
1413
|
+
# ],
|
1414
|
+
# },
|
1415
|
+
# tags: [
|
1416
|
+
# {
|
1417
|
+
# key: "TagKey", # required
|
1418
|
+
# value: "TagValue", # required
|
1419
|
+
# },
|
1420
|
+
# ],
|
1421
|
+
# })
|
1422
|
+
#
|
1423
|
+
# @example Response structure
|
1424
|
+
#
|
1425
|
+
# resp.status #=> String, one of "CREATING", "READY", "FAILED", "DELETING"
|
1426
|
+
# resp.endpoint_id #=> String
|
1427
|
+
#
|
1428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateMultiRegionEndpoint AWS API Documentation
|
1429
|
+
#
|
1430
|
+
# @overload create_multi_region_endpoint(params = {})
|
1431
|
+
# @param [Hash] params ({})
|
1432
|
+
def create_multi_region_endpoint(params = {}, options = {})
|
1433
|
+
req = build_request(:create_multi_region_endpoint, params)
|
1434
|
+
req.send_request(options)
|
1435
|
+
end
|
1436
|
+
|
1379
1437
|
# Delete an existing configuration set.
|
1380
1438
|
#
|
1381
1439
|
# *Configuration sets* are groups of rules that you can apply to the
|
@@ -1633,6 +1691,37 @@ module Aws::SESV2
|
|
1633
1691
|
req.send_request(options)
|
1634
1692
|
end
|
1635
1693
|
|
1694
|
+
# Deletes a multi-region endpoint (global-endpoint).
|
1695
|
+
#
|
1696
|
+
# Only multi-region endpoints (global-endpoints) whose primary region is
|
1697
|
+
# the AWS-Region where operation is executed can be deleted.
|
1698
|
+
#
|
1699
|
+
# @option params [required, String] :endpoint_name
|
1700
|
+
# The name of the multi-region endpoint (global-endpoint) to be deleted.
|
1701
|
+
#
|
1702
|
+
# @return [Types::DeleteMultiRegionEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1703
|
+
#
|
1704
|
+
# * {Types::DeleteMultiRegionEndpointResponse#status #status} => String
|
1705
|
+
#
|
1706
|
+
# @example Request syntax with placeholder values
|
1707
|
+
#
|
1708
|
+
# resp = client.delete_multi_region_endpoint({
|
1709
|
+
# endpoint_name: "EndpointName", # required
|
1710
|
+
# })
|
1711
|
+
#
|
1712
|
+
# @example Response structure
|
1713
|
+
#
|
1714
|
+
# resp.status #=> String, one of "CREATING", "READY", "FAILED", "DELETING"
|
1715
|
+
#
|
1716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteMultiRegionEndpoint AWS API Documentation
|
1717
|
+
#
|
1718
|
+
# @overload delete_multi_region_endpoint(params = {})
|
1719
|
+
# @param [Hash] params ({})
|
1720
|
+
def delete_multi_region_endpoint(params = {}, options = {})
|
1721
|
+
req = build_request(:delete_multi_region_endpoint, params)
|
1722
|
+
req.send_request(options)
|
1723
|
+
end
|
1724
|
+
|
1636
1725
|
# Removes an email address from the suppression list for your account.
|
1637
1726
|
#
|
1638
1727
|
# @option params [required, String] :email_address
|
@@ -2753,6 +2842,48 @@ module Aws::SESV2
|
|
2753
2842
|
req.send_request(options)
|
2754
2843
|
end
|
2755
2844
|
|
2845
|
+
# Displays the multi-region endpoint (global-endpoint) configuration.
|
2846
|
+
#
|
2847
|
+
# Only multi-region endpoints (global-endpoints) whose primary region is
|
2848
|
+
# the AWS-Region where operation is executed can be displayed.
|
2849
|
+
#
|
2850
|
+
# @option params [required, String] :endpoint_name
|
2851
|
+
# The name of the multi-region endpoint (global-endpoint).
|
2852
|
+
#
|
2853
|
+
# @return [Types::GetMultiRegionEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2854
|
+
#
|
2855
|
+
# * {Types::GetMultiRegionEndpointResponse#endpoint_name #endpoint_name} => String
|
2856
|
+
# * {Types::GetMultiRegionEndpointResponse#endpoint_id #endpoint_id} => String
|
2857
|
+
# * {Types::GetMultiRegionEndpointResponse#routes #routes} => Array<Types::Route>
|
2858
|
+
# * {Types::GetMultiRegionEndpointResponse#status #status} => String
|
2859
|
+
# * {Types::GetMultiRegionEndpointResponse#created_timestamp #created_timestamp} => Time
|
2860
|
+
# * {Types::GetMultiRegionEndpointResponse#last_updated_timestamp #last_updated_timestamp} => Time
|
2861
|
+
#
|
2862
|
+
# @example Request syntax with placeholder values
|
2863
|
+
#
|
2864
|
+
# resp = client.get_multi_region_endpoint({
|
2865
|
+
# endpoint_name: "EndpointName", # required
|
2866
|
+
# })
|
2867
|
+
#
|
2868
|
+
# @example Response structure
|
2869
|
+
#
|
2870
|
+
# resp.endpoint_name #=> String
|
2871
|
+
# resp.endpoint_id #=> String
|
2872
|
+
# resp.routes #=> Array
|
2873
|
+
# resp.routes[0].region #=> String
|
2874
|
+
# resp.status #=> String, one of "CREATING", "READY", "FAILED", "DELETING"
|
2875
|
+
# resp.created_timestamp #=> Time
|
2876
|
+
# resp.last_updated_timestamp #=> Time
|
2877
|
+
#
|
2878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetMultiRegionEndpoint AWS API Documentation
|
2879
|
+
#
|
2880
|
+
# @overload get_multi_region_endpoint(params = {})
|
2881
|
+
# @param [Hash] params ({})
|
2882
|
+
def get_multi_region_endpoint(params = {}, options = {})
|
2883
|
+
req = build_request(:get_multi_region_endpoint, params)
|
2884
|
+
req.send_request(options)
|
2885
|
+
end
|
2886
|
+
|
2756
2887
|
# Retrieves information about a specific email address that's on the
|
2757
2888
|
# suppression list for your account.
|
2758
2889
|
#
|
@@ -3411,6 +3542,58 @@ module Aws::SESV2
|
|
3411
3542
|
req.send_request(options)
|
3412
3543
|
end
|
3413
3544
|
|
3545
|
+
# List the multi-region endpoints (global-endpoints).
|
3546
|
+
#
|
3547
|
+
# Only multi-region endpoints (global-endpoints) whose primary region is
|
3548
|
+
# the AWS-Region where operation is executed will be listed.
|
3549
|
+
#
|
3550
|
+
# @option params [String] :next_token
|
3551
|
+
# A token returned from a previous call to `ListMultiRegionEndpoints` to
|
3552
|
+
# indicate the position in the list of multi-region endpoints
|
3553
|
+
# (global-endpoints).
|
3554
|
+
#
|
3555
|
+
# @option params [Integer] :page_size
|
3556
|
+
# The number of results to show in a single call to
|
3557
|
+
# `ListMultiRegionEndpoints`. If the number of results is larger than
|
3558
|
+
# the number you specified in this parameter, the response includes a
|
3559
|
+
# `NextToken` element that you can use to retrieve the next page of
|
3560
|
+
# results.
|
3561
|
+
#
|
3562
|
+
# @return [Types::ListMultiRegionEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3563
|
+
#
|
3564
|
+
# * {Types::ListMultiRegionEndpointsResponse#multi_region_endpoints #multi_region_endpoints} => Array<Types::MultiRegionEndpoint>
|
3565
|
+
# * {Types::ListMultiRegionEndpointsResponse#next_token #next_token} => String
|
3566
|
+
#
|
3567
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3568
|
+
#
|
3569
|
+
# @example Request syntax with placeholder values
|
3570
|
+
#
|
3571
|
+
# resp = client.list_multi_region_endpoints({
|
3572
|
+
# next_token: "NextTokenV2",
|
3573
|
+
# page_size: 1,
|
3574
|
+
# })
|
3575
|
+
#
|
3576
|
+
# @example Response structure
|
3577
|
+
#
|
3578
|
+
# resp.multi_region_endpoints #=> Array
|
3579
|
+
# resp.multi_region_endpoints[0].endpoint_name #=> String
|
3580
|
+
# resp.multi_region_endpoints[0].status #=> String, one of "CREATING", "READY", "FAILED", "DELETING"
|
3581
|
+
# resp.multi_region_endpoints[0].endpoint_id #=> String
|
3582
|
+
# resp.multi_region_endpoints[0].regions #=> Array
|
3583
|
+
# resp.multi_region_endpoints[0].regions[0] #=> String
|
3584
|
+
# resp.multi_region_endpoints[0].created_timestamp #=> Time
|
3585
|
+
# resp.multi_region_endpoints[0].last_updated_timestamp #=> Time
|
3586
|
+
# resp.next_token #=> String
|
3587
|
+
#
|
3588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListMultiRegionEndpoints AWS API Documentation
|
3589
|
+
#
|
3590
|
+
# @overload list_multi_region_endpoints(params = {})
|
3591
|
+
# @param [Hash] params ({})
|
3592
|
+
def list_multi_region_endpoints(params = {}, options = {})
|
3593
|
+
req = build_request(:list_multi_region_endpoints, params)
|
3594
|
+
req.send_request(options)
|
3595
|
+
end
|
3596
|
+
|
3414
3597
|
# Lists the recommendations present in your Amazon SES account in the
|
3415
3598
|
# current Amazon Web Services Region.
|
3416
3599
|
#
|
@@ -4445,6 +4628,9 @@ module Aws::SESV2
|
|
4445
4628
|
# @option params [String] :configuration_set_name
|
4446
4629
|
# The name of the configuration set to use when sending the email.
|
4447
4630
|
#
|
4631
|
+
# @option params [String] :endpoint_id
|
4632
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
4633
|
+
#
|
4448
4634
|
# @return [Types::SendBulkEmailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4449
4635
|
#
|
4450
4636
|
# * {Types::SendBulkEmailResponse#bulk_email_entry_results #bulk_email_entry_results} => Array<Types::BulkEmailEntryResult>
|
@@ -4508,6 +4694,7 @@ module Aws::SESV2
|
|
4508
4694
|
# },
|
4509
4695
|
# ],
|
4510
4696
|
# configuration_set_name: "ConfigurationSetName",
|
4697
|
+
# endpoint_id: "EndpointId",
|
4511
4698
|
# })
|
4512
4699
|
#
|
4513
4700
|
# @example Response structure
|
@@ -4667,6 +4854,9 @@ module Aws::SESV2
|
|
4667
4854
|
# @option params [String] :configuration_set_name
|
4668
4855
|
# The name of the configuration set to use when sending the email.
|
4669
4856
|
#
|
4857
|
+
# @option params [String] :endpoint_id
|
4858
|
+
# The ID of the multi-region endpoint (global-endpoint).
|
4859
|
+
#
|
4670
4860
|
# @option params [Types::ListManagementOptions] :list_management_options
|
4671
4861
|
# An object used to specify a list or topic to which an email belongs,
|
4672
4862
|
# which will be used when a contact chooses to unsubscribe.
|
@@ -4738,6 +4928,7 @@ module Aws::SESV2
|
|
4738
4928
|
# },
|
4739
4929
|
# ],
|
4740
4930
|
# configuration_set_name: "ConfigurationSetName",
|
4931
|
+
# endpoint_id: "EndpointId",
|
4741
4932
|
# list_management_options: {
|
4742
4933
|
# contact_list_name: "ContactListName", # required
|
4743
4934
|
# topic_name: "TopicName",
|
@@ -5202,7 +5393,7 @@ module Aws::SESV2
|
|
5202
5393
|
tracer: tracer
|
5203
5394
|
)
|
5204
5395
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5205
|
-
context[:gem_version] = '1.
|
5396
|
+
context[:gem_version] = '1.68.0'
|
5206
5397
|
Seahorse::Client::Request.new(handlers, context)
|
5207
5398
|
end
|
5208
5399
|
|
@@ -91,6 +91,8 @@ module Aws::SESV2
|
|
91
91
|
CreateExportJobResponse = Shapes::StructureShape.new(name: 'CreateExportJobResponse')
|
92
92
|
CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest')
|
93
93
|
CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse')
|
94
|
+
CreateMultiRegionEndpointRequest = Shapes::StructureShape.new(name: 'CreateMultiRegionEndpointRequest')
|
95
|
+
CreateMultiRegionEndpointResponse = Shapes::StructureShape.new(name: 'CreateMultiRegionEndpointResponse')
|
94
96
|
CustomRedirectDomain = Shapes::StringShape.new(name: 'CustomRedirectDomain')
|
95
97
|
CustomVerificationEmailTemplateMetadata = Shapes::StructureShape.new(name: 'CustomVerificationEmailTemplateMetadata')
|
96
98
|
CustomVerificationEmailTemplatesList = Shapes::ListShape.new(name: 'CustomVerificationEmailTemplatesList')
|
@@ -121,6 +123,8 @@ module Aws::SESV2
|
|
121
123
|
DeleteEmailIdentityResponse = Shapes::StructureShape.new(name: 'DeleteEmailIdentityResponse')
|
122
124
|
DeleteEmailTemplateRequest = Shapes::StructureShape.new(name: 'DeleteEmailTemplateRequest')
|
123
125
|
DeleteEmailTemplateResponse = Shapes::StructureShape.new(name: 'DeleteEmailTemplateResponse')
|
126
|
+
DeleteMultiRegionEndpointRequest = Shapes::StructureShape.new(name: 'DeleteMultiRegionEndpointRequest')
|
127
|
+
DeleteMultiRegionEndpointResponse = Shapes::StructureShape.new(name: 'DeleteMultiRegionEndpointResponse')
|
124
128
|
DeleteSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'DeleteSuppressedDestinationRequest')
|
125
129
|
DeleteSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'DeleteSuppressedDestinationResponse')
|
126
130
|
DeliverabilityDashboardAccountStatus = Shapes::StringShape.new(name: 'DeliverabilityDashboardAccountStatus')
|
@@ -132,6 +136,7 @@ module Aws::SESV2
|
|
132
136
|
DeliveryOptions = Shapes::StructureShape.new(name: 'DeliveryOptions')
|
133
137
|
Description = Shapes::StringShape.new(name: 'Description')
|
134
138
|
Destination = Shapes::StructureShape.new(name: 'Destination')
|
139
|
+
Details = Shapes::StructureShape.new(name: 'Details')
|
135
140
|
DiagnosticCode = Shapes::StringShape.new(name: 'DiagnosticCode')
|
136
141
|
DimensionName = Shapes::StringShape.new(name: 'DimensionName')
|
137
142
|
DimensionValueSource = Shapes::StringShape.new(name: 'DimensionValueSource')
|
@@ -169,6 +174,8 @@ module Aws::SESV2
|
|
169
174
|
EmailTemplateText = Shapes::StringShape.new(name: 'EmailTemplateText')
|
170
175
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
171
176
|
EnabledWrapper = Shapes::BooleanShape.new(name: 'EnabledWrapper')
|
177
|
+
EndpointId = Shapes::StringShape.new(name: 'EndpointId')
|
178
|
+
EndpointName = Shapes::StringShape.new(name: 'EndpointName')
|
172
179
|
EngagementEventType = Shapes::StringShape.new(name: 'EngagementEventType')
|
173
180
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
174
181
|
Esp = Shapes::StringShape.new(name: 'Esp')
|
@@ -239,6 +246,8 @@ module Aws::SESV2
|
|
239
246
|
GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
|
240
247
|
GetMessageInsightsRequest = Shapes::StructureShape.new(name: 'GetMessageInsightsRequest')
|
241
248
|
GetMessageInsightsResponse = Shapes::StructureShape.new(name: 'GetMessageInsightsResponse')
|
249
|
+
GetMultiRegionEndpointRequest = Shapes::StructureShape.new(name: 'GetMultiRegionEndpointRequest')
|
250
|
+
GetMultiRegionEndpointResponse = Shapes::StructureShape.new(name: 'GetMultiRegionEndpointResponse')
|
242
251
|
GetSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'GetSuppressedDestinationRequest')
|
243
252
|
GetSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'GetSuppressedDestinationResponse')
|
244
253
|
GuardianAttributes = Shapes::StructureShape.new(name: 'GuardianAttributes')
|
@@ -299,6 +308,8 @@ module Aws::SESV2
|
|
299
308
|
ListImportJobsRequest = Shapes::StructureShape.new(name: 'ListImportJobsRequest')
|
300
309
|
ListImportJobsResponse = Shapes::StructureShape.new(name: 'ListImportJobsResponse')
|
301
310
|
ListManagementOptions = Shapes::StructureShape.new(name: 'ListManagementOptions')
|
311
|
+
ListMultiRegionEndpointsRequest = Shapes::StructureShape.new(name: 'ListMultiRegionEndpointsRequest')
|
312
|
+
ListMultiRegionEndpointsResponse = Shapes::StructureShape.new(name: 'ListMultiRegionEndpointsResponse')
|
302
313
|
ListOfContactLists = Shapes::ListShape.new(name: 'ListOfContactLists')
|
303
314
|
ListOfContacts = Shapes::ListShape.new(name: 'ListOfContacts')
|
304
315
|
ListOfDedicatedIpPools = Shapes::ListShape.new(name: 'ListOfDedicatedIpPools')
|
@@ -346,10 +357,14 @@ module Aws::SESV2
|
|
346
357
|
MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
|
347
358
|
MetricValueList = Shapes::ListShape.new(name: 'MetricValueList')
|
348
359
|
MetricsDataSource = Shapes::StructureShape.new(name: 'MetricsDataSource')
|
360
|
+
MultiRegionEndpoint = Shapes::StructureShape.new(name: 'MultiRegionEndpoint')
|
361
|
+
MultiRegionEndpoints = Shapes::ListShape.new(name: 'MultiRegionEndpoints')
|
349
362
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
363
|
+
NextTokenV2 = Shapes::StringShape.new(name: 'NextTokenV2')
|
350
364
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
351
365
|
OutboundMessageId = Shapes::StringShape.new(name: 'OutboundMessageId')
|
352
366
|
OverallVolume = Shapes::StructureShape.new(name: 'OverallVolume')
|
367
|
+
PageSizeV2 = Shapes::IntegerShape.new(name: 'PageSizeV2')
|
353
368
|
Percentage = Shapes::FloatShape.new(name: 'Percentage')
|
354
369
|
Percentage100Wrapper = Shapes::IntegerShape.new(name: 'Percentage100Wrapper')
|
355
370
|
PinpointDestination = Shapes::StructureShape.new(name: 'PinpointDestination')
|
@@ -415,6 +430,8 @@ module Aws::SESV2
|
|
415
430
|
RecommendationStatus = Shapes::StringShape.new(name: 'RecommendationStatus')
|
416
431
|
RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
|
417
432
|
RecommendationsList = Shapes::ListShape.new(name: 'RecommendationsList')
|
433
|
+
Region = Shapes::StringShape.new(name: 'Region')
|
434
|
+
Regions = Shapes::ListShape.new(name: 'Regions')
|
418
435
|
RenderedEmailTemplate = Shapes::StringShape.new(name: 'RenderedEmailTemplate')
|
419
436
|
ReplacementEmailContent = Shapes::StructureShape.new(name: 'ReplacementEmailContent')
|
420
437
|
ReplacementTemplate = Shapes::StructureShape.new(name: 'ReplacementTemplate')
|
@@ -423,6 +440,10 @@ module Aws::SESV2
|
|
423
440
|
ReputationOptions = Shapes::StructureShape.new(name: 'ReputationOptions')
|
424
441
|
ReviewDetails = Shapes::StructureShape.new(name: 'ReviewDetails')
|
425
442
|
ReviewStatus = Shapes::StringShape.new(name: 'ReviewStatus')
|
443
|
+
Route = Shapes::StructureShape.new(name: 'Route')
|
444
|
+
RouteDetails = Shapes::StructureShape.new(name: 'RouteDetails')
|
445
|
+
Routes = Shapes::ListShape.new(name: 'Routes')
|
446
|
+
RoutesDetails = Shapes::ListShape.new(name: 'RoutesDetails')
|
426
447
|
S3Url = Shapes::StringShape.new(name: 'S3Url')
|
427
448
|
SOARecord = Shapes::StructureShape.new(name: 'SOARecord')
|
428
449
|
ScalingMode = Shapes::StringShape.new(name: 'ScalingMode')
|
@@ -440,6 +461,7 @@ module Aws::SESV2
|
|
440
461
|
SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
|
441
462
|
SerialNumber = Shapes::IntegerShape.new(name: 'SerialNumber')
|
442
463
|
SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
|
464
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
443
465
|
Subject = Shapes::StringShape.new(name: 'Subject')
|
444
466
|
SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
|
445
467
|
SuccessRedirectionURL = Shapes::StringShape.new(name: 'SuccessRedirectionURL')
|
@@ -719,6 +741,15 @@ module Aws::SESV2
|
|
719
741
|
CreateImportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
720
742
|
CreateImportJobResponse.struct_class = Types::CreateImportJobResponse
|
721
743
|
|
744
|
+
CreateMultiRegionEndpointRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
|
745
|
+
CreateMultiRegionEndpointRequest.add_member(:details, Shapes::ShapeRef.new(shape: Details, required: true, location_name: "Details"))
|
746
|
+
CreateMultiRegionEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
747
|
+
CreateMultiRegionEndpointRequest.struct_class = Types::CreateMultiRegionEndpointRequest
|
748
|
+
|
749
|
+
CreateMultiRegionEndpointResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
750
|
+
CreateMultiRegionEndpointResponse.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: EndpointId, location_name: "EndpointId"))
|
751
|
+
CreateMultiRegionEndpointResponse.struct_class = Types::CreateMultiRegionEndpointResponse
|
752
|
+
|
722
753
|
CustomVerificationEmailTemplateMetadata.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, location_name: "TemplateName"))
|
723
754
|
CustomVerificationEmailTemplateMetadata.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromEmailAddress"))
|
724
755
|
CustomVerificationEmailTemplateMetadata.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, location_name: "TemplateSubject"))
|
@@ -801,6 +832,12 @@ module Aws::SESV2
|
|
801
832
|
|
802
833
|
DeleteEmailTemplateResponse.struct_class = Types::DeleteEmailTemplateResponse
|
803
834
|
|
835
|
+
DeleteMultiRegionEndpointRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location: "uri", location_name: "EndpointName"))
|
836
|
+
DeleteMultiRegionEndpointRequest.struct_class = Types::DeleteMultiRegionEndpointRequest
|
837
|
+
|
838
|
+
DeleteMultiRegionEndpointResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
839
|
+
DeleteMultiRegionEndpointResponse.struct_class = Types::DeleteMultiRegionEndpointResponse
|
840
|
+
|
804
841
|
DeleteSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
|
805
842
|
DeleteSuppressedDestinationRequest.struct_class = Types::DeleteSuppressedDestinationRequest
|
806
843
|
|
@@ -826,6 +863,9 @@ module Aws::SESV2
|
|
826
863
|
Destination.add_member(:bcc_addresses, Shapes::ShapeRef.new(shape: EmailAddressList, location_name: "BccAddresses"))
|
827
864
|
Destination.struct_class = Types::Destination
|
828
865
|
|
866
|
+
Details.add_member(:routes_details, Shapes::ShapeRef.new(shape: RoutesDetails, required: true, location_name: "RoutesDetails"))
|
867
|
+
Details.struct_class = Types::Details
|
868
|
+
|
829
869
|
Dimensions.key = Shapes::ShapeRef.new(shape: MetricDimensionName)
|
830
870
|
Dimensions.value = Shapes::ShapeRef.new(shape: MetricDimensionValue)
|
831
871
|
|
@@ -1171,6 +1211,17 @@ module Aws::SESV2
|
|
1171
1211
|
GetMessageInsightsResponse.add_member(:insights, Shapes::ShapeRef.new(shape: EmailInsightsList, location_name: "Insights"))
|
1172
1212
|
GetMessageInsightsResponse.struct_class = Types::GetMessageInsightsResponse
|
1173
1213
|
|
1214
|
+
GetMultiRegionEndpointRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location: "uri", location_name: "EndpointName"))
|
1215
|
+
GetMultiRegionEndpointRequest.struct_class = Types::GetMultiRegionEndpointRequest
|
1216
|
+
|
1217
|
+
GetMultiRegionEndpointResponse.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, location_name: "EndpointName"))
|
1218
|
+
GetMultiRegionEndpointResponse.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: EndpointId, location_name: "EndpointId"))
|
1219
|
+
GetMultiRegionEndpointResponse.add_member(:routes, Shapes::ShapeRef.new(shape: Routes, location_name: "Routes"))
|
1220
|
+
GetMultiRegionEndpointResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
1221
|
+
GetMultiRegionEndpointResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
1222
|
+
GetMultiRegionEndpointResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
1223
|
+
GetMultiRegionEndpointResponse.struct_class = Types::GetMultiRegionEndpointResponse
|
1224
|
+
|
1174
1225
|
GetSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
|
1175
1226
|
GetSuppressedDestinationRequest.struct_class = Types::GetSuppressedDestinationRequest
|
1176
1227
|
|
@@ -1350,6 +1401,14 @@ module Aws::SESV2
|
|
1350
1401
|
ListManagementOptions.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, location_name: "TopicName"))
|
1351
1402
|
ListManagementOptions.struct_class = Types::ListManagementOptions
|
1352
1403
|
|
1404
|
+
ListMultiRegionEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenV2, location: "querystring", location_name: "NextToken"))
|
1405
|
+
ListMultiRegionEndpointsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeV2, location: "querystring", location_name: "PageSize"))
|
1406
|
+
ListMultiRegionEndpointsRequest.struct_class = Types::ListMultiRegionEndpointsRequest
|
1407
|
+
|
1408
|
+
ListMultiRegionEndpointsResponse.add_member(:multi_region_endpoints, Shapes::ShapeRef.new(shape: MultiRegionEndpoints, location_name: "MultiRegionEndpoints"))
|
1409
|
+
ListMultiRegionEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenV2, location_name: "NextToken"))
|
1410
|
+
ListMultiRegionEndpointsResponse.struct_class = Types::ListMultiRegionEndpointsResponse
|
1411
|
+
|
1353
1412
|
ListOfContactLists.member = Shapes::ShapeRef.new(shape: ContactList)
|
1354
1413
|
|
1355
1414
|
ListOfContacts.member = Shapes::ShapeRef.new(shape: Contact)
|
@@ -1449,6 +1508,16 @@ module Aws::SESV2
|
|
1449
1508
|
MetricsDataSource.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndDate"))
|
1450
1509
|
MetricsDataSource.struct_class = Types::MetricsDataSource
|
1451
1510
|
|
1511
|
+
MultiRegionEndpoint.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, location_name: "EndpointName"))
|
1512
|
+
MultiRegionEndpoint.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
1513
|
+
MultiRegionEndpoint.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: EndpointId, location_name: "EndpointId"))
|
1514
|
+
MultiRegionEndpoint.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "Regions"))
|
1515
|
+
MultiRegionEndpoint.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
1516
|
+
MultiRegionEndpoint.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
1517
|
+
MultiRegionEndpoint.struct_class = Types::MultiRegionEndpoint
|
1518
|
+
|
1519
|
+
MultiRegionEndpoints.member = Shapes::ShapeRef.new(shape: MultiRegionEndpoint)
|
1520
|
+
|
1452
1521
|
NotFoundException.struct_class = Types::NotFoundException
|
1453
1522
|
|
1454
1523
|
OverallVolume.add_member(:volume_statistics, Shapes::ShapeRef.new(shape: VolumeStatistics, location_name: "VolumeStatistics"))
|
@@ -1616,6 +1685,8 @@ module Aws::SESV2
|
|
1616
1685
|
|
1617
1686
|
RecommendationsList.member = Shapes::ShapeRef.new(shape: Recommendation)
|
1618
1687
|
|
1688
|
+
Regions.member = Shapes::ShapeRef.new(shape: Region)
|
1689
|
+
|
1619
1690
|
ReplacementEmailContent.add_member(:replacement_template, Shapes::ShapeRef.new(shape: ReplacementTemplate, location_name: "ReplacementTemplate"))
|
1620
1691
|
ReplacementEmailContent.struct_class = Types::ReplacementEmailContent
|
1621
1692
|
|
@@ -1630,6 +1701,16 @@ module Aws::SESV2
|
|
1630
1701
|
ReviewDetails.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "CaseId"))
|
1631
1702
|
ReviewDetails.struct_class = Types::ReviewDetails
|
1632
1703
|
|
1704
|
+
Route.add_member(:region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "Region"))
|
1705
|
+
Route.struct_class = Types::Route
|
1706
|
+
|
1707
|
+
RouteDetails.add_member(:region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "Region"))
|
1708
|
+
RouteDetails.struct_class = Types::RouteDetails
|
1709
|
+
|
1710
|
+
Routes.member = Shapes::ShapeRef.new(shape: Route)
|
1711
|
+
|
1712
|
+
RoutesDetails.member = Shapes::ShapeRef.new(shape: RouteDetails)
|
1713
|
+
|
1633
1714
|
SOARecord.add_member(:primary_name_server, Shapes::ShapeRef.new(shape: PrimaryNameServer, location_name: "PrimaryNameServer"))
|
1634
1715
|
SOARecord.add_member(:admin_email, Shapes::ShapeRef.new(shape: AdminEmail, location_name: "AdminEmail"))
|
1635
1716
|
SOARecord.add_member(:serial_number, Shapes::ShapeRef.new(shape: SerialNumber, location_name: "SerialNumber"))
|
@@ -1644,6 +1725,7 @@ module Aws::SESV2
|
|
1644
1725
|
SendBulkEmailRequest.add_member(:default_content, Shapes::ShapeRef.new(shape: BulkEmailContent, required: true, location_name: "DefaultContent"))
|
1645
1726
|
SendBulkEmailRequest.add_member(:bulk_email_entries, Shapes::ShapeRef.new(shape: BulkEmailEntryList, required: true, location_name: "BulkEmailEntries"))
|
1646
1727
|
SendBulkEmailRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
1728
|
+
SendBulkEmailRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: EndpointId, location_name: "EndpointId", metadata: {"contextParam"=>{"name"=>"EndpointId"}}))
|
1647
1729
|
SendBulkEmailRequest.struct_class = Types::SendBulkEmailRequest
|
1648
1730
|
|
1649
1731
|
SendBulkEmailResponse.add_member(:bulk_email_entry_results, Shapes::ShapeRef.new(shape: BulkEmailEntryResultList, required: true, location_name: "BulkEmailEntryResults"))
|
@@ -1666,6 +1748,7 @@ module Aws::SESV2
|
|
1666
1748
|
SendEmailRequest.add_member(:content, Shapes::ShapeRef.new(shape: EmailContent, required: true, location_name: "Content"))
|
1667
1749
|
SendEmailRequest.add_member(:email_tags, Shapes::ShapeRef.new(shape: MessageTagList, location_name: "EmailTags"))
|
1668
1750
|
SendEmailRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
1751
|
+
SendEmailRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: EndpointId, location_name: "EndpointId", metadata: {"contextParam"=>{"name"=>"EndpointId"}}))
|
1669
1752
|
SendEmailRequest.add_member(:list_management_options, Shapes::ShapeRef.new(shape: ListManagementOptions, location_name: "ListManagementOptions"))
|
1670
1753
|
SendEmailRequest.struct_class = Types::SendEmailRequest
|
1671
1754
|
|
@@ -2040,6 +2123,18 @@ module Aws::SESV2
|
|
2040
2123
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2041
2124
|
end)
|
2042
2125
|
|
2126
|
+
api.add_operation(:create_multi_region_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2127
|
+
o.name = "CreateMultiRegionEndpoint"
|
2128
|
+
o.http_method = "POST"
|
2129
|
+
o.http_request_uri = "/v2/email/multi-region-endpoints"
|
2130
|
+
o.input = Shapes::ShapeRef.new(shape: CreateMultiRegionEndpointRequest)
|
2131
|
+
o.output = Shapes::ShapeRef.new(shape: CreateMultiRegionEndpointResponse)
|
2132
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2133
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2134
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
2135
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2136
|
+
end)
|
2137
|
+
|
2043
2138
|
api.add_operation(:delete_configuration_set, Seahorse::Model::Operation.new.tap do |o|
|
2044
2139
|
o.name = "DeleteConfigurationSet"
|
2045
2140
|
o.http_method = "DELETE"
|
@@ -2143,6 +2238,18 @@ module Aws::SESV2
|
|
2143
2238
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2144
2239
|
end)
|
2145
2240
|
|
2241
|
+
api.add_operation(:delete_multi_region_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2242
|
+
o.name = "DeleteMultiRegionEndpoint"
|
2243
|
+
o.http_method = "DELETE"
|
2244
|
+
o.http_request_uri = "/v2/email/multi-region-endpoints/{EndpointName}"
|
2245
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMultiRegionEndpointRequest)
|
2246
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteMultiRegionEndpointResponse)
|
2247
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2248
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2249
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2250
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
2251
|
+
end)
|
2252
|
+
|
2146
2253
|
api.add_operation(:delete_suppressed_destination, Seahorse::Model::Operation.new.tap do |o|
|
2147
2254
|
o.name = "DeleteSuppressedDestination"
|
2148
2255
|
o.http_method = "DELETE"
|
@@ -2379,6 +2486,17 @@ module Aws::SESV2
|
|
2379
2486
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2380
2487
|
end)
|
2381
2488
|
|
2489
|
+
api.add_operation(:get_multi_region_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
2490
|
+
o.name = "GetMultiRegionEndpoint"
|
2491
|
+
o.http_method = "GET"
|
2492
|
+
o.http_request_uri = "/v2/email/multi-region-endpoints/{EndpointName}"
|
2493
|
+
o.input = Shapes::ShapeRef.new(shape: GetMultiRegionEndpointRequest)
|
2494
|
+
o.output = Shapes::ShapeRef.new(shape: GetMultiRegionEndpointResponse)
|
2495
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2496
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2497
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2498
|
+
end)
|
2499
|
+
|
2382
2500
|
api.add_operation(:get_suppressed_destination, Seahorse::Model::Operation.new.tap do |o|
|
2383
2501
|
o.name = "GetSuppressedDestination"
|
2384
2502
|
o.http_method = "GET"
|
@@ -2569,6 +2687,22 @@ module Aws::SESV2
|
|
2569
2687
|
)
|
2570
2688
|
end)
|
2571
2689
|
|
2690
|
+
api.add_operation(:list_multi_region_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
2691
|
+
o.name = "ListMultiRegionEndpoints"
|
2692
|
+
o.http_method = "GET"
|
2693
|
+
o.http_request_uri = "/v2/email/multi-region-endpoints"
|
2694
|
+
o.input = Shapes::ShapeRef.new(shape: ListMultiRegionEndpointsRequest)
|
2695
|
+
o.output = Shapes::ShapeRef.new(shape: ListMultiRegionEndpointsResponse)
|
2696
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2697
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2698
|
+
o[:pager] = Aws::Pager.new(
|
2699
|
+
limit_key: "page_size",
|
2700
|
+
tokens: {
|
2701
|
+
"next_token" => "next_token"
|
2702
|
+
}
|
2703
|
+
)
|
2704
|
+
end)
|
2705
|
+
|
2572
2706
|
api.add_operation(:list_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
2573
2707
|
o.name = "ListRecommendations"
|
2574
2708
|
o.http_method = "POST"
|
@@ -30,11 +30,17 @@ module Aws::SESV2
|
|
30
30
|
#
|
31
31
|
# @return [String]
|
32
32
|
#
|
33
|
+
# @!attribute endpoint_id
|
34
|
+
# Operation parameter for EndpointId
|
35
|
+
#
|
36
|
+
# @return [String]
|
37
|
+
#
|
33
38
|
EndpointParameters = Struct.new(
|
34
39
|
:region,
|
35
40
|
:use_dual_stack,
|
36
41
|
:use_fips,
|
37
42
|
:endpoint,
|
43
|
+
:endpoint_id,
|
38
44
|
) do
|
39
45
|
include Aws::Structure
|
40
46
|
|
@@ -45,6 +51,7 @@ module Aws::SESV2
|
|
45
51
|
'UseDualStack' => :use_dual_stack,
|
46
52
|
'UseFIPS' => :use_fips,
|
47
53
|
'Endpoint' => :endpoint,
|
54
|
+
'EndpointId' => :endpoint_id,
|
48
55
|
}.freeze
|
49
56
|
end
|
50
57
|
|
@@ -55,6 +62,7 @@ module Aws::SESV2
|
|
55
62
|
self[:use_fips] = options[:use_fips]
|
56
63
|
self[:use_fips] = false if self[:use_fips].nil?
|
57
64
|
self[:endpoint] = options[:endpoint]
|
65
|
+
self[:endpoint_id] = options[:endpoint_id]
|
58
66
|
end
|
59
67
|
|
60
68
|
def self.create(config, options={})
|
@@ -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
@@ -435,6 +435,30 @@ module Aws
|
|
435
435
|
) -> _CreateImportJobResponseSuccess
|
436
436
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateImportJobResponseSuccess
|
437
437
|
|
438
|
+
interface _CreateMultiRegionEndpointResponseSuccess
|
439
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultiRegionEndpointResponse]
|
440
|
+
def status: () -> ("CREATING" | "READY" | "FAILED" | "DELETING")
|
441
|
+
def endpoint_id: () -> ::String
|
442
|
+
end
|
443
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#create_multi_region_endpoint-instance_method
|
444
|
+
def create_multi_region_endpoint: (
|
445
|
+
endpoint_name: ::String,
|
446
|
+
details: {
|
447
|
+
routes_details: Array[
|
448
|
+
{
|
449
|
+
region: ::String
|
450
|
+
},
|
451
|
+
]
|
452
|
+
},
|
453
|
+
?tags: Array[
|
454
|
+
{
|
455
|
+
key: ::String,
|
456
|
+
value: ::String
|
457
|
+
},
|
458
|
+
]
|
459
|
+
) -> _CreateMultiRegionEndpointResponseSuccess
|
460
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultiRegionEndpointResponseSuccess
|
461
|
+
|
438
462
|
interface _DeleteConfigurationSetResponseSuccess
|
439
463
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConfigurationSetResponse]
|
440
464
|
end
|
@@ -519,6 +543,16 @@ module Aws
|
|
519
543
|
) -> _DeleteEmailTemplateResponseSuccess
|
520
544
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEmailTemplateResponseSuccess
|
521
545
|
|
546
|
+
interface _DeleteMultiRegionEndpointResponseSuccess
|
547
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMultiRegionEndpointResponse]
|
548
|
+
def status: () -> ("CREATING" | "READY" | "FAILED" | "DELETING")
|
549
|
+
end
|
550
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#delete_multi_region_endpoint-instance_method
|
551
|
+
def delete_multi_region_endpoint: (
|
552
|
+
endpoint_name: ::String
|
553
|
+
) -> _DeleteMultiRegionEndpointResponseSuccess
|
554
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMultiRegionEndpointResponseSuccess
|
555
|
+
|
522
556
|
interface _DeleteSuppressedDestinationResponseSuccess
|
523
557
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSuppressedDestinationResponse]
|
524
558
|
end
|
@@ -802,6 +836,21 @@ module Aws
|
|
802
836
|
) -> _GetMessageInsightsResponseSuccess
|
803
837
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMessageInsightsResponseSuccess
|
804
838
|
|
839
|
+
interface _GetMultiRegionEndpointResponseSuccess
|
840
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMultiRegionEndpointResponse]
|
841
|
+
def endpoint_name: () -> ::String
|
842
|
+
def endpoint_id: () -> ::String
|
843
|
+
def routes: () -> ::Array[Types::Route]
|
844
|
+
def status: () -> ("CREATING" | "READY" | "FAILED" | "DELETING")
|
845
|
+
def created_timestamp: () -> ::Time
|
846
|
+
def last_updated_timestamp: () -> ::Time
|
847
|
+
end
|
848
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_multi_region_endpoint-instance_method
|
849
|
+
def get_multi_region_endpoint: (
|
850
|
+
endpoint_name: ::String
|
851
|
+
) -> _GetMultiRegionEndpointResponseSuccess
|
852
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMultiRegionEndpointResponseSuccess
|
853
|
+
|
805
854
|
interface _GetSuppressedDestinationResponseSuccess
|
806
855
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSuppressedDestinationResponse]
|
807
856
|
def suppressed_destination: () -> Types::SuppressedDestination
|
@@ -958,6 +1007,18 @@ module Aws
|
|
958
1007
|
) -> _ListImportJobsResponseSuccess
|
959
1008
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportJobsResponseSuccess
|
960
1009
|
|
1010
|
+
interface _ListMultiRegionEndpointsResponseSuccess
|
1011
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMultiRegionEndpointsResponse]
|
1012
|
+
def multi_region_endpoints: () -> ::Array[Types::MultiRegionEndpoint]
|
1013
|
+
def next_token: () -> ::String
|
1014
|
+
end
|
1015
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#list_multi_region_endpoints-instance_method
|
1016
|
+
def list_multi_region_endpoints: (
|
1017
|
+
?next_token: ::String,
|
1018
|
+
?page_size: ::Integer
|
1019
|
+
) -> _ListMultiRegionEndpointsResponseSuccess
|
1020
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMultiRegionEndpointsResponseSuccess
|
1021
|
+
|
961
1022
|
interface _ListRecommendationsResponseSuccess
|
962
1023
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResponse]
|
963
1024
|
def recommendations: () -> ::Array[Types::Recommendation]
|
@@ -1303,7 +1364,8 @@ module Aws
|
|
1303
1364
|
]?
|
1304
1365
|
},
|
1305
1366
|
],
|
1306
|
-
?configuration_set_name: ::String
|
1367
|
+
?configuration_set_name: ::String,
|
1368
|
+
?endpoint_id: ::String
|
1307
1369
|
) -> _SendBulkEmailResponseSuccess
|
1308
1370
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendBulkEmailResponseSuccess
|
1309
1371
|
|
@@ -1385,6 +1447,7 @@ module Aws
|
|
1385
1447
|
},
|
1386
1448
|
],
|
1387
1449
|
?configuration_set_name: ::String,
|
1450
|
+
?endpoint_id: ::String,
|
1388
1451
|
?list_management_options: {
|
1389
1452
|
contact_list_name: ::String,
|
1390
1453
|
topic_name: ::String?
|
data/sig/types.rbs
CHANGED
@@ -288,6 +288,19 @@ module Aws::SESV2
|
|
288
288
|
SENSITIVE: []
|
289
289
|
end
|
290
290
|
|
291
|
+
class CreateMultiRegionEndpointRequest
|
292
|
+
attr_accessor endpoint_name: ::String
|
293
|
+
attr_accessor details: Types::Details
|
294
|
+
attr_accessor tags: ::Array[Types::Tag]
|
295
|
+
SENSITIVE: []
|
296
|
+
end
|
297
|
+
|
298
|
+
class CreateMultiRegionEndpointResponse
|
299
|
+
attr_accessor status: ("CREATING" | "READY" | "FAILED" | "DELETING")
|
300
|
+
attr_accessor endpoint_id: ::String
|
301
|
+
SENSITIVE: []
|
302
|
+
end
|
303
|
+
|
291
304
|
class CustomVerificationEmailTemplateMetadata
|
292
305
|
attr_accessor template_name: ::String
|
293
306
|
attr_accessor from_email_address: ::String
|
@@ -403,6 +416,16 @@ module Aws::SESV2
|
|
403
416
|
class DeleteEmailTemplateResponse < Aws::EmptyStructure
|
404
417
|
end
|
405
418
|
|
419
|
+
class DeleteMultiRegionEndpointRequest
|
420
|
+
attr_accessor endpoint_name: ::String
|
421
|
+
SENSITIVE: []
|
422
|
+
end
|
423
|
+
|
424
|
+
class DeleteMultiRegionEndpointResponse
|
425
|
+
attr_accessor status: ("CREATING" | "READY" | "FAILED" | "DELETING")
|
426
|
+
SENSITIVE: []
|
427
|
+
end
|
428
|
+
|
406
429
|
class DeleteSuppressedDestinationRequest
|
407
430
|
attr_accessor email_address: ::String
|
408
431
|
SENSITIVE: []
|
@@ -435,6 +458,11 @@ module Aws::SESV2
|
|
435
458
|
SENSITIVE: []
|
436
459
|
end
|
437
460
|
|
461
|
+
class Details
|
462
|
+
attr_accessor routes_details: ::Array[Types::RouteDetails]
|
463
|
+
SENSITIVE: []
|
464
|
+
end
|
465
|
+
|
438
466
|
class DkimAttributes
|
439
467
|
attr_accessor signing_enabled: bool
|
440
468
|
attr_accessor status: ("PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE" | "NOT_STARTED")
|
@@ -860,6 +888,21 @@ module Aws::SESV2
|
|
860
888
|
SENSITIVE: [:from_email_address, :subject]
|
861
889
|
end
|
862
890
|
|
891
|
+
class GetMultiRegionEndpointRequest
|
892
|
+
attr_accessor endpoint_name: ::String
|
893
|
+
SENSITIVE: []
|
894
|
+
end
|
895
|
+
|
896
|
+
class GetMultiRegionEndpointResponse
|
897
|
+
attr_accessor endpoint_name: ::String
|
898
|
+
attr_accessor endpoint_id: ::String
|
899
|
+
attr_accessor routes: ::Array[Types::Route]
|
900
|
+
attr_accessor status: ("CREATING" | "READY" | "FAILED" | "DELETING")
|
901
|
+
attr_accessor created_timestamp: ::Time
|
902
|
+
attr_accessor last_updated_timestamp: ::Time
|
903
|
+
SENSITIVE: []
|
904
|
+
end
|
905
|
+
|
863
906
|
class GetSuppressedDestinationRequest
|
864
907
|
attr_accessor email_address: ::String
|
865
908
|
SENSITIVE: []
|
@@ -1096,6 +1139,18 @@ module Aws::SESV2
|
|
1096
1139
|
SENSITIVE: []
|
1097
1140
|
end
|
1098
1141
|
|
1142
|
+
class ListMultiRegionEndpointsRequest
|
1143
|
+
attr_accessor next_token: ::String
|
1144
|
+
attr_accessor page_size: ::Integer
|
1145
|
+
SENSITIVE: []
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
class ListMultiRegionEndpointsResponse
|
1149
|
+
attr_accessor multi_region_endpoints: ::Array[Types::MultiRegionEndpoint]
|
1150
|
+
attr_accessor next_token: ::String
|
1151
|
+
SENSITIVE: []
|
1152
|
+
end
|
1153
|
+
|
1099
1154
|
class ListRecommendationsRequest
|
1100
1155
|
attr_accessor filter: ::Hash[("TYPE" | "IMPACT" | "STATUS" | "RESOURCE_ARN"), ::String]
|
1101
1156
|
attr_accessor next_token: ::String
|
@@ -1208,6 +1263,16 @@ module Aws::SESV2
|
|
1208
1263
|
SENSITIVE: []
|
1209
1264
|
end
|
1210
1265
|
|
1266
|
+
class MultiRegionEndpoint
|
1267
|
+
attr_accessor endpoint_name: ::String
|
1268
|
+
attr_accessor status: ("CREATING" | "READY" | "FAILED" | "DELETING")
|
1269
|
+
attr_accessor endpoint_id: ::String
|
1270
|
+
attr_accessor regions: ::Array[::String]
|
1271
|
+
attr_accessor created_timestamp: ::Time
|
1272
|
+
attr_accessor last_updated_timestamp: ::Time
|
1273
|
+
SENSITIVE: []
|
1274
|
+
end
|
1275
|
+
|
1211
1276
|
class NotFoundException < Aws::EmptyStructure
|
1212
1277
|
end
|
1213
1278
|
|
@@ -1467,6 +1532,16 @@ module Aws::SESV2
|
|
1467
1532
|
SENSITIVE: []
|
1468
1533
|
end
|
1469
1534
|
|
1535
|
+
class Route
|
1536
|
+
attr_accessor region: ::String
|
1537
|
+
SENSITIVE: []
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
class RouteDetails
|
1541
|
+
attr_accessor region: ::String
|
1542
|
+
SENSITIVE: []
|
1543
|
+
end
|
1544
|
+
|
1470
1545
|
class SOARecord
|
1471
1546
|
attr_accessor primary_name_server: ::String
|
1472
1547
|
attr_accessor admin_email: ::String
|
@@ -1484,6 +1559,7 @@ module Aws::SESV2
|
|
1484
1559
|
attr_accessor default_content: Types::BulkEmailContent
|
1485
1560
|
attr_accessor bulk_email_entries: ::Array[Types::BulkEmailEntry]
|
1486
1561
|
attr_accessor configuration_set_name: ::String
|
1562
|
+
attr_accessor endpoint_id: ::String
|
1487
1563
|
SENSITIVE: []
|
1488
1564
|
end
|
1489
1565
|
|
@@ -1514,6 +1590,7 @@ module Aws::SESV2
|
|
1514
1590
|
attr_accessor content: Types::EmailContent
|
1515
1591
|
attr_accessor email_tags: ::Array[Types::MessageTag]
|
1516
1592
|
attr_accessor configuration_set_name: ::String
|
1593
|
+
attr_accessor endpoint_id: ::String
|
1517
1594
|
attr_accessor list_management_options: Types::ListManagementOptions
|
1518
1595
|
SENSITIVE: []
|
1519
1596
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sesv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|