aws-sdk-ses 1.27.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: '0479c6baafe7b643c90eae722e18f02f969140e7'
4
- data.tar.gz: 5a515a3de11d74d82c2deae4cdd318338610dc89
2
+ SHA256:
3
+ metadata.gz: 28f029807d69e1d4a9db43e0a3382236826e7ffacf43639343ea6fc5c5e28a0f
4
+ data.tar.gz: 461e7a3b7ed1ebbbfddd169468ab2e80a049f4858a28f262b3b31f2e599187c0
5
5
  SHA512:
6
- metadata.gz: 55e0700cd99446a6151e2aebf3076ab94ef4191579b29a33265dc2ba050b7bc8d5fa4f09a37408fd7e493967fa95c1d92c01dccdefc0601eb0ea40e813daf021
7
- data.tar.gz: 824f2077484b745477255262adbb8331f6a4a5e27f42a34a503e80139a1b21eebcd3421db9e2108ddfeb0f05f083fc0f2d6008e573e7c42bd897ef365e21d172
6
+ metadata.gz: 58e041a7e6d647c56bdf4a2d6b7aed7a96d13d800cbe43393f7048103a12533b87c43da1f5606a63feaaaca50ae303e4e80e12edb298e7ee6400de5a9dfb0418
7
+ data.tar.gz: 9e83ea7d26c54a7a7429738e44c5542137faf2d99f1ef2b596287a576d52665938d872246de0b9acab1bb956262c1d8c72a150e9a0ce669d89190de5f42b9b56
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -25,17 +27,20 @@ require_relative 'aws-sdk-ses/customizations'
25
27
  # methods each accept a hash of request parameters and return a response
26
28
  # structure.
27
29
  #
30
+ # ses = Aws::SES::Client.new
31
+ # resp = ses.clone_receipt_rule_set(params)
32
+ #
28
33
  # See {Client} for more information.
29
34
  #
30
35
  # # Errors
31
36
  #
32
- # Errors returned from Amazon Simple Email Service all
33
- # extend {Errors::ServiceError}.
37
+ # Errors returned from Amazon Simple Email Service are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
34
39
  #
35
40
  # begin
36
41
  # # do stuff
37
42
  # rescue Aws::SES::Errors::ServiceError
38
- # # rescues all service API errors
43
+ # # rescues all Amazon Simple Email Service API errors
39
44
  # end
40
45
  #
41
46
  # See {Errors} for more information.
@@ -43,6 +48,6 @@ require_relative 'aws-sdk-ses/customizations'
43
48
  # @service
44
49
  module Aws::SES
45
50
 
46
- GEM_VERSION = '1.27.0'
51
+ GEM_VERSION = '1.32.0'
47
52
 
48
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
32
 
30
33
  Aws::Plugins::GlobalConfiguration.add_identifier(:ses)
31
34
 
32
35
  module Aws::SES
36
+ # An API client for SES. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::SES::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
33
48
  class Client < Seahorse::Client::Base
34
49
 
35
50
  include Aws::ClientStubs
@@ -57,6 +72,7 @@ module Aws::SES
57
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
60
76
  add_plugin(Aws::Plugins::SignatureV4)
61
77
  add_plugin(Aws::Plugins::Protocols::Query)
62
78
 
@@ -93,7 +109,7 @@ module Aws::SES
93
109
  # @option options [required, String] :region
94
110
  # The AWS region to connect to. The configured `:region` is
95
111
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
97
113
  #
98
114
  # * `Aws.config[:region]`
99
115
  # * `ENV['AWS_REGION']`
@@ -108,6 +124,12 @@ module Aws::SES
108
124
  # When set to `true`, a thread polling for endpoints will be running in
109
125
  # the background every 60 secs (default). Defaults to `false`.
110
126
  #
127
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
128
+ # Used only in `adaptive` retry mode. When true, the request will sleep
129
+ # until there is sufficent client side capacity to retry the request.
130
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
131
+ # not retry instead of sleeping.
132
+ #
111
133
  # @option options [Boolean] :client_side_monitoring (false)
112
134
  # When `true`, client-side metrics will be collected for all API requests from
113
135
  # this client.
@@ -132,6 +154,10 @@ module Aws::SES
132
154
  # When `true`, an attempt is made to coerce request parameters into
133
155
  # the required types.
134
156
  #
157
+ # @option options [Boolean] :correct_clock_skew (true)
158
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
159
+ # a clock skew correction and retry requests with skewed client clocks.
160
+ #
135
161
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
162
  # Set to true to disable SDK automatically adding host prefix
137
163
  # to default service endpoint when available.
@@ -139,7 +165,7 @@ module Aws::SES
139
165
  # @option options [String] :endpoint
140
166
  # The client endpoint is normally constructed from the `:region`
141
167
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
169
  #
144
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +180,7 @@ module Aws::SES
154
180
  # requests fetching endpoints information. Defaults to 60 sec.
155
181
  #
156
182
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
184
  #
159
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
186
  # The log formatter.
@@ -166,15 +192,29 @@ module Aws::SES
166
192
  # The Logger instance to send log messages to. If this option
167
193
  # is not set, logging will be disabled.
168
194
  #
195
+ # @option options [Integer] :max_attempts (3)
196
+ # An integer representing the maximum number attempts that will be made for
197
+ # a single request, including the initial attempt. For example,
198
+ # setting this value to 5 will result in a request being retried up to
199
+ # 4 times. Used in `standard` and `adaptive` retry modes.
200
+ #
169
201
  # @option options [String] :profile ("default")
170
202
  # Used when loading credentials from the shared credentials file
171
203
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
204
  #
205
+ # @option options [Proc] :retry_backoff
206
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
+ # This option is only used in the `legacy` retry mode.
208
+ #
173
209
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
210
+ # The base delay in seconds used by the default backoff function. This option
211
+ # is only used in the `legacy` retry mode.
175
212
  #
176
213
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
214
+ # A delay randomiser function used by the default backoff function.
215
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
216
+ # otherwise a Proc that takes and returns a number. This option is only used
217
+ # in the `legacy` retry mode.
178
218
  #
179
219
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
220
  #
@@ -182,11 +222,30 @@ module Aws::SES
182
222
  # The maximum number of times to retry failed requests. Only
183
223
  # ~ 500 level server errors and certain ~ 400 level client errors
184
224
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
225
+ # checksum errors, networking errors, timeout errors, auth errors,
226
+ # endpoint discovery, and errors from expired credentials.
227
+ # This option is only used in the `legacy` retry mode.
187
228
  #
188
229
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
230
+ # The maximum number of seconds to delay between retries (0 for no limit)
231
+ # used by the default backoff function. This option is only used in the
232
+ # `legacy` retry mode.
233
+ #
234
+ # @option options [String] :retry_mode ("legacy")
235
+ # Specifies which retry algorithm to use. Values are:
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
190
249
  #
191
250
  # @option options [String] :secret_access_key
192
251
  #
@@ -209,16 +268,15 @@ module Aws::SES
209
268
  # requests through. Formatted like 'http://proxy.com:123'.
210
269
  #
211
270
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
271
+ # seconds to wait when opening a HTTP session before raising a
213
272
  # `Timeout::Error`.
214
273
  #
215
274
  # @option options [Integer] :http_read_timeout (60) The default
216
275
  # 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}.
276
+ # safely be set per-request on the session.
219
277
  #
220
278
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
279
+ # seconds a connection is allowed to sit idle before it is
222
280
  # considered stale. Stale connections are closed and removed
223
281
  # from the pool before making a request.
224
282
  #
@@ -227,7 +285,7 @@ module Aws::SES
227
285
  # request body. This option has no effect unless the request has
228
286
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
287
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
288
+ # request on the session.
231
289
  #
232
290
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
291
  # HTTP debug output will be sent to the `:logger`.
@@ -1981,6 +2039,11 @@ module Aws::SES
1981
2039
  # resp.verification_attributes["Identity"].verification_status #=> String, one of "Pending", "Success", "Failed", "TemporaryFailure", "NotStarted"
1982
2040
  # resp.verification_attributes["Identity"].verification_token #=> String
1983
2041
  #
2042
+ #
2043
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2044
+ #
2045
+ # * identity_exists
2046
+ #
1984
2047
  # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes AWS API Documentation
1985
2048
  #
1986
2049
  # @overload get_identity_verification_attributes(params = {})
@@ -2208,6 +2271,8 @@ module Aws::SES
2208
2271
  # * {Types::ListCustomVerificationEmailTemplatesResponse#custom_verification_email_templates #custom_verification_email_templates} => Array&lt;Types::CustomVerificationEmailTemplate&gt;
2209
2272
  # * {Types::ListCustomVerificationEmailTemplatesResponse#next_token #next_token} => String
2210
2273
  #
2274
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2275
+ #
2211
2276
  # @example Request syntax with placeholder values
2212
2277
  #
2213
2278
  # resp = client.list_custom_verification_email_templates({
@@ -2257,6 +2322,8 @@ module Aws::SES
2257
2322
  # * {Types::ListIdentitiesResponse#identities #identities} => Array&lt;String&gt;
2258
2323
  # * {Types::ListIdentitiesResponse#next_token #next_token} => String
2259
2324
  #
2325
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2326
+ #
2260
2327
  #
2261
2328
  # @example Example: ListIdentities
2262
2329
  #
@@ -4973,7 +5040,7 @@ module Aws::SES
4973
5040
  params: params,
4974
5041
  config: config)
4975
5042
  context[:gem_name] = 'aws-sdk-ses'
4976
- context[:gem_version] = '1.27.0'
5043
+ context[:gem_version] = '1.32.0'
4977
5044
  Seahorse::Client::Request.new(handlers, context)
4978
5045
  end
4979
5046
 
@@ -5039,9 +5106,9 @@ module Aws::SES
5039
5106
  # The following table lists the valid waiter names, the operations they call,
5040
5107
  # and the default `:delay` and `:max_attempts` values.
5041
5108
  #
5042
- # | waiter_name | params | :delay | :max_attempts |
5043
- # | --------------- | --------------------------------------- | -------- | ------------- |
5044
- # | identity_exists | {#get_identity_verification_attributes} | 3 | 20 |
5109
+ # | waiter_name | params | :delay | :max_attempts |
5110
+ # | --------------- | --------------------------------------------- | -------- | ------------- |
5111
+ # | identity_exists | {Client#get_identity_verification_attributes} | 3 | 20 |
5045
5112
  #
5046
5113
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
5047
5114
  # because the waiter has entered a state that it will not transition
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -325,6 +327,8 @@ module Aws::SES
325
327
  VerifyEmailIdentityResponse = Shapes::StructureShape.new(name: 'VerifyEmailIdentityResponse')
326
328
  WorkmailAction = Shapes::StructureShape.new(name: 'WorkmailAction')
327
329
 
330
+ AccountSendingPausedException.struct_class = Types::AccountSendingPausedException
331
+
328
332
  AddHeaderAction.add_member(:header_name, Shapes::ShapeRef.new(shape: HeaderName, required: true, location_name: "HeaderName"))
329
333
  AddHeaderAction.add_member(:header_value, Shapes::ShapeRef.new(shape: HeaderValue, required: true, location_name: "HeaderValue"))
330
334
  AddHeaderAction.struct_class = Types::AddHeaderAction
@@ -453,6 +457,8 @@ module Aws::SES
453
457
 
454
458
  CreateTemplateResponse.struct_class = Types::CreateTemplateResponse
455
459
 
460
+ CustomVerificationEmailInvalidContentException.struct_class = Types::CustomVerificationEmailInvalidContentException
461
+
456
462
  CustomVerificationEmailTemplate.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
457
463
  CustomVerificationEmailTemplate.add_member(:from_email_address, Shapes::ShapeRef.new(shape: FromAddress, location_name: "FromEmailAddress"))
458
464
  CustomVerificationEmailTemplate.add_member(:template_subject, Shapes::ShapeRef.new(shape: Subject, location_name: "TemplateSubject"))
@@ -681,6 +687,10 @@ module Aws::SES
681
687
  InvalidCloudWatchDestinationException.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, location_name: "EventDestinationName"))
682
688
  InvalidCloudWatchDestinationException.struct_class = Types::InvalidCloudWatchDestinationException
683
689
 
690
+ InvalidConfigurationSetException.struct_class = Types::InvalidConfigurationSetException
691
+
692
+ InvalidDeliveryOptionsException.struct_class = Types::InvalidDeliveryOptionsException
693
+
684
694
  InvalidFirehoseDestinationException.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
685
695
  InvalidFirehoseDestinationException.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, location_name: "EventDestinationName"))
686
696
  InvalidFirehoseDestinationException.struct_class = Types::InvalidFirehoseDestinationException
@@ -688,6 +698,8 @@ module Aws::SES
688
698
  InvalidLambdaFunctionException.add_member(:function_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "FunctionArn"))
689
699
  InvalidLambdaFunctionException.struct_class = Types::InvalidLambdaFunctionException
690
700
 
701
+ InvalidPolicyException.struct_class = Types::InvalidPolicyException
702
+
691
703
  InvalidRenderingParameterException.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
692
704
  InvalidRenderingParameterException.struct_class = Types::InvalidRenderingParameterException
693
705
 
@@ -704,6 +716,8 @@ module Aws::SES
704
716
  InvalidTemplateException.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
705
717
  InvalidTemplateException.struct_class = Types::InvalidTemplateException
706
718
 
719
+ InvalidTrackingOptionsException.struct_class = Types::InvalidTrackingOptionsException
720
+
707
721
  KinesisFirehoseDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "IAMRoleARN"))
708
722
  KinesisFirehoseDestination.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "DeliveryStreamARN"))
709
723
  KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
@@ -713,6 +727,8 @@ module Aws::SES
713
727
  LambdaAction.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location_name: "InvocationType"))
714
728
  LambdaAction.struct_class = Types::LambdaAction
715
729
 
730
+ LimitExceededException.struct_class = Types::LimitExceededException
731
+
716
732
  ListConfigurationSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
717
733
  ListConfigurationSetsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location_name: "MaxItems"))
718
734
  ListConfigurationSetsRequest.struct_class = Types::ListConfigurationSetsRequest
@@ -770,6 +786,8 @@ module Aws::SES
770
786
  MailFromDomainAttributes.key = Shapes::ShapeRef.new(shape: Identity)
771
787
  MailFromDomainAttributes.value = Shapes::ShapeRef.new(shape: IdentityMailFromDomainAttributes)
772
788
 
789
+ MailFromDomainNotVerifiedException.struct_class = Types::MailFromDomainNotVerifiedException
790
+
773
791
  Message.add_member(:subject, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Subject"))
774
792
  Message.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "Body"))
775
793
  Message.struct_class = Types::Message
@@ -779,6 +797,8 @@ module Aws::SES
779
797
  MessageDsn.add_member(:extension_fields, Shapes::ShapeRef.new(shape: ExtensionFieldList, location_name: "ExtensionFields"))
780
798
  MessageDsn.struct_class = Types::MessageDsn
781
799
 
800
+ MessageRejected.struct_class = Types::MessageRejected
801
+
782
802
  MessageTag.add_member(:name, Shapes::ShapeRef.new(shape: MessageTagName, required: true, location_name: "Name"))
783
803
  MessageTag.add_member(:value, Shapes::ShapeRef.new(shape: MessageTagValue, required: true, location_name: "Value"))
784
804
  MessageTag.struct_class = Types::MessageTag
@@ -796,6 +816,8 @@ module Aws::SES
796
816
 
797
817
  PolicyNameList.member = Shapes::ShapeRef.new(shape: PolicyName)
798
818
 
819
+ ProductionAccessNotGrantedException.struct_class = Types::ProductionAccessNotGrantedException
820
+
799
821
  PutConfigurationSetDeliveryOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
800
822
  PutConfigurationSetDeliveryOptionsRequest.add_member(:delivery_options, Shapes::ShapeRef.new(shape: DeliveryOptions, location_name: "DeliveryOptions"))
801
823
  PutConfigurationSetDeliveryOptionsRequest.struct_class = Types::PutConfigurationSetDeliveryOptionsRequest
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,10 +8,76 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::SES
11
+
12
+ # When SES returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::SES::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all SES errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::SES::Errors::ServiceError
20
+ # # rescues all SES API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {AccountSendingPausedException}
31
+ # * {AlreadyExistsException}
32
+ # * {CannotDeleteException}
33
+ # * {ConfigurationSetAlreadyExistsException}
34
+ # * {ConfigurationSetDoesNotExistException}
35
+ # * {ConfigurationSetSendingPausedException}
36
+ # * {CustomVerificationEmailInvalidContentException}
37
+ # * {CustomVerificationEmailTemplateAlreadyExistsException}
38
+ # * {CustomVerificationEmailTemplateDoesNotExistException}
39
+ # * {EventDestinationAlreadyExistsException}
40
+ # * {EventDestinationDoesNotExistException}
41
+ # * {FromEmailAddressNotVerifiedException}
42
+ # * {InvalidCloudWatchDestinationException}
43
+ # * {InvalidConfigurationSetException}
44
+ # * {InvalidDeliveryOptionsException}
45
+ # * {InvalidFirehoseDestinationException}
46
+ # * {InvalidLambdaFunctionException}
47
+ # * {InvalidPolicyException}
48
+ # * {InvalidRenderingParameterException}
49
+ # * {InvalidS3ConfigurationException}
50
+ # * {InvalidSNSDestinationException}
51
+ # * {InvalidSnsTopicException}
52
+ # * {InvalidTemplateException}
53
+ # * {InvalidTrackingOptionsException}
54
+ # * {LimitExceededException}
55
+ # * {MailFromDomainNotVerifiedException}
56
+ # * {MessageRejected}
57
+ # * {MissingRenderingAttributeException}
58
+ # * {ProductionAccessNotGrantedException}
59
+ # * {RuleDoesNotExistException}
60
+ # * {RuleSetDoesNotExistException}
61
+ # * {TemplateDoesNotExistException}
62
+ # * {TrackingOptionsAlreadyExistsException}
63
+ # * {TrackingOptionsDoesNotExistException}
64
+ #
65
+ # Additionally, error classes are dynamically generated for service errors based on the error code
66
+ # if they are not defined above.
9
67
  module Errors
10
68
 
11
69
  extend Aws::Errors::DynamicErrors
12
70
 
71
+ class AccountSendingPausedException < ServiceError
72
+
73
+ # @param [Seahorse::Client::RequestContext] context
74
+ # @param [String] message
75
+ # @param [Aws::SES::Types::AccountSendingPausedException] data
76
+ def initialize(context, message, data = Aws::EmptyStructure.new)
77
+ super(context, message, data)
78
+ end
79
+ end
80
+
13
81
  class AlreadyExistsException < ServiceError
14
82
 
15
83
  # @param [Seahorse::Client::RequestContext] context
@@ -23,7 +91,6 @@ module Aws::SES
23
91
  def name
24
92
  @data[:name]
25
93
  end
26
-
27
94
  end
28
95
 
29
96
  class CannotDeleteException < ServiceError
@@ -39,7 +106,6 @@ module Aws::SES
39
106
  def name
40
107
  @data[:name]
41
108
  end
42
-
43
109
  end
44
110
 
45
111
  class ConfigurationSetAlreadyExistsException < ServiceError
@@ -55,7 +121,6 @@ module Aws::SES
55
121
  def configuration_set_name
56
122
  @data[:configuration_set_name]
57
123
  end
58
-
59
124
  end
60
125
 
61
126
  class ConfigurationSetDoesNotExistException < ServiceError
@@ -71,7 +136,6 @@ module Aws::SES
71
136
  def configuration_set_name
72
137
  @data[:configuration_set_name]
73
138
  end
74
-
75
139
  end
76
140
 
77
141
  class ConfigurationSetSendingPausedException < ServiceError
@@ -87,7 +151,16 @@ module Aws::SES
87
151
  def configuration_set_name
88
152
  @data[:configuration_set_name]
89
153
  end
154
+ end
90
155
 
156
+ class CustomVerificationEmailInvalidContentException < ServiceError
157
+
158
+ # @param [Seahorse::Client::RequestContext] context
159
+ # @param [String] message
160
+ # @param [Aws::SES::Types::CustomVerificationEmailInvalidContentException] data
161
+ def initialize(context, message, data = Aws::EmptyStructure.new)
162
+ super(context, message, data)
163
+ end
91
164
  end
92
165
 
93
166
  class CustomVerificationEmailTemplateAlreadyExistsException < ServiceError
@@ -103,7 +176,6 @@ module Aws::SES
103
176
  def custom_verification_email_template_name
104
177
  @data[:custom_verification_email_template_name]
105
178
  end
106
-
107
179
  end
108
180
 
109
181
  class CustomVerificationEmailTemplateDoesNotExistException < ServiceError
@@ -119,7 +191,6 @@ module Aws::SES
119
191
  def custom_verification_email_template_name
120
192
  @data[:custom_verification_email_template_name]
121
193
  end
122
-
123
194
  end
124
195
 
125
196
  class EventDestinationAlreadyExistsException < ServiceError
@@ -140,7 +211,6 @@ module Aws::SES
140
211
  def event_destination_name
141
212
  @data[:event_destination_name]
142
213
  end
143
-
144
214
  end
145
215
 
146
216
  class EventDestinationDoesNotExistException < ServiceError
@@ -161,7 +231,6 @@ module Aws::SES
161
231
  def event_destination_name
162
232
  @data[:event_destination_name]
163
233
  end
164
-
165
234
  end
166
235
 
167
236
  class FromEmailAddressNotVerifiedException < ServiceError
@@ -177,7 +246,6 @@ module Aws::SES
177
246
  def from_email_address
178
247
  @data[:from_email_address]
179
248
  end
180
-
181
249
  end
182
250
 
183
251
  class InvalidCloudWatchDestinationException < ServiceError
@@ -198,7 +266,26 @@ module Aws::SES
198
266
  def event_destination_name
199
267
  @data[:event_destination_name]
200
268
  end
269
+ end
270
+
271
+ class InvalidConfigurationSetException < ServiceError
272
+
273
+ # @param [Seahorse::Client::RequestContext] context
274
+ # @param [String] message
275
+ # @param [Aws::SES::Types::InvalidConfigurationSetException] data
276
+ def initialize(context, message, data = Aws::EmptyStructure.new)
277
+ super(context, message, data)
278
+ end
279
+ end
280
+
281
+ class InvalidDeliveryOptionsException < ServiceError
201
282
 
283
+ # @param [Seahorse::Client::RequestContext] context
284
+ # @param [String] message
285
+ # @param [Aws::SES::Types::InvalidDeliveryOptionsException] data
286
+ def initialize(context, message, data = Aws::EmptyStructure.new)
287
+ super(context, message, data)
288
+ end
202
289
  end
203
290
 
204
291
  class InvalidFirehoseDestinationException < ServiceError
@@ -219,7 +306,6 @@ module Aws::SES
219
306
  def event_destination_name
220
307
  @data[:event_destination_name]
221
308
  end
222
-
223
309
  end
224
310
 
225
311
  class InvalidLambdaFunctionException < ServiceError
@@ -235,7 +321,16 @@ module Aws::SES
235
321
  def function_arn
236
322
  @data[:function_arn]
237
323
  end
324
+ end
325
+
326
+ class InvalidPolicyException < ServiceError
238
327
 
328
+ # @param [Seahorse::Client::RequestContext] context
329
+ # @param [String] message
330
+ # @param [Aws::SES::Types::InvalidPolicyException] data
331
+ def initialize(context, message, data = Aws::EmptyStructure.new)
332
+ super(context, message, data)
333
+ end
239
334
  end
240
335
 
241
336
  class InvalidRenderingParameterException < ServiceError
@@ -251,7 +346,6 @@ module Aws::SES
251
346
  def template_name
252
347
  @data[:template_name]
253
348
  end
254
-
255
349
  end
256
350
 
257
351
  class InvalidS3ConfigurationException < ServiceError
@@ -267,7 +361,6 @@ module Aws::SES
267
361
  def bucket
268
362
  @data[:bucket]
269
363
  end
270
-
271
364
  end
272
365
 
273
366
  class InvalidSNSDestinationException < ServiceError
@@ -288,7 +381,6 @@ module Aws::SES
288
381
  def event_destination_name
289
382
  @data[:event_destination_name]
290
383
  end
291
-
292
384
  end
293
385
 
294
386
  class InvalidSnsTopicException < ServiceError
@@ -304,7 +396,6 @@ module Aws::SES
304
396
  def topic
305
397
  @data[:topic]
306
398
  end
307
-
308
399
  end
309
400
 
310
401
  class InvalidTemplateException < ServiceError
@@ -320,7 +411,46 @@ module Aws::SES
320
411
  def template_name
321
412
  @data[:template_name]
322
413
  end
414
+ end
415
+
416
+ class InvalidTrackingOptionsException < ServiceError
417
+
418
+ # @param [Seahorse::Client::RequestContext] context
419
+ # @param [String] message
420
+ # @param [Aws::SES::Types::InvalidTrackingOptionsException] data
421
+ def initialize(context, message, data = Aws::EmptyStructure.new)
422
+ super(context, message, data)
423
+ end
424
+ end
425
+
426
+ class LimitExceededException < ServiceError
427
+
428
+ # @param [Seahorse::Client::RequestContext] context
429
+ # @param [String] message
430
+ # @param [Aws::SES::Types::LimitExceededException] data
431
+ def initialize(context, message, data = Aws::EmptyStructure.new)
432
+ super(context, message, data)
433
+ end
434
+ end
435
+
436
+ class MailFromDomainNotVerifiedException < ServiceError
437
+
438
+ # @param [Seahorse::Client::RequestContext] context
439
+ # @param [String] message
440
+ # @param [Aws::SES::Types::MailFromDomainNotVerifiedException] data
441
+ def initialize(context, message, data = Aws::EmptyStructure.new)
442
+ super(context, message, data)
443
+ end
444
+ end
323
445
 
446
+ class MessageRejected < ServiceError
447
+
448
+ # @param [Seahorse::Client::RequestContext] context
449
+ # @param [String] message
450
+ # @param [Aws::SES::Types::MessageRejected] data
451
+ def initialize(context, message, data = Aws::EmptyStructure.new)
452
+ super(context, message, data)
453
+ end
324
454
  end
325
455
 
326
456
  class MissingRenderingAttributeException < ServiceError
@@ -336,7 +466,16 @@ module Aws::SES
336
466
  def template_name
337
467
  @data[:template_name]
338
468
  end
469
+ end
470
+
471
+ class ProductionAccessNotGrantedException < ServiceError
339
472
 
473
+ # @param [Seahorse::Client::RequestContext] context
474
+ # @param [String] message
475
+ # @param [Aws::SES::Types::ProductionAccessNotGrantedException] data
476
+ def initialize(context, message, data = Aws::EmptyStructure.new)
477
+ super(context, message, data)
478
+ end
340
479
  end
341
480
 
342
481
  class RuleDoesNotExistException < ServiceError
@@ -352,7 +491,6 @@ module Aws::SES
352
491
  def name
353
492
  @data[:name]
354
493
  end
355
-
356
494
  end
357
495
 
358
496
  class RuleSetDoesNotExistException < ServiceError
@@ -368,7 +506,6 @@ module Aws::SES
368
506
  def name
369
507
  @data[:name]
370
508
  end
371
-
372
509
  end
373
510
 
374
511
  class TemplateDoesNotExistException < ServiceError
@@ -384,7 +521,6 @@ module Aws::SES
384
521
  def template_name
385
522
  @data[:template_name]
386
523
  end
387
-
388
524
  end
389
525
 
390
526
  class TrackingOptionsAlreadyExistsException < ServiceError
@@ -400,7 +536,6 @@ module Aws::SES
400
536
  def configuration_set_name
401
537
  @data[:configuration_set_name]
402
538
  end
403
-
404
539
  end
405
540
 
406
541
  class TrackingOptionsDoesNotExistException < ServiceError
@@ -416,7 +551,6 @@ module Aws::SES
416
551
  def configuration_set_name
417
552
  @data[:configuration_set_name]
418
553
  end
419
-
420
554
  end
421
555
 
422
556
  end