aws-sdk-sesv2 1.4.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sesv2.rb +3 -1
- data/lib/aws-sdk-sesv2/client.rb +1023 -15
- data/lib/aws-sdk-sesv2/client_api.rb +509 -5
- data/lib/aws-sdk-sesv2/errors.rb +13 -0
- data/lib/aws-sdk-sesv2/resource.rb +2 -0
- data/lib/aws-sdk-sesv2/types.rb +1672 -40
- metadata +4 -4
data/lib/aws-sdk-sesv2/errors.rb
CHANGED
@@ -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:
|
@@ -29,6 +31,7 @@ module Aws::SESV2
|
|
29
31
|
# * {AlreadyExistsException}
|
30
32
|
# * {BadRequestException}
|
31
33
|
# * {ConcurrentModificationException}
|
34
|
+
# * {ConflictException}
|
32
35
|
# * {InvalidNextTokenException}
|
33
36
|
# * {LimitExceededException}
|
34
37
|
# * {MailFromDomainNotVerifiedException}
|
@@ -83,6 +86,16 @@ module Aws::SESV2
|
|
83
86
|
end
|
84
87
|
end
|
85
88
|
|
89
|
+
class ConflictException < ServiceError
|
90
|
+
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
92
|
+
# @param [String] message
|
93
|
+
# @param [Aws::SESV2::Types::ConflictException] data
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
95
|
+
super(context, message, data)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
86
99
|
class InvalidNextTokenException < ServiceError
|
87
100
|
|
88
101
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -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:
|
@@ -8,6 +10,55 @@
|
|
8
10
|
module Aws::SESV2
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# An object that contains information about your account details.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] mail_type
|
16
|
+
# The type of email your account is sending. The mail type can be one
|
17
|
+
# of the following:
|
18
|
+
#
|
19
|
+
# * `MARKETING` – Most of your sending traffic is to keep your
|
20
|
+
# customers informed of your latest offering.
|
21
|
+
#
|
22
|
+
# * `TRANSACTIONAL` – Most of your sending traffic is to communicate
|
23
|
+
# during a transaction with a customer.
|
24
|
+
# @return [String]
|
25
|
+
#
|
26
|
+
# @!attribute [rw] website_url
|
27
|
+
# The URL of your website. This information helps us better understand
|
28
|
+
# the type of content that you plan to send.
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] contact_language
|
32
|
+
# The language you would prefer for the case. The contact language can
|
33
|
+
# be one of `ENGLISH` or `JAPANESE`.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] use_case_description
|
37
|
+
# A description of the types of email that you plan to send.
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] additional_contact_email_addresses
|
41
|
+
# Additional email addresses where updates are sent about your account
|
42
|
+
# review process.
|
43
|
+
# @return [Array<String>]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] review_details
|
46
|
+
# Information about the review of the latest details you submitted.
|
47
|
+
# @return [Types::ReviewDetails]
|
48
|
+
#
|
49
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/AccountDetails AWS API Documentation
|
50
|
+
#
|
51
|
+
class AccountDetails < Struct.new(
|
52
|
+
:mail_type,
|
53
|
+
:website_url,
|
54
|
+
:contact_language,
|
55
|
+
:use_case_description,
|
56
|
+
:additional_contact_email_addresses,
|
57
|
+
:review_details)
|
58
|
+
SENSITIVE = [:website_url, :use_case_description, :additional_contact_email_addresses]
|
59
|
+
include Aws::Structure
|
60
|
+
end
|
61
|
+
|
11
62
|
# The message can't be sent because the account's ability to send
|
12
63
|
# email has been permanently restricted.
|
13
64
|
#
|
@@ -51,6 +102,7 @@ module Aws::SESV2
|
|
51
102
|
:rbl_name,
|
52
103
|
:listing_time,
|
53
104
|
:description)
|
105
|
+
SENSITIVE = []
|
54
106
|
include Aws::Structure
|
55
107
|
end
|
56
108
|
|
@@ -87,6 +139,177 @@ module Aws::SESV2
|
|
87
139
|
class Body < Struct.new(
|
88
140
|
:text,
|
89
141
|
:html)
|
142
|
+
SENSITIVE = []
|
143
|
+
include Aws::Structure
|
144
|
+
end
|
145
|
+
|
146
|
+
# An object that contains the body of the message. You can specify a
|
147
|
+
# template message.
|
148
|
+
#
|
149
|
+
# @note When making an API call, you may pass BulkEmailContent
|
150
|
+
# data as a hash:
|
151
|
+
#
|
152
|
+
# {
|
153
|
+
# template: {
|
154
|
+
# template_name: "EmailTemplateName",
|
155
|
+
# template_arn: "AmazonResourceName",
|
156
|
+
# template_data: "EmailTemplateData",
|
157
|
+
# },
|
158
|
+
# }
|
159
|
+
#
|
160
|
+
# @!attribute [rw] template
|
161
|
+
# The template to use for the bulk email message.
|
162
|
+
# @return [Types::Template]
|
163
|
+
#
|
164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/BulkEmailContent AWS API Documentation
|
165
|
+
#
|
166
|
+
class BulkEmailContent < Struct.new(
|
167
|
+
:template)
|
168
|
+
SENSITIVE = []
|
169
|
+
include Aws::Structure
|
170
|
+
end
|
171
|
+
|
172
|
+
# @note When making an API call, you may pass BulkEmailEntry
|
173
|
+
# data as a hash:
|
174
|
+
#
|
175
|
+
# {
|
176
|
+
# destination: { # required
|
177
|
+
# to_addresses: ["EmailAddress"],
|
178
|
+
# cc_addresses: ["EmailAddress"],
|
179
|
+
# bcc_addresses: ["EmailAddress"],
|
180
|
+
# },
|
181
|
+
# replacement_tags: [
|
182
|
+
# {
|
183
|
+
# name: "MessageTagName", # required
|
184
|
+
# value: "MessageTagValue", # required
|
185
|
+
# },
|
186
|
+
# ],
|
187
|
+
# replacement_email_content: {
|
188
|
+
# replacement_template: {
|
189
|
+
# replacement_template_data: "EmailTemplateData",
|
190
|
+
# },
|
191
|
+
# },
|
192
|
+
# }
|
193
|
+
#
|
194
|
+
# @!attribute [rw] destination
|
195
|
+
# Represents the destination of the message, consisting of To:, CC:,
|
196
|
+
# and BCC: fields.
|
197
|
+
#
|
198
|
+
# <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
|
199
|
+
# [RFC6531][1]. For this reason, the local part of a destination email
|
200
|
+
# address (the part of the email address that precedes the @ sign) may
|
201
|
+
# only contain [7-bit ASCII characters][2]. If the domain part of an
|
202
|
+
# address (the part after the @ sign) contains non-ASCII characters,
|
203
|
+
# they must be encoded using Punycode, as described in [RFC3492][3].
|
204
|
+
#
|
205
|
+
# </note>
|
206
|
+
#
|
207
|
+
#
|
208
|
+
#
|
209
|
+
# [1]: https://tools.ietf.org/html/rfc6531
|
210
|
+
# [2]: https://en.wikipedia.org/wiki/Email_address#Local-part
|
211
|
+
# [3]: https://tools.ietf.org/html/rfc3492.html
|
212
|
+
# @return [Types::Destination]
|
213
|
+
#
|
214
|
+
# @!attribute [rw] replacement_tags
|
215
|
+
# A list of tags, in the form of name/value pairs, to apply to an
|
216
|
+
# email that you send using the `SendBulkTemplatedEmail` operation.
|
217
|
+
# Tags correspond to characteristics of the email that you define, so
|
218
|
+
# that you can publish email sending events.
|
219
|
+
# @return [Array<Types::MessageTag>]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] replacement_email_content
|
222
|
+
# The `ReplacementEmailContent` associated with a `BulkEmailEntry`.
|
223
|
+
# @return [Types::ReplacementEmailContent]
|
224
|
+
#
|
225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/BulkEmailEntry AWS API Documentation
|
226
|
+
#
|
227
|
+
class BulkEmailEntry < Struct.new(
|
228
|
+
:destination,
|
229
|
+
:replacement_tags,
|
230
|
+
:replacement_email_content)
|
231
|
+
SENSITIVE = []
|
232
|
+
include Aws::Structure
|
233
|
+
end
|
234
|
+
|
235
|
+
# The result of the `SendBulkEmail` operation of each specified
|
236
|
+
# `BulkEmailEntry`.
|
237
|
+
#
|
238
|
+
# @!attribute [rw] status
|
239
|
+
# The status of a message sent using the `SendBulkTemplatedEmail`
|
240
|
+
# operation.
|
241
|
+
#
|
242
|
+
# Possible values for this parameter include:
|
243
|
+
#
|
244
|
+
# * SUCCESS: Amazon SES accepted the message, and will attempt to
|
245
|
+
# deliver it to the recipients.
|
246
|
+
#
|
247
|
+
# * MESSAGE\_REJECTED: The message was rejected because it contained a
|
248
|
+
# virus.
|
249
|
+
#
|
250
|
+
# * MAIL\_FROM\_DOMAIN\_NOT\_VERIFIED: The sender's email address or
|
251
|
+
# domain was not verified.
|
252
|
+
#
|
253
|
+
# * CONFIGURATION\_SET\_DOES\_NOT\_EXIST: The configuration set you
|
254
|
+
# specified does not exist.
|
255
|
+
#
|
256
|
+
# * TEMPLATE\_DOES\_NOT\_EXIST: The template you specified does not
|
257
|
+
# exist.
|
258
|
+
#
|
259
|
+
# * ACCOUNT\_SUSPENDED: Your account has been shut down because of
|
260
|
+
# issues related to your email sending practices.
|
261
|
+
#
|
262
|
+
# * ACCOUNT\_THROTTLED: The number of emails you can send has been
|
263
|
+
# reduced because your account has exceeded its allocated sending
|
264
|
+
# limit.
|
265
|
+
#
|
266
|
+
# * ACCOUNT\_DAILY\_QUOTA\_EXCEEDED: You have reached or exceeded the
|
267
|
+
# maximum number of emails you can send from your account in a
|
268
|
+
# 24-hour period.
|
269
|
+
#
|
270
|
+
# * INVALID\_SENDING\_POOL\_NAME: The configuration set you specified
|
271
|
+
# refers to an IP pool that does not exist.
|
272
|
+
#
|
273
|
+
# * ACCOUNT\_SENDING\_PAUSED: Email sending for the Amazon SES account
|
274
|
+
# was disabled using the [UpdateAccountSendingEnabled][1] operation.
|
275
|
+
#
|
276
|
+
# * CONFIGURATION\_SET\_SENDING\_PAUSED: Email sending for this
|
277
|
+
# configuration set was disabled using the
|
278
|
+
# [UpdateConfigurationSetSendingEnabled][2] operation.
|
279
|
+
#
|
280
|
+
# * INVALID\_PARAMETER\_VALUE: One or more of the parameters you
|
281
|
+
# specified when calling this operation was invalid. See the error
|
282
|
+
# message for additional information.
|
283
|
+
#
|
284
|
+
# * TRANSIENT\_FAILURE: Amazon SES was unable to process your request
|
285
|
+
# because of a temporary issue.
|
286
|
+
#
|
287
|
+
# * FAILED: Amazon SES was unable to process your request. See the
|
288
|
+
# error message for additional information.
|
289
|
+
#
|
290
|
+
#
|
291
|
+
#
|
292
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateAccountSendingEnabled.html
|
293
|
+
# [2]: https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetSendingEnabled.html
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] error
|
297
|
+
# A description of an error that prevented a message being sent using
|
298
|
+
# the `SendBulkTemplatedEmail` operation.
|
299
|
+
# @return [String]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] message_id
|
302
|
+
# The unique message identifier returned from the
|
303
|
+
# `SendBulkTemplatedEmail` operation.
|
304
|
+
# @return [String]
|
305
|
+
#
|
306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/BulkEmailEntryResult AWS API Documentation
|
307
|
+
#
|
308
|
+
class BulkEmailEntryResult < Struct.new(
|
309
|
+
:status,
|
310
|
+
:error,
|
311
|
+
:message_id)
|
312
|
+
SENSITIVE = []
|
90
313
|
include Aws::Structure
|
91
314
|
end
|
92
315
|
|
@@ -116,6 +339,7 @@ module Aws::SESV2
|
|
116
339
|
#
|
117
340
|
class CloudWatchDestination < Struct.new(
|
118
341
|
:dimension_configurations)
|
342
|
+
SENSITIVE = []
|
119
343
|
include Aws::Structure
|
120
344
|
end
|
121
345
|
|
@@ -167,6 +391,7 @@ module Aws::SESV2
|
|
167
391
|
:dimension_name,
|
168
392
|
:dimension_value_source,
|
169
393
|
:default_dimension_value)
|
394
|
+
SENSITIVE = []
|
170
395
|
include Aws::Structure
|
171
396
|
end
|
172
397
|
|
@@ -176,6 +401,12 @@ module Aws::SESV2
|
|
176
401
|
#
|
177
402
|
class ConcurrentModificationException < Aws::EmptyStructure; end
|
178
403
|
|
404
|
+
# If there is already an ongoing account details update under review.
|
405
|
+
#
|
406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ConflictException AWS API Documentation
|
407
|
+
#
|
408
|
+
class ConflictException < Aws::EmptyStructure; end
|
409
|
+
|
179
410
|
# An object that represents the content of the email, and optionally a
|
180
411
|
# character set specification.
|
181
412
|
#
|
@@ -204,6 +435,7 @@ module Aws::SESV2
|
|
204
435
|
class Content < Struct.new(
|
205
436
|
:data,
|
206
437
|
:charset)
|
438
|
+
SENSITIVE = []
|
207
439
|
include Aws::Structure
|
208
440
|
end
|
209
441
|
|
@@ -217,7 +449,7 @@ module Aws::SESV2
|
|
217
449
|
# event_destination_name: "EventDestinationName", # required
|
218
450
|
# event_destination: { # required
|
219
451
|
# enabled: false,
|
220
|
-
# matching_event_types: ["SEND"], # accepts SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE
|
452
|
+
# matching_event_types: ["SEND"], # accepts SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY
|
221
453
|
# kinesis_firehose_destination: {
|
222
454
|
# iam_role_arn: "AmazonResourceName", # required
|
223
455
|
# delivery_stream_arn: "AmazonResourceName", # required
|
@@ -260,6 +492,7 @@ module Aws::SESV2
|
|
260
492
|
:configuration_set_name,
|
261
493
|
:event_destination_name,
|
262
494
|
:event_destination)
|
495
|
+
SENSITIVE = []
|
263
496
|
include Aws::Structure
|
264
497
|
end
|
265
498
|
|
@@ -346,6 +579,7 @@ module Aws::SESV2
|
|
346
579
|
:sending_options,
|
347
580
|
:tags,
|
348
581
|
:suppression_options)
|
582
|
+
SENSITIVE = []
|
349
583
|
include Aws::Structure
|
350
584
|
end
|
351
585
|
|
@@ -356,6 +590,74 @@ module Aws::SESV2
|
|
356
590
|
#
|
357
591
|
class CreateConfigurationSetResponse < Aws::EmptyStructure; end
|
358
592
|
|
593
|
+
# Represents a request to create a custom verification email template.
|
594
|
+
#
|
595
|
+
# @note When making an API call, you may pass CreateCustomVerificationEmailTemplateRequest
|
596
|
+
# data as a hash:
|
597
|
+
#
|
598
|
+
# {
|
599
|
+
# template_name: "EmailTemplateName", # required
|
600
|
+
# from_email_address: "EmailAddress", # required
|
601
|
+
# template_subject: "EmailTemplateSubject", # required
|
602
|
+
# template_content: "TemplateContent", # required
|
603
|
+
# success_redirection_url: "SuccessRedirectionURL", # required
|
604
|
+
# failure_redirection_url: "FailureRedirectionURL", # required
|
605
|
+
# }
|
606
|
+
#
|
607
|
+
# @!attribute [rw] template_name
|
608
|
+
# The name of the custom verification email template.
|
609
|
+
# @return [String]
|
610
|
+
#
|
611
|
+
# @!attribute [rw] from_email_address
|
612
|
+
# The email address that the custom verification email is sent from.
|
613
|
+
# @return [String]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] template_subject
|
616
|
+
# The subject line of the custom verification email.
|
617
|
+
# @return [String]
|
618
|
+
#
|
619
|
+
# @!attribute [rw] template_content
|
620
|
+
# The content of the custom verification email. The total size of the
|
621
|
+
# email must be less than 10 MB. The message body may contain HTML,
|
622
|
+
# with some limitations. For more information, see [Custom
|
623
|
+
# Verification Email Frequently Asked Questions][1] in the *Amazon SES
|
624
|
+
# Developer Guide*.
|
625
|
+
#
|
626
|
+
#
|
627
|
+
#
|
628
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq
|
629
|
+
# @return [String]
|
630
|
+
#
|
631
|
+
# @!attribute [rw] success_redirection_url
|
632
|
+
# The URL that the recipient of the verification email is sent to if
|
633
|
+
# his or her address is successfully verified.
|
634
|
+
# @return [String]
|
635
|
+
#
|
636
|
+
# @!attribute [rw] failure_redirection_url
|
637
|
+
# The URL that the recipient of the verification email is sent to if
|
638
|
+
# his or her address is not successfully verified.
|
639
|
+
# @return [String]
|
640
|
+
#
|
641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateCustomVerificationEmailTemplateRequest AWS API Documentation
|
642
|
+
#
|
643
|
+
class CreateCustomVerificationEmailTemplateRequest < Struct.new(
|
644
|
+
:template_name,
|
645
|
+
:from_email_address,
|
646
|
+
:template_subject,
|
647
|
+
:template_content,
|
648
|
+
:success_redirection_url,
|
649
|
+
:failure_redirection_url)
|
650
|
+
SENSITIVE = []
|
651
|
+
include Aws::Structure
|
652
|
+
end
|
653
|
+
|
654
|
+
# If the action is successful, the service sends back an HTTP 200
|
655
|
+
# response with an empty HTTP body.
|
656
|
+
#
|
657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateCustomVerificationEmailTemplateResponse AWS API Documentation
|
658
|
+
#
|
659
|
+
class CreateCustomVerificationEmailTemplateResponse < Aws::EmptyStructure; end
|
660
|
+
|
359
661
|
# A request to create a new dedicated IP pool.
|
360
662
|
#
|
361
663
|
# @note When making an API call, you may pass CreateDedicatedIpPoolRequest
|
@@ -385,6 +687,7 @@ module Aws::SESV2
|
|
385
687
|
class CreateDedicatedIpPoolRequest < Struct.new(
|
386
688
|
:pool_name,
|
387
689
|
:tags)
|
690
|
+
SENSITIVE = []
|
388
691
|
include Aws::Structure
|
389
692
|
end
|
390
693
|
|
@@ -433,8 +736,9 @@ module Aws::SESV2
|
|
433
736
|
# data: "data", # required
|
434
737
|
# },
|
435
738
|
# template: {
|
436
|
-
#
|
437
|
-
#
|
739
|
+
# template_name: "EmailTemplateName",
|
740
|
+
# template_arn: "AmazonResourceName",
|
741
|
+
# template_data: "EmailTemplateData",
|
438
742
|
# },
|
439
743
|
# },
|
440
744
|
# tags: [
|
@@ -472,6 +776,7 @@ module Aws::SESV2
|
|
472
776
|
:from_email_address,
|
473
777
|
:content,
|
474
778
|
:tags)
|
779
|
+
SENSITIVE = []
|
475
780
|
include Aws::Structure
|
476
781
|
end
|
477
782
|
|
@@ -496,9 +801,68 @@ module Aws::SESV2
|
|
496
801
|
class CreateDeliverabilityTestReportResponse < Struct.new(
|
497
802
|
:report_id,
|
498
803
|
:deliverability_test_status)
|
804
|
+
SENSITIVE = []
|
805
|
+
include Aws::Structure
|
806
|
+
end
|
807
|
+
|
808
|
+
# Represents a request to create a sending authorization policy for an
|
809
|
+
# identity. Sending authorization is an Amazon SES feature that enables
|
810
|
+
# you to authorize other senders to use your identities. For
|
811
|
+
# information, see the [Amazon SES Developer Guide][1].
|
812
|
+
#
|
813
|
+
#
|
814
|
+
#
|
815
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-identity-owner-tasks-management.html
|
816
|
+
#
|
817
|
+
# @note When making an API call, you may pass CreateEmailIdentityPolicyRequest
|
818
|
+
# data as a hash:
|
819
|
+
#
|
820
|
+
# {
|
821
|
+
# email_identity: "Identity", # required
|
822
|
+
# policy_name: "PolicyName", # required
|
823
|
+
# policy: "Policy", # required
|
824
|
+
# }
|
825
|
+
#
|
826
|
+
# @!attribute [rw] email_identity
|
827
|
+
# The email identity for which you want to create a policy.
|
828
|
+
# @return [String]
|
829
|
+
#
|
830
|
+
# @!attribute [rw] policy_name
|
831
|
+
# The name of the policy.
|
832
|
+
#
|
833
|
+
# The policy name cannot exceed 64 characters and can only include
|
834
|
+
# alphanumeric characters, dashes, and underscores.
|
835
|
+
# @return [String]
|
836
|
+
#
|
837
|
+
# @!attribute [rw] policy
|
838
|
+
# The text of the policy in JSON format. The policy cannot exceed 4
|
839
|
+
# KB.
|
840
|
+
#
|
841
|
+
# For information about the syntax of sending authorization policies,
|
842
|
+
# see the [Amazon SES Developer Guide][1].
|
843
|
+
#
|
844
|
+
#
|
845
|
+
#
|
846
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html
|
847
|
+
# @return [String]
|
848
|
+
#
|
849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityPolicyRequest AWS API Documentation
|
850
|
+
#
|
851
|
+
class CreateEmailIdentityPolicyRequest < Struct.new(
|
852
|
+
:email_identity,
|
853
|
+
:policy_name,
|
854
|
+
:policy)
|
855
|
+
SENSITIVE = []
|
499
856
|
include Aws::Structure
|
500
857
|
end
|
501
858
|
|
859
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
860
|
+
# the request fails.
|
861
|
+
#
|
862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityPolicyResponse AWS API Documentation
|
863
|
+
#
|
864
|
+
class CreateEmailIdentityPolicyResponse < Aws::EmptyStructure; end
|
865
|
+
|
502
866
|
# A request to begin the verification process for an email identity (an
|
503
867
|
# email address or domain).
|
504
868
|
#
|
@@ -548,6 +912,7 @@ module Aws::SESV2
|
|
548
912
|
:email_identity,
|
549
913
|
:tags,
|
550
914
|
:dkim_signing_attributes)
|
915
|
+
SENSITIVE = []
|
551
916
|
include Aws::Structure
|
552
917
|
end
|
553
918
|
|
@@ -581,6 +946,87 @@ module Aws::SESV2
|
|
581
946
|
:identity_type,
|
582
947
|
:verified_for_sending_status,
|
583
948
|
:dkim_attributes)
|
949
|
+
SENSITIVE = []
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# Represents a request to create an email template. For more
|
954
|
+
# information, see the [Amazon SES Developer Guide][1].
|
955
|
+
#
|
956
|
+
#
|
957
|
+
#
|
958
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
|
959
|
+
#
|
960
|
+
# @note When making an API call, you may pass CreateEmailTemplateRequest
|
961
|
+
# data as a hash:
|
962
|
+
#
|
963
|
+
# {
|
964
|
+
# template_name: "EmailTemplateName", # required
|
965
|
+
# template_content: { # required
|
966
|
+
# subject: "EmailTemplateSubject",
|
967
|
+
# text: "EmailTemplateText",
|
968
|
+
# html: "EmailTemplateHtml",
|
969
|
+
# },
|
970
|
+
# }
|
971
|
+
#
|
972
|
+
# @!attribute [rw] template_name
|
973
|
+
# The name of the template you want to create.
|
974
|
+
# @return [String]
|
975
|
+
#
|
976
|
+
# @!attribute [rw] template_content
|
977
|
+
# The content of the email template, composed of a subject line, an
|
978
|
+
# HTML part, and a text-only part.
|
979
|
+
# @return [Types::EmailTemplateContent]
|
980
|
+
#
|
981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplateRequest AWS API Documentation
|
982
|
+
#
|
983
|
+
class CreateEmailTemplateRequest < Struct.new(
|
984
|
+
:template_name,
|
985
|
+
:template_content)
|
986
|
+
SENSITIVE = []
|
987
|
+
include Aws::Structure
|
988
|
+
end
|
989
|
+
|
990
|
+
# If the action is successful, the service sends back an HTTP 200
|
991
|
+
# response with an empty HTTP body.
|
992
|
+
#
|
993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplateResponse AWS API Documentation
|
994
|
+
#
|
995
|
+
class CreateEmailTemplateResponse < Aws::EmptyStructure; end
|
996
|
+
|
997
|
+
# Contains information about a custom verification email template.
|
998
|
+
#
|
999
|
+
# @!attribute [rw] template_name
|
1000
|
+
# The name of the custom verification email template.
|
1001
|
+
# @return [String]
|
1002
|
+
#
|
1003
|
+
# @!attribute [rw] from_email_address
|
1004
|
+
# The email address that the custom verification email is sent from.
|
1005
|
+
# @return [String]
|
1006
|
+
#
|
1007
|
+
# @!attribute [rw] template_subject
|
1008
|
+
# The subject line of the custom verification email.
|
1009
|
+
# @return [String]
|
1010
|
+
#
|
1011
|
+
# @!attribute [rw] success_redirection_url
|
1012
|
+
# The URL that the recipient of the verification email is sent to if
|
1013
|
+
# his or her address is successfully verified.
|
1014
|
+
# @return [String]
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] failure_redirection_url
|
1017
|
+
# The URL that the recipient of the verification email is sent to if
|
1018
|
+
# his or her address is not successfully verified.
|
1019
|
+
# @return [String]
|
1020
|
+
#
|
1021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CustomVerificationEmailTemplateMetadata AWS API Documentation
|
1022
|
+
#
|
1023
|
+
class CustomVerificationEmailTemplateMetadata < Struct.new(
|
1024
|
+
:template_name,
|
1025
|
+
:from_email_address,
|
1026
|
+
:template_subject,
|
1027
|
+
:success_redirection_url,
|
1028
|
+
:failure_redirection_url)
|
1029
|
+
SENSITIVE = []
|
584
1030
|
include Aws::Structure
|
585
1031
|
end
|
586
1032
|
|
@@ -608,6 +1054,7 @@ module Aws::SESV2
|
|
608
1054
|
:start_date,
|
609
1055
|
:volume_statistics,
|
610
1056
|
:domain_isp_placements)
|
1057
|
+
SENSITIVE = []
|
611
1058
|
include Aws::Structure
|
612
1059
|
end
|
613
1060
|
|
@@ -655,6 +1102,7 @@ module Aws::SESV2
|
|
655
1102
|
:warmup_status,
|
656
1103
|
:warmup_percentage,
|
657
1104
|
:pool_name)
|
1105
|
+
SENSITIVE = []
|
658
1106
|
include Aws::Structure
|
659
1107
|
end
|
660
1108
|
|
@@ -682,6 +1130,7 @@ module Aws::SESV2
|
|
682
1130
|
class DeleteConfigurationSetEventDestinationRequest < Struct.new(
|
683
1131
|
:configuration_set_name,
|
684
1132
|
:event_destination_name)
|
1133
|
+
SENSITIVE = []
|
685
1134
|
include Aws::Structure
|
686
1135
|
end
|
687
1136
|
|
@@ -709,6 +1158,7 @@ module Aws::SESV2
|
|
709
1158
|
#
|
710
1159
|
class DeleteConfigurationSetRequest < Struct.new(
|
711
1160
|
:configuration_set_name)
|
1161
|
+
SENSITIVE = []
|
712
1162
|
include Aws::Structure
|
713
1163
|
end
|
714
1164
|
|
@@ -719,6 +1169,36 @@ module Aws::SESV2
|
|
719
1169
|
#
|
720
1170
|
class DeleteConfigurationSetResponse < Aws::EmptyStructure; end
|
721
1171
|
|
1172
|
+
# Represents a request to delete an existing custom verification email
|
1173
|
+
# template.
|
1174
|
+
#
|
1175
|
+
# @note When making an API call, you may pass DeleteCustomVerificationEmailTemplateRequest
|
1176
|
+
# data as a hash:
|
1177
|
+
#
|
1178
|
+
# {
|
1179
|
+
# template_name: "EmailTemplateName", # required
|
1180
|
+
# }
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] template_name
|
1183
|
+
# The name of the custom verification email template that you want to
|
1184
|
+
# delete.
|
1185
|
+
# @return [String]
|
1186
|
+
#
|
1187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteCustomVerificationEmailTemplateRequest AWS API Documentation
|
1188
|
+
#
|
1189
|
+
class DeleteCustomVerificationEmailTemplateRequest < Struct.new(
|
1190
|
+
:template_name)
|
1191
|
+
SENSITIVE = []
|
1192
|
+
include Aws::Structure
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# If the action is successful, the service sends back an HTTP 200
|
1196
|
+
# response with an empty HTTP body.
|
1197
|
+
#
|
1198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteCustomVerificationEmailTemplateResponse AWS API Documentation
|
1199
|
+
#
|
1200
|
+
class DeleteCustomVerificationEmailTemplateResponse < Aws::EmptyStructure; end
|
1201
|
+
|
722
1202
|
# A request to delete a dedicated IP pool.
|
723
1203
|
#
|
724
1204
|
# @note When making an API call, you may pass DeleteDedicatedIpPoolRequest
|
@@ -736,6 +1216,7 @@ module Aws::SESV2
|
|
736
1216
|
#
|
737
1217
|
class DeleteDedicatedIpPoolRequest < Struct.new(
|
738
1218
|
:pool_name)
|
1219
|
+
SENSITIVE = []
|
739
1220
|
include Aws::Structure
|
740
1221
|
end
|
741
1222
|
|
@@ -746,6 +1227,50 @@ module Aws::SESV2
|
|
746
1227
|
#
|
747
1228
|
class DeleteDedicatedIpPoolResponse < Aws::EmptyStructure; end
|
748
1229
|
|
1230
|
+
# Represents a request to delete a sending authorization policy for an
|
1231
|
+
# identity. Sending authorization is an Amazon SES feature that enables
|
1232
|
+
# you to authorize other senders to use your identities. For
|
1233
|
+
# information, see the [Amazon SES Developer Guide][1].
|
1234
|
+
#
|
1235
|
+
#
|
1236
|
+
#
|
1237
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-identity-owner-tasks-management.html
|
1238
|
+
#
|
1239
|
+
# @note When making an API call, you may pass DeleteEmailIdentityPolicyRequest
|
1240
|
+
# data as a hash:
|
1241
|
+
#
|
1242
|
+
# {
|
1243
|
+
# email_identity: "Identity", # required
|
1244
|
+
# policy_name: "PolicyName", # required
|
1245
|
+
# }
|
1246
|
+
#
|
1247
|
+
# @!attribute [rw] email_identity
|
1248
|
+
# The email identity for which you want to delete a policy.
|
1249
|
+
# @return [String]
|
1250
|
+
#
|
1251
|
+
# @!attribute [rw] policy_name
|
1252
|
+
# The name of the policy.
|
1253
|
+
#
|
1254
|
+
# The policy name cannot exceed 64 characters and can only include
|
1255
|
+
# alphanumeric characters, dashes, and underscores.
|
1256
|
+
# @return [String]
|
1257
|
+
#
|
1258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicyRequest AWS API Documentation
|
1259
|
+
#
|
1260
|
+
class DeleteEmailIdentityPolicyRequest < Struct.new(
|
1261
|
+
:email_identity,
|
1262
|
+
:policy_name)
|
1263
|
+
SENSITIVE = []
|
1264
|
+
include Aws::Structure
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
1268
|
+
# the request fails.
|
1269
|
+
#
|
1270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicyResponse AWS API Documentation
|
1271
|
+
#
|
1272
|
+
class DeleteEmailIdentityPolicyResponse < Aws::EmptyStructure; end
|
1273
|
+
|
749
1274
|
# A request to delete an existing email identity. When you delete an
|
750
1275
|
# identity, you lose the ability to send email from that identity. You
|
751
1276
|
# can restore your ability to send email by completing the verification
|
@@ -767,6 +1292,7 @@ module Aws::SESV2
|
|
767
1292
|
#
|
768
1293
|
class DeleteEmailIdentityRequest < Struct.new(
|
769
1294
|
:email_identity)
|
1295
|
+
SENSITIVE = []
|
770
1296
|
include Aws::Structure
|
771
1297
|
end
|
772
1298
|
|
@@ -777,13 +1303,46 @@ module Aws::SESV2
|
|
777
1303
|
#
|
778
1304
|
class DeleteEmailIdentityResponse < Aws::EmptyStructure; end
|
779
1305
|
|
780
|
-
#
|
781
|
-
#
|
1306
|
+
# Represents a request to delete an email template. For more
|
1307
|
+
# information, see the [Amazon SES Developer Guide][1].
|
782
1308
|
#
|
783
|
-
# @note When making an API call, you may pass DeleteSuppressedDestinationRequest
|
784
|
-
# data as a hash:
|
785
1309
|
#
|
786
|
-
#
|
1310
|
+
#
|
1311
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
|
1312
|
+
#
|
1313
|
+
# @note When making an API call, you may pass DeleteEmailTemplateRequest
|
1314
|
+
# data as a hash:
|
1315
|
+
#
|
1316
|
+
# {
|
1317
|
+
# template_name: "EmailTemplateName", # required
|
1318
|
+
# }
|
1319
|
+
#
|
1320
|
+
# @!attribute [rw] template_name
|
1321
|
+
# The name of the template to be deleted.
|
1322
|
+
# @return [String]
|
1323
|
+
#
|
1324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailTemplateRequest AWS API Documentation
|
1325
|
+
#
|
1326
|
+
class DeleteEmailTemplateRequest < Struct.new(
|
1327
|
+
:template_name)
|
1328
|
+
SENSITIVE = []
|
1329
|
+
include Aws::Structure
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
# If the action is successful, the service sends back an HTTP 200
|
1333
|
+
# response with an empty HTTP body.
|
1334
|
+
#
|
1335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailTemplateResponse AWS API Documentation
|
1336
|
+
#
|
1337
|
+
class DeleteEmailTemplateResponse < Aws::EmptyStructure; end
|
1338
|
+
|
1339
|
+
# A request to remove an email address from the suppression list for
|
1340
|
+
# your account.
|
1341
|
+
#
|
1342
|
+
# @note When making an API call, you may pass DeleteSuppressedDestinationRequest
|
1343
|
+
# data as a hash:
|
1344
|
+
#
|
1345
|
+
# {
|
787
1346
|
# email_address: "EmailAddress", # required
|
788
1347
|
# }
|
789
1348
|
#
|
@@ -796,6 +1355,7 @@ module Aws::SESV2
|
|
796
1355
|
#
|
797
1356
|
class DeleteSuppressedDestinationRequest < Struct.new(
|
798
1357
|
:email_address)
|
1358
|
+
SENSITIVE = []
|
799
1359
|
include Aws::Structure
|
800
1360
|
end
|
801
1361
|
|
@@ -851,6 +1411,7 @@ module Aws::SESV2
|
|
851
1411
|
:from_email_address,
|
852
1412
|
:create_date,
|
853
1413
|
:deliverability_test_status)
|
1414
|
+
SENSITIVE = []
|
854
1415
|
include Aws::Structure
|
855
1416
|
end
|
856
1417
|
|
@@ -882,6 +1443,7 @@ module Aws::SESV2
|
|
882
1443
|
class DeliveryOptions < Struct.new(
|
883
1444
|
:tls_policy,
|
884
1445
|
:sending_pool_name)
|
1446
|
+
SENSITIVE = []
|
885
1447
|
include Aws::Structure
|
886
1448
|
end
|
887
1449
|
|
@@ -917,6 +1479,7 @@ module Aws::SESV2
|
|
917
1479
|
:to_addresses,
|
918
1480
|
:cc_addresses,
|
919
1481
|
:bcc_addresses)
|
1482
|
+
SENSITIVE = []
|
920
1483
|
include Aws::Structure
|
921
1484
|
end
|
922
1485
|
|
@@ -1008,6 +1571,7 @@ module Aws::SESV2
|
|
1008
1571
|
:status,
|
1009
1572
|
:tokens,
|
1010
1573
|
:signing_attributes_origin)
|
1574
|
+
SENSITIVE = []
|
1011
1575
|
include Aws::Structure
|
1012
1576
|
end
|
1013
1577
|
|
@@ -1039,6 +1603,7 @@ module Aws::SESV2
|
|
1039
1603
|
class DkimSigningAttributes < Struct.new(
|
1040
1604
|
:domain_signing_selector,
|
1041
1605
|
:domain_signing_private_key)
|
1606
|
+
SENSITIVE = [:domain_signing_private_key]
|
1042
1607
|
include Aws::Structure
|
1043
1608
|
end
|
1044
1609
|
|
@@ -1139,6 +1704,7 @@ module Aws::SESV2
|
|
1139
1704
|
:read_delete_rate,
|
1140
1705
|
:projected_volume,
|
1141
1706
|
:esps)
|
1707
|
+
SENSITIVE = []
|
1142
1708
|
include Aws::Structure
|
1143
1709
|
end
|
1144
1710
|
|
@@ -1182,6 +1748,7 @@ module Aws::SESV2
|
|
1182
1748
|
:domain,
|
1183
1749
|
:subscription_start_date,
|
1184
1750
|
:inbox_placement_tracking_option)
|
1751
|
+
SENSITIVE = []
|
1185
1752
|
include Aws::Structure
|
1186
1753
|
end
|
1187
1754
|
|
@@ -1225,6 +1792,7 @@ module Aws::SESV2
|
|
1225
1792
|
:spam_raw_count,
|
1226
1793
|
:inbox_percentage,
|
1227
1794
|
:spam_percentage)
|
1795
|
+
SENSITIVE = []
|
1228
1796
|
include Aws::Structure
|
1229
1797
|
end
|
1230
1798
|
|
@@ -1259,8 +1827,9 @@ module Aws::SESV2
|
|
1259
1827
|
# data: "data", # required
|
1260
1828
|
# },
|
1261
1829
|
# template: {
|
1262
|
-
#
|
1263
|
-
#
|
1830
|
+
# template_name: "EmailTemplateName",
|
1831
|
+
# template_arn: "AmazonResourceName",
|
1832
|
+
# template_data: "EmailTemplateData",
|
1264
1833
|
# },
|
1265
1834
|
# }
|
1266
1835
|
#
|
@@ -1308,16 +1877,71 @@ module Aws::SESV2
|
|
1308
1877
|
:simple,
|
1309
1878
|
:raw,
|
1310
1879
|
:template)
|
1880
|
+
SENSITIVE = []
|
1881
|
+
include Aws::Structure
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
# The content of the email, composed of a subject line, an HTML part,
|
1885
|
+
# and a text-only part.
|
1886
|
+
#
|
1887
|
+
# @note When making an API call, you may pass EmailTemplateContent
|
1888
|
+
# data as a hash:
|
1889
|
+
#
|
1890
|
+
# {
|
1891
|
+
# subject: "EmailTemplateSubject",
|
1892
|
+
# text: "EmailTemplateText",
|
1893
|
+
# html: "EmailTemplateHtml",
|
1894
|
+
# }
|
1895
|
+
#
|
1896
|
+
# @!attribute [rw] subject
|
1897
|
+
# The subject line of the email.
|
1898
|
+
# @return [String]
|
1899
|
+
#
|
1900
|
+
# @!attribute [rw] text
|
1901
|
+
# The email body that will be visible to recipients whose email
|
1902
|
+
# clients do not display HTML.
|
1903
|
+
# @return [String]
|
1904
|
+
#
|
1905
|
+
# @!attribute [rw] html
|
1906
|
+
# The HTML body of the email.
|
1907
|
+
# @return [String]
|
1908
|
+
#
|
1909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/EmailTemplateContent AWS API Documentation
|
1910
|
+
#
|
1911
|
+
class EmailTemplateContent < Struct.new(
|
1912
|
+
:subject,
|
1913
|
+
:text,
|
1914
|
+
:html)
|
1915
|
+
SENSITIVE = []
|
1916
|
+
include Aws::Structure
|
1917
|
+
end
|
1918
|
+
|
1919
|
+
# Contains information about an email template.
|
1920
|
+
#
|
1921
|
+
# @!attribute [rw] template_name
|
1922
|
+
# The name of the template.
|
1923
|
+
# @return [String]
|
1924
|
+
#
|
1925
|
+
# @!attribute [rw] created_timestamp
|
1926
|
+
# The time and date the template was created.
|
1927
|
+
# @return [Time]
|
1928
|
+
#
|
1929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/EmailTemplateMetadata AWS API Documentation
|
1930
|
+
#
|
1931
|
+
class EmailTemplateMetadata < Struct.new(
|
1932
|
+
:template_name,
|
1933
|
+
:created_timestamp)
|
1934
|
+
SENSITIVE = []
|
1311
1935
|
include Aws::Structure
|
1312
1936
|
end
|
1313
1937
|
|
1314
1938
|
# In the Amazon SES API v2, *events* include message sends, deliveries,
|
1315
|
-
# opens, clicks, bounces, and
|
1316
|
-
# places that you can send information about these
|
1317
|
-
# example, you can send event data to Amazon SNS to
|
1318
|
-
# notifications when you receive bounces or complaints, or you
|
1319
|
-
# Amazon Kinesis Data Firehose to stream data to Amazon S3 for
|
1320
|
-
# storage.
|
1939
|
+
# opens, clicks, bounces, complaints and delivery delays. *Event
|
1940
|
+
# destinations* are places that you can send information about these
|
1941
|
+
# events to. For example, you can send event data to Amazon SNS to
|
1942
|
+
# receive notifications when you receive bounces or complaints, or you
|
1943
|
+
# can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for
|
1944
|
+
# long-term storage.
|
1321
1945
|
#
|
1322
1946
|
# @!attribute [rw] name
|
1323
1947
|
# A name that identifies the event destination.
|
@@ -1379,6 +2003,7 @@ module Aws::SESV2
|
|
1379
2003
|
:cloud_watch_destination,
|
1380
2004
|
:sns_destination,
|
1381
2005
|
:pinpoint_destination)
|
2006
|
+
SENSITIVE = []
|
1382
2007
|
include Aws::Structure
|
1383
2008
|
end
|
1384
2009
|
|
@@ -1392,7 +2017,7 @@ module Aws::SESV2
|
|
1392
2017
|
#
|
1393
2018
|
# {
|
1394
2019
|
# enabled: false,
|
1395
|
-
# matching_event_types: ["SEND"], # accepts SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE
|
2020
|
+
# matching_event_types: ["SEND"], # accepts SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY
|
1396
2021
|
# kinesis_firehose_destination: {
|
1397
2022
|
# iam_role_arn: "AmazonResourceName", # required
|
1398
2023
|
# delivery_stream_arn: "AmazonResourceName", # required
|
@@ -1469,6 +2094,7 @@ module Aws::SESV2
|
|
1469
2094
|
:cloud_watch_destination,
|
1470
2095
|
:sns_destination,
|
1471
2096
|
:pinpoint_destination)
|
2097
|
+
SENSITIVE = []
|
1472
2098
|
include Aws::Structure
|
1473
2099
|
end
|
1474
2100
|
|
@@ -1539,6 +2165,10 @@ module Aws::SESV2
|
|
1539
2165
|
# suppression preferences for your account in the current AWS Region.
|
1540
2166
|
# @return [Types::SuppressionAttributes]
|
1541
2167
|
#
|
2168
|
+
# @!attribute [rw] details
|
2169
|
+
# An object that defines your account details.
|
2170
|
+
# @return [Types::AccountDetails]
|
2171
|
+
#
|
1542
2172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccountResponse AWS API Documentation
|
1543
2173
|
#
|
1544
2174
|
class GetAccountResponse < Struct.new(
|
@@ -1547,7 +2177,9 @@ module Aws::SESV2
|
|
1547
2177
|
:production_access_enabled,
|
1548
2178
|
:send_quota,
|
1549
2179
|
:sending_enabled,
|
1550
|
-
:suppression_attributes
|
2180
|
+
:suppression_attributes,
|
2181
|
+
:details)
|
2182
|
+
SENSITIVE = []
|
1551
2183
|
include Aws::Structure
|
1552
2184
|
end
|
1553
2185
|
|
@@ -1571,6 +2203,7 @@ module Aws::SESV2
|
|
1571
2203
|
#
|
1572
2204
|
class GetBlacklistReportsRequest < Struct.new(
|
1573
2205
|
:blacklist_item_names)
|
2206
|
+
SENSITIVE = []
|
1574
2207
|
include Aws::Structure
|
1575
2208
|
end
|
1576
2209
|
|
@@ -1585,6 +2218,7 @@ module Aws::SESV2
|
|
1585
2218
|
#
|
1586
2219
|
class GetBlacklistReportsResponse < Struct.new(
|
1587
2220
|
:blacklist_report)
|
2221
|
+
SENSITIVE = []
|
1588
2222
|
include Aws::Structure
|
1589
2223
|
end
|
1590
2224
|
|
@@ -1607,6 +2241,7 @@ module Aws::SESV2
|
|
1607
2241
|
#
|
1608
2242
|
class GetConfigurationSetEventDestinationsRequest < Struct.new(
|
1609
2243
|
:configuration_set_name)
|
2244
|
+
SENSITIVE = []
|
1610
2245
|
include Aws::Structure
|
1611
2246
|
end
|
1612
2247
|
|
@@ -1621,6 +2256,7 @@ module Aws::SESV2
|
|
1621
2256
|
#
|
1622
2257
|
class GetConfigurationSetEventDestinationsResponse < Struct.new(
|
1623
2258
|
:event_destinations)
|
2259
|
+
SENSITIVE = []
|
1624
2260
|
include Aws::Structure
|
1625
2261
|
end
|
1626
2262
|
|
@@ -1642,6 +2278,7 @@ module Aws::SESV2
|
|
1642
2278
|
#
|
1643
2279
|
class GetConfigurationSetRequest < Struct.new(
|
1644
2280
|
:configuration_set_name)
|
2281
|
+
SENSITIVE = []
|
1645
2282
|
include Aws::Structure
|
1646
2283
|
end
|
1647
2284
|
|
@@ -1691,6 +2328,71 @@ module Aws::SESV2
|
|
1691
2328
|
:sending_options,
|
1692
2329
|
:tags,
|
1693
2330
|
:suppression_options)
|
2331
|
+
SENSITIVE = []
|
2332
|
+
include Aws::Structure
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
# Represents a request to retrieve an existing custom verification email
|
2336
|
+
# template.
|
2337
|
+
#
|
2338
|
+
# @note When making an API call, you may pass GetCustomVerificationEmailTemplateRequest
|
2339
|
+
# data as a hash:
|
2340
|
+
#
|
2341
|
+
# {
|
2342
|
+
# template_name: "EmailTemplateName", # required
|
2343
|
+
# }
|
2344
|
+
#
|
2345
|
+
# @!attribute [rw] template_name
|
2346
|
+
# The name of the custom verification email template that you want to
|
2347
|
+
# retrieve.
|
2348
|
+
# @return [String]
|
2349
|
+
#
|
2350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetCustomVerificationEmailTemplateRequest AWS API Documentation
|
2351
|
+
#
|
2352
|
+
class GetCustomVerificationEmailTemplateRequest < Struct.new(
|
2353
|
+
:template_name)
|
2354
|
+
SENSITIVE = []
|
2355
|
+
include Aws::Structure
|
2356
|
+
end
|
2357
|
+
|
2358
|
+
# The following elements are returned by the service.
|
2359
|
+
#
|
2360
|
+
# @!attribute [rw] template_name
|
2361
|
+
# The name of the custom verification email template.
|
2362
|
+
# @return [String]
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] from_email_address
|
2365
|
+
# The email address that the custom verification email is sent from.
|
2366
|
+
# @return [String]
|
2367
|
+
#
|
2368
|
+
# @!attribute [rw] template_subject
|
2369
|
+
# The subject line of the custom verification email.
|
2370
|
+
# @return [String]
|
2371
|
+
#
|
2372
|
+
# @!attribute [rw] template_content
|
2373
|
+
# The content of the custom verification email.
|
2374
|
+
# @return [String]
|
2375
|
+
#
|
2376
|
+
# @!attribute [rw] success_redirection_url
|
2377
|
+
# The URL that the recipient of the verification email is sent to if
|
2378
|
+
# his or her address is successfully verified.
|
2379
|
+
# @return [String]
|
2380
|
+
#
|
2381
|
+
# @!attribute [rw] failure_redirection_url
|
2382
|
+
# The URL that the recipient of the verification email is sent to if
|
2383
|
+
# his or her address is not successfully verified.
|
2384
|
+
# @return [String]
|
2385
|
+
#
|
2386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetCustomVerificationEmailTemplateResponse AWS API Documentation
|
2387
|
+
#
|
2388
|
+
class GetCustomVerificationEmailTemplateResponse < Struct.new(
|
2389
|
+
:template_name,
|
2390
|
+
:from_email_address,
|
2391
|
+
:template_subject,
|
2392
|
+
:template_content,
|
2393
|
+
:success_redirection_url,
|
2394
|
+
:failure_redirection_url)
|
2395
|
+
SENSITIVE = []
|
1694
2396
|
include Aws::Structure
|
1695
2397
|
end
|
1696
2398
|
|
@@ -1713,6 +2415,7 @@ module Aws::SESV2
|
|
1713
2415
|
#
|
1714
2416
|
class GetDedicatedIpRequest < Struct.new(
|
1715
2417
|
:ip)
|
2418
|
+
SENSITIVE = []
|
1716
2419
|
include Aws::Structure
|
1717
2420
|
end
|
1718
2421
|
|
@@ -1726,6 +2429,7 @@ module Aws::SESV2
|
|
1726
2429
|
#
|
1727
2430
|
class GetDedicatedIpResponse < Struct.new(
|
1728
2431
|
:dedicated_ip)
|
2432
|
+
SENSITIVE = []
|
1729
2433
|
include Aws::Structure
|
1730
2434
|
end
|
1731
2435
|
|
@@ -1765,6 +2469,7 @@ module Aws::SESV2
|
|
1765
2469
|
:pool_name,
|
1766
2470
|
:next_token,
|
1767
2471
|
:page_size)
|
2472
|
+
SENSITIVE = []
|
1768
2473
|
include Aws::Structure
|
1769
2474
|
end
|
1770
2475
|
|
@@ -1788,6 +2493,7 @@ module Aws::SESV2
|
|
1788
2493
|
class GetDedicatedIpsResponse < Struct.new(
|
1789
2494
|
:dedicated_ips,
|
1790
2495
|
:next_token)
|
2496
|
+
SENSITIVE = []
|
1791
2497
|
include Aws::Structure
|
1792
2498
|
end
|
1793
2499
|
|
@@ -1856,6 +2562,7 @@ module Aws::SESV2
|
|
1856
2562
|
:account_status,
|
1857
2563
|
:active_subscribed_domains,
|
1858
2564
|
:pending_expiration_subscribed_domains)
|
2565
|
+
SENSITIVE = []
|
1859
2566
|
include Aws::Structure
|
1860
2567
|
end
|
1861
2568
|
|
@@ -1877,6 +2584,7 @@ module Aws::SESV2
|
|
1877
2584
|
#
|
1878
2585
|
class GetDeliverabilityTestReportRequest < Struct.new(
|
1879
2586
|
:report_id)
|
2587
|
+
SENSITIVE = []
|
1880
2588
|
include Aws::Structure
|
1881
2589
|
end
|
1882
2590
|
|
@@ -1917,6 +2625,7 @@ module Aws::SESV2
|
|
1917
2625
|
:isp_placements,
|
1918
2626
|
:message,
|
1919
2627
|
:tags)
|
2628
|
+
SENSITIVE = []
|
1920
2629
|
include Aws::Structure
|
1921
2630
|
end
|
1922
2631
|
|
@@ -1941,6 +2650,7 @@ module Aws::SESV2
|
|
1941
2650
|
#
|
1942
2651
|
class GetDomainDeliverabilityCampaignRequest < Struct.new(
|
1943
2652
|
:campaign_id)
|
2653
|
+
SENSITIVE = []
|
1944
2654
|
include Aws::Structure
|
1945
2655
|
end
|
1946
2656
|
|
@@ -1957,6 +2667,7 @@ module Aws::SESV2
|
|
1957
2667
|
#
|
1958
2668
|
class GetDomainDeliverabilityCampaignResponse < Struct.new(
|
1959
2669
|
:domain_deliverability_campaign)
|
2670
|
+
SENSITIVE = []
|
1960
2671
|
include Aws::Structure
|
1961
2672
|
end
|
1962
2673
|
|
@@ -1992,6 +2703,7 @@ module Aws::SESV2
|
|
1992
2703
|
:domain,
|
1993
2704
|
:start_date,
|
1994
2705
|
:end_date)
|
2706
|
+
SENSITIVE = []
|
1995
2707
|
include Aws::Structure
|
1996
2708
|
end
|
1997
2709
|
|
@@ -2015,6 +2727,42 @@ module Aws::SESV2
|
|
2015
2727
|
class GetDomainStatisticsReportResponse < Struct.new(
|
2016
2728
|
:overall_volume,
|
2017
2729
|
:daily_volumes)
|
2730
|
+
SENSITIVE = []
|
2731
|
+
include Aws::Structure
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
# A request to return the policies of an email identity.
|
2735
|
+
#
|
2736
|
+
# @note When making an API call, you may pass GetEmailIdentityPoliciesRequest
|
2737
|
+
# data as a hash:
|
2738
|
+
#
|
2739
|
+
# {
|
2740
|
+
# email_identity: "Identity", # required
|
2741
|
+
# }
|
2742
|
+
#
|
2743
|
+
# @!attribute [rw] email_identity
|
2744
|
+
# The email identity that you want to retrieve policies for.
|
2745
|
+
# @return [String]
|
2746
|
+
#
|
2747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityPoliciesRequest AWS API Documentation
|
2748
|
+
#
|
2749
|
+
class GetEmailIdentityPoliciesRequest < Struct.new(
|
2750
|
+
:email_identity)
|
2751
|
+
SENSITIVE = []
|
2752
|
+
include Aws::Structure
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
# Identity policies associated with email identity.
|
2756
|
+
#
|
2757
|
+
# @!attribute [rw] policies
|
2758
|
+
# A map of policy names to policies.
|
2759
|
+
# @return [Hash<String,String>]
|
2760
|
+
#
|
2761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityPoliciesResponse AWS API Documentation
|
2762
|
+
#
|
2763
|
+
class GetEmailIdentityPoliciesResponse < Struct.new(
|
2764
|
+
:policies)
|
2765
|
+
SENSITIVE = []
|
2018
2766
|
include Aws::Structure
|
2019
2767
|
end
|
2020
2768
|
|
@@ -2035,6 +2783,7 @@ module Aws::SESV2
|
|
2035
2783
|
#
|
2036
2784
|
class GetEmailIdentityRequest < Struct.new(
|
2037
2785
|
:email_identity)
|
2786
|
+
SENSITIVE = []
|
2038
2787
|
include Aws::Structure
|
2039
2788
|
end
|
2040
2789
|
|
@@ -2079,6 +2828,10 @@ module Aws::SESV2
|
|
2079
2828
|
# for the email identity.
|
2080
2829
|
# @return [Types::MailFromAttributes]
|
2081
2830
|
#
|
2831
|
+
# @!attribute [rw] policies
|
2832
|
+
# A map of policy names to policies.
|
2833
|
+
# @return [Hash<String,String>]
|
2834
|
+
#
|
2082
2835
|
# @!attribute [rw] tags
|
2083
2836
|
# An array of objects that define the tags (keys and values) that are
|
2084
2837
|
# associated with the email identity.
|
@@ -2092,7 +2845,52 @@ module Aws::SESV2
|
|
2092
2845
|
:verified_for_sending_status,
|
2093
2846
|
:dkim_attributes,
|
2094
2847
|
:mail_from_attributes,
|
2848
|
+
:policies,
|
2095
2849
|
:tags)
|
2850
|
+
SENSITIVE = []
|
2851
|
+
include Aws::Structure
|
2852
|
+
end
|
2853
|
+
|
2854
|
+
# Represents a request to display the template object (which includes
|
2855
|
+
# the subject line, HTML part and text part) for the template you
|
2856
|
+
# specify.
|
2857
|
+
#
|
2858
|
+
# @note When making an API call, you may pass GetEmailTemplateRequest
|
2859
|
+
# data as a hash:
|
2860
|
+
#
|
2861
|
+
# {
|
2862
|
+
# template_name: "EmailTemplateName", # required
|
2863
|
+
# }
|
2864
|
+
#
|
2865
|
+
# @!attribute [rw] template_name
|
2866
|
+
# The name of the template you want to retrieve.
|
2867
|
+
# @return [String]
|
2868
|
+
#
|
2869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplateRequest AWS API Documentation
|
2870
|
+
#
|
2871
|
+
class GetEmailTemplateRequest < Struct.new(
|
2872
|
+
:template_name)
|
2873
|
+
SENSITIVE = []
|
2874
|
+
include Aws::Structure
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# The following element is returned by the service.
|
2878
|
+
#
|
2879
|
+
# @!attribute [rw] template_name
|
2880
|
+
# The name of the template you want to retrieve.
|
2881
|
+
# @return [String]
|
2882
|
+
#
|
2883
|
+
# @!attribute [rw] template_content
|
2884
|
+
# The content of the email template, composed of a subject line, an
|
2885
|
+
# HTML part, and a text-only part.
|
2886
|
+
# @return [Types::EmailTemplateContent]
|
2887
|
+
#
|
2888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplateResponse AWS API Documentation
|
2889
|
+
#
|
2890
|
+
class GetEmailTemplateResponse < Struct.new(
|
2891
|
+
:template_name,
|
2892
|
+
:template_content)
|
2893
|
+
SENSITIVE = []
|
2096
2894
|
include Aws::Structure
|
2097
2895
|
end
|
2098
2896
|
|
@@ -2114,6 +2912,7 @@ module Aws::SESV2
|
|
2114
2912
|
#
|
2115
2913
|
class GetSuppressedDestinationRequest < Struct.new(
|
2116
2914
|
:email_address)
|
2915
|
+
SENSITIVE = []
|
2117
2916
|
include Aws::Structure
|
2118
2917
|
end
|
2119
2918
|
|
@@ -2127,6 +2926,7 @@ module Aws::SESV2
|
|
2127
2926
|
#
|
2128
2927
|
class GetSuppressedDestinationResponse < Struct.new(
|
2129
2928
|
:suppressed_destination)
|
2929
|
+
SENSITIVE = []
|
2130
2930
|
include Aws::Structure
|
2131
2931
|
end
|
2132
2932
|
|
@@ -2163,6 +2963,7 @@ module Aws::SESV2
|
|
2163
2963
|
:identity_type,
|
2164
2964
|
:identity_name,
|
2165
2965
|
:sending_enabled)
|
2966
|
+
SENSITIVE = []
|
2166
2967
|
include Aws::Structure
|
2167
2968
|
end
|
2168
2969
|
|
@@ -2194,6 +2995,7 @@ module Aws::SESV2
|
|
2194
2995
|
class InboxPlacementTrackingOption < Struct.new(
|
2195
2996
|
:global,
|
2196
2997
|
:tracked_isps)
|
2998
|
+
SENSITIVE = []
|
2197
2999
|
include Aws::Structure
|
2198
3000
|
end
|
2199
3001
|
|
@@ -2221,6 +3023,7 @@ module Aws::SESV2
|
|
2221
3023
|
class IspPlacement < Struct.new(
|
2222
3024
|
:isp_name,
|
2223
3025
|
:placement_statistics)
|
3026
|
+
SENSITIVE = []
|
2224
3027
|
include Aws::Structure
|
2225
3028
|
end
|
2226
3029
|
|
@@ -2252,6 +3055,7 @@ module Aws::SESV2
|
|
2252
3055
|
class KinesisFirehoseDestination < Struct.new(
|
2253
3056
|
:iam_role_arn,
|
2254
3057
|
:delivery_stream_arn)
|
3058
|
+
SENSITIVE = []
|
2255
3059
|
include Aws::Structure
|
2256
3060
|
end
|
2257
3061
|
|
@@ -2289,6 +3093,7 @@ module Aws::SESV2
|
|
2289
3093
|
class ListConfigurationSetsRequest < Struct.new(
|
2290
3094
|
:next_token,
|
2291
3095
|
:page_size)
|
3096
|
+
SENSITIVE = []
|
2292
3097
|
include Aws::Structure
|
2293
3098
|
end
|
2294
3099
|
|
@@ -2312,6 +3117,67 @@ module Aws::SESV2
|
|
2312
3117
|
class ListConfigurationSetsResponse < Struct.new(
|
2313
3118
|
:configuration_sets,
|
2314
3119
|
:next_token)
|
3120
|
+
SENSITIVE = []
|
3121
|
+
include Aws::Structure
|
3122
|
+
end
|
3123
|
+
|
3124
|
+
# Represents a request to list the existing custom verification email
|
3125
|
+
# templates for your account.
|
3126
|
+
#
|
3127
|
+
# @note When making an API call, you may pass ListCustomVerificationEmailTemplatesRequest
|
3128
|
+
# data as a hash:
|
3129
|
+
#
|
3130
|
+
# {
|
3131
|
+
# next_token: "NextToken",
|
3132
|
+
# page_size: 1,
|
3133
|
+
# }
|
3134
|
+
#
|
3135
|
+
# @!attribute [rw] next_token
|
3136
|
+
# A token returned from a previous call to
|
3137
|
+
# `ListCustomVerificationEmailTemplates` to indicate the position in
|
3138
|
+
# the list of custom verification email templates.
|
3139
|
+
# @return [String]
|
3140
|
+
#
|
3141
|
+
# @!attribute [rw] page_size
|
3142
|
+
# The number of results to show in a single call to
|
3143
|
+
# `ListCustomVerificationEmailTemplates`. If the number of results is
|
3144
|
+
# larger than the number you specified in this parameter, then the
|
3145
|
+
# response includes a `NextToken` element, which you can use to obtain
|
3146
|
+
# additional results.
|
3147
|
+
#
|
3148
|
+
# The value you specify has to be at least 1, and can be no more than
|
3149
|
+
# 50.
|
3150
|
+
# @return [Integer]
|
3151
|
+
#
|
3152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListCustomVerificationEmailTemplatesRequest AWS API Documentation
|
3153
|
+
#
|
3154
|
+
class ListCustomVerificationEmailTemplatesRequest < Struct.new(
|
3155
|
+
:next_token,
|
3156
|
+
:page_size)
|
3157
|
+
SENSITIVE = []
|
3158
|
+
include Aws::Structure
|
3159
|
+
end
|
3160
|
+
|
3161
|
+
# The following elements are returned by the service.
|
3162
|
+
#
|
3163
|
+
# @!attribute [rw] custom_verification_email_templates
|
3164
|
+
# A list of the custom verification email templates that exist in your
|
3165
|
+
# account.
|
3166
|
+
# @return [Array<Types::CustomVerificationEmailTemplateMetadata>]
|
3167
|
+
#
|
3168
|
+
# @!attribute [rw] next_token
|
3169
|
+
# A token indicating that there are additional custom verification
|
3170
|
+
# email templates available to be listed. Pass this token to a
|
3171
|
+
# subsequent call to `ListCustomVerificationEmailTemplates` to
|
3172
|
+
# retrieve the next 50 custom verification email templates.
|
3173
|
+
# @return [String]
|
3174
|
+
#
|
3175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListCustomVerificationEmailTemplatesResponse AWS API Documentation
|
3176
|
+
#
|
3177
|
+
class ListCustomVerificationEmailTemplatesResponse < Struct.new(
|
3178
|
+
:custom_verification_email_templates,
|
3179
|
+
:next_token)
|
3180
|
+
SENSITIVE = []
|
2315
3181
|
include Aws::Structure
|
2316
3182
|
end
|
2317
3183
|
|
@@ -2342,6 +3208,7 @@ module Aws::SESV2
|
|
2342
3208
|
class ListDedicatedIpPoolsRequest < Struct.new(
|
2343
3209
|
:next_token,
|
2344
3210
|
:page_size)
|
3211
|
+
SENSITIVE = []
|
2345
3212
|
include Aws::Structure
|
2346
3213
|
end
|
2347
3214
|
|
@@ -2364,6 +3231,7 @@ module Aws::SESV2
|
|
2364
3231
|
class ListDedicatedIpPoolsResponse < Struct.new(
|
2365
3232
|
:dedicated_ip_pools,
|
2366
3233
|
:next_token)
|
3234
|
+
SENSITIVE = []
|
2367
3235
|
include Aws::Structure
|
2368
3236
|
end
|
2369
3237
|
|
@@ -2400,6 +3268,7 @@ module Aws::SESV2
|
|
2400
3268
|
class ListDeliverabilityTestReportsRequest < Struct.new(
|
2401
3269
|
:next_token,
|
2402
3270
|
:page_size)
|
3271
|
+
SENSITIVE = []
|
2403
3272
|
include Aws::Structure
|
2404
3273
|
end
|
2405
3274
|
|
@@ -2425,6 +3294,7 @@ module Aws::SESV2
|
|
2425
3294
|
class ListDeliverabilityTestReportsResponse < Struct.new(
|
2426
3295
|
:deliverability_test_reports,
|
2427
3296
|
:next_token)
|
3297
|
+
SENSITIVE = []
|
2428
3298
|
include Aws::Structure
|
2429
3299
|
end
|
2430
3300
|
|
@@ -2481,6 +3351,7 @@ module Aws::SESV2
|
|
2481
3351
|
:subscribed_domain,
|
2482
3352
|
:next_token,
|
2483
3353
|
:page_size)
|
3354
|
+
SENSITIVE = []
|
2484
3355
|
include Aws::Structure
|
2485
3356
|
end
|
2486
3357
|
|
@@ -2505,6 +3376,7 @@ module Aws::SESV2
|
|
2505
3376
|
class ListDomainDeliverabilityCampaignsResponse < Struct.new(
|
2506
3377
|
:domain_deliverability_campaigns,
|
2507
3378
|
:next_token)
|
3379
|
+
SENSITIVE = []
|
2508
3380
|
include Aws::Structure
|
2509
3381
|
end
|
2510
3382
|
|
@@ -2541,6 +3413,7 @@ module Aws::SESV2
|
|
2541
3413
|
class ListEmailIdentitiesRequest < Struct.new(
|
2542
3414
|
:next_token,
|
2543
3415
|
:page_size)
|
3416
|
+
SENSITIVE = []
|
2544
3417
|
include Aws::Structure
|
2545
3418
|
end
|
2546
3419
|
|
@@ -2565,6 +3438,69 @@ module Aws::SESV2
|
|
2565
3438
|
class ListEmailIdentitiesResponse < Struct.new(
|
2566
3439
|
:email_identities,
|
2567
3440
|
:next_token)
|
3441
|
+
SENSITIVE = []
|
3442
|
+
include Aws::Structure
|
3443
|
+
end
|
3444
|
+
|
3445
|
+
# Represents a request to list the email templates present in your
|
3446
|
+
# Amazon SES account in the current AWS Region. For more information,
|
3447
|
+
# see the [Amazon SES Developer Guide][1].
|
3448
|
+
#
|
3449
|
+
#
|
3450
|
+
#
|
3451
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
|
3452
|
+
#
|
3453
|
+
# @note When making an API call, you may pass ListEmailTemplatesRequest
|
3454
|
+
# data as a hash:
|
3455
|
+
#
|
3456
|
+
# {
|
3457
|
+
# next_token: "NextToken",
|
3458
|
+
# page_size: 1,
|
3459
|
+
# }
|
3460
|
+
#
|
3461
|
+
# @!attribute [rw] next_token
|
3462
|
+
# A token returned from a previous call to `ListEmailTemplates` to
|
3463
|
+
# indicate the position in the list of email templates.
|
3464
|
+
# @return [String]
|
3465
|
+
#
|
3466
|
+
# @!attribute [rw] page_size
|
3467
|
+
# The number of results to show in a single call to
|
3468
|
+
# `ListEmailTemplates`. If the number of results is larger than the
|
3469
|
+
# number you specified in this parameter, then the response includes a
|
3470
|
+
# `NextToken` element, which you can use to obtain additional results.
|
3471
|
+
#
|
3472
|
+
# The value you specify has to be at least 1, and can be no more than
|
3473
|
+
# 10.
|
3474
|
+
# @return [Integer]
|
3475
|
+
#
|
3476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplatesRequest AWS API Documentation
|
3477
|
+
#
|
3478
|
+
class ListEmailTemplatesRequest < Struct.new(
|
3479
|
+
:next_token,
|
3480
|
+
:page_size)
|
3481
|
+
SENSITIVE = []
|
3482
|
+
include Aws::Structure
|
3483
|
+
end
|
3484
|
+
|
3485
|
+
# The following elements are returned by the service.
|
3486
|
+
#
|
3487
|
+
# @!attribute [rw] templates_metadata
|
3488
|
+
# An array the contains the name and creation time stamp for each
|
3489
|
+
# template in your Amazon SES account.
|
3490
|
+
# @return [Array<Types::EmailTemplateMetadata>]
|
3491
|
+
#
|
3492
|
+
# @!attribute [rw] next_token
|
3493
|
+
# A token indicating that there are additional email templates
|
3494
|
+
# available to be listed. Pass this token to a subsequent
|
3495
|
+
# `ListEmailTemplates` call to retrieve the next 10 email templates.
|
3496
|
+
# @return [String]
|
3497
|
+
#
|
3498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplatesResponse AWS API Documentation
|
3499
|
+
#
|
3500
|
+
class ListEmailTemplatesResponse < Struct.new(
|
3501
|
+
:templates_metadata,
|
3502
|
+
:next_token)
|
3503
|
+
SENSITIVE = []
|
2568
3504
|
include Aws::Structure
|
2569
3505
|
end
|
2570
3506
|
|
@@ -2621,6 +3557,7 @@ module Aws::SESV2
|
|
2621
3557
|
:end_date,
|
2622
3558
|
:next_token,
|
2623
3559
|
:page_size)
|
3560
|
+
SENSITIVE = []
|
2624
3561
|
include Aws::Structure
|
2625
3562
|
end
|
2626
3563
|
|
@@ -2643,6 +3580,7 @@ module Aws::SESV2
|
|
2643
3580
|
class ListSuppressedDestinationsResponse < Struct.new(
|
2644
3581
|
:suppressed_destination_summaries,
|
2645
3582
|
:next_token)
|
3583
|
+
SENSITIVE = []
|
2646
3584
|
include Aws::Structure
|
2647
3585
|
end
|
2648
3586
|
|
@@ -2662,6 +3600,7 @@ module Aws::SESV2
|
|
2662
3600
|
#
|
2663
3601
|
class ListTagsForResourceRequest < Struct.new(
|
2664
3602
|
:resource_arn)
|
3603
|
+
SENSITIVE = []
|
2665
3604
|
include Aws::Structure
|
2666
3605
|
end
|
2667
3606
|
|
@@ -2675,6 +3614,7 @@ module Aws::SESV2
|
|
2675
3614
|
#
|
2676
3615
|
class ListTagsForResourceResponse < Struct.new(
|
2677
3616
|
:tags)
|
3617
|
+
SENSITIVE = []
|
2678
3618
|
include Aws::Structure
|
2679
3619
|
end
|
2680
3620
|
|
@@ -2721,6 +3661,7 @@ module Aws::SESV2
|
|
2721
3661
|
:mail_from_domain,
|
2722
3662
|
:mail_from_domain_status,
|
2723
3663
|
:behavior_on_mx_failure)
|
3664
|
+
SENSITIVE = []
|
2724
3665
|
include Aws::Structure
|
2725
3666
|
end
|
2726
3667
|
|
@@ -2774,6 +3715,7 @@ module Aws::SESV2
|
|
2774
3715
|
class Message < Struct.new(
|
2775
3716
|
:subject,
|
2776
3717
|
:body)
|
3718
|
+
SENSITIVE = []
|
2777
3719
|
include Aws::Structure
|
2778
3720
|
end
|
2779
3721
|
|
@@ -2819,6 +3761,7 @@ module Aws::SESV2
|
|
2819
3761
|
class MessageTag < Struct.new(
|
2820
3762
|
:name,
|
2821
3763
|
:value)
|
3764
|
+
SENSITIVE = []
|
2822
3765
|
include Aws::Structure
|
2823
3766
|
end
|
2824
3767
|
|
@@ -2852,6 +3795,7 @@ module Aws::SESV2
|
|
2852
3795
|
:volume_statistics,
|
2853
3796
|
:read_rate_percent,
|
2854
3797
|
:domain_isp_placements)
|
3798
|
+
SENSITIVE = []
|
2855
3799
|
include Aws::Structure
|
2856
3800
|
end
|
2857
3801
|
|
@@ -2882,6 +3826,7 @@ module Aws::SESV2
|
|
2882
3826
|
#
|
2883
3827
|
class PinpointDestination < Struct.new(
|
2884
3828
|
:application_arn)
|
3829
|
+
SENSITIVE = []
|
2885
3830
|
include Aws::Structure
|
2886
3831
|
end
|
2887
3832
|
|
@@ -2920,6 +3865,7 @@ module Aws::SESV2
|
|
2920
3865
|
:missing_percentage,
|
2921
3866
|
:spf_percentage,
|
2922
3867
|
:dkim_percentage)
|
3868
|
+
SENSITIVE = []
|
2923
3869
|
include Aws::Structure
|
2924
3870
|
end
|
2925
3871
|
|
@@ -2944,6 +3890,7 @@ module Aws::SESV2
|
|
2944
3890
|
#
|
2945
3891
|
class PutAccountDedicatedIpWarmupAttributesRequest < Struct.new(
|
2946
3892
|
:auto_warmup_enabled)
|
3893
|
+
SENSITIVE = []
|
2947
3894
|
include Aws::Structure
|
2948
3895
|
end
|
2949
3896
|
|
@@ -2954,6 +3901,79 @@ module Aws::SESV2
|
|
2954
3901
|
#
|
2955
3902
|
class PutAccountDedicatedIpWarmupAttributesResponse < Aws::EmptyStructure; end
|
2956
3903
|
|
3904
|
+
# A request to submit new account details.
|
3905
|
+
#
|
3906
|
+
# @note When making an API call, you may pass PutAccountDetailsRequest
|
3907
|
+
# data as a hash:
|
3908
|
+
#
|
3909
|
+
# {
|
3910
|
+
# mail_type: "MARKETING", # required, accepts MARKETING, TRANSACTIONAL
|
3911
|
+
# website_url: "WebsiteURL", # required
|
3912
|
+
# contact_language: "EN", # accepts EN, JA
|
3913
|
+
# use_case_description: "UseCaseDescription", # required
|
3914
|
+
# additional_contact_email_addresses: ["AdditionalContactEmailAddress"],
|
3915
|
+
# production_access_enabled: false,
|
3916
|
+
# }
|
3917
|
+
#
|
3918
|
+
# @!attribute [rw] mail_type
|
3919
|
+
# The type of email your account will send.
|
3920
|
+
# @return [String]
|
3921
|
+
#
|
3922
|
+
# @!attribute [rw] website_url
|
3923
|
+
# The URL of your website. This information helps us better understand
|
3924
|
+
# the type of content that you plan to send.
|
3925
|
+
# @return [String]
|
3926
|
+
#
|
3927
|
+
# @!attribute [rw] contact_language
|
3928
|
+
# The language you would prefer to be contacted with.
|
3929
|
+
# @return [String]
|
3930
|
+
#
|
3931
|
+
# @!attribute [rw] use_case_description
|
3932
|
+
# A description of the types of email that you plan to send.
|
3933
|
+
# @return [String]
|
3934
|
+
#
|
3935
|
+
# @!attribute [rw] additional_contact_email_addresses
|
3936
|
+
# Additional email addresses that you would like to be notified
|
3937
|
+
# regarding Amazon SES matters.
|
3938
|
+
# @return [Array<String>]
|
3939
|
+
#
|
3940
|
+
# @!attribute [rw] production_access_enabled
|
3941
|
+
# Indicates whether or not your account should have production access
|
3942
|
+
# in the current AWS Region.
|
3943
|
+
#
|
3944
|
+
# If the value is `false`, then your account is in the *sandbox*. When
|
3945
|
+
# your account is in the sandbox, you can only send email to verified
|
3946
|
+
# identities. Additionally, the maximum number of emails you can send
|
3947
|
+
# in a 24-hour period (your sending quota) is 200, and the maximum
|
3948
|
+
# number of emails you can send per second (your maximum sending rate)
|
3949
|
+
# is 1.
|
3950
|
+
#
|
3951
|
+
# If the value is `true`, then your account has production access.
|
3952
|
+
# When your account has production access, you can send email to any
|
3953
|
+
# address. The sending quota and maximum sending rate for your account
|
3954
|
+
# vary based on your specific use case.
|
3955
|
+
# @return [Boolean]
|
3956
|
+
#
|
3957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDetailsRequest AWS API Documentation
|
3958
|
+
#
|
3959
|
+
class PutAccountDetailsRequest < Struct.new(
|
3960
|
+
:mail_type,
|
3961
|
+
:website_url,
|
3962
|
+
:contact_language,
|
3963
|
+
:use_case_description,
|
3964
|
+
:additional_contact_email_addresses,
|
3965
|
+
:production_access_enabled)
|
3966
|
+
SENSITIVE = [:website_url, :use_case_description, :additional_contact_email_addresses]
|
3967
|
+
include Aws::Structure
|
3968
|
+
end
|
3969
|
+
|
3970
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
3971
|
+
# the request fails.
|
3972
|
+
#
|
3973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDetailsResponse AWS API Documentation
|
3974
|
+
#
|
3975
|
+
class PutAccountDetailsResponse < Aws::EmptyStructure; end
|
3976
|
+
|
2957
3977
|
# A request to change the ability of your account to send email.
|
2958
3978
|
#
|
2959
3979
|
# @note When making an API call, you may pass PutAccountSendingAttributesRequest
|
@@ -2978,6 +3998,7 @@ module Aws::SESV2
|
|
2978
3998
|
#
|
2979
3999
|
class PutAccountSendingAttributesRequest < Struct.new(
|
2980
4000
|
:sending_enabled)
|
4001
|
+
SENSITIVE = []
|
2981
4002
|
include Aws::Structure
|
2982
4003
|
end
|
2983
4004
|
|
@@ -3015,6 +4036,7 @@ module Aws::SESV2
|
|
3015
4036
|
#
|
3016
4037
|
class PutAccountSuppressionAttributesRequest < Struct.new(
|
3017
4038
|
:suppressed_reasons)
|
4039
|
+
SENSITIVE = []
|
3018
4040
|
include Aws::Structure
|
3019
4041
|
end
|
3020
4042
|
|
@@ -3060,6 +4082,7 @@ module Aws::SESV2
|
|
3060
4082
|
:configuration_set_name,
|
3061
4083
|
:tls_policy,
|
3062
4084
|
:sending_pool_name)
|
4085
|
+
SENSITIVE = []
|
3063
4086
|
include Aws::Structure
|
3064
4087
|
end
|
3065
4088
|
|
@@ -3097,6 +4120,7 @@ module Aws::SESV2
|
|
3097
4120
|
class PutConfigurationSetReputationOptionsRequest < Struct.new(
|
3098
4121
|
:configuration_set_name,
|
3099
4122
|
:reputation_metrics_enabled)
|
4123
|
+
SENSITIVE = []
|
3100
4124
|
include Aws::Structure
|
3101
4125
|
end
|
3102
4126
|
|
@@ -3133,6 +4157,7 @@ module Aws::SESV2
|
|
3133
4157
|
class PutConfigurationSetSendingOptionsRequest < Struct.new(
|
3134
4158
|
:configuration_set_name,
|
3135
4159
|
:sending_enabled)
|
4160
|
+
SENSITIVE = []
|
3136
4161
|
include Aws::Structure
|
3137
4162
|
end
|
3138
4163
|
|
@@ -3178,6 +4203,7 @@ module Aws::SESV2
|
|
3178
4203
|
class PutConfigurationSetSuppressionOptionsRequest < Struct.new(
|
3179
4204
|
:configuration_set_name,
|
3180
4205
|
:suppressed_reasons)
|
4206
|
+
SENSITIVE = []
|
3181
4207
|
include Aws::Structure
|
3182
4208
|
end
|
3183
4209
|
|
@@ -3213,6 +4239,7 @@ module Aws::SESV2
|
|
3213
4239
|
class PutConfigurationSetTrackingOptionsRequest < Struct.new(
|
3214
4240
|
:configuration_set_name,
|
3215
4241
|
:custom_redirect_domain)
|
4242
|
+
SENSITIVE = []
|
3216
4243
|
include Aws::Structure
|
3217
4244
|
end
|
3218
4245
|
|
@@ -3249,6 +4276,7 @@ module Aws::SESV2
|
|
3249
4276
|
class PutDedicatedIpInPoolRequest < Struct.new(
|
3250
4277
|
:ip,
|
3251
4278
|
:destination_pool_name)
|
4279
|
+
SENSITIVE = []
|
3252
4280
|
include Aws::Structure
|
3253
4281
|
end
|
3254
4282
|
|
@@ -3286,6 +4314,7 @@ module Aws::SESV2
|
|
3286
4314
|
class PutDedicatedIpWarmupAttributesRequest < Struct.new(
|
3287
4315
|
:ip,
|
3288
4316
|
:warmup_percentage)
|
4317
|
+
SENSITIVE = []
|
3289
4318
|
include Aws::Structure
|
3290
4319
|
end
|
3291
4320
|
|
@@ -3344,6 +4373,7 @@ module Aws::SESV2
|
|
3344
4373
|
class PutDeliverabilityDashboardOptionRequest < Struct.new(
|
3345
4374
|
:dashboard_enabled,
|
3346
4375
|
:subscribed_domains)
|
4376
|
+
SENSITIVE = []
|
3347
4377
|
include Aws::Structure
|
3348
4378
|
end
|
3349
4379
|
|
@@ -3382,6 +4412,7 @@ module Aws::SESV2
|
|
3382
4412
|
class PutEmailIdentityDkimAttributesRequest < Struct.new(
|
3383
4413
|
:email_identity,
|
3384
4414
|
:signing_enabled)
|
4415
|
+
SENSITIVE = []
|
3385
4416
|
include Aws::Structure
|
3386
4417
|
end
|
3387
4418
|
|
@@ -3438,6 +4469,7 @@ module Aws::SESV2
|
|
3438
4469
|
:email_identity,
|
3439
4470
|
:signing_attributes_origin,
|
3440
4471
|
:signing_attributes)
|
4472
|
+
SENSITIVE = []
|
3441
4473
|
include Aws::Structure
|
3442
4474
|
end
|
3443
4475
|
|
@@ -3508,6 +4540,7 @@ module Aws::SESV2
|
|
3508
4540
|
class PutEmailIdentityDkimSigningAttributesResponse < Struct.new(
|
3509
4541
|
:dkim_status,
|
3510
4542
|
:dkim_tokens)
|
4543
|
+
SENSITIVE = []
|
3511
4544
|
include Aws::Structure
|
3512
4545
|
end
|
3513
4546
|
|
@@ -3547,6 +4580,7 @@ module Aws::SESV2
|
|
3547
4580
|
class PutEmailIdentityFeedbackAttributesRequest < Struct.new(
|
3548
4581
|
:email_identity,
|
3549
4582
|
:email_forwarding_enabled)
|
4583
|
+
SENSITIVE = []
|
3550
4584
|
include Aws::Structure
|
3551
4585
|
end
|
3552
4586
|
|
@@ -3605,6 +4639,7 @@ module Aws::SESV2
|
|
3605
4639
|
:email_identity,
|
3606
4640
|
:mail_from_domain,
|
3607
4641
|
:behavior_on_mx_failure)
|
4642
|
+
SENSITIVE = []
|
3608
4643
|
include Aws::Structure
|
3609
4644
|
end
|
3610
4645
|
|
@@ -3641,6 +4676,7 @@ module Aws::SESV2
|
|
3641
4676
|
class PutSuppressedDestinationRequest < Struct.new(
|
3642
4677
|
:email_address,
|
3643
4678
|
:reason)
|
4679
|
+
SENSITIVE = []
|
3644
4680
|
include Aws::Structure
|
3645
4681
|
end
|
3646
4682
|
|
@@ -3692,30 +4728,81 @@ module Aws::SESV2
|
|
3692
4728
|
#
|
3693
4729
|
class RawMessage < Struct.new(
|
3694
4730
|
:data)
|
4731
|
+
SENSITIVE = []
|
3695
4732
|
include Aws::Structure
|
3696
4733
|
end
|
3697
4734
|
|
3698
|
-
#
|
3699
|
-
#
|
4735
|
+
# The `ReplaceEmailContent` object to be used for a specific
|
4736
|
+
# `BulkEmailEntry`. The `ReplacementTemplate` can be specified within
|
4737
|
+
# this object.
|
3700
4738
|
#
|
3701
|
-
# @note When making an API call, you may pass
|
4739
|
+
# @note When making an API call, you may pass ReplacementEmailContent
|
3702
4740
|
# data as a hash:
|
3703
4741
|
#
|
3704
4742
|
# {
|
3705
|
-
#
|
3706
|
-
#
|
4743
|
+
# replacement_template: {
|
4744
|
+
# replacement_template_data: "EmailTemplateData",
|
4745
|
+
# },
|
3707
4746
|
# }
|
3708
4747
|
#
|
3709
|
-
# @!attribute [rw]
|
3710
|
-
#
|
3711
|
-
#
|
3712
|
-
# disabled for the configuration set.
|
3713
|
-
# @return [Boolean]
|
4748
|
+
# @!attribute [rw] replacement_template
|
4749
|
+
# The `ReplacementTemplate` associated with `ReplacementEmailContent`.
|
4750
|
+
# @return [Types::ReplacementTemplate]
|
3714
4751
|
#
|
3715
|
-
#
|
3716
|
-
#
|
3717
|
-
|
3718
|
-
|
4752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ReplacementEmailContent AWS API Documentation
|
4753
|
+
#
|
4754
|
+
class ReplacementEmailContent < Struct.new(
|
4755
|
+
:replacement_template)
|
4756
|
+
SENSITIVE = []
|
4757
|
+
include Aws::Structure
|
4758
|
+
end
|
4759
|
+
|
4760
|
+
# An object which contains `ReplacementTemplateData` to be used for a
|
4761
|
+
# specific `BulkEmailEntry`.
|
4762
|
+
#
|
4763
|
+
# @note When making an API call, you may pass ReplacementTemplate
|
4764
|
+
# data as a hash:
|
4765
|
+
#
|
4766
|
+
# {
|
4767
|
+
# replacement_template_data: "EmailTemplateData",
|
4768
|
+
# }
|
4769
|
+
#
|
4770
|
+
# @!attribute [rw] replacement_template_data
|
4771
|
+
# A list of replacement values to apply to the template. This
|
4772
|
+
# parameter is a JSON object, typically consisting of key-value pairs
|
4773
|
+
# in which the keys correspond to replacement tags in the email
|
4774
|
+
# template.
|
4775
|
+
# @return [String]
|
4776
|
+
#
|
4777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ReplacementTemplate AWS API Documentation
|
4778
|
+
#
|
4779
|
+
class ReplacementTemplate < Struct.new(
|
4780
|
+
:replacement_template_data)
|
4781
|
+
SENSITIVE = []
|
4782
|
+
include Aws::Structure
|
4783
|
+
end
|
4784
|
+
|
4785
|
+
# Enable or disable collection of reputation metrics for emails that you
|
4786
|
+
# send using this configuration set in the current AWS Region.
|
4787
|
+
#
|
4788
|
+
# @note When making an API call, you may pass ReputationOptions
|
4789
|
+
# data as a hash:
|
4790
|
+
#
|
4791
|
+
# {
|
4792
|
+
# reputation_metrics_enabled: false,
|
4793
|
+
# last_fresh_start: Time.now,
|
4794
|
+
# }
|
4795
|
+
#
|
4796
|
+
# @!attribute [rw] reputation_metrics_enabled
|
4797
|
+
# If `true`, tracking of reputation metrics is enabled for the
|
4798
|
+
# configuration set. If `false`, tracking of reputation metrics is
|
4799
|
+
# disabled for the configuration set.
|
4800
|
+
# @return [Boolean]
|
4801
|
+
#
|
4802
|
+
# @!attribute [rw] last_fresh_start
|
4803
|
+
# The date and time (in Unix time) when the reputation metrics were
|
4804
|
+
# last given a fresh start. When your account is given a fresh start,
|
4805
|
+
# your reputation metrics are calculated starting from the date of the
|
3719
4806
|
# fresh start.
|
3720
4807
|
# @return [Time]
|
3721
4808
|
#
|
@@ -3724,23 +4811,275 @@ module Aws::SESV2
|
|
3724
4811
|
class ReputationOptions < Struct.new(
|
3725
4812
|
:reputation_metrics_enabled,
|
3726
4813
|
:last_fresh_start)
|
4814
|
+
SENSITIVE = []
|
4815
|
+
include Aws::Structure
|
4816
|
+
end
|
4817
|
+
|
4818
|
+
# An object that contains information about your account details review.
|
4819
|
+
#
|
4820
|
+
# @!attribute [rw] status
|
4821
|
+
# The status of the latest review of your account. The status can be
|
4822
|
+
# one of the following:
|
4823
|
+
#
|
4824
|
+
# * `PENDING` – We have received your appeal and are in the process of
|
4825
|
+
# reviewing it.
|
4826
|
+
#
|
4827
|
+
# * `GRANTED` – Your appeal has been reviewed and your production
|
4828
|
+
# access has been granted.
|
4829
|
+
#
|
4830
|
+
# * `DENIED` – Your appeal has been reviewed and your production
|
4831
|
+
# access has been denied.
|
4832
|
+
#
|
4833
|
+
# * `FAILED` – An internal error occurred and we didn't receive your
|
4834
|
+
# appeal. You can submit your appeal again.
|
4835
|
+
# @return [String]
|
4836
|
+
#
|
4837
|
+
# @!attribute [rw] case_id
|
4838
|
+
# The associated support center case ID (if any).
|
4839
|
+
# @return [String]
|
4840
|
+
#
|
4841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ReviewDetails AWS API Documentation
|
4842
|
+
#
|
4843
|
+
class ReviewDetails < Struct.new(
|
4844
|
+
:status,
|
4845
|
+
:case_id)
|
4846
|
+
SENSITIVE = []
|
4847
|
+
include Aws::Structure
|
4848
|
+
end
|
4849
|
+
|
4850
|
+
# Represents a request to send email messages to multiple destinations
|
4851
|
+
# using Amazon SES. For more information, see the [Amazon SES Developer
|
4852
|
+
# Guide][1].
|
4853
|
+
#
|
4854
|
+
#
|
4855
|
+
#
|
4856
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
|
4857
|
+
#
|
4858
|
+
# @note When making an API call, you may pass SendBulkEmailRequest
|
4859
|
+
# data as a hash:
|
4860
|
+
#
|
4861
|
+
# {
|
4862
|
+
# from_email_address: "EmailAddress",
|
4863
|
+
# from_email_address_identity_arn: "AmazonResourceName",
|
4864
|
+
# reply_to_addresses: ["EmailAddress"],
|
4865
|
+
# feedback_forwarding_email_address: "EmailAddress",
|
4866
|
+
# feedback_forwarding_email_address_identity_arn: "AmazonResourceName",
|
4867
|
+
# default_email_tags: [
|
4868
|
+
# {
|
4869
|
+
# name: "MessageTagName", # required
|
4870
|
+
# value: "MessageTagValue", # required
|
4871
|
+
# },
|
4872
|
+
# ],
|
4873
|
+
# default_content: { # required
|
4874
|
+
# template: {
|
4875
|
+
# template_name: "EmailTemplateName",
|
4876
|
+
# template_arn: "AmazonResourceName",
|
4877
|
+
# template_data: "EmailTemplateData",
|
4878
|
+
# },
|
4879
|
+
# },
|
4880
|
+
# bulk_email_entries: [ # required
|
4881
|
+
# {
|
4882
|
+
# destination: { # required
|
4883
|
+
# to_addresses: ["EmailAddress"],
|
4884
|
+
# cc_addresses: ["EmailAddress"],
|
4885
|
+
# bcc_addresses: ["EmailAddress"],
|
4886
|
+
# },
|
4887
|
+
# replacement_tags: [
|
4888
|
+
# {
|
4889
|
+
# name: "MessageTagName", # required
|
4890
|
+
# value: "MessageTagValue", # required
|
4891
|
+
# },
|
4892
|
+
# ],
|
4893
|
+
# replacement_email_content: {
|
4894
|
+
# replacement_template: {
|
4895
|
+
# replacement_template_data: "EmailTemplateData",
|
4896
|
+
# },
|
4897
|
+
# },
|
4898
|
+
# },
|
4899
|
+
# ],
|
4900
|
+
# configuration_set_name: "ConfigurationSetName",
|
4901
|
+
# }
|
4902
|
+
#
|
4903
|
+
# @!attribute [rw] from_email_address
|
4904
|
+
# The email address that you want to use as the "From" address for
|
4905
|
+
# the email. The address that you specify has to be verified.
|
4906
|
+
# @return [String]
|
4907
|
+
#
|
4908
|
+
# @!attribute [rw] from_email_address_identity_arn
|
4909
|
+
# This parameter is used only for sending authorization. It is the ARN
|
4910
|
+
# of the identity that is associated with the sending authorization
|
4911
|
+
# policy that permits you to use the email address specified in the
|
4912
|
+
# `FromEmailAddress` parameter.
|
4913
|
+
#
|
4914
|
+
# For example, if the owner of example.com (which has ARN
|
4915
|
+
# arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a
|
4916
|
+
# policy to it that authorizes you to use sender@example.com, then you
|
4917
|
+
# would specify the `FromEmailAddressIdentityArn` to be
|
4918
|
+
# arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
|
4919
|
+
# `FromEmailAddress` to be sender@example.com.
|
4920
|
+
#
|
4921
|
+
# For more information about sending authorization, see the [Amazon
|
4922
|
+
# SES Developer Guide][1].
|
4923
|
+
#
|
4924
|
+
#
|
4925
|
+
#
|
4926
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
4927
|
+
# @return [String]
|
4928
|
+
#
|
4929
|
+
# @!attribute [rw] reply_to_addresses
|
4930
|
+
# The "Reply-to" email addresses for the message. When the recipient
|
4931
|
+
# replies to the message, each Reply-to address receives the reply.
|
4932
|
+
# @return [Array<String>]
|
4933
|
+
#
|
4934
|
+
# @!attribute [rw] feedback_forwarding_email_address
|
4935
|
+
# The address that you want bounce and complaint notifications to be
|
4936
|
+
# sent to.
|
4937
|
+
# @return [String]
|
4938
|
+
#
|
4939
|
+
# @!attribute [rw] feedback_forwarding_email_address_identity_arn
|
4940
|
+
# This parameter is used only for sending authorization. It is the ARN
|
4941
|
+
# of the identity that is associated with the sending authorization
|
4942
|
+
# policy that permits you to use the email address specified in the
|
4943
|
+
# `FeedbackForwardingEmailAddress` parameter.
|
4944
|
+
#
|
4945
|
+
# For example, if the owner of example.com (which has ARN
|
4946
|
+
# arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a
|
4947
|
+
# policy to it that authorizes you to use feedback@example.com, then
|
4948
|
+
# you would specify the `FeedbackForwardingEmailAddressIdentityArn` to
|
4949
|
+
# be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
|
4950
|
+
# `FeedbackForwardingEmailAddress` to be feedback@example.com.
|
4951
|
+
#
|
4952
|
+
# For more information about sending authorization, see the [Amazon
|
4953
|
+
# SES Developer Guide][1].
|
4954
|
+
#
|
4955
|
+
#
|
4956
|
+
#
|
4957
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
4958
|
+
# @return [String]
|
4959
|
+
#
|
4960
|
+
# @!attribute [rw] default_email_tags
|
4961
|
+
# A list of tags, in the form of name/value pairs, to apply to an
|
4962
|
+
# email that you send using the `SendEmail` operation. Tags correspond
|
4963
|
+
# to characteristics of the email that you define, so that you can
|
4964
|
+
# publish email sending events.
|
4965
|
+
# @return [Array<Types::MessageTag>]
|
4966
|
+
#
|
4967
|
+
# @!attribute [rw] default_content
|
4968
|
+
# An object that contains the body of the message. You can specify a
|
4969
|
+
# template message.
|
4970
|
+
# @return [Types::BulkEmailContent]
|
4971
|
+
#
|
4972
|
+
# @!attribute [rw] bulk_email_entries
|
4973
|
+
# The list of bulk email entry objects.
|
4974
|
+
# @return [Array<Types::BulkEmailEntry>]
|
4975
|
+
#
|
4976
|
+
# @!attribute [rw] configuration_set_name
|
4977
|
+
# The name of the configuration set that you want to use when sending
|
4978
|
+
# the email.
|
4979
|
+
# @return [String]
|
4980
|
+
#
|
4981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmailRequest AWS API Documentation
|
4982
|
+
#
|
4983
|
+
class SendBulkEmailRequest < Struct.new(
|
4984
|
+
:from_email_address,
|
4985
|
+
:from_email_address_identity_arn,
|
4986
|
+
:reply_to_addresses,
|
4987
|
+
:feedback_forwarding_email_address,
|
4988
|
+
:feedback_forwarding_email_address_identity_arn,
|
4989
|
+
:default_email_tags,
|
4990
|
+
:default_content,
|
4991
|
+
:bulk_email_entries,
|
4992
|
+
:configuration_set_name)
|
4993
|
+
SENSITIVE = []
|
4994
|
+
include Aws::Structure
|
4995
|
+
end
|
4996
|
+
|
4997
|
+
# The following data is returned in JSON format by the service.
|
4998
|
+
#
|
4999
|
+
# @!attribute [rw] bulk_email_entry_results
|
5000
|
+
# A list of `BulkMailEntry` objects.
|
5001
|
+
# @return [Array<Types::BulkEmailEntryResult>]
|
5002
|
+
#
|
5003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmailResponse AWS API Documentation
|
5004
|
+
#
|
5005
|
+
class SendBulkEmailResponse < Struct.new(
|
5006
|
+
:bulk_email_entry_results)
|
5007
|
+
SENSITIVE = []
|
5008
|
+
include Aws::Structure
|
5009
|
+
end
|
5010
|
+
|
5011
|
+
# Represents a request to send a custom verification email to a
|
5012
|
+
# specified recipient.
|
5013
|
+
#
|
5014
|
+
# @note When making an API call, you may pass SendCustomVerificationEmailRequest
|
5015
|
+
# data as a hash:
|
5016
|
+
#
|
5017
|
+
# {
|
5018
|
+
# email_address: "EmailAddress", # required
|
5019
|
+
# template_name: "EmailTemplateName", # required
|
5020
|
+
# configuration_set_name: "ConfigurationSetName",
|
5021
|
+
# }
|
5022
|
+
#
|
5023
|
+
# @!attribute [rw] email_address
|
5024
|
+
# The email address to verify.
|
5025
|
+
# @return [String]
|
5026
|
+
#
|
5027
|
+
# @!attribute [rw] template_name
|
5028
|
+
# The name of the custom verification email template to use when
|
5029
|
+
# sending the verification email.
|
5030
|
+
# @return [String]
|
5031
|
+
#
|
5032
|
+
# @!attribute [rw] configuration_set_name
|
5033
|
+
# Name of a configuration set to use when sending the verification
|
5034
|
+
# email.
|
5035
|
+
# @return [String]
|
5036
|
+
#
|
5037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmailRequest AWS API Documentation
|
5038
|
+
#
|
5039
|
+
class SendCustomVerificationEmailRequest < Struct.new(
|
5040
|
+
:email_address,
|
5041
|
+
:template_name,
|
5042
|
+
:configuration_set_name)
|
5043
|
+
SENSITIVE = []
|
5044
|
+
include Aws::Structure
|
5045
|
+
end
|
5046
|
+
|
5047
|
+
# The following element is returned by the service.
|
5048
|
+
#
|
5049
|
+
# @!attribute [rw] message_id
|
5050
|
+
# The unique message identifier returned from the
|
5051
|
+
# `SendCustomVerificationEmail` operation.
|
5052
|
+
# @return [String]
|
5053
|
+
#
|
5054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmailResponse AWS API Documentation
|
5055
|
+
#
|
5056
|
+
class SendCustomVerificationEmailResponse < Struct.new(
|
5057
|
+
:message_id)
|
5058
|
+
SENSITIVE = []
|
3727
5059
|
include Aws::Structure
|
3728
5060
|
end
|
3729
5061
|
|
3730
|
-
#
|
5062
|
+
# Represents a request to send a single formatted email using Amazon
|
5063
|
+
# SES. For more information, see the [Amazon SES Developer Guide][1].
|
5064
|
+
#
|
5065
|
+
#
|
5066
|
+
#
|
5067
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-formatted.html
|
3731
5068
|
#
|
3732
5069
|
# @note When making an API call, you may pass SendEmailRequest
|
3733
5070
|
# data as a hash:
|
3734
5071
|
#
|
3735
5072
|
# {
|
3736
5073
|
# from_email_address: "EmailAddress",
|
3737
|
-
#
|
5074
|
+
# from_email_address_identity_arn: "AmazonResourceName",
|
5075
|
+
# destination: {
|
3738
5076
|
# to_addresses: ["EmailAddress"],
|
3739
5077
|
# cc_addresses: ["EmailAddress"],
|
3740
5078
|
# bcc_addresses: ["EmailAddress"],
|
3741
5079
|
# },
|
3742
5080
|
# reply_to_addresses: ["EmailAddress"],
|
3743
5081
|
# feedback_forwarding_email_address: "EmailAddress",
|
5082
|
+
# feedback_forwarding_email_address_identity_arn: "AmazonResourceName",
|
3744
5083
|
# content: { # required
|
3745
5084
|
# simple: {
|
3746
5085
|
# subject: { # required
|
@@ -3762,8 +5101,9 @@ module Aws::SESV2
|
|
3762
5101
|
# data: "data", # required
|
3763
5102
|
# },
|
3764
5103
|
# template: {
|
3765
|
-
#
|
3766
|
-
#
|
5104
|
+
# template_name: "EmailTemplateName",
|
5105
|
+
# template_arn: "AmazonResourceName",
|
5106
|
+
# template_data: "EmailTemplateData",
|
3767
5107
|
# },
|
3768
5108
|
# },
|
3769
5109
|
# email_tags: [
|
@@ -3780,6 +5120,31 @@ module Aws::SESV2
|
|
3780
5120
|
# the email. The address that you specify has to be verified.
|
3781
5121
|
# @return [String]
|
3782
5122
|
#
|
5123
|
+
# @!attribute [rw] from_email_address_identity_arn
|
5124
|
+
# This parameter is used only for sending authorization. It is the ARN
|
5125
|
+
# of the identity that is associated with the sending authorization
|
5126
|
+
# policy that permits you to use the email address specified in the
|
5127
|
+
# `FromEmailAddress` parameter.
|
5128
|
+
#
|
5129
|
+
# For example, if the owner of example.com (which has ARN
|
5130
|
+
# arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a
|
5131
|
+
# policy to it that authorizes you to use sender@example.com, then you
|
5132
|
+
# would specify the `FromEmailAddressIdentityArn` to be
|
5133
|
+
# arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
|
5134
|
+
# `FromEmailAddress` to be sender@example.com.
|
5135
|
+
#
|
5136
|
+
# For more information about sending authorization, see the [Amazon
|
5137
|
+
# SES Developer Guide][1].
|
5138
|
+
#
|
5139
|
+
# For Raw emails, the `FromEmailAddressIdentityArn` value overrides
|
5140
|
+
# the X-SES-SOURCE-ARN and X-SES-FROM-ARN headers specified in raw
|
5141
|
+
# email message content.
|
5142
|
+
#
|
5143
|
+
#
|
5144
|
+
#
|
5145
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
5146
|
+
# @return [String]
|
5147
|
+
#
|
3783
5148
|
# @!attribute [rw] destination
|
3784
5149
|
# An object that contains the recipients of the email message.
|
3785
5150
|
# @return [Types::Destination]
|
@@ -3794,9 +5159,30 @@ module Aws::SESV2
|
|
3794
5159
|
# sent to.
|
3795
5160
|
# @return [String]
|
3796
5161
|
#
|
5162
|
+
# @!attribute [rw] feedback_forwarding_email_address_identity_arn
|
5163
|
+
# This parameter is used only for sending authorization. It is the ARN
|
5164
|
+
# of the identity that is associated with the sending authorization
|
5165
|
+
# policy that permits you to use the email address specified in the
|
5166
|
+
# `FeedbackForwardingEmailAddress` parameter.
|
5167
|
+
#
|
5168
|
+
# For example, if the owner of example.com (which has ARN
|
5169
|
+
# arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a
|
5170
|
+
# policy to it that authorizes you to use feedback@example.com, then
|
5171
|
+
# you would specify the `FeedbackForwardingEmailAddressIdentityArn` to
|
5172
|
+
# be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
|
5173
|
+
# `FeedbackForwardingEmailAddress` to be feedback@example.com.
|
5174
|
+
#
|
5175
|
+
# For more information about sending authorization, see the [Amazon
|
5176
|
+
# SES Developer Guide][1].
|
5177
|
+
#
|
5178
|
+
#
|
5179
|
+
#
|
5180
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
5181
|
+
# @return [String]
|
5182
|
+
#
|
3797
5183
|
# @!attribute [rw] content
|
3798
5184
|
# An object that contains the body of the message. You can send either
|
3799
|
-
# a Simple message or a
|
5185
|
+
# a Simple message Raw message or a template Message.
|
3800
5186
|
# @return [Types::EmailContent]
|
3801
5187
|
#
|
3802
5188
|
# @!attribute [rw] email_tags
|
@@ -3815,12 +5201,15 @@ module Aws::SESV2
|
|
3815
5201
|
#
|
3816
5202
|
class SendEmailRequest < Struct.new(
|
3817
5203
|
:from_email_address,
|
5204
|
+
:from_email_address_identity_arn,
|
3818
5205
|
:destination,
|
3819
5206
|
:reply_to_addresses,
|
3820
5207
|
:feedback_forwarding_email_address,
|
5208
|
+
:feedback_forwarding_email_address_identity_arn,
|
3821
5209
|
:content,
|
3822
5210
|
:email_tags,
|
3823
5211
|
:configuration_set_name)
|
5212
|
+
SENSITIVE = []
|
3824
5213
|
include Aws::Structure
|
3825
5214
|
end
|
3826
5215
|
|
@@ -3843,6 +5232,7 @@ module Aws::SESV2
|
|
3843
5232
|
#
|
3844
5233
|
class SendEmailResponse < Struct.new(
|
3845
5234
|
:message_id)
|
5235
|
+
SENSITIVE = []
|
3846
5236
|
include Aws::Structure
|
3847
5237
|
end
|
3848
5238
|
|
@@ -3872,6 +5262,7 @@ module Aws::SESV2
|
|
3872
5262
|
:max_24_hour_send,
|
3873
5263
|
:max_send_rate,
|
3874
5264
|
:sent_last_24_hours)
|
5265
|
+
SENSITIVE = []
|
3875
5266
|
include Aws::Structure
|
3876
5267
|
end
|
3877
5268
|
|
@@ -3894,6 +5285,7 @@ module Aws::SESV2
|
|
3894
5285
|
#
|
3895
5286
|
class SendingOptions < Struct.new(
|
3896
5287
|
:sending_enabled)
|
5288
|
+
SENSITIVE = []
|
3897
5289
|
include Aws::Structure
|
3898
5290
|
end
|
3899
5291
|
|
@@ -3929,6 +5321,7 @@ module Aws::SESV2
|
|
3929
5321
|
#
|
3930
5322
|
class SnsDestination < Struct.new(
|
3931
5323
|
:topic_arn)
|
5324
|
+
SENSITIVE = []
|
3932
5325
|
include Aws::Structure
|
3933
5326
|
end
|
3934
5327
|
|
@@ -3962,6 +5355,7 @@ module Aws::SESV2
|
|
3962
5355
|
:reason,
|
3963
5356
|
:last_update_time,
|
3964
5357
|
:attributes)
|
5358
|
+
SENSITIVE = []
|
3965
5359
|
include Aws::Structure
|
3966
5360
|
end
|
3967
5361
|
|
@@ -3983,6 +5377,7 @@ module Aws::SESV2
|
|
3983
5377
|
class SuppressedDestinationAttributes < Struct.new(
|
3984
5378
|
:message_id,
|
3985
5379
|
:feedback_id)
|
5380
|
+
SENSITIVE = []
|
3986
5381
|
include Aws::Structure
|
3987
5382
|
end
|
3988
5383
|
|
@@ -4008,6 +5403,7 @@ module Aws::SESV2
|
|
4008
5403
|
:email_address,
|
4009
5404
|
:reason,
|
4010
5405
|
:last_update_time)
|
5406
|
+
SENSITIVE = []
|
4011
5407
|
include Aws::Structure
|
4012
5408
|
end
|
4013
5409
|
|
@@ -4032,6 +5428,7 @@ module Aws::SESV2
|
|
4032
5428
|
#
|
4033
5429
|
class SuppressionAttributes < Struct.new(
|
4034
5430
|
:suppressed_reasons)
|
5431
|
+
SENSITIVE = []
|
4035
5432
|
include Aws::Structure
|
4036
5433
|
end
|
4037
5434
|
|
@@ -4063,6 +5460,7 @@ module Aws::SESV2
|
|
4063
5460
|
#
|
4064
5461
|
class SuppressionOptions < Struct.new(
|
4065
5462
|
:suppressed_reasons)
|
5463
|
+
SENSITIVE = []
|
4066
5464
|
include Aws::Structure
|
4067
5465
|
end
|
4068
5466
|
|
@@ -4123,6 +5521,7 @@ module Aws::SESV2
|
|
4123
5521
|
class Tag < Struct.new(
|
4124
5522
|
:key,
|
4125
5523
|
:value)
|
5524
|
+
SENSITIVE = []
|
4126
5525
|
include Aws::Structure
|
4127
5526
|
end
|
4128
5527
|
|
@@ -4156,6 +5555,7 @@ module Aws::SESV2
|
|
4156
5555
|
class TagResourceRequest < Struct.new(
|
4157
5556
|
:resource_arn,
|
4158
5557
|
:tags)
|
5558
|
+
SENSITIVE = []
|
4159
5559
|
include Aws::Structure
|
4160
5560
|
end
|
4161
5561
|
|
@@ -4173,10 +5573,17 @@ module Aws::SESV2
|
|
4173
5573
|
# data as a hash:
|
4174
5574
|
#
|
4175
5575
|
# {
|
4176
|
-
#
|
4177
|
-
#
|
5576
|
+
# template_name: "EmailTemplateName",
|
5577
|
+
# template_arn: "AmazonResourceName",
|
5578
|
+
# template_data: "EmailTemplateData",
|
4178
5579
|
# }
|
4179
5580
|
#
|
5581
|
+
# @!attribute [rw] template_name
|
5582
|
+
# The name of the template. You will refer to this name when you send
|
5583
|
+
# email using the `SendTemplatedEmail` or `SendBulkTemplatedEmail`
|
5584
|
+
# operations.
|
5585
|
+
# @return [String]
|
5586
|
+
#
|
4180
5587
|
# @!attribute [rw] template_arn
|
4181
5588
|
# The Amazon Resource Name (ARN) of the template.
|
4182
5589
|
# @return [String]
|
@@ -4191,8 +5598,57 @@ module Aws::SESV2
|
|
4191
5598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Template AWS API Documentation
|
4192
5599
|
#
|
4193
5600
|
class Template < Struct.new(
|
5601
|
+
:template_name,
|
4194
5602
|
:template_arn,
|
4195
5603
|
:template_data)
|
5604
|
+
SENSITIVE = []
|
5605
|
+
include Aws::Structure
|
5606
|
+
end
|
5607
|
+
|
5608
|
+
# >Represents a request to create a preview of the MIME content of an
|
5609
|
+
# email when provided with a template and a set of replacement data.
|
5610
|
+
#
|
5611
|
+
# @note When making an API call, you may pass TestRenderEmailTemplateRequest
|
5612
|
+
# data as a hash:
|
5613
|
+
#
|
5614
|
+
# {
|
5615
|
+
# template_name: "EmailTemplateName", # required
|
5616
|
+
# template_data: "EmailTemplateData", # required
|
5617
|
+
# }
|
5618
|
+
#
|
5619
|
+
# @!attribute [rw] template_name
|
5620
|
+
# The name of the template that you want to render.
|
5621
|
+
# @return [String]
|
5622
|
+
#
|
5623
|
+
# @!attribute [rw] template_data
|
5624
|
+
# A list of replacement values to apply to the template. This
|
5625
|
+
# parameter is a JSON object, typically consisting of key-value pairs
|
5626
|
+
# in which the keys correspond to replacement tags in the email
|
5627
|
+
# template.
|
5628
|
+
# @return [String]
|
5629
|
+
#
|
5630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TestRenderEmailTemplateRequest AWS API Documentation
|
5631
|
+
#
|
5632
|
+
class TestRenderEmailTemplateRequest < Struct.new(
|
5633
|
+
:template_name,
|
5634
|
+
:template_data)
|
5635
|
+
SENSITIVE = []
|
5636
|
+
include Aws::Structure
|
5637
|
+
end
|
5638
|
+
|
5639
|
+
# The following element is returned by the service.
|
5640
|
+
#
|
5641
|
+
# @!attribute [rw] rendered_template
|
5642
|
+
# The complete MIME message rendered by applying the data in the
|
5643
|
+
# `TemplateData` parameter to the template specified in the
|
5644
|
+
# TemplateName parameter.
|
5645
|
+
# @return [String]
|
5646
|
+
#
|
5647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TestRenderEmailTemplateResponse AWS API Documentation
|
5648
|
+
#
|
5649
|
+
class TestRenderEmailTemplateResponse < Struct.new(
|
5650
|
+
:rendered_template)
|
5651
|
+
SENSITIVE = []
|
4196
5652
|
include Aws::Structure
|
4197
5653
|
end
|
4198
5654
|
|
@@ -4227,6 +5683,7 @@ module Aws::SESV2
|
|
4227
5683
|
#
|
4228
5684
|
class TrackingOptions < Struct.new(
|
4229
5685
|
:custom_redirect_domain)
|
5686
|
+
SENSITIVE = []
|
4230
5687
|
include Aws::Structure
|
4231
5688
|
end
|
4232
5689
|
|
@@ -4259,6 +5716,7 @@ module Aws::SESV2
|
|
4259
5716
|
class UntagResourceRequest < Struct.new(
|
4260
5717
|
:resource_arn,
|
4261
5718
|
:tag_keys)
|
5719
|
+
SENSITIVE = []
|
4262
5720
|
include Aws::Structure
|
4263
5721
|
end
|
4264
5722
|
|
@@ -4277,7 +5735,7 @@ module Aws::SESV2
|
|
4277
5735
|
# event_destination_name: "EventDestinationName", # required
|
4278
5736
|
# event_destination: { # required
|
4279
5737
|
# enabled: false,
|
4280
|
-
# matching_event_types: ["SEND"], # accepts SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE
|
5738
|
+
# matching_event_types: ["SEND"], # accepts SEND, REJECT, BOUNCE, COMPLAINT, DELIVERY, OPEN, CLICK, RENDERING_FAILURE, DELIVERY_DELAY
|
4281
5739
|
# kinesis_firehose_destination: {
|
4282
5740
|
# iam_role_arn: "AmazonResourceName", # required
|
4283
5741
|
# delivery_stream_arn: "AmazonResourceName", # required
|
@@ -4319,6 +5777,7 @@ module Aws::SESV2
|
|
4319
5777
|
:configuration_set_name,
|
4320
5778
|
:event_destination_name,
|
4321
5779
|
:event_destination)
|
5780
|
+
SENSITIVE = []
|
4322
5781
|
include Aws::Structure
|
4323
5782
|
end
|
4324
5783
|
|
@@ -4329,6 +5788,178 @@ module Aws::SESV2
|
|
4329
5788
|
#
|
4330
5789
|
class UpdateConfigurationSetEventDestinationResponse < Aws::EmptyStructure; end
|
4331
5790
|
|
5791
|
+
# Represents a request to update an existing custom verification email
|
5792
|
+
# template.
|
5793
|
+
#
|
5794
|
+
# @note When making an API call, you may pass UpdateCustomVerificationEmailTemplateRequest
|
5795
|
+
# data as a hash:
|
5796
|
+
#
|
5797
|
+
# {
|
5798
|
+
# template_name: "EmailTemplateName", # required
|
5799
|
+
# from_email_address: "EmailAddress", # required
|
5800
|
+
# template_subject: "EmailTemplateSubject", # required
|
5801
|
+
# template_content: "TemplateContent", # required
|
5802
|
+
# success_redirection_url: "SuccessRedirectionURL", # required
|
5803
|
+
# failure_redirection_url: "FailureRedirectionURL", # required
|
5804
|
+
# }
|
5805
|
+
#
|
5806
|
+
# @!attribute [rw] template_name
|
5807
|
+
# The name of the custom verification email template that you want to
|
5808
|
+
# update.
|
5809
|
+
# @return [String]
|
5810
|
+
#
|
5811
|
+
# @!attribute [rw] from_email_address
|
5812
|
+
# The email address that the custom verification email is sent from.
|
5813
|
+
# @return [String]
|
5814
|
+
#
|
5815
|
+
# @!attribute [rw] template_subject
|
5816
|
+
# The subject line of the custom verification email.
|
5817
|
+
# @return [String]
|
5818
|
+
#
|
5819
|
+
# @!attribute [rw] template_content
|
5820
|
+
# The content of the custom verification email. The total size of the
|
5821
|
+
# email must be less than 10 MB. The message body may contain HTML,
|
5822
|
+
# with some limitations. For more information, see [Custom
|
5823
|
+
# Verification Email Frequently Asked Questions][1] in the *Amazon SES
|
5824
|
+
# Developer Guide*.
|
5825
|
+
#
|
5826
|
+
#
|
5827
|
+
#
|
5828
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] success_redirection_url
|
5832
|
+
# The URL that the recipient of the verification email is sent to if
|
5833
|
+
# his or her address is successfully verified.
|
5834
|
+
# @return [String]
|
5835
|
+
#
|
5836
|
+
# @!attribute [rw] failure_redirection_url
|
5837
|
+
# The URL that the recipient of the verification email is sent to if
|
5838
|
+
# his or her address is not successfully verified.
|
5839
|
+
# @return [String]
|
5840
|
+
#
|
5841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateCustomVerificationEmailTemplateRequest AWS API Documentation
|
5842
|
+
#
|
5843
|
+
class UpdateCustomVerificationEmailTemplateRequest < Struct.new(
|
5844
|
+
:template_name,
|
5845
|
+
:from_email_address,
|
5846
|
+
:template_subject,
|
5847
|
+
:template_content,
|
5848
|
+
:success_redirection_url,
|
5849
|
+
:failure_redirection_url)
|
5850
|
+
SENSITIVE = []
|
5851
|
+
include Aws::Structure
|
5852
|
+
end
|
5853
|
+
|
5854
|
+
# If the action is successful, the service sends back an HTTP 200
|
5855
|
+
# response with an empty HTTP body.
|
5856
|
+
#
|
5857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateCustomVerificationEmailTemplateResponse AWS API Documentation
|
5858
|
+
#
|
5859
|
+
class UpdateCustomVerificationEmailTemplateResponse < Aws::EmptyStructure; end
|
5860
|
+
|
5861
|
+
# Represents a request to update a sending authorization policy for an
|
5862
|
+
# identity. Sending authorization is an Amazon SES feature that enables
|
5863
|
+
# you to authorize other senders to use your identities. For
|
5864
|
+
# information, see the [Amazon SES Developer Guide][1].
|
5865
|
+
#
|
5866
|
+
#
|
5867
|
+
#
|
5868
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-identity-owner-tasks-management.html
|
5869
|
+
#
|
5870
|
+
# @note When making an API call, you may pass UpdateEmailIdentityPolicyRequest
|
5871
|
+
# data as a hash:
|
5872
|
+
#
|
5873
|
+
# {
|
5874
|
+
# email_identity: "Identity", # required
|
5875
|
+
# policy_name: "PolicyName", # required
|
5876
|
+
# policy: "Policy", # required
|
5877
|
+
# }
|
5878
|
+
#
|
5879
|
+
# @!attribute [rw] email_identity
|
5880
|
+
# The email identity for which you want to update policy.
|
5881
|
+
# @return [String]
|
5882
|
+
#
|
5883
|
+
# @!attribute [rw] policy_name
|
5884
|
+
# The name of the policy.
|
5885
|
+
#
|
5886
|
+
# The policy name cannot exceed 64 characters and can only include
|
5887
|
+
# alphanumeric characters, dashes, and underscores.
|
5888
|
+
# @return [String]
|
5889
|
+
#
|
5890
|
+
# @!attribute [rw] policy
|
5891
|
+
# The text of the policy in JSON format. The policy cannot exceed 4
|
5892
|
+
# KB.
|
5893
|
+
#
|
5894
|
+
# For information about the syntax of sending authorization policies,
|
5895
|
+
# see the [Amazon SES Developer Guide][1].
|
5896
|
+
#
|
5897
|
+
#
|
5898
|
+
#
|
5899
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html
|
5900
|
+
# @return [String]
|
5901
|
+
#
|
5902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailIdentityPolicyRequest AWS API Documentation
|
5903
|
+
#
|
5904
|
+
class UpdateEmailIdentityPolicyRequest < Struct.new(
|
5905
|
+
:email_identity,
|
5906
|
+
:policy_name,
|
5907
|
+
:policy)
|
5908
|
+
SENSITIVE = []
|
5909
|
+
include Aws::Structure
|
5910
|
+
end
|
5911
|
+
|
5912
|
+
# An HTTP 200 response if the request succeeds, or an error message if
|
5913
|
+
# the request fails.
|
5914
|
+
#
|
5915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailIdentityPolicyResponse AWS API Documentation
|
5916
|
+
#
|
5917
|
+
class UpdateEmailIdentityPolicyResponse < Aws::EmptyStructure; end
|
5918
|
+
|
5919
|
+
# Represents a request to update an email template. For more
|
5920
|
+
# information, see the [Amazon SES Developer Guide][1].
|
5921
|
+
#
|
5922
|
+
#
|
5923
|
+
#
|
5924
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
|
5925
|
+
#
|
5926
|
+
# @note When making an API call, you may pass UpdateEmailTemplateRequest
|
5927
|
+
# data as a hash:
|
5928
|
+
#
|
5929
|
+
# {
|
5930
|
+
# template_name: "EmailTemplateName", # required
|
5931
|
+
# template_content: { # required
|
5932
|
+
# subject: "EmailTemplateSubject",
|
5933
|
+
# text: "EmailTemplateText",
|
5934
|
+
# html: "EmailTemplateHtml",
|
5935
|
+
# },
|
5936
|
+
# }
|
5937
|
+
#
|
5938
|
+
# @!attribute [rw] template_name
|
5939
|
+
# The name of the template you want to update.
|
5940
|
+
# @return [String]
|
5941
|
+
#
|
5942
|
+
# @!attribute [rw] template_content
|
5943
|
+
# The content of the email template, composed of a subject line, an
|
5944
|
+
# HTML part, and a text-only part.
|
5945
|
+
# @return [Types::EmailTemplateContent]
|
5946
|
+
#
|
5947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailTemplateRequest AWS API Documentation
|
5948
|
+
#
|
5949
|
+
class UpdateEmailTemplateRequest < Struct.new(
|
5950
|
+
:template_name,
|
5951
|
+
:template_content)
|
5952
|
+
SENSITIVE = []
|
5953
|
+
include Aws::Structure
|
5954
|
+
end
|
5955
|
+
|
5956
|
+
# If the action is successful, the service sends back an HTTP 200
|
5957
|
+
# response with an empty HTTP body.
|
5958
|
+
#
|
5959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailTemplateResponse AWS API Documentation
|
5960
|
+
#
|
5961
|
+
class UpdateEmailTemplateResponse < Aws::EmptyStructure; end
|
5962
|
+
|
4332
5963
|
# An object that contains information about the amount of email that was
|
4333
5964
|
# delivered to recipients.
|
4334
5965
|
#
|
@@ -4358,6 +5989,7 @@ module Aws::SESV2
|
|
4358
5989
|
:spam_raw_count,
|
4359
5990
|
:projected_inbox,
|
4360
5991
|
:projected_spam)
|
5992
|
+
SENSITIVE = []
|
4361
5993
|
include Aws::Structure
|
4362
5994
|
end
|
4363
5995
|
|