aws-sdk-ses 1.25.0 → 1.30.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 +5 -5
- data/lib/aws-sdk-ses.rb +7 -4
- data/lib/aws-sdk-ses/client.rb +101 -37
- data/lib/aws-sdk-ses/client_api.rb +20 -0
- data/lib/aws-sdk-ses/errors.rb +151 -19
- data/lib/aws-sdk-ses/resource.rb +1 -0
- data/lib/aws-sdk-ses/types.rb +100 -7
- data/lib/aws-sdk-ses/waiters.rb +61 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 40e8dcf0c19869ba3cb475ab2877e5faff2807613a62bc4f5aa504ed17a6de86
|
4
|
+
data.tar.gz: cb50fb21395cc72b68f3cb80aecc4583edb0cb82c627d083818e2aa07bf5b98f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1d74a2563373696dc61f385e15c44cc97eb03595545c8dbbb570add7d6719ba62f49701d13c6a2dae0b94a74fd13f65f7b7f920073da0c36fcaddab186ebc89
|
7
|
+
data.tar.gz: 79303c08ca28a98750ba64b6454e2b9fac12a1036edea9ef7c69c35f26d86cdfd50dc9c320b3a0fc32138d2aab7520390b68f2f83d026fbe52f526c403a8bb7c
|
data/lib/aws-sdk-ses.rb
CHANGED
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-ses/customizations'
|
|
25
25
|
# methods each accept a hash of request parameters and return a response
|
26
26
|
# structure.
|
27
27
|
#
|
28
|
+
# ses = Aws::SES::Client.new
|
29
|
+
# resp = ses.clone_receipt_rule_set(params)
|
30
|
+
#
|
28
31
|
# See {Client} for more information.
|
29
32
|
#
|
30
33
|
# # Errors
|
31
34
|
#
|
32
|
-
# Errors returned from Amazon Simple Email Service
|
33
|
-
# extend {Errors::ServiceError}.
|
35
|
+
# Errors returned from Amazon Simple Email Service are defined in the
|
36
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
37
|
#
|
35
38
|
# begin
|
36
39
|
# # do stuff
|
37
40
|
# rescue Aws::SES::Errors::ServiceError
|
38
|
-
# # rescues all
|
41
|
+
# # rescues all Amazon Simple Email Service API errors
|
39
42
|
# end
|
40
43
|
#
|
41
44
|
# See {Errors} for more information.
|
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-ses/customizations'
|
|
43
46
|
# @service
|
44
47
|
module Aws::SES
|
45
48
|
|
46
|
-
GEM_VERSION = '1.
|
49
|
+
GEM_VERSION = '1.30.0'
|
47
50
|
|
48
51
|
end
|
data/lib/aws-sdk-ses/client.rb
CHANGED
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/query.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:ses)
|
31
31
|
|
32
32
|
module Aws::SES
|
33
|
+
# An API client for SES. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::SES::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::SES
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::SES
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::SES
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::SES
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::SES
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::SES
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::SES
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::SES
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::SES
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1981,6 +2035,11 @@ module Aws::SES
|
|
1981
2035
|
# resp.verification_attributes["Identity"].verification_status #=> String, one of "Pending", "Success", "Failed", "TemporaryFailure", "NotStarted"
|
1982
2036
|
# resp.verification_attributes["Identity"].verification_token #=> String
|
1983
2037
|
#
|
2038
|
+
#
|
2039
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
2040
|
+
#
|
2041
|
+
# * identity_exists
|
2042
|
+
#
|
1984
2043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes AWS API Documentation
|
1985
2044
|
#
|
1986
2045
|
# @overload get_identity_verification_attributes(params = {})
|
@@ -2208,6 +2267,8 @@ module Aws::SES
|
|
2208
2267
|
# * {Types::ListCustomVerificationEmailTemplatesResponse#custom_verification_email_templates #custom_verification_email_templates} => Array<Types::CustomVerificationEmailTemplate>
|
2209
2268
|
# * {Types::ListCustomVerificationEmailTemplatesResponse#next_token #next_token} => String
|
2210
2269
|
#
|
2270
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2271
|
+
#
|
2211
2272
|
# @example Request syntax with placeholder values
|
2212
2273
|
#
|
2213
2274
|
# resp = client.list_custom_verification_email_templates({
|
@@ -2257,6 +2318,8 @@ module Aws::SES
|
|
2257
2318
|
# * {Types::ListIdentitiesResponse#identities #identities} => Array<String>
|
2258
2319
|
# * {Types::ListIdentitiesResponse#next_token #next_token} => String
|
2259
2320
|
#
|
2321
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2322
|
+
#
|
2260
2323
|
#
|
2261
2324
|
# @example Example: ListIdentities
|
2262
2325
|
#
|
@@ -3409,17 +3472,16 @@ module Aws::SES
|
|
3409
3472
|
#
|
3410
3473
|
# * `X-SES-RETURN-PATH-ARN`
|
3411
3474
|
#
|
3412
|
-
#
|
3413
|
-
#
|
3475
|
+
# Don't include these X-headers in the DKIM signature. Amazon SES
|
3476
|
+
# removes these before it sends the email.
|
3414
3477
|
#
|
3415
|
-
#
|
3416
|
-
#
|
3417
|
-
#
|
3418
|
-
#
|
3419
|
-
#
|
3420
|
-
#
|
3421
|
-
#
|
3422
|
-
# SES][5] in the *Amazon SES Developer Guide.*
|
3478
|
+
# If you only specify the `SourceIdentityArn` parameter, Amazon SES
|
3479
|
+
# sets the From and Return-Path addresses to the same identity that
|
3480
|
+
# you specified.
|
3481
|
+
#
|
3482
|
+
# For more information about sending authorization, see the [Using
|
3483
|
+
# Sending Authorization with Amazon SES][5] in the *Amazon SES
|
3484
|
+
# Developer Guide.*
|
3423
3485
|
#
|
3424
3486
|
# * For every message that you send, the total number of recipients
|
3425
3487
|
# (including each recipient in the To:, CC: and BCC: fields) is
|
@@ -3899,19 +3961,21 @@ module Aws::SES
|
|
3899
3961
|
req.send_request(options)
|
3900
3962
|
end
|
3901
3963
|
|
3902
|
-
# Enables or disables Easy DKIM signing of email sent from an identity
|
3964
|
+
# Enables or disables Easy DKIM signing of email sent from an identity.
|
3965
|
+
# If Easy DKIM signing is enabled for a domain, then Amazon SES uses
|
3966
|
+
# DKIM to sign all email that it sends from addresses on that domain. If
|
3967
|
+
# Easy DKIM signing is enabled for an email address, then Amazon SES
|
3968
|
+
# uses DKIM to sign all email it sends from that address.
|
3903
3969
|
#
|
3904
|
-
#
|
3905
|
-
#
|
3906
|
-
#
|
3970
|
+
# <note markdown="1"> For email addresses (for example, `user@example.com`), you can only
|
3971
|
+
# enable DKIM signing if the corresponding domain (in this case,
|
3972
|
+
# `example.com`) has been set up to use Easy DKIM.
|
3907
3973
|
#
|
3908
|
-
#
|
3909
|
-
# SES will DKIM-sign all email sent by that email address.
|
3974
|
+
# </note>
|
3910
3975
|
#
|
3911
|
-
#
|
3912
|
-
#
|
3913
|
-
#
|
3914
|
-
# the `VerifyDomainDkim` operation.
|
3976
|
+
# You can enable DKIM signing for an identity at any time after you
|
3977
|
+
# start the verification process for the identity, even if the
|
3978
|
+
# verification process isn't complete.
|
3915
3979
|
#
|
3916
3980
|
# You can execute this operation no more than once per second.
|
3917
3981
|
#
|
@@ -4972,7 +5036,7 @@ module Aws::SES
|
|
4972
5036
|
params: params,
|
4973
5037
|
config: config)
|
4974
5038
|
context[:gem_name] = 'aws-sdk-ses'
|
4975
|
-
context[:gem_version] = '1.
|
5039
|
+
context[:gem_version] = '1.30.0'
|
4976
5040
|
Seahorse::Client::Request.new(handlers, context)
|
4977
5041
|
end
|
4978
5042
|
|
@@ -5038,9 +5102,9 @@ module Aws::SES
|
|
5038
5102
|
# The following table lists the valid waiter names, the operations they call,
|
5039
5103
|
# and the default `:delay` and `:max_attempts` values.
|
5040
5104
|
#
|
5041
|
-
# | waiter_name | params
|
5042
|
-
# | --------------- |
|
5043
|
-
# | identity_exists | {#get_identity_verification_attributes} | 3 | 20 |
|
5105
|
+
# | waiter_name | params | :delay | :max_attempts |
|
5106
|
+
# | --------------- | --------------------------------------------- | -------- | ------------- |
|
5107
|
+
# | identity_exists | {Client#get_identity_verification_attributes} | 3 | 20 |
|
5044
5108
|
#
|
5045
5109
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
5046
5110
|
# because the waiter has entered a state that it will not transition
|
@@ -325,6 +325,8 @@ module Aws::SES
|
|
325
325
|
VerifyEmailIdentityResponse = Shapes::StructureShape.new(name: 'VerifyEmailIdentityResponse')
|
326
326
|
WorkmailAction = Shapes::StructureShape.new(name: 'WorkmailAction')
|
327
327
|
|
328
|
+
AccountSendingPausedException.struct_class = Types::AccountSendingPausedException
|
329
|
+
|
328
330
|
AddHeaderAction.add_member(:header_name, Shapes::ShapeRef.new(shape: HeaderName, required: true, location_name: "HeaderName"))
|
329
331
|
AddHeaderAction.add_member(:header_value, Shapes::ShapeRef.new(shape: HeaderValue, required: true, location_name: "HeaderValue"))
|
330
332
|
AddHeaderAction.struct_class = Types::AddHeaderAction
|
@@ -453,6 +455,8 @@ module Aws::SES
|
|
453
455
|
|
454
456
|
CreateTemplateResponse.struct_class = Types::CreateTemplateResponse
|
455
457
|
|
458
|
+
CustomVerificationEmailInvalidContentException.struct_class = Types::CustomVerificationEmailInvalidContentException
|
459
|
+
|
456
460
|
CustomVerificationEmailTemplate.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
|
457
461
|
CustomVerificationEmailTemplate.add_member(:from_email_address, Shapes::ShapeRef.new(shape: FromAddress, location_name: "FromEmailAddress"))
|
458
462
|
CustomVerificationEmailTemplate.add_member(:template_subject, Shapes::ShapeRef.new(shape: Subject, location_name: "TemplateSubject"))
|
@@ -681,6 +685,10 @@ module Aws::SES
|
|
681
685
|
InvalidCloudWatchDestinationException.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, location_name: "EventDestinationName"))
|
682
686
|
InvalidCloudWatchDestinationException.struct_class = Types::InvalidCloudWatchDestinationException
|
683
687
|
|
688
|
+
InvalidConfigurationSetException.struct_class = Types::InvalidConfigurationSetException
|
689
|
+
|
690
|
+
InvalidDeliveryOptionsException.struct_class = Types::InvalidDeliveryOptionsException
|
691
|
+
|
684
692
|
InvalidFirehoseDestinationException.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
685
693
|
InvalidFirehoseDestinationException.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, location_name: "EventDestinationName"))
|
686
694
|
InvalidFirehoseDestinationException.struct_class = Types::InvalidFirehoseDestinationException
|
@@ -688,6 +696,8 @@ module Aws::SES
|
|
688
696
|
InvalidLambdaFunctionException.add_member(:function_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "FunctionArn"))
|
689
697
|
InvalidLambdaFunctionException.struct_class = Types::InvalidLambdaFunctionException
|
690
698
|
|
699
|
+
InvalidPolicyException.struct_class = Types::InvalidPolicyException
|
700
|
+
|
691
701
|
InvalidRenderingParameterException.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
|
692
702
|
InvalidRenderingParameterException.struct_class = Types::InvalidRenderingParameterException
|
693
703
|
|
@@ -704,6 +714,8 @@ module Aws::SES
|
|
704
714
|
InvalidTemplateException.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
|
705
715
|
InvalidTemplateException.struct_class = Types::InvalidTemplateException
|
706
716
|
|
717
|
+
InvalidTrackingOptionsException.struct_class = Types::InvalidTrackingOptionsException
|
718
|
+
|
707
719
|
KinesisFirehoseDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "IAMRoleARN"))
|
708
720
|
KinesisFirehoseDestination.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "DeliveryStreamARN"))
|
709
721
|
KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
|
@@ -713,6 +725,8 @@ module Aws::SES
|
|
713
725
|
LambdaAction.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location_name: "InvocationType"))
|
714
726
|
LambdaAction.struct_class = Types::LambdaAction
|
715
727
|
|
728
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
729
|
+
|
716
730
|
ListConfigurationSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
717
731
|
ListConfigurationSetsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location_name: "MaxItems"))
|
718
732
|
ListConfigurationSetsRequest.struct_class = Types::ListConfigurationSetsRequest
|
@@ -770,6 +784,8 @@ module Aws::SES
|
|
770
784
|
MailFromDomainAttributes.key = Shapes::ShapeRef.new(shape: Identity)
|
771
785
|
MailFromDomainAttributes.value = Shapes::ShapeRef.new(shape: IdentityMailFromDomainAttributes)
|
772
786
|
|
787
|
+
MailFromDomainNotVerifiedException.struct_class = Types::MailFromDomainNotVerifiedException
|
788
|
+
|
773
789
|
Message.add_member(:subject, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Subject"))
|
774
790
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "Body"))
|
775
791
|
Message.struct_class = Types::Message
|
@@ -779,6 +795,8 @@ module Aws::SES
|
|
779
795
|
MessageDsn.add_member(:extension_fields, Shapes::ShapeRef.new(shape: ExtensionFieldList, location_name: "ExtensionFields"))
|
780
796
|
MessageDsn.struct_class = Types::MessageDsn
|
781
797
|
|
798
|
+
MessageRejected.struct_class = Types::MessageRejected
|
799
|
+
|
782
800
|
MessageTag.add_member(:name, Shapes::ShapeRef.new(shape: MessageTagName, required: true, location_name: "Name"))
|
783
801
|
MessageTag.add_member(:value, Shapes::ShapeRef.new(shape: MessageTagValue, required: true, location_name: "Value"))
|
784
802
|
MessageTag.struct_class = Types::MessageTag
|
@@ -796,6 +814,8 @@ module Aws::SES
|
|
796
814
|
|
797
815
|
PolicyNameList.member = Shapes::ShapeRef.new(shape: PolicyName)
|
798
816
|
|
817
|
+
ProductionAccessNotGrantedException.struct_class = Types::ProductionAccessNotGrantedException
|
818
|
+
|
799
819
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
|
800
820
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:delivery_options, Shapes::ShapeRef.new(shape: DeliveryOptions, location_name: "DeliveryOptions"))
|
801
821
|
PutConfigurationSetDeliveryOptionsRequest.struct_class = Types::PutConfigurationSetDeliveryOptionsRequest
|
data/lib/aws-sdk-ses/errors.rb
CHANGED
@@ -6,10 +6,76 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::SES
|
9
|
+
|
10
|
+
# When SES returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::SES::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all SES errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::SES::Errors::ServiceError
|
18
|
+
# # rescues all SES API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {AccountSendingPausedException}
|
29
|
+
# * {AlreadyExistsException}
|
30
|
+
# * {CannotDeleteException}
|
31
|
+
# * {ConfigurationSetAlreadyExistsException}
|
32
|
+
# * {ConfigurationSetDoesNotExistException}
|
33
|
+
# * {ConfigurationSetSendingPausedException}
|
34
|
+
# * {CustomVerificationEmailInvalidContentException}
|
35
|
+
# * {CustomVerificationEmailTemplateAlreadyExistsException}
|
36
|
+
# * {CustomVerificationEmailTemplateDoesNotExistException}
|
37
|
+
# * {EventDestinationAlreadyExistsException}
|
38
|
+
# * {EventDestinationDoesNotExistException}
|
39
|
+
# * {FromEmailAddressNotVerifiedException}
|
40
|
+
# * {InvalidCloudWatchDestinationException}
|
41
|
+
# * {InvalidConfigurationSetException}
|
42
|
+
# * {InvalidDeliveryOptionsException}
|
43
|
+
# * {InvalidFirehoseDestinationException}
|
44
|
+
# * {InvalidLambdaFunctionException}
|
45
|
+
# * {InvalidPolicyException}
|
46
|
+
# * {InvalidRenderingParameterException}
|
47
|
+
# * {InvalidS3ConfigurationException}
|
48
|
+
# * {InvalidSNSDestinationException}
|
49
|
+
# * {InvalidSnsTopicException}
|
50
|
+
# * {InvalidTemplateException}
|
51
|
+
# * {InvalidTrackingOptionsException}
|
52
|
+
# * {LimitExceededException}
|
53
|
+
# * {MailFromDomainNotVerifiedException}
|
54
|
+
# * {MessageRejected}
|
55
|
+
# * {MissingRenderingAttributeException}
|
56
|
+
# * {ProductionAccessNotGrantedException}
|
57
|
+
# * {RuleDoesNotExistException}
|
58
|
+
# * {RuleSetDoesNotExistException}
|
59
|
+
# * {TemplateDoesNotExistException}
|
60
|
+
# * {TrackingOptionsAlreadyExistsException}
|
61
|
+
# * {TrackingOptionsDoesNotExistException}
|
62
|
+
#
|
63
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
64
|
+
# if they are not defined above.
|
9
65
|
module Errors
|
10
66
|
|
11
67
|
extend Aws::Errors::DynamicErrors
|
12
68
|
|
69
|
+
class AccountSendingPausedException < ServiceError
|
70
|
+
|
71
|
+
# @param [Seahorse::Client::RequestContext] context
|
72
|
+
# @param [String] message
|
73
|
+
# @param [Aws::SES::Types::AccountSendingPausedException] data
|
74
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
75
|
+
super(context, message, data)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
13
79
|
class AlreadyExistsException < ServiceError
|
14
80
|
|
15
81
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,7 +89,6 @@ module Aws::SES
|
|
23
89
|
def name
|
24
90
|
@data[:name]
|
25
91
|
end
|
26
|
-
|
27
92
|
end
|
28
93
|
|
29
94
|
class CannotDeleteException < ServiceError
|
@@ -39,7 +104,6 @@ module Aws::SES
|
|
39
104
|
def name
|
40
105
|
@data[:name]
|
41
106
|
end
|
42
|
-
|
43
107
|
end
|
44
108
|
|
45
109
|
class ConfigurationSetAlreadyExistsException < ServiceError
|
@@ -55,7 +119,6 @@ module Aws::SES
|
|
55
119
|
def configuration_set_name
|
56
120
|
@data[:configuration_set_name]
|
57
121
|
end
|
58
|
-
|
59
122
|
end
|
60
123
|
|
61
124
|
class ConfigurationSetDoesNotExistException < ServiceError
|
@@ -71,7 +134,6 @@ module Aws::SES
|
|
71
134
|
def configuration_set_name
|
72
135
|
@data[:configuration_set_name]
|
73
136
|
end
|
74
|
-
|
75
137
|
end
|
76
138
|
|
77
139
|
class ConfigurationSetSendingPausedException < ServiceError
|
@@ -87,7 +149,16 @@ module Aws::SES
|
|
87
149
|
def configuration_set_name
|
88
150
|
@data[:configuration_set_name]
|
89
151
|
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class CustomVerificationEmailInvalidContentException < ServiceError
|
90
155
|
|
156
|
+
# @param [Seahorse::Client::RequestContext] context
|
157
|
+
# @param [String] message
|
158
|
+
# @param [Aws::SES::Types::CustomVerificationEmailInvalidContentException] data
|
159
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
160
|
+
super(context, message, data)
|
161
|
+
end
|
91
162
|
end
|
92
163
|
|
93
164
|
class CustomVerificationEmailTemplateAlreadyExistsException < ServiceError
|
@@ -103,7 +174,6 @@ module Aws::SES
|
|
103
174
|
def custom_verification_email_template_name
|
104
175
|
@data[:custom_verification_email_template_name]
|
105
176
|
end
|
106
|
-
|
107
177
|
end
|
108
178
|
|
109
179
|
class CustomVerificationEmailTemplateDoesNotExistException < ServiceError
|
@@ -119,7 +189,6 @@ module Aws::SES
|
|
119
189
|
def custom_verification_email_template_name
|
120
190
|
@data[:custom_verification_email_template_name]
|
121
191
|
end
|
122
|
-
|
123
192
|
end
|
124
193
|
|
125
194
|
class EventDestinationAlreadyExistsException < ServiceError
|
@@ -140,7 +209,6 @@ module Aws::SES
|
|
140
209
|
def event_destination_name
|
141
210
|
@data[:event_destination_name]
|
142
211
|
end
|
143
|
-
|
144
212
|
end
|
145
213
|
|
146
214
|
class EventDestinationDoesNotExistException < ServiceError
|
@@ -161,7 +229,6 @@ module Aws::SES
|
|
161
229
|
def event_destination_name
|
162
230
|
@data[:event_destination_name]
|
163
231
|
end
|
164
|
-
|
165
232
|
end
|
166
233
|
|
167
234
|
class FromEmailAddressNotVerifiedException < ServiceError
|
@@ -177,7 +244,6 @@ module Aws::SES
|
|
177
244
|
def from_email_address
|
178
245
|
@data[:from_email_address]
|
179
246
|
end
|
180
|
-
|
181
247
|
end
|
182
248
|
|
183
249
|
class InvalidCloudWatchDestinationException < ServiceError
|
@@ -198,7 +264,26 @@ module Aws::SES
|
|
198
264
|
def event_destination_name
|
199
265
|
@data[:event_destination_name]
|
200
266
|
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class InvalidConfigurationSetException < ServiceError
|
270
|
+
|
271
|
+
# @param [Seahorse::Client::RequestContext] context
|
272
|
+
# @param [String] message
|
273
|
+
# @param [Aws::SES::Types::InvalidConfigurationSetException] data
|
274
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
275
|
+
super(context, message, data)
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
class InvalidDeliveryOptionsException < ServiceError
|
201
280
|
|
281
|
+
# @param [Seahorse::Client::RequestContext] context
|
282
|
+
# @param [String] message
|
283
|
+
# @param [Aws::SES::Types::InvalidDeliveryOptionsException] data
|
284
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
285
|
+
super(context, message, data)
|
286
|
+
end
|
202
287
|
end
|
203
288
|
|
204
289
|
class InvalidFirehoseDestinationException < ServiceError
|
@@ -219,7 +304,6 @@ module Aws::SES
|
|
219
304
|
def event_destination_name
|
220
305
|
@data[:event_destination_name]
|
221
306
|
end
|
222
|
-
|
223
307
|
end
|
224
308
|
|
225
309
|
class InvalidLambdaFunctionException < ServiceError
|
@@ -235,7 +319,16 @@ module Aws::SES
|
|
235
319
|
def function_arn
|
236
320
|
@data[:function_arn]
|
237
321
|
end
|
322
|
+
end
|
238
323
|
|
324
|
+
class InvalidPolicyException < ServiceError
|
325
|
+
|
326
|
+
# @param [Seahorse::Client::RequestContext] context
|
327
|
+
# @param [String] message
|
328
|
+
# @param [Aws::SES::Types::InvalidPolicyException] data
|
329
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
330
|
+
super(context, message, data)
|
331
|
+
end
|
239
332
|
end
|
240
333
|
|
241
334
|
class InvalidRenderingParameterException < ServiceError
|
@@ -251,7 +344,6 @@ module Aws::SES
|
|
251
344
|
def template_name
|
252
345
|
@data[:template_name]
|
253
346
|
end
|
254
|
-
|
255
347
|
end
|
256
348
|
|
257
349
|
class InvalidS3ConfigurationException < ServiceError
|
@@ -267,7 +359,6 @@ module Aws::SES
|
|
267
359
|
def bucket
|
268
360
|
@data[:bucket]
|
269
361
|
end
|
270
|
-
|
271
362
|
end
|
272
363
|
|
273
364
|
class InvalidSNSDestinationException < ServiceError
|
@@ -288,7 +379,6 @@ module Aws::SES
|
|
288
379
|
def event_destination_name
|
289
380
|
@data[:event_destination_name]
|
290
381
|
end
|
291
|
-
|
292
382
|
end
|
293
383
|
|
294
384
|
class InvalidSnsTopicException < ServiceError
|
@@ -304,7 +394,6 @@ module Aws::SES
|
|
304
394
|
def topic
|
305
395
|
@data[:topic]
|
306
396
|
end
|
307
|
-
|
308
397
|
end
|
309
398
|
|
310
399
|
class InvalidTemplateException < ServiceError
|
@@ -320,7 +409,46 @@ module Aws::SES
|
|
320
409
|
def template_name
|
321
410
|
@data[:template_name]
|
322
411
|
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class InvalidTrackingOptionsException < ServiceError
|
415
|
+
|
416
|
+
# @param [Seahorse::Client::RequestContext] context
|
417
|
+
# @param [String] message
|
418
|
+
# @param [Aws::SES::Types::InvalidTrackingOptionsException] data
|
419
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
420
|
+
super(context, message, data)
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class LimitExceededException < ServiceError
|
323
425
|
|
426
|
+
# @param [Seahorse::Client::RequestContext] context
|
427
|
+
# @param [String] message
|
428
|
+
# @param [Aws::SES::Types::LimitExceededException] data
|
429
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
430
|
+
super(context, message, data)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class MailFromDomainNotVerifiedException < ServiceError
|
435
|
+
|
436
|
+
# @param [Seahorse::Client::RequestContext] context
|
437
|
+
# @param [String] message
|
438
|
+
# @param [Aws::SES::Types::MailFromDomainNotVerifiedException] data
|
439
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
440
|
+
super(context, message, data)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
class MessageRejected < ServiceError
|
445
|
+
|
446
|
+
# @param [Seahorse::Client::RequestContext] context
|
447
|
+
# @param [String] message
|
448
|
+
# @param [Aws::SES::Types::MessageRejected] data
|
449
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
450
|
+
super(context, message, data)
|
451
|
+
end
|
324
452
|
end
|
325
453
|
|
326
454
|
class MissingRenderingAttributeException < ServiceError
|
@@ -336,7 +464,16 @@ module Aws::SES
|
|
336
464
|
def template_name
|
337
465
|
@data[:template_name]
|
338
466
|
end
|
467
|
+
end
|
339
468
|
|
469
|
+
class ProductionAccessNotGrantedException < ServiceError
|
470
|
+
|
471
|
+
# @param [Seahorse::Client::RequestContext] context
|
472
|
+
# @param [String] message
|
473
|
+
# @param [Aws::SES::Types::ProductionAccessNotGrantedException] data
|
474
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
475
|
+
super(context, message, data)
|
476
|
+
end
|
340
477
|
end
|
341
478
|
|
342
479
|
class RuleDoesNotExistException < ServiceError
|
@@ -352,7 +489,6 @@ module Aws::SES
|
|
352
489
|
def name
|
353
490
|
@data[:name]
|
354
491
|
end
|
355
|
-
|
356
492
|
end
|
357
493
|
|
358
494
|
class RuleSetDoesNotExistException < ServiceError
|
@@ -368,7 +504,6 @@ module Aws::SES
|
|
368
504
|
def name
|
369
505
|
@data[:name]
|
370
506
|
end
|
371
|
-
|
372
507
|
end
|
373
508
|
|
374
509
|
class TemplateDoesNotExistException < ServiceError
|
@@ -384,7 +519,6 @@ module Aws::SES
|
|
384
519
|
def template_name
|
385
520
|
@data[:template_name]
|
386
521
|
end
|
387
|
-
|
388
522
|
end
|
389
523
|
|
390
524
|
class TrackingOptionsAlreadyExistsException < ServiceError
|
@@ -400,7 +534,6 @@ module Aws::SES
|
|
400
534
|
def configuration_set_name
|
401
535
|
@data[:configuration_set_name]
|
402
536
|
end
|
403
|
-
|
404
537
|
end
|
405
538
|
|
406
539
|
class TrackingOptionsDoesNotExistException < ServiceError
|
@@ -416,7 +549,6 @@ module Aws::SES
|
|
416
549
|
def configuration_set_name
|
417
550
|
@data[:configuration_set_name]
|
418
551
|
end
|
419
|
-
|
420
552
|
end
|
421
553
|
|
422
554
|
end
|
data/lib/aws-sdk-ses/resource.rb
CHANGED
data/lib/aws-sdk-ses/types.rb
CHANGED
@@ -8,6 +8,16 @@
|
|
8
8
|
module Aws::SES
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# Indicates that email sending is disabled for your entire Amazon SES
|
12
|
+
# account.
|
13
|
+
#
|
14
|
+
# You can enable or disable email sending for your Amazon SES account
|
15
|
+
# using UpdateAccountSendingEnabled.
|
16
|
+
#
|
17
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/AccountSendingPausedException AWS API Documentation
|
18
|
+
#
|
19
|
+
class AccountSendingPausedException < Aws::EmptyStructure; end
|
20
|
+
|
11
21
|
# When included in a receipt rule, this action adds a header to the
|
12
22
|
# received email.
|
13
23
|
#
|
@@ -1051,6 +1061,13 @@ module Aws::SES
|
|
1051
1061
|
#
|
1052
1062
|
class CreateTemplateResponse < Aws::EmptyStructure; end
|
1053
1063
|
|
1064
|
+
# Indicates that custom verification email template provided content is
|
1065
|
+
# invalid.
|
1066
|
+
#
|
1067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CustomVerificationEmailInvalidContentException AWS API Documentation
|
1068
|
+
#
|
1069
|
+
class CustomVerificationEmailInvalidContentException < Aws::EmptyStructure; end
|
1070
|
+
|
1054
1071
|
# Contains information about a custom verification email template.
|
1055
1072
|
#
|
1056
1073
|
# @!attribute [rw] template_name
|
@@ -1724,15 +1741,15 @@ module Aws::SES
|
|
1724
1741
|
# }
|
1725
1742
|
#
|
1726
1743
|
# @!attribute [rw] to_addresses
|
1727
|
-
# The To:
|
1744
|
+
# The recipients to place on the To: line of the message.
|
1728
1745
|
# @return [Array<String>]
|
1729
1746
|
#
|
1730
1747
|
# @!attribute [rw] cc_addresses
|
1731
|
-
# The CC:
|
1748
|
+
# The recipients to place on the CC: line of the message.
|
1732
1749
|
# @return [Array<String>]
|
1733
1750
|
#
|
1734
1751
|
# @!attribute [rw] bcc_addresses
|
1735
|
-
# The BCC:
|
1752
|
+
# The recipients to place on the BCC: line of the message.
|
1736
1753
|
# @return [Array<String>]
|
1737
1754
|
#
|
1738
1755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Destination AWS API Documentation
|
@@ -2488,6 +2505,19 @@ module Aws::SES
|
|
2488
2505
|
include Aws::Structure
|
2489
2506
|
end
|
2490
2507
|
|
2508
|
+
# Indicates that the configuration set is invalid. See the error message
|
2509
|
+
# for details.
|
2510
|
+
#
|
2511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/InvalidConfigurationSetException AWS API Documentation
|
2512
|
+
#
|
2513
|
+
class InvalidConfigurationSetException < Aws::EmptyStructure; end
|
2514
|
+
|
2515
|
+
# Indicates that provided delivery option is invalid.
|
2516
|
+
#
|
2517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/InvalidDeliveryOptionsException AWS API Documentation
|
2518
|
+
#
|
2519
|
+
class InvalidDeliveryOptionsException < Aws::EmptyStructure; end
|
2520
|
+
|
2491
2521
|
# Indicates that the Amazon Kinesis Firehose destination is invalid. See
|
2492
2522
|
# the error message for details.
|
2493
2523
|
#
|
@@ -2527,6 +2557,13 @@ module Aws::SES
|
|
2527
2557
|
include Aws::Structure
|
2528
2558
|
end
|
2529
2559
|
|
2560
|
+
# Indicates that the provided policy is invalid. Check the error stack
|
2561
|
+
# for more information about what caused the error.
|
2562
|
+
#
|
2563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/InvalidPolicyException AWS API Documentation
|
2564
|
+
#
|
2565
|
+
class InvalidPolicyException < Aws::EmptyStructure; end
|
2566
|
+
|
2530
2567
|
# Indicates that one or more of the replacement values you provided is
|
2531
2568
|
# invalid. This error may occur when the TemplateData object contains
|
2532
2569
|
# invalid JSON.
|
@@ -2614,6 +2651,20 @@ module Aws::SES
|
|
2614
2651
|
include Aws::Structure
|
2615
2652
|
end
|
2616
2653
|
|
2654
|
+
# Indicates that the custom domain to be used for open and click
|
2655
|
+
# tracking redirects is invalid. This error appears most often in the
|
2656
|
+
# following situations:
|
2657
|
+
#
|
2658
|
+
# * When the tracking domain you specified is not verified in Amazon
|
2659
|
+
# SES.
|
2660
|
+
#
|
2661
|
+
# * When the tracking domain you specified is not a valid domain or
|
2662
|
+
# subdomain.
|
2663
|
+
#
|
2664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/InvalidTrackingOptionsException AWS API Documentation
|
2665
|
+
#
|
2666
|
+
class InvalidTrackingOptionsException < Aws::EmptyStructure; end
|
2667
|
+
|
2617
2668
|
# Contains the delivery stream ARN and the IAM role ARN associated with
|
2618
2669
|
# an Amazon Kinesis Firehose event destination.
|
2619
2670
|
#
|
@@ -2729,6 +2780,18 @@ module Aws::SES
|
|
2729
2780
|
include Aws::Structure
|
2730
2781
|
end
|
2731
2782
|
|
2783
|
+
# Indicates that a resource could not be created because of service
|
2784
|
+
# limits. For a list of Amazon SES limits, see the [Amazon SES Developer
|
2785
|
+
# Guide][1].
|
2786
|
+
#
|
2787
|
+
#
|
2788
|
+
#
|
2789
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html
|
2790
|
+
#
|
2791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/LimitExceededException AWS API Documentation
|
2792
|
+
#
|
2793
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
2794
|
+
|
2732
2795
|
# Represents a request to list the configuration sets associated with
|
2733
2796
|
# your AWS account. Configuration sets enable you to publish email
|
2734
2797
|
# sending events. For information about using configuration sets, see
|
@@ -2795,9 +2858,12 @@ module Aws::SES
|
|
2795
2858
|
# templates for your account.
|
2796
2859
|
#
|
2797
2860
|
# For more information about custom verification email templates, see
|
2798
|
-
# [Using Custom Verification Email
|
2799
|
-
#
|
2800
|
-
#
|
2861
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
2862
|
+
# Developer Guide*.
|
2863
|
+
#
|
2864
|
+
#
|
2865
|
+
#
|
2866
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
2801
2867
|
#
|
2802
2868
|
# @note When making an API call, you may pass ListCustomVerificationEmailTemplatesRequest
|
2803
2869
|
# data as a hash:
|
@@ -3095,6 +3161,19 @@ module Aws::SES
|
|
3095
3161
|
include Aws::Structure
|
3096
3162
|
end
|
3097
3163
|
|
3164
|
+
# Indicates that the message could not be sent because Amazon SES could
|
3165
|
+
# not read the MX record required to use the specified MAIL FROM domain.
|
3166
|
+
# For information about editing the custom MAIL FROM domain settings for
|
3167
|
+
# an identity, see the [Amazon SES Developer Guide][1].
|
3168
|
+
#
|
3169
|
+
#
|
3170
|
+
#
|
3171
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html
|
3172
|
+
#
|
3173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/MailFromDomainNotVerifiedException AWS API Documentation
|
3174
|
+
#
|
3175
|
+
class MailFromDomainNotVerifiedException < Aws::EmptyStructure; end
|
3176
|
+
|
3098
3177
|
# Represents the message to be sent, composed of a subject and a body.
|
3099
3178
|
#
|
3100
3179
|
# @note When making an API call, you may pass Message
|
@@ -3191,6 +3270,14 @@ module Aws::SES
|
|
3191
3270
|
include Aws::Structure
|
3192
3271
|
end
|
3193
3272
|
|
3273
|
+
# Indicates that the action failed, and the message could not be sent.
|
3274
|
+
# Check the error stack for more information about what caused the
|
3275
|
+
# error.
|
3276
|
+
#
|
3277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/MessageRejected AWS API Documentation
|
3278
|
+
#
|
3279
|
+
class MessageRejected < Aws::EmptyStructure; end
|
3280
|
+
|
3194
3281
|
# Contains the name and value of a tag that you can provide to
|
3195
3282
|
# `SendEmail` or `SendRawEmail` to apply to an email.
|
3196
3283
|
#
|
@@ -3251,6 +3338,12 @@ module Aws::SES
|
|
3251
3338
|
include Aws::Structure
|
3252
3339
|
end
|
3253
3340
|
|
3341
|
+
# Indicates that the account has not been granted production access.
|
3342
|
+
#
|
3343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ProductionAccessNotGrantedException AWS API Documentation
|
3344
|
+
#
|
3345
|
+
class ProductionAccessNotGrantedException < Aws::EmptyStructure; end
|
3346
|
+
|
3254
3347
|
# A request to modify the delivery options for a configuration set.
|
3255
3348
|
#
|
3256
3349
|
# @note When making an API call, you may pass PutConfigurationSetDeliveryOptionsRequest
|
@@ -5515,7 +5608,7 @@ module Aws::SES
|
|
5515
5608
|
# }
|
5516
5609
|
#
|
5517
5610
|
# @!attribute [rw] scope
|
5518
|
-
# The
|
5611
|
+
# The scope of the StopAction. The only acceptable value is `RuleSet`.
|
5519
5612
|
# @return [String]
|
5520
5613
|
#
|
5521
5614
|
# @!attribute [rw] topic_arn
|
data/lib/aws-sdk-ses/waiters.rb
CHANGED
@@ -8,6 +8,67 @@
|
|
8
8
|
require 'aws-sdk-core/waiters'
|
9
9
|
|
10
10
|
module Aws::SES
|
11
|
+
# Waiters are utility methods that poll for a particular state to occur
|
12
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
13
|
+
# interval defined for the service client.
|
14
|
+
#
|
15
|
+
# For a list of operations that can be waited for and the
|
16
|
+
# client methods called for each operation, see the table below or the
|
17
|
+
# {Client#wait_until} field documentation for the {Client}.
|
18
|
+
#
|
19
|
+
# # Invoking a Waiter
|
20
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
21
|
+
# is the waiter name, which is specific to the service client and indicates
|
22
|
+
# which operation is being waited for. The second parameter is a hash of
|
23
|
+
# parameters that are passed to the client method called by the waiter,
|
24
|
+
# which varies according to the waiter name.
|
25
|
+
#
|
26
|
+
# # Wait Failures
|
27
|
+
# To catch errors in a waiter, use WaiterFailed,
|
28
|
+
# as shown in the following example.
|
29
|
+
#
|
30
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
31
|
+
# puts "failed waiting for instance running: #{error.message}
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
# # Configuring a Waiter
|
35
|
+
# Each waiter has a default polling interval and a maximum number of
|
36
|
+
# attempts it will make before returning control to your program.
|
37
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
38
|
+
# in your `#wait_until` call.
|
39
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
40
|
+
#
|
41
|
+
# client.wait_until(...) do |w|
|
42
|
+
# w.max_attempts = 5
|
43
|
+
# w.delay = 5
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
# To disable wait failures, set the value of either of these parameters
|
47
|
+
# to `nil`.
|
48
|
+
#
|
49
|
+
# # Extending a Waiter
|
50
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
51
|
+
# triggered before each polling attempt and before waiting.
|
52
|
+
#
|
53
|
+
# The following example implements an exponential backoff in a waiter
|
54
|
+
# by doubling the amount of time to wait on every attempt.
|
55
|
+
#
|
56
|
+
# client.wait_until(...) do |w|
|
57
|
+
# w.interval = 0 # disable normal sleep
|
58
|
+
# w.before_wait do |n, resp|
|
59
|
+
# sleep(n ** 2)
|
60
|
+
# end
|
61
|
+
# end
|
62
|
+
#
|
63
|
+
# # Available Waiters
|
64
|
+
#
|
65
|
+
# The following table lists the valid waiter names, the operations they call,
|
66
|
+
# and the default `:delay` and `:max_attempts` values.
|
67
|
+
#
|
68
|
+
# | waiter_name | params | :delay | :max_attempts |
|
69
|
+
# | --------------- | --------------------------------------------- | -------- | ------------- |
|
70
|
+
# | identity_exists | {Client#get_identity_verification_attributes} | 3 | 20 |
|
71
|
+
#
|
11
72
|
module Waiters
|
12
73
|
|
13
74
|
class IdentityExists
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.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:
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.71.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.71.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.7.6.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: AWS SDK for Ruby - Amazon SES
|