aws-sdk-ses 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ses.rb +7 -4
- data/lib/aws-sdk-ses/client.rb +61 -10
- 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 +7 -0
- data/lib/aws-sdk-ses/types.rb +90 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e3693cd16c9d1fc4bccb9e4c27db5ccf69e6a98
|
4
|
+
data.tar.gz: f419a72aeb58c7b611ba02e776e8efdb3c477e05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86abeaf046584f440cfea6544d232d6f06100cf833f015669875c47d2a2881d8f8fd1e8b9cdd97955fb40441e84eedf2c262d4a9cd6a9674656a5ca0e5a5b7c0
|
7
|
+
data.tar.gz: 0b1826a9391ba188c9d541c373dfae8bb92efb681380e7e0ed8815c82c03fa35295fda385690d266ac69a26ec77e04a28bbc7246e267f3c084f5184d41ee0974
|
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.28.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
|
@@ -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.
|
@@ -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,26 @@ 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
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
233
|
+
# no retry mode is provided.
|
234
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
235
|
+
# This includes support for retry quotas, which limit the number of
|
236
|
+
# unsuccessful retries a client can make.
|
237
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
238
|
+
# functionality of `standard` mode along with automatic client side
|
239
|
+
# throttling. This is a provisional mode that may change behavior
|
240
|
+
# in the future.
|
190
241
|
#
|
191
242
|
# @option options [String] :secret_access_key
|
192
243
|
#
|
@@ -209,16 +260,16 @@ module Aws::SES
|
|
209
260
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
261
|
#
|
211
262
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
263
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
264
|
# `Timeout::Error`.
|
214
265
|
#
|
215
266
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
267
|
# number of seconds to wait for response data. This value can
|
217
268
|
# safely be set
|
218
|
-
# per-request on the session
|
269
|
+
# per-request on the session yielded by {#session_for}.
|
219
270
|
#
|
220
271
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
272
|
+
# seconds a connection is allowed to sit idle before it is
|
222
273
|
# considered stale. Stale connections are closed and removed
|
223
274
|
# from the pool before making a request.
|
224
275
|
#
|
@@ -227,7 +278,7 @@ module Aws::SES
|
|
227
278
|
# request body. This option has no effect unless the request has
|
228
279
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
280
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
281
|
+
# request on the session yielded by {#session_for}.
|
231
282
|
#
|
232
283
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
284
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -4973,7 +5024,7 @@ module Aws::SES
|
|
4973
5024
|
params: params,
|
4974
5025
|
config: config)
|
4975
5026
|
context[:gem_name] = 'aws-sdk-ses'
|
4976
|
-
context[:gem_version] = '1.
|
5027
|
+
context[:gem_version] = '1.28.0'
|
4977
5028
|
Seahorse::Client::Request.new(handlers, context)
|
4978
5029
|
end
|
4979
5030
|
|
@@ -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
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::SES
|
9
|
+
# This class provides a resource oriented interface for SES.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::SES::Resource.new(region: 'us-west-2')
|
12
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
+
# If you do not pass +:client+, a default client will be constructed.
|
14
|
+
# client = Aws::SES::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::SES::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
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
|
@@ -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
|
@@ -3098,6 +3161,19 @@ module Aws::SES
|
|
3098
3161
|
include Aws::Structure
|
3099
3162
|
end
|
3100
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
|
+
|
3101
3177
|
# Represents the message to be sent, composed of a subject and a body.
|
3102
3178
|
#
|
3103
3179
|
# @note When making an API call, you may pass Message
|
@@ -3194,6 +3270,14 @@ module Aws::SES
|
|
3194
3270
|
include Aws::Structure
|
3195
3271
|
end
|
3196
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
|
+
|
3197
3281
|
# Contains the name and value of a tag that you can provide to
|
3198
3282
|
# `SendEmail` or `SendRawEmail` to apply to an email.
|
3199
3283
|
#
|
@@ -3254,6 +3338,12 @@ module Aws::SES
|
|
3254
3338
|
include Aws::Structure
|
3255
3339
|
end
|
3256
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
|
+
|
3257
3347
|
# A request to modify the delivery options for a configuration set.
|
3258
3348
|
#
|
3259
3349
|
# @note When making an API call, you may pass PutConfigurationSetDeliveryOptionsRequest
|
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.28.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-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|