aws-sdk-ses 1.4.0 → 1.5.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 +375 -28
- data/lib/aws-sdk-ses/client_api.rb +144 -0
- data/lib/aws-sdk-ses/types.rb +444 -42
- 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: 56ba8015a4dce7de303bd974b091b0115cb8c936
|
4
|
+
data.tar.gz: 7dac4b1ae2762f9adad7fc78c8b85cd77c87faa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95af43af259cc672d187fffb005f91909f406828aa198709ddfe7c6934ca2bb015db376f54110f78930b0b55151342652687e3a7ff602baa8889d9a9062485e3
|
7
|
+
data.tar.gz: b9470d47f7a27227bb54f4886ae6c1c0beeb0d5d4b6ea7ac0c3e30f2ba9689746a309d7c4810d35f43410f590a18633473c091ad816126efc44e3b80e562bcee
|
data/lib/aws-sdk-ses.rb
CHANGED
data/lib/aws-sdk-ses/client.rb
CHANGED
@@ -350,6 +350,67 @@ module Aws::SES
|
|
350
350
|
req.send_request(options)
|
351
351
|
end
|
352
352
|
|
353
|
+
# Creates a new custom verification email template.
|
354
|
+
#
|
355
|
+
# For more information about custom verification email templates, see
|
356
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
357
|
+
# Developer Guide*.
|
358
|
+
#
|
359
|
+
# You can execute this operation no more than once per second.
|
360
|
+
#
|
361
|
+
#
|
362
|
+
#
|
363
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
364
|
+
#
|
365
|
+
# @option params [required, String] :template_name
|
366
|
+
# The name of the custom verification email template.
|
367
|
+
#
|
368
|
+
# @option params [required, String] :from_email_address
|
369
|
+
# The email address that the custom verification email is sent from.
|
370
|
+
#
|
371
|
+
# @option params [required, String] :template_subject
|
372
|
+
# The subject line of the custom verification email.
|
373
|
+
#
|
374
|
+
# @option params [required, String] :template_content
|
375
|
+
# The content of the custom verification email. The total size of the
|
376
|
+
# email must be less than 10 MB. The message body may contain HTML, with
|
377
|
+
# some limitations. For more information, see [Custom Verification Email
|
378
|
+
# Frequently Asked Questions][1] in the *Amazon SES Developer Guide*.
|
379
|
+
#
|
380
|
+
#
|
381
|
+
#
|
382
|
+
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq
|
383
|
+
#
|
384
|
+
# @option params [required, String] :success_redirection_url
|
385
|
+
# The URL that the recipient of the verification email is sent to if his
|
386
|
+
# or her address is successfully verified.
|
387
|
+
#
|
388
|
+
# @option params [required, String] :failure_redirection_url
|
389
|
+
# The URL that the recipient of the verification email is sent to if his
|
390
|
+
# or her address is not successfully verified.
|
391
|
+
#
|
392
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
393
|
+
#
|
394
|
+
# @example Request syntax with placeholder values
|
395
|
+
#
|
396
|
+
# resp = client.create_custom_verification_email_template({
|
397
|
+
# template_name: "TemplateName", # required
|
398
|
+
# from_email_address: "FromAddress", # required
|
399
|
+
# template_subject: "Subject", # required
|
400
|
+
# template_content: "TemplateContent", # required
|
401
|
+
# success_redirection_url: "SuccessRedirectionURL", # required
|
402
|
+
# failure_redirection_url: "FailureRedirectionURL", # required
|
403
|
+
# })
|
404
|
+
#
|
405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate AWS API Documentation
|
406
|
+
#
|
407
|
+
# @overload create_custom_verification_email_template(params = {})
|
408
|
+
# @param [Hash] params ({})
|
409
|
+
def create_custom_verification_email_template(params = {}, options = {})
|
410
|
+
req = build_request(:create_custom_verification_email_template, params)
|
411
|
+
req.send_request(options)
|
412
|
+
end
|
413
|
+
|
353
414
|
# Creates a new IP address filter.
|
354
415
|
#
|
355
416
|
# For information about setting up IP address filters, see the [Amazon
|
@@ -705,6 +766,39 @@ module Aws::SES
|
|
705
766
|
req.send_request(options)
|
706
767
|
end
|
707
768
|
|
769
|
+
# Deletes an existing custom verification email template.
|
770
|
+
#
|
771
|
+
# For more information about custom verification email templates, see
|
772
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
773
|
+
# Developer Guide*.
|
774
|
+
#
|
775
|
+
# You can execute this operation no more than once per second.
|
776
|
+
#
|
777
|
+
#
|
778
|
+
#
|
779
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
780
|
+
#
|
781
|
+
# @option params [required, String] :template_name
|
782
|
+
# The name of the custom verification email template that you want to
|
783
|
+
# delete.
|
784
|
+
#
|
785
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
786
|
+
#
|
787
|
+
# @example Request syntax with placeholder values
|
788
|
+
#
|
789
|
+
# resp = client.delete_custom_verification_email_template({
|
790
|
+
# template_name: "TemplateName", # required
|
791
|
+
# })
|
792
|
+
#
|
793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate AWS API Documentation
|
794
|
+
#
|
795
|
+
# @overload delete_custom_verification_email_template(params = {})
|
796
|
+
# @param [Hash] params ({})
|
797
|
+
def delete_custom_verification_email_template(params = {}, options = {})
|
798
|
+
req = build_request(:delete_custom_verification_email_template, params)
|
799
|
+
req.send_request(options)
|
800
|
+
end
|
801
|
+
|
708
802
|
# Deletes the specified identity (an email address or a domain) from the
|
709
803
|
# list of verified identities.
|
710
804
|
#
|
@@ -1367,6 +1461,56 @@ module Aws::SES
|
|
1367
1461
|
req.send_request(options)
|
1368
1462
|
end
|
1369
1463
|
|
1464
|
+
# Returns the custom email verification template for the template name
|
1465
|
+
# you specify.
|
1466
|
+
#
|
1467
|
+
# For more information about custom verification email templates, see
|
1468
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
1469
|
+
# Developer Guide*.
|
1470
|
+
#
|
1471
|
+
# You can execute this operation no more than once per second.
|
1472
|
+
#
|
1473
|
+
#
|
1474
|
+
#
|
1475
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
1476
|
+
#
|
1477
|
+
# @option params [required, String] :template_name
|
1478
|
+
# The name of the custom verification email template that you want to
|
1479
|
+
# retrieve.
|
1480
|
+
#
|
1481
|
+
# @return [Types::GetCustomVerificationEmailTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1482
|
+
#
|
1483
|
+
# * {Types::GetCustomVerificationEmailTemplateResponse#template_name #template_name} => String
|
1484
|
+
# * {Types::GetCustomVerificationEmailTemplateResponse#from_email_address #from_email_address} => String
|
1485
|
+
# * {Types::GetCustomVerificationEmailTemplateResponse#template_subject #template_subject} => String
|
1486
|
+
# * {Types::GetCustomVerificationEmailTemplateResponse#template_content #template_content} => String
|
1487
|
+
# * {Types::GetCustomVerificationEmailTemplateResponse#success_redirection_url #success_redirection_url} => String
|
1488
|
+
# * {Types::GetCustomVerificationEmailTemplateResponse#failure_redirection_url #failure_redirection_url} => String
|
1489
|
+
#
|
1490
|
+
# @example Request syntax with placeholder values
|
1491
|
+
#
|
1492
|
+
# resp = client.get_custom_verification_email_template({
|
1493
|
+
# template_name: "TemplateName", # required
|
1494
|
+
# })
|
1495
|
+
#
|
1496
|
+
# @example Response structure
|
1497
|
+
#
|
1498
|
+
# resp.template_name #=> String
|
1499
|
+
# resp.from_email_address #=> String
|
1500
|
+
# resp.template_subject #=> String
|
1501
|
+
# resp.template_content #=> String
|
1502
|
+
# resp.success_redirection_url #=> String
|
1503
|
+
# resp.failure_redirection_url #=> String
|
1504
|
+
#
|
1505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplate AWS API Documentation
|
1506
|
+
#
|
1507
|
+
# @overload get_custom_verification_email_template(params = {})
|
1508
|
+
# @param [Hash] params ({})
|
1509
|
+
def get_custom_verification_email_template(params = {}, options = {})
|
1510
|
+
req = build_request(:get_custom_verification_email_template, params)
|
1511
|
+
req.send_request(options)
|
1512
|
+
end
|
1513
|
+
|
1370
1514
|
# Returns the current status of Easy DKIM signing for an entity. For
|
1371
1515
|
# domain name identities, this operation also returns the DKIM tokens
|
1372
1516
|
# that are required for Easy DKIM signing, and whether Amazon SES has
|
@@ -1930,6 +2074,61 @@ module Aws::SES
|
|
1930
2074
|
req.send_request(options)
|
1931
2075
|
end
|
1932
2076
|
|
2077
|
+
# Lists the existing custom verification email templates for your
|
2078
|
+
# account.
|
2079
|
+
#
|
2080
|
+
# For more information about custom verification email templates, see
|
2081
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
2082
|
+
# Developer Guide*.
|
2083
|
+
#
|
2084
|
+
# You can execute this operation no more than once per second.
|
2085
|
+
#
|
2086
|
+
#
|
2087
|
+
#
|
2088
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
2089
|
+
#
|
2090
|
+
# @option params [String] :next_token
|
2091
|
+
# A token returned from a previous call to
|
2092
|
+
# `ListCustomVerificationEmailTemplates` to indicate the position in the
|
2093
|
+
# list of email templates.
|
2094
|
+
#
|
2095
|
+
# @option params [Integer] :max_results
|
2096
|
+
# The maximum number of custom verification email templates to return.
|
2097
|
+
# This value must be at least 1 and less than or equal to 50. If you do
|
2098
|
+
# not specify a value, or if you specify a value less than 1 or greater
|
2099
|
+
# than 50, the operation will return up to 50 results.
|
2100
|
+
#
|
2101
|
+
# @return [Types::ListCustomVerificationEmailTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2102
|
+
#
|
2103
|
+
# * {Types::ListCustomVerificationEmailTemplatesResponse#custom_verification_email_templates #custom_verification_email_templates} => Array<Types::CustomVerificationEmailTemplate>
|
2104
|
+
# * {Types::ListCustomVerificationEmailTemplatesResponse#next_token #next_token} => String
|
2105
|
+
#
|
2106
|
+
# @example Request syntax with placeholder values
|
2107
|
+
#
|
2108
|
+
# resp = client.list_custom_verification_email_templates({
|
2109
|
+
# next_token: "NextToken",
|
2110
|
+
# max_results: 1,
|
2111
|
+
# })
|
2112
|
+
#
|
2113
|
+
# @example Response structure
|
2114
|
+
#
|
2115
|
+
# resp.custom_verification_email_templates #=> Array
|
2116
|
+
# resp.custom_verification_email_templates[0].template_name #=> String
|
2117
|
+
# resp.custom_verification_email_templates[0].from_email_address #=> String
|
2118
|
+
# resp.custom_verification_email_templates[0].template_subject #=> String
|
2119
|
+
# resp.custom_verification_email_templates[0].success_redirection_url #=> String
|
2120
|
+
# resp.custom_verification_email_templates[0].failure_redirection_url #=> String
|
2121
|
+
# resp.next_token #=> String
|
2122
|
+
#
|
2123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplates AWS API Documentation
|
2124
|
+
#
|
2125
|
+
# @overload list_custom_verification_email_templates(params = {})
|
2126
|
+
# @param [Hash] params ({})
|
2127
|
+
def list_custom_verification_email_templates(params = {}, options = {})
|
2128
|
+
req = build_request(:list_custom_verification_email_templates, params)
|
2129
|
+
req.send_request(options)
|
2130
|
+
end
|
2131
|
+
|
1933
2132
|
# Returns a list containing all of the identities (email addresses and
|
1934
2133
|
# domains) for your AWS account, regardless of verification status.
|
1935
2134
|
#
|
@@ -2536,17 +2735,27 @@ module Aws::SES
|
|
2536
2735
|
# the `SourceArn` parameter. For more information about sending
|
2537
2736
|
# authorization, see the [Amazon SES Developer Guide][2].
|
2538
2737
|
#
|
2539
|
-
#
|
2540
|
-
#
|
2541
|
-
#
|
2542
|
-
#
|
2543
|
-
#
|
2738
|
+
# <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
|
2739
|
+
# [RFC6531][3]. For this reason, the *local part* of a source email
|
2740
|
+
# address (the part of the email address that precedes the @ sign) may
|
2741
|
+
# only contain [7-bit ASCII characters][4]. If the *domain part* of an
|
2742
|
+
# address (the part after the @ sign) contains non-ASCII characters,
|
2743
|
+
# they must be encoded using Punycode, as described in [RFC3492][5]. The
|
2744
|
+
# sender name (also known as the *friendly name*) may contain non-ASCII
|
2745
|
+
# characters. These characters must be encoded using MIME encoded-word
|
2746
|
+
# syntax, as described in [RFC 2047][6]. MIME encoded-word syntax uses
|
2747
|
+
# the following form: `=?charset?encoding?encoded-text?=`.
|
2748
|
+
#
|
2749
|
+
# </note>
|
2544
2750
|
#
|
2545
2751
|
#
|
2546
2752
|
#
|
2547
2753
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
|
2548
2754
|
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
2549
|
-
# [3]: https://tools.ietf.org/html/
|
2755
|
+
# [3]: https://tools.ietf.org/html/rfc6531
|
2756
|
+
# [4]: https://en.wikipedia.org/wiki/Email_address#Local-part
|
2757
|
+
# [5]: https://tools.ietf.org/html/rfc3492.html
|
2758
|
+
# [6]: https://tools.ietf.org/html/rfc2047
|
2550
2759
|
#
|
2551
2760
|
# @option params [String] :source_arn
|
2552
2761
|
# This parameter is used only for sending authorization. It is the ARN
|
@@ -2686,6 +2895,54 @@ module Aws::SES
|
|
2686
2895
|
req.send_request(options)
|
2687
2896
|
end
|
2688
2897
|
|
2898
|
+
# Sends a custom verification email to a specified recipient.
|
2899
|
+
# Verification emails sent using this operation are counted against your
|
2900
|
+
# 24-hour sending quota and per-second sending rate.
|
2901
|
+
#
|
2902
|
+
# For more information about custom verification email templates, see
|
2903
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
2904
|
+
# Developer Guide*.
|
2905
|
+
#
|
2906
|
+
#
|
2907
|
+
#
|
2908
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
2909
|
+
#
|
2910
|
+
# @option params [required, String] :email_address
|
2911
|
+
# The email address to verify.
|
2912
|
+
#
|
2913
|
+
# @option params [required, String] :template_name
|
2914
|
+
# The name of the custom verification email template to use when sending
|
2915
|
+
# the verification email.
|
2916
|
+
#
|
2917
|
+
# @option params [String] :configuration_set_name
|
2918
|
+
# Name of a configuration set to use when sending the verification
|
2919
|
+
# email.
|
2920
|
+
#
|
2921
|
+
# @return [Types::SendCustomVerificationEmailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2922
|
+
#
|
2923
|
+
# * {Types::SendCustomVerificationEmailResponse#message_id #message_id} => String
|
2924
|
+
#
|
2925
|
+
# @example Request syntax with placeholder values
|
2926
|
+
#
|
2927
|
+
# resp = client.send_custom_verification_email({
|
2928
|
+
# email_address: "Address", # required
|
2929
|
+
# template_name: "TemplateName", # required
|
2930
|
+
# configuration_set_name: "ConfigurationSetName",
|
2931
|
+
# })
|
2932
|
+
#
|
2933
|
+
# @example Response structure
|
2934
|
+
#
|
2935
|
+
# resp.message_id #=> String
|
2936
|
+
#
|
2937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmail AWS API Documentation
|
2938
|
+
#
|
2939
|
+
# @overload send_custom_verification_email(params = {})
|
2940
|
+
# @param [Hash] params ({})
|
2941
|
+
def send_custom_verification_email(params = {}, options = {})
|
2942
|
+
req = build_request(:send_custom_verification_email, params)
|
2943
|
+
req.send_request(options)
|
2944
|
+
end
|
2945
|
+
|
2689
2946
|
# Composes an email message and immediately queues it for sending. In
|
2690
2947
|
# order to send email using the `SendEmail` operation, your message must
|
2691
2948
|
# meet the following requirements:
|
@@ -2740,17 +2997,27 @@ module Aws::SES
|
|
2740
2997
|
# the `SourceArn` parameter. For more information about sending
|
2741
2998
|
# authorization, see the [Amazon SES Developer Guide][2].
|
2742
2999
|
#
|
2743
|
-
#
|
2744
|
-
#
|
2745
|
-
#
|
2746
|
-
#
|
2747
|
-
#
|
3000
|
+
# <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
|
3001
|
+
# [RFC6531][3]. For this reason, the *local part* of a source email
|
3002
|
+
# address (the part of the email address that precedes the @ sign) may
|
3003
|
+
# only contain [7-bit ASCII characters][4]. If the *domain part* of an
|
3004
|
+
# address (the part after the @ sign) contains non-ASCII characters,
|
3005
|
+
# they must be encoded using Punycode, as described in [RFC3492][5]. The
|
3006
|
+
# sender name (also known as the *friendly name*) may contain non-ASCII
|
3007
|
+
# characters. These characters must be encoded using MIME encoded-word
|
3008
|
+
# syntax, as described in [RFC 2047][6]. MIME encoded-word syntax uses
|
3009
|
+
# the following form: `=?charset?encoding?encoded-text?=`.
|
3010
|
+
#
|
3011
|
+
# </note>
|
2748
3012
|
#
|
2749
3013
|
#
|
2750
3014
|
#
|
2751
3015
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
|
2752
3016
|
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
2753
|
-
# [3]: https://tools.ietf.org/html/
|
3017
|
+
# [3]: https://tools.ietf.org/html/rfc6531
|
3018
|
+
# [4]: https://en.wikipedia.org/wiki/Email_address#Local-part
|
3019
|
+
# [5]: https://tools.ietf.org/html/rfc3492.html
|
3020
|
+
# [6]: https://tools.ietf.org/html/rfc2047
|
2754
3021
|
#
|
2755
3022
|
# @option params [required, Types::Destination] :destination
|
2756
3023
|
# The destination for this email, composed of To:, CC:, and BCC: fields.
|
@@ -3011,22 +3278,30 @@ module Aws::SES
|
|
3011
3278
|
# parameter, you must specify a "From" address in the raw text of the
|
3012
3279
|
# message. (You can also specify both.)
|
3013
3280
|
#
|
3014
|
-
#
|
3015
|
-
#
|
3016
|
-
#
|
3017
|
-
#
|
3018
|
-
#
|
3281
|
+
# <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described
|
3282
|
+
# in[RFC6531][1]. For this reason, the *local part* of a source email
|
3283
|
+
# address (the part of the email address that precedes the @ sign) may
|
3284
|
+
# only contain [7-bit ASCII characters][2]. If the *domain part* of an
|
3285
|
+
# address (the part after the @ sign) contains non-ASCII characters,
|
3286
|
+
# they must be encoded using Punycode, as described in [RFC3492][3]. The
|
3287
|
+
# sender name (also known as the *friendly name*) may contain non-ASCII
|
3288
|
+
# characters. These characters must be encoded using MIME encoded-word
|
3289
|
+
# syntax, as described in [RFC 2047][4]. MIME encoded-word syntax uses
|
3290
|
+
# the following form: `=?charset?encoding?encoded-text?=`.
|
3291
|
+
#
|
3292
|
+
# </note>
|
3019
3293
|
#
|
3020
|
-
#
|
3294
|
+
# If you specify the `Source` parameter and have feedback forwarding
|
3021
3295
|
# enabled, then bounces and complaints will be sent to this email
|
3022
3296
|
# address. This takes precedence over any Return-Path header that you
|
3023
3297
|
# might include in the raw text of the message.
|
3024
3298
|
#
|
3025
|
-
# </note>
|
3026
|
-
#
|
3027
3299
|
#
|
3028
3300
|
#
|
3029
|
-
# [1]: https://tools.ietf.org/html/
|
3301
|
+
# [1]: https://tools.ietf.org/html/rfc6531
|
3302
|
+
# [2]: https://en.wikipedia.org/wiki/Email_address#Local-part
|
3303
|
+
# [3]: https://tools.ietf.org/html/rfc3492.html
|
3304
|
+
# [4]: https://tools.ietf.org/html/rfc2047
|
3030
3305
|
#
|
3031
3306
|
# @option params [Array<String>] :destinations
|
3032
3307
|
# A list of destinations for the message, consisting of To:, CC:, and
|
@@ -3250,17 +3525,27 @@ module Aws::SES
|
|
3250
3525
|
# the `SourceArn` parameter. For more information about sending
|
3251
3526
|
# authorization, see the [Amazon SES Developer Guide][2].
|
3252
3527
|
#
|
3253
|
-
#
|
3254
|
-
#
|
3255
|
-
#
|
3256
|
-
#
|
3257
|
-
#
|
3528
|
+
# <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
|
3529
|
+
# [RFC6531][3]. For this reason, the *local part* of a source email
|
3530
|
+
# address (the part of the email address that precedes the @ sign) may
|
3531
|
+
# only contain [7-bit ASCII characters][4]. If the *domain part* of an
|
3532
|
+
# address (the part after the @ sign) contains non-ASCII characters,
|
3533
|
+
# they must be encoded using Punycode, as described in [RFC3492][5]. The
|
3534
|
+
# sender name (also known as the *friendly name*) may contain non-ASCII
|
3535
|
+
# characters. These characters must be encoded using MIME encoded-word
|
3536
|
+
# syntax, as described in[RFC 2047][6]. MIME encoded-word syntax uses
|
3537
|
+
# the following form: `=?charset?encoding?encoded-text?=`.
|
3538
|
+
#
|
3539
|
+
# </note>
|
3258
3540
|
#
|
3259
3541
|
#
|
3260
3542
|
#
|
3261
3543
|
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
|
3262
3544
|
# [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
|
3263
|
-
# [3]: https://tools.ietf.org/html/
|
3545
|
+
# [3]: https://tools.ietf.org/html/rfc6531
|
3546
|
+
# [4]: https://en.wikipedia.org/wiki/Email_address#Local-part
|
3547
|
+
# [5]: https://tools.ietf.org/html/rfc3492.html
|
3548
|
+
# [6]: https://tools.ietf.org/html/rfc2047
|
3264
3549
|
#
|
3265
3550
|
# @option params [required, Types::Destination] :destination
|
3266
3551
|
# The destination for this email, composed of To:, CC:, and BCC: fields.
|
@@ -4084,6 +4369,68 @@ module Aws::SES
|
|
4084
4369
|
req.send_request(options)
|
4085
4370
|
end
|
4086
4371
|
|
4372
|
+
# Updates an existing custom verification email template.
|
4373
|
+
#
|
4374
|
+
# For more information about custom verification email templates, see
|
4375
|
+
# [Using Custom Verification Email Templates][1] in the *Amazon SES
|
4376
|
+
# Developer Guide*.
|
4377
|
+
#
|
4378
|
+
# You can execute this operation no more than once per second.
|
4379
|
+
#
|
4380
|
+
#
|
4381
|
+
#
|
4382
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
|
4383
|
+
#
|
4384
|
+
# @option params [required, String] :template_name
|
4385
|
+
# The name of the custom verification email template that you want to
|
4386
|
+
# update.
|
4387
|
+
#
|
4388
|
+
# @option params [String] :from_email_address
|
4389
|
+
# The email address that the custom verification email is sent from.
|
4390
|
+
#
|
4391
|
+
# @option params [String] :template_subject
|
4392
|
+
# The subject line of the custom verification email.
|
4393
|
+
#
|
4394
|
+
# @option params [String] :template_content
|
4395
|
+
# The content of the custom verification email. The total size of the
|
4396
|
+
# email must be less than 10 MB. The message body may contain HTML, with
|
4397
|
+
# some limitations. For more information, see [Custom Verification Email
|
4398
|
+
# Frequently Asked Questions][1] in the *Amazon SES Developer Guide*.
|
4399
|
+
#
|
4400
|
+
#
|
4401
|
+
#
|
4402
|
+
# [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq
|
4403
|
+
#
|
4404
|
+
# @option params [String] :success_redirection_url
|
4405
|
+
# The URL that the recipient of the verification email is sent to if his
|
4406
|
+
# or her address is successfully verified.
|
4407
|
+
#
|
4408
|
+
# @option params [String] :failure_redirection_url
|
4409
|
+
# The URL that the recipient of the verification email is sent to if his
|
4410
|
+
# or her address is not successfully verified.
|
4411
|
+
#
|
4412
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4413
|
+
#
|
4414
|
+
# @example Request syntax with placeholder values
|
4415
|
+
#
|
4416
|
+
# resp = client.update_custom_verification_email_template({
|
4417
|
+
# template_name: "TemplateName", # required
|
4418
|
+
# from_email_address: "FromAddress",
|
4419
|
+
# template_subject: "Subject",
|
4420
|
+
# template_content: "TemplateContent",
|
4421
|
+
# success_redirection_url: "SuccessRedirectionURL",
|
4422
|
+
# failure_redirection_url: "FailureRedirectionURL",
|
4423
|
+
# })
|
4424
|
+
#
|
4425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplate AWS API Documentation
|
4426
|
+
#
|
4427
|
+
# @overload update_custom_verification_email_template(params = {})
|
4428
|
+
# @param [Hash] params ({})
|
4429
|
+
def update_custom_verification_email_template(params = {}, options = {})
|
4430
|
+
req = build_request(:update_custom_verification_email_template, params)
|
4431
|
+
req.send_request(options)
|
4432
|
+
end
|
4433
|
+
|
4087
4434
|
# Updates a receipt rule.
|
4088
4435
|
#
|
4089
4436
|
# For information about managing receipt rules, see the [Amazon SES
|
@@ -4419,7 +4766,7 @@ module Aws::SES
|
|
4419
4766
|
params: params,
|
4420
4767
|
config: config)
|
4421
4768
|
context[:gem_name] = 'aws-sdk-ses'
|
4422
|
-
context[:gem_version] = '1.
|
4769
|
+
context[:gem_version] = '1.5.0'
|
4423
4770
|
Seahorse::Client::Request.new(handlers, context)
|
4424
4771
|
end
|
4425
4772
|
|