aws-sdk-pinpointemail 1.16.0 → 1.17.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-pinpointemail.rb +7 -4
- data/lib/aws-sdk-pinpointemail/client.rb +61 -10
- data/lib/aws-sdk-pinpointemail/client_api.rb +20 -0
- data/lib/aws-sdk-pinpointemail/errors.rb +132 -0
- data/lib/aws-sdk-pinpointemail/resource.rb +7 -0
- data/lib/aws-sdk-pinpointemail/types.rb +62 -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: 7d62be975dd066524069de9cb78938d227ad30fa
|
4
|
+
data.tar.gz: 6af88eda8862a7b1cb77ab2c643ce7aaf2ff2f2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2614a0eae3a218a7e6fd3263b9002674aaf032ce05178b5b07eaf48b802b809bc2c0a0acf817502c8fb686d8484330bd9ce63c59f32c380472ad016726826487
|
7
|
+
data.tar.gz: b56187f0e1a8c1e746dd3fbfbf83983ba2e7c7f7986552cea8bf71eedc0068202297f0b76d836596939aba7f5a8169eda73e290ffb0c3b7789e1b28e79ec7f4e
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-pinpointemail/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# pinpoint_email = Aws::PinpointEmail::Client.new
|
28
|
+
# resp = pinpoint_email.create_configuration_set(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon Pinpoint Email Service
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon Pinpoint Email Service are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::PinpointEmail::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon Pinpoint Email Service API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-pinpointemail/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::PinpointEmail
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.17.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:pinpointemail)
|
31
31
|
|
32
32
|
module Aws::PinpointEmail
|
33
|
+
# An API client for PinpointEmail. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::PinpointEmail::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::PinpointEmail
|
|
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::PinpointEmail
|
|
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::PinpointEmail
|
|
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::PinpointEmail
|
|
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::PinpointEmail
|
|
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::PinpointEmail
|
|
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`.
|
@@ -2170,7 +2221,7 @@ module Aws::PinpointEmail
|
|
2170
2221
|
params: params,
|
2171
2222
|
config: config)
|
2172
2223
|
context[:gem_name] = 'aws-sdk-pinpointemail'
|
2173
|
-
context[:gem_version] = '1.
|
2224
|
+
context[:gem_version] = '1.17.0'
|
2174
2225
|
Seahorse::Client::Request.new(handlers, context)
|
2175
2226
|
end
|
2176
2227
|
|
@@ -224,6 +224,12 @@ module Aws::PinpointEmail
|
|
224
224
|
VolumeStatistics = Shapes::StructureShape.new(name: 'VolumeStatistics')
|
225
225
|
WarmupStatus = Shapes::StringShape.new(name: 'WarmupStatus')
|
226
226
|
|
227
|
+
AccountSuspendedException.struct_class = Types::AccountSuspendedException
|
228
|
+
|
229
|
+
AlreadyExistsException.struct_class = Types::AlreadyExistsException
|
230
|
+
|
231
|
+
BadRequestException.struct_class = Types::BadRequestException
|
232
|
+
|
227
233
|
BlacklistEntries.member = Shapes::ShapeRef.new(shape: BlacklistEntry)
|
228
234
|
|
229
235
|
BlacklistEntry.add_member(:rbl_name, Shapes::ShapeRef.new(shape: RblName, location_name: "RblName"))
|
@@ -250,6 +256,8 @@ module Aws::PinpointEmail
|
|
250
256
|
|
251
257
|
CloudWatchDimensionConfigurations.member = Shapes::ShapeRef.new(shape: CloudWatchDimensionConfiguration)
|
252
258
|
|
259
|
+
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
260
|
+
|
253
261
|
ConfigurationSetNameList.member = Shapes::ShapeRef.new(shape: ConfigurationSetName)
|
254
262
|
|
255
263
|
Content.add_member(:data, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "Data"))
|
@@ -541,6 +549,8 @@ module Aws::PinpointEmail
|
|
541
549
|
KinesisFirehoseDestination.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "DeliveryStreamArn"))
|
542
550
|
KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
|
543
551
|
|
552
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
553
|
+
|
544
554
|
ListConfigurationSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
545
555
|
ListConfigurationSetsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
|
546
556
|
ListConfigurationSetsRequest.struct_class = Types::ListConfigurationSetsRequest
|
@@ -597,16 +607,22 @@ module Aws::PinpointEmail
|
|
597
607
|
MailFromAttributes.add_member(:behavior_on_mx_failure, Shapes::ShapeRef.new(shape: BehaviorOnMxFailure, required: true, location_name: "BehaviorOnMxFailure"))
|
598
608
|
MailFromAttributes.struct_class = Types::MailFromAttributes
|
599
609
|
|
610
|
+
MailFromDomainNotVerifiedException.struct_class = Types::MailFromDomainNotVerifiedException
|
611
|
+
|
600
612
|
Message.add_member(:subject, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Subject"))
|
601
613
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "Body"))
|
602
614
|
Message.struct_class = Types::Message
|
603
615
|
|
616
|
+
MessageRejected.struct_class = Types::MessageRejected
|
617
|
+
|
604
618
|
MessageTag.add_member(:name, Shapes::ShapeRef.new(shape: MessageTagName, required: true, location_name: "Name"))
|
605
619
|
MessageTag.add_member(:value, Shapes::ShapeRef.new(shape: MessageTagValue, required: true, location_name: "Value"))
|
606
620
|
MessageTag.struct_class = Types::MessageTag
|
607
621
|
|
608
622
|
MessageTagList.member = Shapes::ShapeRef.new(shape: MessageTag)
|
609
623
|
|
624
|
+
NotFoundException.struct_class = Types::NotFoundException
|
625
|
+
|
610
626
|
OverallVolume.add_member(:volume_statistics, Shapes::ShapeRef.new(shape: VolumeStatistics, location_name: "VolumeStatistics"))
|
611
627
|
OverallVolume.add_member(:read_rate_percent, Shapes::ShapeRef.new(shape: Percentage, location_name: "ReadRatePercent"))
|
612
628
|
OverallVolume.add_member(:domain_isp_placements, Shapes::ShapeRef.new(shape: DomainIspPlacements, location_name: "DomainIspPlacements"))
|
@@ -721,6 +737,8 @@ module Aws::PinpointEmail
|
|
721
737
|
SendingOptions.add_member(:sending_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "SendingEnabled"))
|
722
738
|
SendingOptions.struct_class = Types::SendingOptions
|
723
739
|
|
740
|
+
SendingPausedException.struct_class = Types::SendingPausedException
|
741
|
+
|
724
742
|
SnsDestination.add_member(:topic_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "TopicArn"))
|
725
743
|
SnsDestination.struct_class = Types::SnsDestination
|
726
744
|
|
@@ -742,6 +760,8 @@ module Aws::PinpointEmail
|
|
742
760
|
Template.add_member(:template_data, Shapes::ShapeRef.new(shape: TemplateData, location_name: "TemplateData"))
|
743
761
|
Template.struct_class = Types::Template
|
744
762
|
|
763
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
764
|
+
|
745
765
|
TrackingOptions.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, required: true, location_name: "CustomRedirectDomain"))
|
746
766
|
TrackingOptions.struct_class = Types::TrackingOptions
|
747
767
|
|
@@ -6,9 +6,141 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::PinpointEmail
|
9
|
+
|
10
|
+
# When PinpointEmail returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::PinpointEmail::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all PinpointEmail errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::PinpointEmail::Errors::ServiceError
|
18
|
+
# # rescues all PinpointEmail 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
|
+
# * {AccountSuspendedException}
|
29
|
+
# * {AlreadyExistsException}
|
30
|
+
# * {BadRequestException}
|
31
|
+
# * {ConcurrentModificationException}
|
32
|
+
# * {LimitExceededException}
|
33
|
+
# * {MailFromDomainNotVerifiedException}
|
34
|
+
# * {MessageRejected}
|
35
|
+
# * {NotFoundException}
|
36
|
+
# * {SendingPausedException}
|
37
|
+
# * {TooManyRequestsException}
|
38
|
+
#
|
39
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
40
|
+
# if they are not defined above.
|
9
41
|
module Errors
|
10
42
|
|
11
43
|
extend Aws::Errors::DynamicErrors
|
12
44
|
|
45
|
+
class AccountSuspendedException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::PinpointEmail::Types::AccountSuspendedException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
class AlreadyExistsException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::PinpointEmail::Types::AlreadyExistsException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
class BadRequestException < ServiceError
|
66
|
+
|
67
|
+
# @param [Seahorse::Client::RequestContext] context
|
68
|
+
# @param [String] message
|
69
|
+
# @param [Aws::PinpointEmail::Types::BadRequestException] data
|
70
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
71
|
+
super(context, message, data)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
class ConcurrentModificationException < ServiceError
|
76
|
+
|
77
|
+
# @param [Seahorse::Client::RequestContext] context
|
78
|
+
# @param [String] message
|
79
|
+
# @param [Aws::PinpointEmail::Types::ConcurrentModificationException] data
|
80
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
81
|
+
super(context, message, data)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class LimitExceededException < ServiceError
|
86
|
+
|
87
|
+
# @param [Seahorse::Client::RequestContext] context
|
88
|
+
# @param [String] message
|
89
|
+
# @param [Aws::PinpointEmail::Types::LimitExceededException] data
|
90
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
91
|
+
super(context, message, data)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
class MailFromDomainNotVerifiedException < ServiceError
|
96
|
+
|
97
|
+
# @param [Seahorse::Client::RequestContext] context
|
98
|
+
# @param [String] message
|
99
|
+
# @param [Aws::PinpointEmail::Types::MailFromDomainNotVerifiedException] data
|
100
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
101
|
+
super(context, message, data)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
class MessageRejected < ServiceError
|
106
|
+
|
107
|
+
# @param [Seahorse::Client::RequestContext] context
|
108
|
+
# @param [String] message
|
109
|
+
# @param [Aws::PinpointEmail::Types::MessageRejected] data
|
110
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
111
|
+
super(context, message, data)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
class NotFoundException < ServiceError
|
116
|
+
|
117
|
+
# @param [Seahorse::Client::RequestContext] context
|
118
|
+
# @param [String] message
|
119
|
+
# @param [Aws::PinpointEmail::Types::NotFoundException] data
|
120
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
121
|
+
super(context, message, data)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
class SendingPausedException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::PinpointEmail::Types::SendingPausedException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
class TooManyRequestsException < ServiceError
|
136
|
+
|
137
|
+
# @param [Seahorse::Client::RequestContext] context
|
138
|
+
# @param [String] message
|
139
|
+
# @param [Aws::PinpointEmail::Types::TooManyRequestsException] data
|
140
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
141
|
+
super(context, message, data)
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
13
145
|
end
|
14
146
|
end
|
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::PinpointEmail
|
9
|
+
# This class provides a resource oriented interface for PinpointEmail.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::PinpointEmail::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::PinpointEmail::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::PinpointEmail::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
@@ -8,6 +8,25 @@
|
|
8
8
|
module Aws::PinpointEmail
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The message can't be sent because the account's ability to send
|
12
|
+
# email has been permanently restricted.
|
13
|
+
#
|
14
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/AccountSuspendedException AWS API Documentation
|
15
|
+
#
|
16
|
+
class AccountSuspendedException < Aws::EmptyStructure; end
|
17
|
+
|
18
|
+
# The resource specified in your request already exists.
|
19
|
+
#
|
20
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/AlreadyExistsException AWS API Documentation
|
21
|
+
#
|
22
|
+
class AlreadyExistsException < Aws::EmptyStructure; end
|
23
|
+
|
24
|
+
# The input you provided is invalid.
|
25
|
+
#
|
26
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/BadRequestException AWS API Documentation
|
27
|
+
#
|
28
|
+
class BadRequestException < Aws::EmptyStructure; end
|
29
|
+
|
11
30
|
# An object that contains information about a blacklisting event that
|
12
31
|
# impacts one of the dedicated IP addresses that is associated with your
|
13
32
|
# account.
|
@@ -152,6 +171,12 @@ module Aws::PinpointEmail
|
|
152
171
|
include Aws::Structure
|
153
172
|
end
|
154
173
|
|
174
|
+
# The resource is being modified by another operation or thread.
|
175
|
+
#
|
176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ConcurrentModificationException AWS API Documentation
|
177
|
+
#
|
178
|
+
class ConcurrentModificationException < Aws::EmptyStructure; end
|
179
|
+
|
155
180
|
# An object that represents the content of the email, and optionally a
|
156
181
|
# character set specification.
|
157
182
|
#
|
@@ -2053,6 +2078,12 @@ module Aws::PinpointEmail
|
|
2053
2078
|
include Aws::Structure
|
2054
2079
|
end
|
2055
2080
|
|
2081
|
+
# There are too many instances of the specified resource type.
|
2082
|
+
#
|
2083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/LimitExceededException AWS API Documentation
|
2084
|
+
#
|
2085
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
2086
|
+
|
2056
2087
|
# A request to obtain a list of configuration sets for your Amazon
|
2057
2088
|
# Pinpoint account in the current AWS Region.
|
2058
2089
|
#
|
@@ -2441,6 +2472,12 @@ module Aws::PinpointEmail
|
|
2441
2472
|
include Aws::Structure
|
2442
2473
|
end
|
2443
2474
|
|
2475
|
+
# The message can't be sent because the sending domain isn't verified.
|
2476
|
+
#
|
2477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/MailFromDomainNotVerifiedException AWS API Documentation
|
2478
|
+
#
|
2479
|
+
class MailFromDomainNotVerifiedException < Aws::EmptyStructure; end
|
2480
|
+
|
2444
2481
|
# Represents the email message that you're sending. The `Message`
|
2445
2482
|
# object consists of a subject line and a message body.
|
2446
2483
|
#
|
@@ -2488,6 +2525,12 @@ module Aws::PinpointEmail
|
|
2488
2525
|
include Aws::Structure
|
2489
2526
|
end
|
2490
2527
|
|
2528
|
+
# The message can't be sent because it contains invalid content.
|
2529
|
+
#
|
2530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/MessageRejected AWS API Documentation
|
2531
|
+
#
|
2532
|
+
class MessageRejected < Aws::EmptyStructure; end
|
2533
|
+
|
2491
2534
|
# Contains the name and value of a tag that you apply to an email. You
|
2492
2535
|
# can use message tags when you publish email sending events.
|
2493
2536
|
#
|
@@ -2527,6 +2570,12 @@ module Aws::PinpointEmail
|
|
2527
2570
|
include Aws::Structure
|
2528
2571
|
end
|
2529
2572
|
|
2573
|
+
# The resource you attempted to access doesn't exist.
|
2574
|
+
#
|
2575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/NotFoundException AWS API Documentation
|
2576
|
+
#
|
2577
|
+
class NotFoundException < Aws::EmptyStructure; end
|
2578
|
+
|
2530
2579
|
# An object that contains information about email that was sent from the
|
2531
2580
|
# selected domain.
|
2532
2581
|
#
|
@@ -3360,6 +3409,13 @@ module Aws::PinpointEmail
|
|
3360
3409
|
include Aws::Structure
|
3361
3410
|
end
|
3362
3411
|
|
3412
|
+
# The message can't be sent because the account's ability to send
|
3413
|
+
# email is currently paused.
|
3414
|
+
#
|
3415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendingPausedException AWS API Documentation
|
3416
|
+
#
|
3417
|
+
class SendingPausedException < Aws::EmptyStructure; end
|
3418
|
+
|
3363
3419
|
# An object that defines an Amazon SNS destination for email events. You
|
3364
3420
|
# can use Amazon SNS to send notification when certain email events
|
3365
3421
|
# occur.
|
@@ -3512,6 +3568,12 @@ module Aws::PinpointEmail
|
|
3512
3568
|
include Aws::Structure
|
3513
3569
|
end
|
3514
3570
|
|
3571
|
+
# Too many requests have been made to the operation.
|
3572
|
+
#
|
3573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TooManyRequestsException AWS API Documentation
|
3574
|
+
#
|
3575
|
+
class TooManyRequestsException < Aws::EmptyStructure; end
|
3576
|
+
|
3515
3577
|
# An object that defines the tracking options for a configuration set.
|
3516
3578
|
# When you use Amazon Pinpoint to send an email, it contains an
|
3517
3579
|
# invisible image that's used to track when recipients open your email.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-pinpointemail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.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
|