aws-sdk-sesv2 1.123.0 → 1.124.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 +74 -11
- data/lib/aws-sdk-sesv2/client_api.rb +26 -0
- data/lib/aws-sdk-sesv2/types.rb +174 -61
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +14 -2
- data/sig/types.rbs +16 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4edb552e762c2442d32f2a30ee65b6ac299e9b1ce73c863dfc43f0e45a1ef187
|
|
4
|
+
data.tar.gz: '093d4ba8001cb38dc22d5e26b7e8fe783e5ab1182a007b6cb12fb0a5bcc80df1'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f7832b2f5da6655cba6d1873b5803b6fe14178d07f74bd453de80cd449d18a282f52be5db070b16f4539a5014b2a634e47658ab0b62e7a1c3aabfda5774dbee
|
|
7
|
+
data.tar.gz: ab528eced8f4b8034776fad17171626507c1f98772bfabb2f9a039918bcc095811d82f6b700d437a7256720d29463568bcba7fcdb09945d927acf2f3b2442d65
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.124.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
|
@@ -688,6 +688,7 @@ module Aws::SESV2
|
|
|
688
688
|
# tls_policy: "REQUIRE", # accepts REQUIRE, OPTIONAL
|
|
689
689
|
# sending_pool_name: "PoolName",
|
|
690
690
|
# max_delivery_seconds: 1,
|
|
691
|
+
# shared_pool_delivery_mode: "GLOBAL", # accepts GLOBAL, REGIONAL, ACCOUNT
|
|
691
692
|
# },
|
|
692
693
|
# reputation_options: {
|
|
693
694
|
# reputation_metrics_enabled: false,
|
|
@@ -2157,6 +2158,7 @@ module Aws::SESV2
|
|
|
2157
2158
|
# * {Types::GetAccountResponse#details #details} => Types::AccountDetails
|
|
2158
2159
|
# * {Types::GetAccountResponse#vdm_attributes #vdm_attributes} => Types::VdmAttributes
|
|
2159
2160
|
# * {Types::GetAccountResponse#pricing_attributes #pricing_attributes} => Types::PricingAttributes
|
|
2161
|
+
# * {Types::GetAccountResponse#delivery_attributes #delivery_attributes} => Types::DeliveryAttributes
|
|
2160
2162
|
#
|
|
2161
2163
|
# @example Response structure
|
|
2162
2164
|
#
|
|
@@ -2184,6 +2186,7 @@ module Aws::SESV2
|
|
|
2184
2186
|
# resp.vdm_attributes.guardian_attributes.optimized_shared_delivery #=> String, one of "ENABLED", "DISABLED"
|
|
2185
2187
|
# resp.pricing_attributes.current_plan #=> String, one of "NONE", "ESSENTIALS", "PRO", "ENTERPRISE"
|
|
2186
2188
|
# resp.pricing_attributes.next_plan #=> String, one of "NONE", "ESSENTIALS", "PRO", "ENTERPRISE"
|
|
2189
|
+
# resp.delivery_attributes.shared_pool_delivery_mode #=> String, one of "GLOBAL", "REGIONAL"
|
|
2187
2190
|
#
|
|
2188
2191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount AWS API Documentation
|
|
2189
2192
|
#
|
|
@@ -2269,6 +2272,7 @@ module Aws::SESV2
|
|
|
2269
2272
|
# resp.delivery_options.tls_policy #=> String, one of "REQUIRE", "OPTIONAL"
|
|
2270
2273
|
# resp.delivery_options.sending_pool_name #=> String
|
|
2271
2274
|
# resp.delivery_options.max_delivery_seconds #=> Integer
|
|
2275
|
+
# resp.delivery_options.shared_pool_delivery_mode #=> String, one of "GLOBAL", "REGIONAL", "ACCOUNT"
|
|
2272
2276
|
# resp.reputation_options.reputation_metrics_enabled #=> Boolean
|
|
2273
2277
|
# resp.reputation_options.last_fresh_start #=> Time
|
|
2274
2278
|
# resp.sending_options.sending_enabled #=> Boolean
|
|
@@ -4741,6 +4745,44 @@ module Aws::SESV2
|
|
|
4741
4745
|
req.send_request(options)
|
|
4742
4746
|
end
|
|
4743
4747
|
|
|
4748
|
+
# Set the shared pool delivery mode for your Amazon SES account in the
|
|
4749
|
+
# current Amazon Web Services Region. The mode controls whether Amazon
|
|
4750
|
+
# SES can deliver your email from shared IP addresses in other Amazon
|
|
4751
|
+
# Web Services Regions within the same Amazon Web Services partition.
|
|
4752
|
+
#
|
|
4753
|
+
# A change may take a few minutes to take effect. Messages that are
|
|
4754
|
+
# already queued for delivery keep the mode that they were sent with.
|
|
4755
|
+
#
|
|
4756
|
+
# @option params [required, String] :shared_pool_delivery_mode
|
|
4757
|
+
# The shared pool delivery mode for your Amazon SES account in the
|
|
4758
|
+
# current Amazon Web Services Region. This mode applies to email that
|
|
4759
|
+
# you send from shared IP addresses. Can be one of the following:
|
|
4760
|
+
#
|
|
4761
|
+
# * `GLOBAL` – Amazon SES delivers from your sending Region first and,
|
|
4762
|
+
# when it improves your deliverability, also uses Amazon SES shared IP
|
|
4763
|
+
# addresses with established sending history in other Amazon Web
|
|
4764
|
+
# Services Regions within the same Amazon Web Services partition.
|
|
4765
|
+
#
|
|
4766
|
+
# * `REGIONAL` – Amazon SES delivers your email only from shared IP
|
|
4767
|
+
# addresses in your sending Region.
|
|
4768
|
+
#
|
|
4769
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4770
|
+
#
|
|
4771
|
+
# @example Request syntax with placeholder values
|
|
4772
|
+
#
|
|
4773
|
+
# resp = client.put_account_delivery_attributes({
|
|
4774
|
+
# shared_pool_delivery_mode: "GLOBAL", # required, accepts GLOBAL, REGIONAL
|
|
4775
|
+
# })
|
|
4776
|
+
#
|
|
4777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDeliveryAttributes AWS API Documentation
|
|
4778
|
+
#
|
|
4779
|
+
# @overload put_account_delivery_attributes(params = {})
|
|
4780
|
+
# @param [Hash] params ({})
|
|
4781
|
+
def put_account_delivery_attributes(params = {}, options = {})
|
|
4782
|
+
req = build_request(:put_account_delivery_attributes, params)
|
|
4783
|
+
req.send_request(options)
|
|
4784
|
+
end
|
|
4785
|
+
|
|
4744
4786
|
# Update your Amazon SES account details.
|
|
4745
4787
|
#
|
|
4746
4788
|
# @option params [required, String] :mail_type
|
|
@@ -4751,7 +4793,8 @@ module Aws::SESV2
|
|
|
4751
4793
|
# the type of content that you plan to send.
|
|
4752
4794
|
#
|
|
4753
4795
|
# @option params [String] :contact_language
|
|
4754
|
-
# The language you would prefer to be contacted with.
|
|
4796
|
+
# The language you would prefer to be contacted with. The contact
|
|
4797
|
+
# language can be one of `EN` or `JA`.
|
|
4755
4798
|
#
|
|
4756
4799
|
# @option params [String] :use_case_description
|
|
4757
4800
|
# A description of the types of email that you plan to send.
|
|
@@ -4992,9 +5035,9 @@ module Aws::SESV2
|
|
|
4992
5035
|
#
|
|
4993
5036
|
# @option params [String] :tls_policy
|
|
4994
5037
|
# Specifies whether messages that use the configuration set are required
|
|
4995
|
-
# to use Transport Layer Security (TLS). If the value is `
|
|
5038
|
+
# to use Transport Layer Security (TLS). If the value is `REQUIRE`,
|
|
4996
5039
|
# messages are only delivered if a TLS connection can be established. If
|
|
4997
|
-
# the value is `
|
|
5040
|
+
# the value is `OPTIONAL`, messages can be delivered in plain text if a
|
|
4998
5041
|
# TLS connection can't be established.
|
|
4999
5042
|
#
|
|
5000
5043
|
# @option params [String] :sending_pool_name
|
|
@@ -5007,6 +5050,25 @@ module Aws::SESV2
|
|
|
5007
5050
|
# or equal to 300 seconds (5 minutes) and less than or equal to 50400
|
|
5008
5051
|
# seconds (840 minutes).
|
|
5009
5052
|
#
|
|
5053
|
+
# @option params [String] :shared_pool_delivery_mode
|
|
5054
|
+
# The shared pool delivery mode for email that you send with the
|
|
5055
|
+
# configuration set from shared IP addresses. This setting overrides the
|
|
5056
|
+
# shared pool delivery mode of your account. Can be one of the
|
|
5057
|
+
# following:
|
|
5058
|
+
#
|
|
5059
|
+
# * `GLOBAL` – Amazon SES delivers from your sending Region first and,
|
|
5060
|
+
# when it improves your deliverability, also uses Amazon SES shared IP
|
|
5061
|
+
# addresses with established sending history in other Amazon Web
|
|
5062
|
+
# Services Regions within the same Amazon Web Services partition.
|
|
5063
|
+
#
|
|
5064
|
+
# * `REGIONAL` – Amazon SES delivers your email only from shared IP
|
|
5065
|
+
# addresses in your sending Region.
|
|
5066
|
+
#
|
|
5067
|
+
# * `ACCOUNT` – The configuration set uses the shared pool delivery mode
|
|
5068
|
+
# of your account.
|
|
5069
|
+
#
|
|
5070
|
+
# If you don't specify a value, the current value doesn't change.
|
|
5071
|
+
#
|
|
5010
5072
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
5011
5073
|
#
|
|
5012
5074
|
# @example Request syntax with placeholder values
|
|
@@ -5016,6 +5078,7 @@ module Aws::SESV2
|
|
|
5016
5078
|
# tls_policy: "REQUIRE", # accepts REQUIRE, OPTIONAL
|
|
5017
5079
|
# sending_pool_name: "SendingPoolName",
|
|
5018
5080
|
# max_delivery_seconds: 1,
|
|
5081
|
+
# shared_pool_delivery_mode: "GLOBAL", # accepts GLOBAL, REGIONAL, ACCOUNT
|
|
5019
5082
|
# })
|
|
5020
5083
|
#
|
|
5021
5084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions AWS API Documentation
|
|
@@ -5585,14 +5648,14 @@ module Aws::SESV2
|
|
|
5585
5648
|
#
|
|
5586
5649
|
# @option params [String] :behavior_on_mx_failure
|
|
5587
5650
|
# The action to take if the required MX record isn't found when you
|
|
5588
|
-
# send an email. When you set this value to `
|
|
5589
|
-
# is sent using *amazonses.com* as the MAIL FROM domain. When you
|
|
5590
|
-
# this value to `
|
|
5591
|
-
# `
|
|
5592
|
-
# email.
|
|
5651
|
+
# send an email. When you set this value to `USE_DEFAULT_VALUE`, the
|
|
5652
|
+
# mail is sent using *amazonses.com* as the MAIL FROM domain. When you
|
|
5653
|
+
# set this value to `REJECT_MESSAGE`, the Amazon SES API v2 returns a
|
|
5654
|
+
# `MailFromDomainNotVerifiedException` error, and doesn't attempt to
|
|
5655
|
+
# deliver the email.
|
|
5593
5656
|
#
|
|
5594
5657
|
# These behaviors are taken when the custom MAIL FROM domain
|
|
5595
|
-
# configuration is in the `
|
|
5658
|
+
# configuration is in the `PENDING`, `FAILED`, and `TEMPORARY_FAILURE`
|
|
5596
5659
|
# states.
|
|
5597
5660
|
#
|
|
5598
5661
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
@@ -5758,7 +5821,7 @@ module Aws::SESV2
|
|
|
5758
5821
|
#
|
|
5759
5822
|
# @option params [Array<Types::MessageTag>] :default_email_tags
|
|
5760
5823
|
# A list of tags, in the form of name/value pairs, to apply to an email
|
|
5761
|
-
# that you send using the `
|
|
5824
|
+
# that you send using the `SendBulkEmail` operation. Tags correspond to
|
|
5762
5825
|
# characteristics of the email that you define, so that you can publish
|
|
5763
5826
|
# email sending events.
|
|
5764
5827
|
#
|
|
@@ -6746,7 +6809,7 @@ module Aws::SESV2
|
|
|
6746
6809
|
tracer: tracer
|
|
6747
6810
|
)
|
|
6748
6811
|
context[:gem_name] = 'aws-sdk-sesv2'
|
|
6749
|
-
context[:gem_version] = '1.
|
|
6812
|
+
context[:gem_version] = '1.124.0'
|
|
6750
6813
|
Seahorse::Client::Request.new(handlers, context)
|
|
6751
6814
|
end
|
|
6752
6815
|
|
|
@@ -15,6 +15,7 @@ module Aws::SESV2
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
17
|
AccountDetails = Shapes::StructureShape.new(name: 'AccountDetails')
|
|
18
|
+
AccountSharedPoolDeliveryMode = Shapes::StringShape.new(name: 'AccountSharedPoolDeliveryMode')
|
|
18
19
|
AccountSuspendedException = Shapes::StructureShape.new(name: 'AccountSuspendedException')
|
|
19
20
|
AdditionalContactEmailAddress = Shapes::StringShape.new(name: 'AdditionalContactEmailAddress')
|
|
20
21
|
AdditionalContactEmailAddresses = Shapes::ListShape.new(name: 'AdditionalContactEmailAddresses')
|
|
@@ -158,6 +159,7 @@ module Aws::SESV2
|
|
|
158
159
|
DeliverabilityTestReports = Shapes::ListShape.new(name: 'DeliverabilityTestReports')
|
|
159
160
|
DeliverabilityTestStatus = Shapes::StringShape.new(name: 'DeliverabilityTestStatus')
|
|
160
161
|
DeliverabilityTestSubject = Shapes::StringShape.new(name: 'DeliverabilityTestSubject')
|
|
162
|
+
DeliveryAttributes = Shapes::StructureShape.new(name: 'DeliveryAttributes')
|
|
161
163
|
DeliveryEventType = Shapes::StringShape.new(name: 'DeliveryEventType')
|
|
162
164
|
DeliveryOptions = Shapes::StructureShape.new(name: 'DeliveryOptions')
|
|
163
165
|
Description = Shapes::StringShape.new(name: 'Description')
|
|
@@ -442,6 +444,8 @@ module Aws::SESV2
|
|
|
442
444
|
ProcessedRecordsCount = Shapes::IntegerShape.new(name: 'ProcessedRecordsCount')
|
|
443
445
|
PutAccountDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesRequest')
|
|
444
446
|
PutAccountDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesResponse')
|
|
447
|
+
PutAccountDeliveryAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountDeliveryAttributesRequest')
|
|
448
|
+
PutAccountDeliveryAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountDeliveryAttributesResponse')
|
|
445
449
|
PutAccountDetailsRequest = Shapes::StructureShape.new(name: 'PutAccountDetailsRequest')
|
|
446
450
|
PutAccountDetailsResponse = Shapes::StructureShape.new(name: 'PutAccountDetailsResponse')
|
|
447
451
|
PutAccountPricingAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountPricingAttributesRequest')
|
|
@@ -542,6 +546,7 @@ module Aws::SESV2
|
|
|
542
546
|
SendingStatus = Shapes::StringShape.new(name: 'SendingStatus')
|
|
543
547
|
SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
|
|
544
548
|
SerialNumber = Shapes::IntegerShape.new(name: 'SerialNumber')
|
|
549
|
+
SharedPoolDeliveryMode = Shapes::StringShape.new(name: 'SharedPoolDeliveryMode')
|
|
545
550
|
SignatureFormat = Shapes::StringShape.new(name: 'SignatureFormat')
|
|
546
551
|
SigningScheme = Shapes::UnionShape.new(name: 'SigningScheme')
|
|
547
552
|
SmimeSigningScheme = Shapes::StructureShape.new(name: 'SmimeSigningScheme')
|
|
@@ -1027,9 +1032,13 @@ module Aws::SESV2
|
|
|
1027
1032
|
|
|
1028
1033
|
DeliverabilityTestReports.member = Shapes::ShapeRef.new(shape: DeliverabilityTestReport)
|
|
1029
1034
|
|
|
1035
|
+
DeliveryAttributes.add_member(:shared_pool_delivery_mode, Shapes::ShapeRef.new(shape: AccountSharedPoolDeliveryMode, location_name: "SharedPoolDeliveryMode"))
|
|
1036
|
+
DeliveryAttributes.struct_class = Types::DeliveryAttributes
|
|
1037
|
+
|
|
1030
1038
|
DeliveryOptions.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
|
1031
1039
|
DeliveryOptions.add_member(:sending_pool_name, Shapes::ShapeRef.new(shape: PoolName, location_name: "SendingPoolName"))
|
|
1032
1040
|
DeliveryOptions.add_member(:max_delivery_seconds, Shapes::ShapeRef.new(shape: MaxDeliverySeconds, location_name: "MaxDeliverySeconds"))
|
|
1041
|
+
DeliveryOptions.add_member(:shared_pool_delivery_mode, Shapes::ShapeRef.new(shape: SharedPoolDeliveryMode, location_name: "SharedPoolDeliveryMode"))
|
|
1033
1042
|
DeliveryOptions.struct_class = Types::DeliveryOptions
|
|
1034
1043
|
|
|
1035
1044
|
Destination.add_member(:to_addresses, Shapes::ShapeRef.new(shape: EmailAddressList, location_name: "ToAddresses"))
|
|
@@ -1220,6 +1229,7 @@ module Aws::SESV2
|
|
|
1220
1229
|
GetAccountResponse.add_member(:details, Shapes::ShapeRef.new(shape: AccountDetails, location_name: "Details"))
|
|
1221
1230
|
GetAccountResponse.add_member(:vdm_attributes, Shapes::ShapeRef.new(shape: VdmAttributes, location_name: "VdmAttributes"))
|
|
1222
1231
|
GetAccountResponse.add_member(:pricing_attributes, Shapes::ShapeRef.new(shape: PricingAttributes, location_name: "PricingAttributes"))
|
|
1232
|
+
GetAccountResponse.add_member(:delivery_attributes, Shapes::ShapeRef.new(shape: DeliveryAttributes, location_name: "DeliveryAttributes"))
|
|
1223
1233
|
GetAccountResponse.struct_class = Types::GetAccountResponse
|
|
1224
1234
|
|
|
1225
1235
|
GetBlacklistReportsRequest.add_member(:blacklist_item_names, Shapes::ShapeRef.new(shape: BlacklistItemNames, required: true, location: "querystring", location_name: "BlacklistItemNames"))
|
|
@@ -1839,6 +1849,11 @@ module Aws::SESV2
|
|
|
1839
1849
|
|
|
1840
1850
|
PutAccountDedicatedIpWarmupAttributesResponse.struct_class = Types::PutAccountDedicatedIpWarmupAttributesResponse
|
|
1841
1851
|
|
|
1852
|
+
PutAccountDeliveryAttributesRequest.add_member(:shared_pool_delivery_mode, Shapes::ShapeRef.new(shape: AccountSharedPoolDeliveryMode, required: true, location_name: "SharedPoolDeliveryMode"))
|
|
1853
|
+
PutAccountDeliveryAttributesRequest.struct_class = Types::PutAccountDeliveryAttributesRequest
|
|
1854
|
+
|
|
1855
|
+
PutAccountDeliveryAttributesResponse.struct_class = Types::PutAccountDeliveryAttributesResponse
|
|
1856
|
+
|
|
1842
1857
|
PutAccountDetailsRequest.add_member(:mail_type, Shapes::ShapeRef.new(shape: MailType, required: true, location_name: "MailType"))
|
|
1843
1858
|
PutAccountDetailsRequest.add_member(:website_url, Shapes::ShapeRef.new(shape: WebsiteURL, required: true, location_name: "WebsiteURL"))
|
|
1844
1859
|
PutAccountDetailsRequest.add_member(:contact_language, Shapes::ShapeRef.new(shape: ContactLanguage, location_name: "ContactLanguage"))
|
|
@@ -1880,6 +1895,7 @@ module Aws::SESV2
|
|
|
1880
1895
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
|
1881
1896
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:sending_pool_name, Shapes::ShapeRef.new(shape: SendingPoolName, location_name: "SendingPoolName"))
|
|
1882
1897
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:max_delivery_seconds, Shapes::ShapeRef.new(shape: MaxDeliverySeconds, location_name: "MaxDeliverySeconds"))
|
|
1898
|
+
PutConfigurationSetDeliveryOptionsRequest.add_member(:shared_pool_delivery_mode, Shapes::ShapeRef.new(shape: SharedPoolDeliveryMode, location_name: "SharedPoolDeliveryMode"))
|
|
1883
1899
|
PutConfigurationSetDeliveryOptionsRequest.struct_class = Types::PutConfigurationSetDeliveryOptionsRequest
|
|
1884
1900
|
|
|
1885
1901
|
PutConfigurationSetDeliveryOptionsResponse.struct_class = Types::PutConfigurationSetDeliveryOptionsResponse
|
|
@@ -3376,6 +3392,16 @@ module Aws::SESV2
|
|
|
3376
3392
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
3377
3393
|
end)
|
|
3378
3394
|
|
|
3395
|
+
api.add_operation(:put_account_delivery_attributes, Seahorse::Model::Operation.new.tap do |o|
|
|
3396
|
+
o.name = "PutAccountDeliveryAttributes"
|
|
3397
|
+
o.http_method = "POST"
|
|
3398
|
+
o.http_request_uri = "/v2/email/account/delivery"
|
|
3399
|
+
o.input = Shapes::ShapeRef.new(shape: PutAccountDeliveryAttributesRequest)
|
|
3400
|
+
o.output = Shapes::ShapeRef.new(shape: PutAccountDeliveryAttributesResponse)
|
|
3401
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
3402
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
3403
|
+
end)
|
|
3404
|
+
|
|
3379
3405
|
api.add_operation(:put_account_details, Seahorse::Model::Operation.new.tap do |o|
|
|
3380
3406
|
o.name = "PutAccountDetails"
|
|
3381
3407
|
o.http_method = "POST"
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
|
@@ -30,7 +30,7 @@ module Aws::SESV2
|
|
|
30
30
|
#
|
|
31
31
|
# @!attribute [rw] contact_language
|
|
32
32
|
# The language you would prefer for the case. The contact language can
|
|
33
|
-
# be one of `
|
|
33
|
+
# be one of `EN` or `JA`.
|
|
34
34
|
# @return [String]
|
|
35
35
|
#
|
|
36
36
|
# @!attribute [rw] use_case_description
|
|
@@ -426,9 +426,9 @@ module Aws::SESV2
|
|
|
426
426
|
#
|
|
427
427
|
# @!attribute [rw] replacement_tags
|
|
428
428
|
# A list of tags, in the form of name/value pairs, to apply to an
|
|
429
|
-
# email that you send using the `
|
|
430
|
-
#
|
|
431
|
-
#
|
|
429
|
+
# email that you send using the `SendBulkEmail` operation. Tags
|
|
430
|
+
# correspond to characteristics of the email that you define, so that
|
|
431
|
+
# you can publish email sending events.
|
|
432
432
|
# @return [Array<Types::MessageTag>]
|
|
433
433
|
#
|
|
434
434
|
# @!attribute [rw] replacement_email_content
|
|
@@ -473,71 +473,70 @@ module Aws::SESV2
|
|
|
473
473
|
# `BulkEmailEntry`.
|
|
474
474
|
#
|
|
475
475
|
# @!attribute [rw] status
|
|
476
|
-
# The status of a message sent using the `
|
|
477
|
-
# operation.
|
|
476
|
+
# The status of a message sent using the `SendBulkEmail` operation.
|
|
478
477
|
#
|
|
479
478
|
# Possible values for this parameter include:
|
|
480
479
|
#
|
|
481
|
-
# * SUCCESS
|
|
480
|
+
# * `SUCCESS` – Amazon SES accepted the message, and will attempt to
|
|
482
481
|
# deliver it to the recipients.
|
|
483
482
|
#
|
|
484
|
-
# *
|
|
485
|
-
# virus.
|
|
483
|
+
# * `MESSAGE_REJECTED` – The message was rejected because it contained
|
|
484
|
+
# a virus.
|
|
486
485
|
#
|
|
487
|
-
# *
|
|
486
|
+
# * `MAIL_FROM_DOMAIN_NOT_VERIFIED` – The sender's email address or
|
|
488
487
|
# domain was not verified.
|
|
489
488
|
#
|
|
490
|
-
# *
|
|
489
|
+
# * `CONFIGURATION_SET_NOT_FOUND` – The configuration set you
|
|
491
490
|
# specified does not exist.
|
|
492
491
|
#
|
|
493
|
-
# *
|
|
494
|
-
# exist.
|
|
492
|
+
# * `TEMPLATE_NOT_FOUND` – The template you specified does not exist.
|
|
495
493
|
#
|
|
496
|
-
# *
|
|
494
|
+
# * `ACCOUNT_SUSPENDED` – Your account has been shut down because of
|
|
497
495
|
# issues related to your email sending practices.
|
|
498
496
|
#
|
|
499
|
-
# *
|
|
497
|
+
# * `ACCOUNT_THROTTLED` – The number of emails you can send has been
|
|
500
498
|
# reduced because your account has exceeded its allocated sending
|
|
501
499
|
# limit.
|
|
502
500
|
#
|
|
503
|
-
# *
|
|
501
|
+
# * `ACCOUNT_DAILY_QUOTA_EXCEEDED` – You have reached or exceeded the
|
|
504
502
|
# maximum number of emails you can send from your account in a
|
|
505
503
|
# 24-hour period.
|
|
506
504
|
#
|
|
507
|
-
# *
|
|
505
|
+
# * `INVALID_SENDING_POOL_NAME` – The configuration set you specified
|
|
508
506
|
# refers to an IP pool that does not exist.
|
|
509
507
|
#
|
|
510
|
-
# *
|
|
511
|
-
# was disabled using the [
|
|
508
|
+
# * `ACCOUNT_SENDING_PAUSED` – Email sending for the Amazon SES
|
|
509
|
+
# account was disabled using the [PutAccountSendingAttributes][1]
|
|
510
|
+
# operation.
|
|
512
511
|
#
|
|
513
|
-
# *
|
|
512
|
+
# * `CONFIGURATION_SET_SENDING_PAUSED` – Email sending for this
|
|
514
513
|
# configuration set was disabled using the
|
|
515
|
-
# [
|
|
514
|
+
# [PutConfigurationSetSendingOptions][2] operation.
|
|
516
515
|
#
|
|
517
|
-
# *
|
|
518
|
-
#
|
|
519
|
-
#
|
|
516
|
+
# * `INVALID_PARAMETER` – One or more of the parameters you specified
|
|
517
|
+
# when calling this operation was invalid. See the error message for
|
|
518
|
+
# additional information.
|
|
520
519
|
#
|
|
521
|
-
# *
|
|
522
|
-
# because of a temporary issue.
|
|
520
|
+
# * `TRANSIENT_FAILURE` – Amazon SES was unable to process your
|
|
521
|
+
# request because of a temporary issue.
|
|
523
522
|
#
|
|
524
|
-
# * FAILED
|
|
523
|
+
# * `FAILED` – Amazon SES was unable to process your request. See the
|
|
525
524
|
# error message for additional information.
|
|
526
525
|
#
|
|
527
526
|
#
|
|
528
527
|
#
|
|
529
|
-
# [1]: https://docs.aws.amazon.com/ses/latest/APIReference/
|
|
530
|
-
# [2]: https://docs.aws.amazon.com/ses/latest/APIReference/
|
|
528
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_PutAccountSendingAttributes.html
|
|
529
|
+
# [2]: https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_PutConfigurationSetSendingOptions.html
|
|
531
530
|
# @return [String]
|
|
532
531
|
#
|
|
533
532
|
# @!attribute [rw] error
|
|
534
533
|
# A description of an error that prevented a message being sent using
|
|
535
|
-
# the `
|
|
534
|
+
# the `SendBulkEmail` operation.
|
|
536
535
|
# @return [String]
|
|
537
536
|
#
|
|
538
537
|
# @!attribute [rw] message_id
|
|
539
|
-
# The unique message identifier returned from the
|
|
540
|
-
#
|
|
538
|
+
# The unique message identifier returned from the `SendBulkEmail`
|
|
539
|
+
# operation.
|
|
541
540
|
# @return [String]
|
|
542
541
|
#
|
|
543
542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/BulkEmailEntryResult AWS API Documentation
|
|
@@ -605,9 +604,9 @@ module Aws::SESV2
|
|
|
605
604
|
# The location where the Amazon SES API v2 finds the value of a
|
|
606
605
|
# dimension to publish to Amazon CloudWatch. To use the message tags
|
|
607
606
|
# that you specify using an `X-SES-MESSAGE-TAGS` header or a parameter
|
|
608
|
-
# to the `SendEmail` or `
|
|
609
|
-
# use your own email headers, choose `
|
|
610
|
-
# choose `
|
|
607
|
+
# to the `SendEmail` or `SendBulkEmail` operation, choose
|
|
608
|
+
# `MESSAGE_TAG`. To use your own email headers, choose `EMAIL_HEADER`.
|
|
609
|
+
# To use link tags, choose `LINK_TAG`.
|
|
611
610
|
# @return [String]
|
|
612
611
|
#
|
|
613
612
|
# @!attribute [rw] default_dimension_value
|
|
@@ -1124,9 +1123,10 @@ module Aws::SESV2
|
|
|
1124
1123
|
# The status of the predictive inbox placement test. If the status is
|
|
1125
1124
|
# `IN_PROGRESS`, then the predictive inbox placement test is currently
|
|
1126
1125
|
# running. Predictive inbox placement tests are usually complete
|
|
1127
|
-
# within 24 hours of creating the test. If the status is `
|
|
1126
|
+
# within 24 hours of creating the test. If the status is `COMPLETED`,
|
|
1128
1127
|
# then the test is finished, and you can use the
|
|
1129
|
-
# `GetDeliverabilityTestReport` to view the results of the
|
|
1128
|
+
# `GetDeliverabilityTestReport` operation to view the results of the
|
|
1129
|
+
# test.
|
|
1130
1130
|
# @return [String]
|
|
1131
1131
|
#
|
|
1132
1132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDeliverabilityTestReportResponse AWS API Documentation
|
|
@@ -2113,9 +2113,10 @@ module Aws::SESV2
|
|
|
2113
2113
|
# The status of the predictive inbox placement test. If the status is
|
|
2114
2114
|
# `IN_PROGRESS`, then the predictive inbox placement test is currently
|
|
2115
2115
|
# running. Predictive inbox placement tests are usually complete
|
|
2116
|
-
# within 24 hours of creating the test. If the status is `
|
|
2116
|
+
# within 24 hours of creating the test. If the status is `COMPLETED`,
|
|
2117
2117
|
# then the test is finished, and you can use the
|
|
2118
|
-
# `GetDeliverabilityTestReport` to view the results of the
|
|
2118
|
+
# `GetDeliverabilityTestReport` operation to view the results of the
|
|
2119
|
+
# test.
|
|
2119
2120
|
# @return [String]
|
|
2120
2121
|
#
|
|
2121
2122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeliverabilityTestReport AWS API Documentation
|
|
@@ -2131,13 +2132,41 @@ module Aws::SESV2
|
|
|
2131
2132
|
include Aws::Structure
|
|
2132
2133
|
end
|
|
2133
2134
|
|
|
2135
|
+
# The delivery attributes that apply to your Amazon SES account in the
|
|
2136
|
+
# current Amazon Web Services Region.
|
|
2137
|
+
#
|
|
2138
|
+
# @!attribute [rw] shared_pool_delivery_mode
|
|
2139
|
+
# The shared pool delivery mode for your Amazon SES account in the
|
|
2140
|
+
# current Amazon Web Services Region. This mode applies to email that
|
|
2141
|
+
# you send from shared IP addresses. Can be one of the following:
|
|
2142
|
+
#
|
|
2143
|
+
# * `GLOBAL` – Amazon SES delivers from your sending Region first and,
|
|
2144
|
+
# when it improves your deliverability, also uses Amazon SES shared
|
|
2145
|
+
# IP addresses with established sending history in other Amazon Web
|
|
2146
|
+
# Services Regions within the same Amazon Web Services partition.
|
|
2147
|
+
#
|
|
2148
|
+
# * `REGIONAL` – Amazon SES delivers your email only from shared IP
|
|
2149
|
+
# addresses in your sending Region.
|
|
2150
|
+
#
|
|
2151
|
+
# Accounts that start sending in a Region on or after the launch of
|
|
2152
|
+
# Global Shared Delivery use `GLOBAL` in that Region.
|
|
2153
|
+
# @return [String]
|
|
2154
|
+
#
|
|
2155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeliveryAttributes AWS API Documentation
|
|
2156
|
+
#
|
|
2157
|
+
class DeliveryAttributes < Struct.new(
|
|
2158
|
+
:shared_pool_delivery_mode)
|
|
2159
|
+
SENSITIVE = []
|
|
2160
|
+
include Aws::Structure
|
|
2161
|
+
end
|
|
2162
|
+
|
|
2134
2163
|
# Used to associate a configuration set with a dedicated IP pool.
|
|
2135
2164
|
#
|
|
2136
2165
|
# @!attribute [rw] tls_policy
|
|
2137
2166
|
# Specifies whether messages that use the configuration set are
|
|
2138
2167
|
# required to use Transport Layer Security (TLS). If the value is
|
|
2139
|
-
# `
|
|
2140
|
-
# established. If the value is `
|
|
2168
|
+
# `REQUIRE`, messages are only delivered if a TLS connection can be
|
|
2169
|
+
# established. If the value is `OPTIONAL`, messages can be delivered
|
|
2141
2170
|
# in plain text if a TLS connection can't be established.
|
|
2142
2171
|
# @return [String]
|
|
2143
2172
|
#
|
|
@@ -2153,12 +2182,34 @@ module Aws::SESV2
|
|
|
2153
2182
|
# seconds (840 minutes).
|
|
2154
2183
|
# @return [Integer]
|
|
2155
2184
|
#
|
|
2185
|
+
# @!attribute [rw] shared_pool_delivery_mode
|
|
2186
|
+
# The shared pool delivery mode for email that you send with the
|
|
2187
|
+
# configuration set from shared IP addresses. This setting overrides
|
|
2188
|
+
# the shared pool delivery mode of your account. Can be one of the
|
|
2189
|
+
# following:
|
|
2190
|
+
#
|
|
2191
|
+
# * `GLOBAL` – Amazon SES delivers from your sending Region first and,
|
|
2192
|
+
# when it improves your deliverability, also uses Amazon SES shared
|
|
2193
|
+
# IP addresses with established sending history in other Amazon Web
|
|
2194
|
+
# Services Regions within the same Amazon Web Services partition.
|
|
2195
|
+
#
|
|
2196
|
+
# * `REGIONAL` – Amazon SES delivers your email only from shared IP
|
|
2197
|
+
# addresses in your sending Region.
|
|
2198
|
+
#
|
|
2199
|
+
# * `ACCOUNT` – The configuration set uses the shared pool delivery
|
|
2200
|
+
# mode of your account.
|
|
2201
|
+
#
|
|
2202
|
+
# If you don't specify a value, the configuration set uses the shared
|
|
2203
|
+
# pool delivery mode of your account.
|
|
2204
|
+
# @return [String]
|
|
2205
|
+
#
|
|
2156
2206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeliveryOptions AWS API Documentation
|
|
2157
2207
|
#
|
|
2158
2208
|
class DeliveryOptions < Struct.new(
|
|
2159
2209
|
:tls_policy,
|
|
2160
2210
|
:sending_pool_name,
|
|
2161
|
-
:max_delivery_seconds
|
|
2211
|
+
:max_delivery_seconds,
|
|
2212
|
+
:shared_pool_delivery_mode)
|
|
2162
2213
|
SENSITIVE = []
|
|
2163
2214
|
include Aws::Structure
|
|
2164
2215
|
end
|
|
@@ -3350,6 +3401,11 @@ module Aws::SESV2
|
|
|
3350
3401
|
# change.
|
|
3351
3402
|
# @return [Types::PricingAttributes]
|
|
3352
3403
|
#
|
|
3404
|
+
# @!attribute [rw] delivery_attributes
|
|
3405
|
+
# The delivery attributes that apply to your Amazon SES account in the
|
|
3406
|
+
# current Amazon Web Services Region.
|
|
3407
|
+
# @return [Types::DeliveryAttributes]
|
|
3408
|
+
#
|
|
3353
3409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccountResponse AWS API Documentation
|
|
3354
3410
|
#
|
|
3355
3411
|
class GetAccountResponse < Struct.new(
|
|
@@ -3361,7 +3417,8 @@ module Aws::SESV2
|
|
|
3361
3417
|
:suppression_attributes,
|
|
3362
3418
|
:details,
|
|
3363
3419
|
:vdm_attributes,
|
|
3364
|
-
:pricing_attributes
|
|
3420
|
+
:pricing_attributes,
|
|
3421
|
+
:delivery_attributes)
|
|
3365
3422
|
SENSITIVE = []
|
|
3366
3423
|
include Aws::Structure
|
|
3367
3424
|
end
|
|
@@ -4775,9 +4832,11 @@ module Aws::SESV2
|
|
|
4775
4832
|
#
|
|
4776
4833
|
# * `PROCESSING` – Job is processing.
|
|
4777
4834
|
#
|
|
4778
|
-
# * `ERROR` – An error occurred during processing.
|
|
4779
|
-
#
|
|
4780
4835
|
# * `COMPLETED` – Job has completed processing successfully.
|
|
4836
|
+
#
|
|
4837
|
+
# * `FAILED` – An error occurred during processing.
|
|
4838
|
+
#
|
|
4839
|
+
# * `CANCELLED` – Job has been canceled.
|
|
4781
4840
|
# @return [String]
|
|
4782
4841
|
#
|
|
4783
4842
|
# @!attribute [rw] created_timestamp
|
|
@@ -6106,11 +6165,11 @@ module Aws::SESV2
|
|
|
6106
6165
|
# you send an email. When you set this value to `USE_DEFAULT_VALUE`,
|
|
6107
6166
|
# the mail is sent using *amazonses.com* as the MAIL FROM domain. When
|
|
6108
6167
|
# you set this value to `REJECT_MESSAGE`, the Amazon SES API v2
|
|
6109
|
-
# returns a `
|
|
6110
|
-
# deliver the email.
|
|
6168
|
+
# returns a `MailFromDomainNotVerifiedException` error, and doesn't
|
|
6169
|
+
# attempt to deliver the email.
|
|
6111
6170
|
#
|
|
6112
6171
|
# These behaviors are taken when the custom MAIL FROM domain
|
|
6113
|
-
# configuration is in the `
|
|
6172
|
+
# configuration is in the `PENDING`, `FAILED`, and `TEMPORARY_FAILURE`
|
|
6114
6173
|
# states.
|
|
6115
6174
|
# @return [String]
|
|
6116
6175
|
#
|
|
@@ -6674,6 +6733,38 @@ module Aws::SESV2
|
|
|
6674
6733
|
#
|
|
6675
6734
|
class PutAccountDedicatedIpWarmupAttributesResponse < Aws::EmptyStructure; end
|
|
6676
6735
|
|
|
6736
|
+
# A request to set the shared pool delivery mode for your Amazon SES
|
|
6737
|
+
# account.
|
|
6738
|
+
#
|
|
6739
|
+
# @!attribute [rw] shared_pool_delivery_mode
|
|
6740
|
+
# The shared pool delivery mode for your Amazon SES account in the
|
|
6741
|
+
# current Amazon Web Services Region. This mode applies to email that
|
|
6742
|
+
# you send from shared IP addresses. Can be one of the following:
|
|
6743
|
+
#
|
|
6744
|
+
# * `GLOBAL` – Amazon SES delivers from your sending Region first and,
|
|
6745
|
+
# when it improves your deliverability, also uses Amazon SES shared
|
|
6746
|
+
# IP addresses with established sending history in other Amazon Web
|
|
6747
|
+
# Services Regions within the same Amazon Web Services partition.
|
|
6748
|
+
#
|
|
6749
|
+
# * `REGIONAL` – Amazon SES delivers your email only from shared IP
|
|
6750
|
+
# addresses in your sending Region.
|
|
6751
|
+
# @return [String]
|
|
6752
|
+
#
|
|
6753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDeliveryAttributesRequest AWS API Documentation
|
|
6754
|
+
#
|
|
6755
|
+
class PutAccountDeliveryAttributesRequest < Struct.new(
|
|
6756
|
+
:shared_pool_delivery_mode)
|
|
6757
|
+
SENSITIVE = []
|
|
6758
|
+
include Aws::Structure
|
|
6759
|
+
end
|
|
6760
|
+
|
|
6761
|
+
# An HTTP 200 response if the request succeeds, or an error response if
|
|
6762
|
+
# the request fails.
|
|
6763
|
+
#
|
|
6764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDeliveryAttributesResponse AWS API Documentation
|
|
6765
|
+
#
|
|
6766
|
+
class PutAccountDeliveryAttributesResponse < Aws::EmptyStructure; end
|
|
6767
|
+
|
|
6677
6768
|
# A request to submit new account details.
|
|
6678
6769
|
#
|
|
6679
6770
|
# @!attribute [rw] mail_type
|
|
@@ -6686,7 +6777,8 @@ module Aws::SESV2
|
|
|
6686
6777
|
# @return [String]
|
|
6687
6778
|
#
|
|
6688
6779
|
# @!attribute [rw] contact_language
|
|
6689
|
-
# The language you would prefer to be contacted with.
|
|
6780
|
+
# The language you would prefer to be contacted with. The contact
|
|
6781
|
+
# language can be one of `EN` or `JA`.
|
|
6690
6782
|
# @return [String]
|
|
6691
6783
|
#
|
|
6692
6784
|
# @!attribute [rw] use_case_description
|
|
@@ -6890,8 +6982,8 @@ module Aws::SESV2
|
|
|
6890
6982
|
# @!attribute [rw] tls_policy
|
|
6891
6983
|
# Specifies whether messages that use the configuration set are
|
|
6892
6984
|
# required to use Transport Layer Security (TLS). If the value is
|
|
6893
|
-
# `
|
|
6894
|
-
# established. If the value is `
|
|
6985
|
+
# `REQUIRE`, messages are only delivered if a TLS connection can be
|
|
6986
|
+
# established. If the value is `OPTIONAL`, messages can be delivered
|
|
6895
6987
|
# in plain text if a TLS connection can't be established.
|
|
6896
6988
|
# @return [String]
|
|
6897
6989
|
#
|
|
@@ -6907,13 +6999,34 @@ module Aws::SESV2
|
|
|
6907
6999
|
# seconds (840 minutes).
|
|
6908
7000
|
# @return [Integer]
|
|
6909
7001
|
#
|
|
7002
|
+
# @!attribute [rw] shared_pool_delivery_mode
|
|
7003
|
+
# The shared pool delivery mode for email that you send with the
|
|
7004
|
+
# configuration set from shared IP addresses. This setting overrides
|
|
7005
|
+
# the shared pool delivery mode of your account. Can be one of the
|
|
7006
|
+
# following:
|
|
7007
|
+
#
|
|
7008
|
+
# * `GLOBAL` – Amazon SES delivers from your sending Region first and,
|
|
7009
|
+
# when it improves your deliverability, also uses Amazon SES shared
|
|
7010
|
+
# IP addresses with established sending history in other Amazon Web
|
|
7011
|
+
# Services Regions within the same Amazon Web Services partition.
|
|
7012
|
+
#
|
|
7013
|
+
# * `REGIONAL` – Amazon SES delivers your email only from shared IP
|
|
7014
|
+
# addresses in your sending Region.
|
|
7015
|
+
#
|
|
7016
|
+
# * `ACCOUNT` – The configuration set uses the shared pool delivery
|
|
7017
|
+
# mode of your account.
|
|
7018
|
+
#
|
|
7019
|
+
# If you don't specify a value, the current value doesn't change.
|
|
7020
|
+
# @return [String]
|
|
7021
|
+
#
|
|
6910
7022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptionsRequest AWS API Documentation
|
|
6911
7023
|
#
|
|
6912
7024
|
class PutConfigurationSetDeliveryOptionsRequest < Struct.new(
|
|
6913
7025
|
:configuration_set_name,
|
|
6914
7026
|
:tls_policy,
|
|
6915
7027
|
:sending_pool_name,
|
|
6916
|
-
:max_delivery_seconds
|
|
7028
|
+
:max_delivery_seconds,
|
|
7029
|
+
:shared_pool_delivery_mode)
|
|
6917
7030
|
SENSITIVE = []
|
|
6918
7031
|
include Aws::Structure
|
|
6919
7032
|
end
|
|
@@ -7484,14 +7597,14 @@ module Aws::SESV2
|
|
|
7484
7597
|
#
|
|
7485
7598
|
# @!attribute [rw] behavior_on_mx_failure
|
|
7486
7599
|
# The action to take if the required MX record isn't found when you
|
|
7487
|
-
# send an email. When you set this value to `
|
|
7600
|
+
# send an email. When you set this value to `USE_DEFAULT_VALUE`, the
|
|
7488
7601
|
# mail is sent using *amazonses.com* as the MAIL FROM domain. When you
|
|
7489
|
-
# set this value to `
|
|
7490
|
-
# `
|
|
7491
|
-
# the email.
|
|
7602
|
+
# set this value to `REJECT_MESSAGE`, the Amazon SES API v2 returns a
|
|
7603
|
+
# `MailFromDomainNotVerifiedException` error, and doesn't attempt to
|
|
7604
|
+
# deliver the email.
|
|
7492
7605
|
#
|
|
7493
7606
|
# These behaviors are taken when the custom MAIL FROM domain
|
|
7494
|
-
# configuration is in the `
|
|
7607
|
+
# configuration is in the `PENDING`, `FAILED`, and `TEMPORARY_FAILURE`
|
|
7495
7608
|
# states.
|
|
7496
7609
|
# @return [String]
|
|
7497
7610
|
#
|
|
@@ -7684,7 +7797,7 @@ module Aws::SESV2
|
|
|
7684
7797
|
include Aws::Structure
|
|
7685
7798
|
end
|
|
7686
7799
|
|
|
7687
|
-
# The `
|
|
7800
|
+
# The `ReplacementEmailContent` object to be used for a specific
|
|
7688
7801
|
# `BulkEmailEntry`. The `ReplacementTemplate` can be specified within
|
|
7689
7802
|
# this object.
|
|
7690
7803
|
#
|
|
@@ -7994,9 +8107,9 @@ module Aws::SESV2
|
|
|
7994
8107
|
#
|
|
7995
8108
|
# @!attribute [rw] default_email_tags
|
|
7996
8109
|
# A list of tags, in the form of name/value pairs, to apply to an
|
|
7997
|
-
# email that you send using the `
|
|
7998
|
-
# to characteristics of the email that you define, so that
|
|
7999
|
-
# publish email sending events.
|
|
8110
|
+
# email that you send using the `SendBulkEmail` operation. Tags
|
|
8111
|
+
# correspond to characteristics of the email that you define, so that
|
|
8112
|
+
# you can publish email sending events.
|
|
8000
8113
|
# @return [Array<Types::MessageTag>]
|
|
8001
8114
|
#
|
|
8002
8115
|
# @!attribute [rw] default_content
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -132,7 +132,8 @@ module Aws
|
|
|
132
132
|
?delivery_options: {
|
|
133
133
|
tls_policy: ("REQUIRE" | "OPTIONAL")?,
|
|
134
134
|
sending_pool_name: ::String?,
|
|
135
|
-
max_delivery_seconds: ::Integer
|
|
135
|
+
max_delivery_seconds: ::Integer?,
|
|
136
|
+
shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL" | "ACCOUNT")?
|
|
136
137
|
},
|
|
137
138
|
?reputation_options: {
|
|
138
139
|
reputation_metrics_enabled: bool?,
|
|
@@ -584,6 +585,7 @@ module Aws
|
|
|
584
585
|
def details: () -> Types::AccountDetails
|
|
585
586
|
def vdm_attributes: () -> Types::VdmAttributes
|
|
586
587
|
def pricing_attributes: () -> Types::PricingAttributes
|
|
588
|
+
def delivery_attributes: () -> Types::DeliveryAttributes
|
|
587
589
|
end
|
|
588
590
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_account-instance_method
|
|
589
591
|
def get_account: (
|
|
@@ -1183,6 +1185,15 @@ module Aws
|
|
|
1183
1185
|
) -> _PutAccountDedicatedIpWarmupAttributesResponseSuccess
|
|
1184
1186
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountDedicatedIpWarmupAttributesResponseSuccess
|
|
1185
1187
|
|
|
1188
|
+
interface _PutAccountDeliveryAttributesResponseSuccess
|
|
1189
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountDeliveryAttributesResponse]
|
|
1190
|
+
end
|
|
1191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_account_delivery_attributes-instance_method
|
|
1192
|
+
def put_account_delivery_attributes: (
|
|
1193
|
+
shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL")
|
|
1194
|
+
) -> _PutAccountDeliveryAttributesResponseSuccess
|
|
1195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountDeliveryAttributesResponseSuccess
|
|
1196
|
+
|
|
1186
1197
|
interface _PutAccountDetailsResponseSuccess
|
|
1187
1198
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountDetailsResponse]
|
|
1188
1199
|
end
|
|
@@ -1267,7 +1278,8 @@ module Aws
|
|
|
1267
1278
|
configuration_set_name: ::String,
|
|
1268
1279
|
?tls_policy: ("REQUIRE" | "OPTIONAL"),
|
|
1269
1280
|
?sending_pool_name: ::String,
|
|
1270
|
-
?max_delivery_seconds: ::Integer
|
|
1281
|
+
?max_delivery_seconds: ::Integer,
|
|
1282
|
+
?shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL" | "ACCOUNT")
|
|
1271
1283
|
) -> _PutConfigurationSetDeliveryOptionsResponseSuccess
|
|
1272
1284
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfigurationSetDeliveryOptionsResponseSuccess
|
|
1273
1285
|
|
data/sig/types.rbs
CHANGED
|
@@ -527,10 +527,16 @@ module Aws::SESV2
|
|
|
527
527
|
SENSITIVE: []
|
|
528
528
|
end
|
|
529
529
|
|
|
530
|
+
class DeliveryAttributes
|
|
531
|
+
attr_accessor shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL")
|
|
532
|
+
SENSITIVE: []
|
|
533
|
+
end
|
|
534
|
+
|
|
530
535
|
class DeliveryOptions
|
|
531
536
|
attr_accessor tls_policy: ("REQUIRE" | "OPTIONAL")
|
|
532
537
|
attr_accessor sending_pool_name: ::String
|
|
533
538
|
attr_accessor max_delivery_seconds: ::Integer
|
|
539
|
+
attr_accessor shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL" | "ACCOUNT")
|
|
534
540
|
SENSITIVE: []
|
|
535
541
|
end
|
|
536
542
|
|
|
@@ -737,6 +743,7 @@ module Aws::SESV2
|
|
|
737
743
|
attr_accessor details: Types::AccountDetails
|
|
738
744
|
attr_accessor vdm_attributes: Types::VdmAttributes
|
|
739
745
|
attr_accessor pricing_attributes: Types::PricingAttributes
|
|
746
|
+
attr_accessor delivery_attributes: Types::DeliveryAttributes
|
|
740
747
|
SENSITIVE: []
|
|
741
748
|
end
|
|
742
749
|
|
|
@@ -1546,6 +1553,14 @@ module Aws::SESV2
|
|
|
1546
1553
|
class PutAccountDedicatedIpWarmupAttributesResponse < Aws::EmptyStructure
|
|
1547
1554
|
end
|
|
1548
1555
|
|
|
1556
|
+
class PutAccountDeliveryAttributesRequest
|
|
1557
|
+
attr_accessor shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL")
|
|
1558
|
+
SENSITIVE: []
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1561
|
+
class PutAccountDeliveryAttributesResponse < Aws::EmptyStructure
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1549
1564
|
class PutAccountDetailsRequest
|
|
1550
1565
|
attr_accessor mail_type: ("MARKETING" | "TRANSACTIONAL")
|
|
1551
1566
|
attr_accessor website_url: ::String
|
|
@@ -1606,6 +1621,7 @@ module Aws::SESV2
|
|
|
1606
1621
|
attr_accessor tls_policy: ("REQUIRE" | "OPTIONAL")
|
|
1607
1622
|
attr_accessor sending_pool_name: ::String
|
|
1608
1623
|
attr_accessor max_delivery_seconds: ::Integer
|
|
1624
|
+
attr_accessor shared_pool_delivery_mode: ("GLOBAL" | "REGIONAL" | "ACCOUNT")
|
|
1609
1625
|
SENSITIVE: []
|
|
1610
1626
|
end
|
|
1611
1627
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-sesv2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.124.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.270.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.270.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|