aws-sdk-ses 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ses.rb +1 -1
- data/lib/aws-sdk-ses/client.rb +100 -70
- data/lib/aws-sdk-ses/types.rb +25 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6cf746b857f9a3a383d6d90744922bfafe0ee92
|
4
|
+
data.tar.gz: 863582a722d44bd61afc6e3f11f4017d5889f397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72e6b375e124d15bf83054078b9a1c2376431a9dd166648e64d2aa6cbd4631658c77bf3d7454c4f597cdd2b637096be5bd4ca76b678fae66848c7cb06fe9e4ae
|
7
|
+
data.tar.gz: 0d98a5e9e2a68209bd6054a27a1f5704bc656475bafe31bcc7fb875449b7fb191a4e455dec054ee0e50d937dc7681432c2e77eaca1b2344b0b51ae4de273a6f1
|
data/lib/aws-sdk-ses.rb
CHANGED
data/lib/aws-sdk-ses/client.rb
CHANGED
@@ -2736,8 +2736,7 @@ module Aws::SES
|
|
2736
2736
|
# information, see [Verifying Email Addresses and Domains][1] in the
|
2737
2737
|
# *Amazon SES Developer Guide.*
|
2738
2738
|
#
|
2739
|
-
# * The
|
2740
|
-
# than 10 MB.
|
2739
|
+
# * The maximum message size is 10 MB.
|
2741
2740
|
#
|
2742
2741
|
# * Each `Destination` parameter must include at least one recipient
|
2743
2742
|
# email address. The recipient address can be a To: address, a CC:
|
@@ -2747,6 +2746,15 @@ module Aws::SES
|
|
2747
2746
|
# will be rejected, even if the message contains other recipients that
|
2748
2747
|
# are valid.
|
2749
2748
|
#
|
2749
|
+
# * The message may not include more than 50 recipients, across the To:,
|
2750
|
+
# CC: and BCC: fields. If you need to send an email message to a
|
2751
|
+
# larger audience, you can divide your recipient list into groups of
|
2752
|
+
# 50 or fewer, and then call the `SendBulkTemplatedEmail` operation
|
2753
|
+
# several times to send the message to each group.
|
2754
|
+
#
|
2755
|
+
# * The number of destinations you can contact in a single call to the
|
2756
|
+
# API may be limited by your account's maximum sending rate.
|
2757
|
+
#
|
2750
2758
|
#
|
2751
2759
|
#
|
2752
2760
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
|
@@ -2989,8 +2997,7 @@ module Aws::SES
|
|
2989
2997
|
# information, see [Verifying Email Addresses and Domains][1] in the
|
2990
2998
|
# *Amazon SES Developer Guide.*
|
2991
2999
|
#
|
2992
|
-
# * The
|
2993
|
-
# smaller than 10 MB.
|
3000
|
+
# * The maximum message size is 10 MB.
|
2994
3001
|
#
|
2995
3002
|
# * The message must include at least one recipient email address. The
|
2996
3003
|
# recipient address can be a To: address, a CC: address, or a BCC:
|
@@ -3221,48 +3228,52 @@ module Aws::SES
|
|
3221
3228
|
req.send_request(options)
|
3222
3229
|
end
|
3223
3230
|
|
3224
|
-
# Composes an email message and immediately queues it for sending.
|
3225
|
-
# calling this operation, you may specify the message headers as well as
|
3226
|
-
# the content. The `SendRawEmail` operation is particularly useful for
|
3227
|
-
# sending multipart MIME emails (such as those that contain both a
|
3228
|
-
# plain-text and an HTML version).
|
3231
|
+
# Composes an email message and immediately queues it for sending.
|
3229
3232
|
#
|
3230
|
-
#
|
3231
|
-
#
|
3233
|
+
# This operation is more flexible than the `SendEmail` API operation.
|
3234
|
+
# When you use the `SendRawEmail` operation, you can specify the headers
|
3235
|
+
# of the message as well as its content. This flexibility is useful, for
|
3236
|
+
# example, when you want to send a multipart MIME email (such a message
|
3237
|
+
# that contains both a text and an HTML version). You can also use this
|
3238
|
+
# operation to send messages that include attachments.
|
3232
3239
|
#
|
3233
|
-
#
|
3234
|
-
# you attempt to send email using a non-verified address or domain,
|
3235
|
-
# the operation will result in an "Email address not verified"
|
3236
|
-
# error.
|
3240
|
+
# The `SendRawEmail` operation has the following requirements:
|
3237
3241
|
#
|
3238
|
-
# *
|
3239
|
-
#
|
3240
|
-
#
|
3241
|
-
#
|
3242
|
-
# *Amazon SES Developer Guide.*
|
3243
|
-
#
|
3244
|
-
# * The total size of the message, including attachments, must be
|
3245
|
-
# smaller than 10 MB.
|
3246
|
-
#
|
3247
|
-
# * The message must include at least one recipient email address. The
|
3248
|
-
# recipient address can be a To: address, a CC: address, or a BCC:
|
3249
|
-
# address. If a recipient email address is invalid (that is, it is not
|
3250
|
-
# in the format *UserName@\[SubDomain.\]Domain.TopLevelDomain*), the
|
3251
|
-
# entire message will be rejected, even if the message contains other
|
3252
|
-
# recipients that are valid.
|
3253
|
-
#
|
3254
|
-
# * The message may not include more than 50 recipients, across the To:,
|
3255
|
-
# CC: and BCC: fields. If you need to send an email message to a
|
3256
|
-
# larger audience, you can divide your recipient list into groups of
|
3257
|
-
# 50 or fewer, and then call the `SendRawEmail` operation several
|
3258
|
-
# times to send the message to each group.
|
3242
|
+
# * You can only send email from [verified email addresses or
|
3243
|
+
# domains][1]. If you try to send email from an address that isn't
|
3244
|
+
# verified, the operation results in an "Email address not verified"
|
3245
|
+
# error.
|
3259
3246
|
#
|
3260
|
-
#
|
3261
|
-
#
|
3262
|
-
#
|
3263
|
-
#
|
3264
|
-
#
|
3265
|
-
# *
|
3247
|
+
# * If your account is still in the [Amazon SES sandbox][2], you can
|
3248
|
+
# only send email to other verified addresses in your account, or to
|
3249
|
+
# addresses that are associated with the [Amazon SES mailbox
|
3250
|
+
# simulator][3].
|
3251
|
+
#
|
3252
|
+
# * The maximum message size, including attachments, is 10 MB.
|
3253
|
+
#
|
3254
|
+
# * Each message has to include at least one recipient address. A
|
3255
|
+
# recipient address includes any address on the To:, CC:, or BCC:
|
3256
|
+
# lines.
|
3257
|
+
#
|
3258
|
+
# * If you send a single message to more than one recipient address, and
|
3259
|
+
# one of the recipient addresses isn't in a valid format (that is,
|
3260
|
+
# it's not in the format
|
3261
|
+
# *UserName@\[SubDomain.\]Domain.TopLevelDomain*), Amazon SES rejects
|
3262
|
+
# the entire message, even if the other addresses are valid.
|
3263
|
+
#
|
3264
|
+
# * Each message can include up to 50 recipient addresses across the
|
3265
|
+
# To:, CC:, or BCC: lines. If you need to send a single message to
|
3266
|
+
# more than 50 recipients, you have to split the list of recipient
|
3267
|
+
# addresses into groups of less than 50 recipients, and send separate
|
3268
|
+
# messages to each group.
|
3269
|
+
#
|
3270
|
+
# * Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for
|
3271
|
+
# MIME message parts. However, if Amazon SES has to modify the
|
3272
|
+
# contents of your message (for example, if you use open and click
|
3273
|
+
# tracking), 8-bit content isn't preserved. For this reason, we
|
3274
|
+
# highly recommend that you encode all content that isn't 7-bit
|
3275
|
+
# ASCII. For more information, see [MIME Encoding][4] in the *Amazon
|
3276
|
+
# SES Developer Guide*.
|
3266
3277
|
#
|
3267
3278
|
# Additionally, keep the following considerations in mind when using the
|
3268
3279
|
# `SendRawEmail` operation:
|
@@ -3296,13 +3307,23 @@ module Aws::SES
|
|
3296
3307
|
# From and Return Path addresses to the identity specified in
|
3297
3308
|
# `SourceIdentityArn`. For more information about sending
|
3298
3309
|
# authorization, see the [Using Sending Authorization with Amazon
|
3299
|
-
# SES][
|
3310
|
+
# SES][5] in the *Amazon SES Developer Guide.*
|
3311
|
+
#
|
3312
|
+
# * For every message that you send, the total number of recipients
|
3313
|
+
# (including each recipient in the To:, CC: and BCC: fields) is
|
3314
|
+
# counted against the maximum number of emails you can send in a
|
3315
|
+
# 24-hour period (your *sending quota*). For more information about
|
3316
|
+
# sending quotas in Amazon SES, see [Managing Your Amazon SES Sending
|
3317
|
+
# Limits][6] in the *Amazon SES Developer Guide.*
|
3300
3318
|
#
|
3301
3319
|
#
|
3302
3320
|
#
|
3303
3321
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
|
3304
|
-
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/
|
3305
|
-
# [3]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/
|
3322
|
+
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html
|
3323
|
+
# [3]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mailbox-simulator.html
|
3324
|
+
# [4]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding
|
3325
|
+
# [5]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
3326
|
+
# [6]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html
|
3306
3327
|
#
|
3307
3328
|
# @option params [String] :source
|
3308
3329
|
# The identity's email address. If you do not provide a value for this
|
@@ -3339,27 +3360,35 @@ module Aws::SES
|
|
3339
3360
|
# BCC: addresses.
|
3340
3361
|
#
|
3341
3362
|
# @option params [required, Types::RawMessage] :raw_message
|
3342
|
-
# The raw
|
3343
|
-
#
|
3363
|
+
# The raw email message itself. The message has to meet the following
|
3364
|
+
# criteria:
|
3344
3365
|
#
|
3345
|
-
# *
|
3366
|
+
# * The message has to contain a header and a body, separated by a blank
|
3367
|
+
# line.
|
3346
3368
|
#
|
3347
|
-
# * All required header fields must be present.
|
3369
|
+
# * All of the required header fields must be present in the message.
|
3348
3370
|
#
|
3349
3371
|
# * Each part of a multipart MIME message must be formatted properly.
|
3350
3372
|
#
|
3351
|
-
# *
|
3352
|
-
#
|
3373
|
+
# * Attachments must be of a content type that Amazon SES supports. For
|
3374
|
+
# a list on unsupported content types, see [Unsupported Attachment
|
3375
|
+
# Types][1] in the *Amazon SES Developer Guide*.
|
3376
|
+
#
|
3377
|
+
# * The entire message must be base64-encoded.
|
3353
3378
|
#
|
3354
|
-
# *
|
3379
|
+
# * If any of the MIME parts in your message contain content that is
|
3380
|
+
# outside of the 7-bit ASCII character range, we highly recommend that
|
3381
|
+
# you encode that content. For more information, see [Sending Raw
|
3382
|
+
# Email][2] in the *Amazon SES Developer Guide*.
|
3355
3383
|
#
|
3356
|
-
# * Per [RFC 5321][
|
3384
|
+
# * Per [RFC 5321][3], the maximum length of each line of text,
|
3357
3385
|
# including the <CRLF>, must not exceed 1,000 characters.
|
3358
3386
|
#
|
3359
3387
|
#
|
3360
3388
|
#
|
3361
3389
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html
|
3362
|
-
# [2]:
|
3390
|
+
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html
|
3391
|
+
# [3]: https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6
|
3363
3392
|
#
|
3364
3393
|
# @option params [String] :from_arn
|
3365
3394
|
# This parameter is used only for sending authorization. It is the ARN
|
@@ -3524,8 +3553,7 @@ module Aws::SES
|
|
3524
3553
|
# information, see [Verifying Email Addresses and Domains][1] in the
|
3525
3554
|
# *Amazon SES Developer Guide.*
|
3526
3555
|
#
|
3527
|
-
# * The
|
3528
|
-
# than 10 MB.
|
3556
|
+
# * The maximum message size is 10 MB.
|
3529
3557
|
#
|
3530
3558
|
# * Calls to the `SendTemplatedEmail` operation may only include one
|
3531
3559
|
# `Destination` parameter. A destination is a set of recipients who
|
@@ -4015,16 +4043,13 @@ module Aws::SES
|
|
4015
4043
|
req.send_request(options)
|
4016
4044
|
end
|
4017
4045
|
|
4018
|
-
#
|
4019
|
-
#
|
4020
|
-
#
|
4021
|
-
#
|
4022
|
-
#
|
4023
|
-
#
|
4024
|
-
#
|
4025
|
-
# see `SetIdentityFeedbackForwardingEnabled`.
|
4026
|
-
#
|
4027
|
-
# </note>
|
4046
|
+
# Sets an Amazon Simple Notification Service (Amazon SNS) topic to use
|
4047
|
+
# when delivering notifications. When you use this operation, you
|
4048
|
+
# specify a verified identity, such as an email address or domain. When
|
4049
|
+
# you send an email that uses the chosen identity in the Source field,
|
4050
|
+
# Amazon SES sends notifications to the topic you specified. You can
|
4051
|
+
# send bounce, complaint, or delivery notifications (or any combination
|
4052
|
+
# of the three) to the Amazon SNS topic that you specify.
|
4028
4053
|
#
|
4029
4054
|
# You can execute this operation no more than once per second.
|
4030
4055
|
#
|
@@ -4036,9 +4061,14 @@ module Aws::SES
|
|
4036
4061
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html
|
4037
4062
|
#
|
4038
4063
|
# @option params [required, String] :identity
|
4039
|
-
# The identity
|
4040
|
-
#
|
4041
|
-
#
|
4064
|
+
# The identity (email address or domain) that you want to set the Amazon
|
4065
|
+
# SNS topic for.
|
4066
|
+
#
|
4067
|
+
# You can only specify a verified identity for this parameter.
|
4068
|
+
#
|
4069
|
+
# You can specify an identity by using its name or by using its Amazon
|
4070
|
+
# Resource Name (ARN). The following examples are all valid identities:
|
4071
|
+
# `sender@example.com`, `example.com`,
|
4042
4072
|
# `arn:aws:ses:us-east-1:123456789012:identity/example.com`.
|
4043
4073
|
#
|
4044
4074
|
# @option params [required, String] :notification_type
|
@@ -4809,7 +4839,7 @@ module Aws::SES
|
|
4809
4839
|
params: params,
|
4810
4840
|
config: config)
|
4811
4841
|
context[:gem_name] = 'aws-sdk-ses'
|
4812
|
-
context[:gem_version] = '1.
|
4842
|
+
context[:gem_version] = '1.11.0'
|
4813
4843
|
Seahorse::Client::Request.new(handlers, context)
|
4814
4844
|
end
|
4815
4845
|
|
data/lib/aws-sdk-ses/types.rb
CHANGED
@@ -4404,28 +4404,35 @@ module Aws::SES
|
|
4404
4404
|
# @return [Array<String>]
|
4405
4405
|
#
|
4406
4406
|
# @!attribute [rw] raw_message
|
4407
|
-
# The raw
|
4408
|
-
#
|
4407
|
+
# The raw email message itself. The message has to meet the following
|
4408
|
+
# criteria:
|
4409
4409
|
#
|
4410
|
-
# *
|
4411
|
-
# line.
|
4410
|
+
# * The message has to contain a header and a body, separated by a
|
4411
|
+
# blank line.
|
4412
4412
|
#
|
4413
|
-
# * All required header fields must be present.
|
4413
|
+
# * All of the required header fields must be present in the message.
|
4414
4414
|
#
|
4415
4415
|
# * Each part of a multipart MIME message must be formatted properly.
|
4416
4416
|
#
|
4417
|
-
# *
|
4418
|
-
# For
|
4417
|
+
# * Attachments must be of a content type that Amazon SES supports.
|
4418
|
+
# For a list on unsupported content types, see [Unsupported
|
4419
|
+
# Attachment Types][1] in the *Amazon SES Developer Guide*.
|
4419
4420
|
#
|
4420
|
-
# *
|
4421
|
+
# * The entire message must be base64-encoded.
|
4421
4422
|
#
|
4422
|
-
# *
|
4423
|
+
# * If any of the MIME parts in your message contain content that is
|
4424
|
+
# outside of the 7-bit ASCII character range, we highly recommend
|
4425
|
+
# that you encode that content. For more information, see [Sending
|
4426
|
+
# Raw Email][2] in the *Amazon SES Developer Guide*.
|
4427
|
+
#
|
4428
|
+
# * Per [RFC 5321][3], the maximum length of each line of text,
|
4423
4429
|
# including the <CRLF>, must not exceed 1,000 characters.
|
4424
4430
|
#
|
4425
4431
|
#
|
4426
4432
|
#
|
4427
4433
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html
|
4428
|
-
# [2]:
|
4434
|
+
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html
|
4435
|
+
# [3]: https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6
|
4429
4436
|
# @return [Types::RawMessage]
|
4430
4437
|
#
|
4431
4438
|
# @!attribute [rw] from_arn
|
@@ -4992,9 +4999,14 @@ module Aws::SES
|
|
4992
4999
|
# }
|
4993
5000
|
#
|
4994
5001
|
# @!attribute [rw] identity
|
4995
|
-
# The identity
|
4996
|
-
#
|
4997
|
-
#
|
5002
|
+
# The identity (email address or domain) that you want to set the
|
5003
|
+
# Amazon SNS topic for.
|
5004
|
+
#
|
5005
|
+
# You can only specify a verified identity for this parameter.
|
5006
|
+
#
|
5007
|
+
# You can specify an identity by using its name or by using its Amazon
|
5008
|
+
# Resource Name (ARN). The following examples are all valid
|
5009
|
+
# identities: `sender@example.com`, `example.com`,
|
4998
5010
|
# `arn:aws:ses:us-east-1:123456789012:identity/example.com`.
|
4999
5011
|
# @return [String]
|
5000
5012
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|