aws-sdk-ses 1.4.0 → 1.5.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.
@@ -56,6 +56,7 @@ module Aws::SES
56
56
  CreateConfigurationSetResponse = Shapes::StructureShape.new(name: 'CreateConfigurationSetResponse')
57
57
  CreateConfigurationSetTrackingOptionsRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetTrackingOptionsRequest')
58
58
  CreateConfigurationSetTrackingOptionsResponse = Shapes::StructureShape.new(name: 'CreateConfigurationSetTrackingOptionsResponse')
59
+ CreateCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'CreateCustomVerificationEmailTemplateRequest')
59
60
  CreateReceiptFilterRequest = Shapes::StructureShape.new(name: 'CreateReceiptFilterRequest')
60
61
  CreateReceiptFilterResponse = Shapes::StructureShape.new(name: 'CreateReceiptFilterResponse')
61
62
  CreateReceiptRuleRequest = Shapes::StructureShape.new(name: 'CreateReceiptRuleRequest')
@@ -66,6 +67,11 @@ module Aws::SES
66
67
  CreateTemplateResponse = Shapes::StructureShape.new(name: 'CreateTemplateResponse')
67
68
  CustomMailFromStatus = Shapes::StringShape.new(name: 'CustomMailFromStatus')
68
69
  CustomRedirectDomain = Shapes::StringShape.new(name: 'CustomRedirectDomain')
70
+ CustomVerificationEmailInvalidContentException = Shapes::StructureShape.new(name: 'CustomVerificationEmailInvalidContentException')
71
+ CustomVerificationEmailTemplate = Shapes::StructureShape.new(name: 'CustomVerificationEmailTemplate')
72
+ CustomVerificationEmailTemplateAlreadyExistsException = Shapes::StructureShape.new(name: 'CustomVerificationEmailTemplateAlreadyExistsException')
73
+ CustomVerificationEmailTemplateDoesNotExistException = Shapes::StructureShape.new(name: 'CustomVerificationEmailTemplateDoesNotExistException')
74
+ CustomVerificationEmailTemplates = Shapes::ListShape.new(name: 'CustomVerificationEmailTemplates')
69
75
  DefaultDimensionValue = Shapes::StringShape.new(name: 'DefaultDimensionValue')
70
76
  DeleteConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationRequest')
71
77
  DeleteConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationResponse')
@@ -73,6 +79,7 @@ module Aws::SES
73
79
  DeleteConfigurationSetResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetResponse')
74
80
  DeleteConfigurationSetTrackingOptionsRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetTrackingOptionsRequest')
75
81
  DeleteConfigurationSetTrackingOptionsResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetTrackingOptionsResponse')
82
+ DeleteCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'DeleteCustomVerificationEmailTemplateRequest')
76
83
  DeleteIdentityPolicyRequest = Shapes::StructureShape.new(name: 'DeleteIdentityPolicyRequest')
77
84
  DeleteIdentityPolicyResponse = Shapes::StructureShape.new(name: 'DeleteIdentityPolicyResponse')
78
85
  DeleteIdentityRequest = Shapes::StructureShape.new(name: 'DeleteIdentityRequest')
@@ -116,7 +123,12 @@ module Aws::SES
116
123
  ExtensionFieldList = Shapes::ListShape.new(name: 'ExtensionFieldList')
117
124
  ExtensionFieldName = Shapes::StringShape.new(name: 'ExtensionFieldName')
118
125
  ExtensionFieldValue = Shapes::StringShape.new(name: 'ExtensionFieldValue')
126
+ FailureRedirectionURL = Shapes::StringShape.new(name: 'FailureRedirectionURL')
127
+ FromAddress = Shapes::StringShape.new(name: 'FromAddress')
128
+ FromEmailAddressNotVerifiedException = Shapes::StructureShape.new(name: 'FromEmailAddressNotVerifiedException')
119
129
  GetAccountSendingEnabledResponse = Shapes::StructureShape.new(name: 'GetAccountSendingEnabledResponse')
130
+ GetCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateRequest')
131
+ GetCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateResponse')
120
132
  GetIdentityDkimAttributesRequest = Shapes::StructureShape.new(name: 'GetIdentityDkimAttributesRequest')
121
133
  GetIdentityDkimAttributesResponse = Shapes::StructureShape.new(name: 'GetIdentityDkimAttributesResponse')
122
134
  GetIdentityMailFromDomainAttributesRequest = Shapes::StructureShape.new(name: 'GetIdentityMailFromDomainAttributesRequest')
@@ -160,6 +172,8 @@ module Aws::SES
160
172
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
161
173
  ListConfigurationSetsRequest = Shapes::StructureShape.new(name: 'ListConfigurationSetsRequest')
162
174
  ListConfigurationSetsResponse = Shapes::StructureShape.new(name: 'ListConfigurationSetsResponse')
175
+ ListCustomVerificationEmailTemplatesRequest = Shapes::StructureShape.new(name: 'ListCustomVerificationEmailTemplatesRequest')
176
+ ListCustomVerificationEmailTemplatesResponse = Shapes::StructureShape.new(name: 'ListCustomVerificationEmailTemplatesResponse')
163
177
  ListIdentitiesRequest = Shapes::StructureShape.new(name: 'ListIdentitiesRequest')
164
178
  ListIdentitiesResponse = Shapes::StructureShape.new(name: 'ListIdentitiesResponse')
165
179
  ListIdentityPoliciesRequest = Shapes::StructureShape.new(name: 'ListIdentityPoliciesRequest')
@@ -176,6 +190,7 @@ module Aws::SES
176
190
  MailFromDomainNotVerifiedException = Shapes::StructureShape.new(name: 'MailFromDomainNotVerifiedException')
177
191
  Max24HourSend = Shapes::FloatShape.new(name: 'Max24HourSend')
178
192
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
193
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
179
194
  MaxSendRate = Shapes::FloatShape.new(name: 'MaxSendRate')
180
195
  Message = Shapes::StructureShape.new(name: 'Message')
181
196
  MessageData = Shapes::StringShape.new(name: 'MessageData')
@@ -195,6 +210,7 @@ module Aws::SES
195
210
  PolicyMap = Shapes::MapShape.new(name: 'PolicyMap')
196
211
  PolicyName = Shapes::StringShape.new(name: 'PolicyName')
197
212
  PolicyNameList = Shapes::ListShape.new(name: 'PolicyNameList')
213
+ ProductionAccessNotGrantedException = Shapes::StructureShape.new(name: 'ProductionAccessNotGrantedException')
198
214
  PutIdentityPolicyRequest = Shapes::StructureShape.new(name: 'PutIdentityPolicyRequest')
199
215
  PutIdentityPolicyResponse = Shapes::StructureShape.new(name: 'PutIdentityPolicyResponse')
200
216
  RawMessage = Shapes::StructureShape.new(name: 'RawMessage')
@@ -235,6 +251,8 @@ module Aws::SES
235
251
  SendBounceResponse = Shapes::StructureShape.new(name: 'SendBounceResponse')
236
252
  SendBulkTemplatedEmailRequest = Shapes::StructureShape.new(name: 'SendBulkTemplatedEmailRequest')
237
253
  SendBulkTemplatedEmailResponse = Shapes::StructureShape.new(name: 'SendBulkTemplatedEmailResponse')
254
+ SendCustomVerificationEmailRequest = Shapes::StructureShape.new(name: 'SendCustomVerificationEmailRequest')
255
+ SendCustomVerificationEmailResponse = Shapes::StructureShape.new(name: 'SendCustomVerificationEmailResponse')
238
256
  SendDataPoint = Shapes::StructureShape.new(name: 'SendDataPoint')
239
257
  SendDataPointList = Shapes::ListShape.new(name: 'SendDataPointList')
240
258
  SendEmailRequest = Shapes::StructureShape.new(name: 'SendEmailRequest')
@@ -260,8 +278,11 @@ module Aws::SES
260
278
  SetReceiptRulePositionResponse = Shapes::StructureShape.new(name: 'SetReceiptRulePositionResponse')
261
279
  StopAction = Shapes::StructureShape.new(name: 'StopAction')
262
280
  StopScope = Shapes::StringShape.new(name: 'StopScope')
281
+ Subject = Shapes::StringShape.new(name: 'Subject')
263
282
  SubjectPart = Shapes::StringShape.new(name: 'SubjectPart')
283
+ SuccessRedirectionURL = Shapes::StringShape.new(name: 'SuccessRedirectionURL')
264
284
  Template = Shapes::StructureShape.new(name: 'Template')
285
+ TemplateContent = Shapes::StringShape.new(name: 'TemplateContent')
265
286
  TemplateData = Shapes::StringShape.new(name: 'TemplateData')
266
287
  TemplateDoesNotExistException = Shapes::StructureShape.new(name: 'TemplateDoesNotExistException')
267
288
  TemplateMetadata = Shapes::StructureShape.new(name: 'TemplateMetadata')
@@ -282,6 +303,7 @@ module Aws::SES
282
303
  UpdateConfigurationSetSendingEnabledRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetSendingEnabledRequest')
283
304
  UpdateConfigurationSetTrackingOptionsRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetTrackingOptionsRequest')
284
305
  UpdateConfigurationSetTrackingOptionsResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetTrackingOptionsResponse')
306
+ UpdateCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'UpdateCustomVerificationEmailTemplateRequest')
285
307
  UpdateReceiptRuleRequest = Shapes::StructureShape.new(name: 'UpdateReceiptRuleRequest')
286
308
  UpdateReceiptRuleResponse = Shapes::StructureShape.new(name: 'UpdateReceiptRuleResponse')
287
309
  UpdateTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTemplateRequest')
@@ -382,6 +404,14 @@ module Aws::SES
382
404
 
383
405
  CreateConfigurationSetTrackingOptionsResponse.struct_class = Types::CreateConfigurationSetTrackingOptionsResponse
384
406
 
407
+ CreateCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "TemplateName"))
408
+ CreateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: FromAddress, required: true, location_name: "FromEmailAddress"))
409
+ CreateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "TemplateSubject"))
410
+ CreateCustomVerificationEmailTemplateRequest.add_member(:template_content, Shapes::ShapeRef.new(shape: TemplateContent, required: true, location_name: "TemplateContent"))
411
+ CreateCustomVerificationEmailTemplateRequest.add_member(:success_redirection_url, Shapes::ShapeRef.new(shape: SuccessRedirectionURL, required: true, location_name: "SuccessRedirectionURL"))
412
+ CreateCustomVerificationEmailTemplateRequest.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, required: true, location_name: "FailureRedirectionURL"))
413
+ CreateCustomVerificationEmailTemplateRequest.struct_class = Types::CreateCustomVerificationEmailTemplateRequest
414
+
385
415
  CreateReceiptFilterRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ReceiptFilter, required: true, location_name: "Filter"))
386
416
  CreateReceiptFilterRequest.struct_class = Types::CreateReceiptFilterRequest
387
417
 
@@ -404,6 +434,15 @@ module Aws::SES
404
434
 
405
435
  CreateTemplateResponse.struct_class = Types::CreateTemplateResponse
406
436
 
437
+ CustomVerificationEmailTemplate.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
438
+ CustomVerificationEmailTemplate.add_member(:from_email_address, Shapes::ShapeRef.new(shape: FromAddress, location_name: "FromEmailAddress"))
439
+ CustomVerificationEmailTemplate.add_member(:template_subject, Shapes::ShapeRef.new(shape: Subject, location_name: "TemplateSubject"))
440
+ CustomVerificationEmailTemplate.add_member(:success_redirection_url, Shapes::ShapeRef.new(shape: SuccessRedirectionURL, location_name: "SuccessRedirectionURL"))
441
+ CustomVerificationEmailTemplate.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, location_name: "FailureRedirectionURL"))
442
+ CustomVerificationEmailTemplate.struct_class = Types::CustomVerificationEmailTemplate
443
+
444
+ CustomVerificationEmailTemplates.member = Shapes::ShapeRef.new(shape: CustomVerificationEmailTemplate)
445
+
407
446
  DeleteConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
408
447
  DeleteConfigurationSetEventDestinationRequest.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: EventDestinationName, required: true, location_name: "EventDestinationName"))
409
448
  DeleteConfigurationSetEventDestinationRequest.struct_class = Types::DeleteConfigurationSetEventDestinationRequest
@@ -420,6 +459,9 @@ module Aws::SES
420
459
 
421
460
  DeleteConfigurationSetTrackingOptionsResponse.struct_class = Types::DeleteConfigurationSetTrackingOptionsResponse
422
461
 
462
+ DeleteCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "TemplateName"))
463
+ DeleteCustomVerificationEmailTemplateRequest.struct_class = Types::DeleteCustomVerificationEmailTemplateRequest
464
+
423
465
  DeleteIdentityPolicyRequest.add_member(:identity, Shapes::ShapeRef.new(shape: Identity, required: true, location_name: "Identity"))
424
466
  DeleteIdentityPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "PolicyName"))
425
467
  DeleteIdentityPolicyRequest.struct_class = Types::DeleteIdentityPolicyRequest
@@ -514,6 +556,17 @@ module Aws::SES
514
556
  GetAccountSendingEnabledResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
515
557
  GetAccountSendingEnabledResponse.struct_class = Types::GetAccountSendingEnabledResponse
516
558
 
559
+ GetCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "TemplateName"))
560
+ GetCustomVerificationEmailTemplateRequest.struct_class = Types::GetCustomVerificationEmailTemplateRequest
561
+
562
+ GetCustomVerificationEmailTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "TemplateName"))
563
+ GetCustomVerificationEmailTemplateResponse.add_member(:from_email_address, Shapes::ShapeRef.new(shape: FromAddress, location_name: "FromEmailAddress"))
564
+ GetCustomVerificationEmailTemplateResponse.add_member(:template_subject, Shapes::ShapeRef.new(shape: Subject, location_name: "TemplateSubject"))
565
+ GetCustomVerificationEmailTemplateResponse.add_member(:template_content, Shapes::ShapeRef.new(shape: TemplateContent, location_name: "TemplateContent"))
566
+ GetCustomVerificationEmailTemplateResponse.add_member(:success_redirection_url, Shapes::ShapeRef.new(shape: SuccessRedirectionURL, location_name: "SuccessRedirectionURL"))
567
+ GetCustomVerificationEmailTemplateResponse.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, location_name: "FailureRedirectionURL"))
568
+ GetCustomVerificationEmailTemplateResponse.struct_class = Types::GetCustomVerificationEmailTemplateResponse
569
+
517
570
  GetIdentityDkimAttributesRequest.add_member(:identities, Shapes::ShapeRef.new(shape: IdentityList, required: true, location_name: "Identities"))
518
571
  GetIdentityDkimAttributesRequest.struct_class = Types::GetIdentityDkimAttributesRequest
519
572
 
@@ -601,6 +654,14 @@ module Aws::SES
601
654
  ListConfigurationSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
602
655
  ListConfigurationSetsResponse.struct_class = Types::ListConfigurationSetsResponse
603
656
 
657
+ ListCustomVerificationEmailTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
658
+ ListCustomVerificationEmailTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
659
+ ListCustomVerificationEmailTemplatesRequest.struct_class = Types::ListCustomVerificationEmailTemplatesRequest
660
+
661
+ ListCustomVerificationEmailTemplatesResponse.add_member(:custom_verification_email_templates, Shapes::ShapeRef.new(shape: CustomVerificationEmailTemplates, location_name: "CustomVerificationEmailTemplates"))
662
+ ListCustomVerificationEmailTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
663
+ ListCustomVerificationEmailTemplatesResponse.struct_class = Types::ListCustomVerificationEmailTemplatesResponse
664
+
604
665
  ListIdentitiesRequest.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "IdentityType"))
605
666
  ListIdentitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
606
667
  ListIdentitiesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location_name: "MaxItems"))
@@ -776,6 +837,14 @@ module Aws::SES
776
837
  SendBulkTemplatedEmailResponse.add_member(:status, Shapes::ShapeRef.new(shape: BulkEmailDestinationStatusList, required: true, location_name: "Status"))
777
838
  SendBulkTemplatedEmailResponse.struct_class = Types::SendBulkTemplatedEmailResponse
778
839
 
840
+ SendCustomVerificationEmailRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "EmailAddress"))
841
+ SendCustomVerificationEmailRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "TemplateName"))
842
+ SendCustomVerificationEmailRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
843
+ SendCustomVerificationEmailRequest.struct_class = Types::SendCustomVerificationEmailRequest
844
+
845
+ SendCustomVerificationEmailResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
846
+ SendCustomVerificationEmailResponse.struct_class = Types::SendCustomVerificationEmailResponse
847
+
779
848
  SendDataPoint.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
780
849
  SendDataPoint.add_member(:delivery_attempts, Shapes::ShapeRef.new(shape: Counter, location_name: "DeliveryAttempts"))
781
850
  SendDataPoint.add_member(:bounces, Shapes::ShapeRef.new(shape: Counter, location_name: "Bounces"))
@@ -922,6 +991,14 @@ module Aws::SES
922
991
 
923
992
  UpdateConfigurationSetTrackingOptionsResponse.struct_class = Types::UpdateConfigurationSetTrackingOptionsResponse
924
993
 
994
+ UpdateCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "TemplateName"))
995
+ UpdateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: FromAddress, location_name: "FromEmailAddress"))
996
+ UpdateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: Subject, location_name: "TemplateSubject"))
997
+ UpdateCustomVerificationEmailTemplateRequest.add_member(:template_content, Shapes::ShapeRef.new(shape: TemplateContent, location_name: "TemplateContent"))
998
+ UpdateCustomVerificationEmailTemplateRequest.add_member(:success_redirection_url, Shapes::ShapeRef.new(shape: SuccessRedirectionURL, location_name: "SuccessRedirectionURL"))
999
+ UpdateCustomVerificationEmailTemplateRequest.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, location_name: "FailureRedirectionURL"))
1000
+ UpdateCustomVerificationEmailTemplateRequest.struct_class = Types::UpdateCustomVerificationEmailTemplateRequest
1001
+
925
1002
  UpdateReceiptRuleRequest.add_member(:rule_set_name, Shapes::ShapeRef.new(shape: ReceiptRuleSetName, required: true, location_name: "RuleSetName"))
926
1003
  UpdateReceiptRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: ReceiptRule, required: true, location_name: "Rule"))
927
1004
  UpdateReceiptRuleRequest.struct_class = Types::UpdateReceiptRuleRequest
@@ -1024,6 +1101,18 @@ module Aws::SES
1024
1101
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrackingOptionsException)
1025
1102
  end)
1026
1103
 
1104
+ api.add_operation(:create_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1105
+ o.name = "CreateCustomVerificationEmailTemplate"
1106
+ o.http_method = "POST"
1107
+ o.http_request_uri = "/"
1108
+ o.input = Shapes::ShapeRef.new(shape: CreateCustomVerificationEmailTemplateRequest)
1109
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1110
+ o.errors << Shapes::ShapeRef.new(shape: CustomVerificationEmailTemplateAlreadyExistsException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: FromEmailAddressNotVerifiedException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: CustomVerificationEmailInvalidContentException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1114
+ end)
1115
+
1027
1116
  api.add_operation(:create_receipt_filter, Seahorse::Model::Operation.new.tap do |o|
1028
1117
  o.name = "CreateReceiptFilter"
1029
1118
  o.http_method = "POST"
@@ -1099,6 +1188,14 @@ module Aws::SES
1099
1188
  o.errors << Shapes::ShapeRef.new(shape: TrackingOptionsDoesNotExistException)
1100
1189
  end)
1101
1190
 
1191
+ api.add_operation(:delete_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1192
+ o.name = "DeleteCustomVerificationEmailTemplate"
1193
+ o.http_method = "POST"
1194
+ o.http_request_uri = "/"
1195
+ o.input = Shapes::ShapeRef.new(shape: DeleteCustomVerificationEmailTemplateRequest)
1196
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1197
+ end)
1198
+
1102
1199
  api.add_operation(:delete_identity, Seahorse::Model::Operation.new.tap do |o|
1103
1200
  o.name = "DeleteIdentity"
1104
1201
  o.http_method = "POST"
@@ -1201,6 +1298,15 @@ module Aws::SES
1201
1298
  o.output = Shapes::ShapeRef.new(shape: GetAccountSendingEnabledResponse)
1202
1299
  end)
1203
1300
 
1301
+ api.add_operation(:get_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1302
+ o.name = "GetCustomVerificationEmailTemplate"
1303
+ o.http_method = "POST"
1304
+ o.http_request_uri = "/"
1305
+ o.input = Shapes::ShapeRef.new(shape: GetCustomVerificationEmailTemplateRequest)
1306
+ o.output = Shapes::ShapeRef.new(shape: GetCustomVerificationEmailTemplateResponse)
1307
+ o.errors << Shapes::ShapeRef.new(shape: CustomVerificationEmailTemplateDoesNotExistException)
1308
+ end)
1309
+
1204
1310
  api.add_operation(:get_identity_dkim_attributes, Seahorse::Model::Operation.new.tap do |o|
1205
1311
  o.name = "GetIdentityDkimAttributes"
1206
1312
  o.http_method = "POST"
@@ -1274,6 +1380,20 @@ module Aws::SES
1274
1380
  o.output = Shapes::ShapeRef.new(shape: ListConfigurationSetsResponse)
1275
1381
  end)
1276
1382
 
1383
+ api.add_operation(:list_custom_verification_email_templates, Seahorse::Model::Operation.new.tap do |o|
1384
+ o.name = "ListCustomVerificationEmailTemplates"
1385
+ o.http_method = "POST"
1386
+ o.http_request_uri = "/"
1387
+ o.input = Shapes::ShapeRef.new(shape: ListCustomVerificationEmailTemplatesRequest)
1388
+ o.output = Shapes::ShapeRef.new(shape: ListCustomVerificationEmailTemplatesResponse)
1389
+ o[:pager] = Aws::Pager.new(
1390
+ limit_key: "max_results",
1391
+ tokens: {
1392
+ "next_token" => "next_token"
1393
+ }
1394
+ )
1395
+ end)
1396
+
1277
1397
  api.add_operation(:list_identities, Seahorse::Model::Operation.new.tap do |o|
1278
1398
  o.name = "ListIdentities"
1279
1399
  o.http_method = "POST"
@@ -1370,6 +1490,19 @@ module Aws::SES
1370
1490
  o.errors << Shapes::ShapeRef.new(shape: AccountSendingPausedException)
1371
1491
  end)
1372
1492
 
1493
+ api.add_operation(:send_custom_verification_email, Seahorse::Model::Operation.new.tap do |o|
1494
+ o.name = "SendCustomVerificationEmail"
1495
+ o.http_method = "POST"
1496
+ o.http_request_uri = "/"
1497
+ o.input = Shapes::ShapeRef.new(shape: SendCustomVerificationEmailRequest)
1498
+ o.output = Shapes::ShapeRef.new(shape: SendCustomVerificationEmailResponse)
1499
+ o.errors << Shapes::ShapeRef.new(shape: MessageRejected)
1500
+ o.errors << Shapes::ShapeRef.new(shape: ConfigurationSetDoesNotExistException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: CustomVerificationEmailTemplateDoesNotExistException)
1502
+ o.errors << Shapes::ShapeRef.new(shape: FromEmailAddressNotVerifiedException)
1503
+ o.errors << Shapes::ShapeRef.new(shape: ProductionAccessNotGrantedException)
1504
+ end)
1505
+
1373
1506
  api.add_operation(:send_email, Seahorse::Model::Operation.new.tap do |o|
1374
1507
  o.name = "SendEmail"
1375
1508
  o.http_method = "POST"
@@ -1530,6 +1663,17 @@ module Aws::SES
1530
1663
  o.errors << Shapes::ShapeRef.new(shape: InvalidTrackingOptionsException)
1531
1664
  end)
1532
1665
 
1666
+ api.add_operation(:update_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1667
+ o.name = "UpdateCustomVerificationEmailTemplate"
1668
+ o.http_method = "POST"
1669
+ o.http_request_uri = "/"
1670
+ o.input = Shapes::ShapeRef.new(shape: UpdateCustomVerificationEmailTemplateRequest)
1671
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1672
+ o.errors << Shapes::ShapeRef.new(shape: CustomVerificationEmailTemplateDoesNotExistException)
1673
+ o.errors << Shapes::ShapeRef.new(shape: FromEmailAddressNotVerifiedException)
1674
+ o.errors << Shapes::ShapeRef.new(shape: CustomVerificationEmailInvalidContentException)
1675
+ end)
1676
+
1533
1677
  api.add_operation(:update_receipt_rule, Seahorse::Model::Operation.new.tap do |o|
1534
1678
  o.name = "UpdateReceiptRule"
1535
1679
  o.http_method = "POST"
@@ -250,15 +250,21 @@ module Aws::SES
250
250
  # Represents the destination of the message, consisting of To:, CC:,
251
251
  # and BCC: fields.
252
252
  #
253
- # By default, the string must be 7-bit ASCII. If the text must contain
254
- # any other characters, then you must use MIME encoded-word syntax
255
- # (RFC 2047) instead of a literal string. MIME encoded-word syntax
256
- # uses the following form: `=?charset?encoding?encoded-text?=`. For
257
- # more information, see [RFC 2047][1].
253
+ # <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
254
+ # [RFC6531][1]. For this reason, the *local part* of a destination
255
+ # email address (the part of the email address that precedes the @
256
+ # sign) may only contain [7-bit ASCII characters][2]. If the *domain
257
+ # part* of an address (the part after the @ sign) contains non-ASCII
258
+ # characters, they must be encoded using Punycode, as described in
259
+ # [RFC3492][3].
260
+ #
261
+ # </note>
258
262
  #
259
263
  #
260
264
  #
261
- # [1]: https://tools.ietf.org/html/rfc2047
265
+ # [1]: https://tools.ietf.org/html/rfc6531
266
+ # [2]: https://en.wikipedia.org/wiki/Email_address#Local-part
267
+ # [3]: https://tools.ietf.org/html/rfc3492.html
262
268
  # @return [Types::Destination]
263
269
  #
264
270
  # @!attribute [rw] replacement_tags
@@ -708,6 +714,66 @@ module Aws::SES
708
714
  #
709
715
  class CreateConfigurationSetTrackingOptionsResponse < Aws::EmptyStructure; end
710
716
 
717
+ # Represents a request to create a custom verification email template.
718
+ #
719
+ # @note When making an API call, you may pass CreateCustomVerificationEmailTemplateRequest
720
+ # data as a hash:
721
+ #
722
+ # {
723
+ # template_name: "TemplateName", # required
724
+ # from_email_address: "FromAddress", # required
725
+ # template_subject: "Subject", # required
726
+ # template_content: "TemplateContent", # required
727
+ # success_redirection_url: "SuccessRedirectionURL", # required
728
+ # failure_redirection_url: "FailureRedirectionURL", # required
729
+ # }
730
+ #
731
+ # @!attribute [rw] template_name
732
+ # The name of the custom verification email template.
733
+ # @return [String]
734
+ #
735
+ # @!attribute [rw] from_email_address
736
+ # The email address that the custom verification email is sent from.
737
+ # @return [String]
738
+ #
739
+ # @!attribute [rw] template_subject
740
+ # The subject line of the custom verification email.
741
+ # @return [String]
742
+ #
743
+ # @!attribute [rw] template_content
744
+ # The content of the custom verification email. The total size of the
745
+ # email must be less than 10 MB. The message body may contain HTML,
746
+ # with some limitations. For more information, see [Custom
747
+ # Verification Email Frequently Asked Questions][1] in the *Amazon SES
748
+ # Developer Guide*.
749
+ #
750
+ #
751
+ #
752
+ # [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq
753
+ # @return [String]
754
+ #
755
+ # @!attribute [rw] success_redirection_url
756
+ # The URL that the recipient of the verification email is sent to if
757
+ # his or her address is successfully verified.
758
+ # @return [String]
759
+ #
760
+ # @!attribute [rw] failure_redirection_url
761
+ # The URL that the recipient of the verification email is sent to if
762
+ # his or her address is not successfully verified.
763
+ # @return [String]
764
+ #
765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplateRequest AWS API Documentation
766
+ #
767
+ class CreateCustomVerificationEmailTemplateRequest < Struct.new(
768
+ :template_name,
769
+ :from_email_address,
770
+ :template_subject,
771
+ :template_content,
772
+ :success_redirection_url,
773
+ :failure_redirection_url)
774
+ include Aws::Structure
775
+ end
776
+
711
777
  # Represents a request to create a new IP address filter. You use IP
712
778
  # address filters when you receive email with Amazon SES. For more
713
779
  # information, see the [Amazon SES Developer Guide][1].
@@ -913,6 +979,41 @@ module Aws::SES
913
979
  #
914
980
  class CreateTemplateResponse < Aws::EmptyStructure; end
915
981
 
982
+ # Contains information about a custom verification email template.
983
+ #
984
+ # @!attribute [rw] template_name
985
+ # The name of the custom verification email template.
986
+ # @return [String]
987
+ #
988
+ # @!attribute [rw] from_email_address
989
+ # The email address that the custom verification email is sent from.
990
+ # @return [String]
991
+ #
992
+ # @!attribute [rw] template_subject
993
+ # The subject line of the custom verification email.
994
+ # @return [String]
995
+ #
996
+ # @!attribute [rw] success_redirection_url
997
+ # The URL that the recipient of the verification email is sent to if
998
+ # his or her address is successfully verified.
999
+ # @return [String]
1000
+ #
1001
+ # @!attribute [rw] failure_redirection_url
1002
+ # The URL that the recipient of the verification email is sent to if
1003
+ # his or her address is not successfully verified.
1004
+ # @return [String]
1005
+ #
1006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CustomVerificationEmailTemplate AWS API Documentation
1007
+ #
1008
+ class CustomVerificationEmailTemplate < Struct.new(
1009
+ :template_name,
1010
+ :from_email_address,
1011
+ :template_subject,
1012
+ :success_redirection_url,
1013
+ :failure_redirection_url)
1014
+ include Aws::Structure
1015
+ end
1016
+
916
1017
  # Represents a request to delete a configuration set event destination.
917
1018
  # Configuration set event destinations are associated with configuration
918
1019
  # sets, which enable you to publish email sending events. For
@@ -1014,6 +1115,28 @@ module Aws::SES
1014
1115
  #
1015
1116
  class DeleteConfigurationSetTrackingOptionsResponse < Aws::EmptyStructure; end
1016
1117
 
1118
+ # Represents a request to delete an existing custom verification email
1119
+ # template.
1120
+ #
1121
+ # @note When making an API call, you may pass DeleteCustomVerificationEmailTemplateRequest
1122
+ # data as a hash:
1123
+ #
1124
+ # {
1125
+ # template_name: "TemplateName", # required
1126
+ # }
1127
+ #
1128
+ # @!attribute [rw] template_name
1129
+ # The name of the custom verification email template that you want to
1130
+ # delete.
1131
+ # @return [String]
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplateRequest AWS API Documentation
1134
+ #
1135
+ class DeleteCustomVerificationEmailTemplateRequest < Struct.new(
1136
+ :template_name)
1137
+ include Aws::Structure
1138
+ end
1139
+
1017
1140
  # Represents a request to delete a sending authorization policy for an
1018
1141
  # identity. Sending authorization is an Amazon SES feature that enables
1019
1142
  # you to authorize other senders to use your identities. For
@@ -1443,15 +1566,20 @@ module Aws::SES
1443
1566
  # Represents the destination of the message, consisting of To:, CC:, and
1444
1567
  # BCC: fields.
1445
1568
  #
1446
- # By default, the string must be 7-bit ASCII. If the text must contain
1447
- # any other characters, then you must use MIME encoded-word syntax (RFC
1448
- # 2047) instead of a literal string. MIME encoded-word syntax uses the
1449
- # following form: `=?charset?encoding?encoded-text?=`. For more
1450
- # information, see [RFC 2047][1].
1569
+ # <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
1570
+ # [RFC6531][1]. For this reason, the *local part* of a destination email
1571
+ # address (the part of the email address that precedes the @ sign) may
1572
+ # only contain [7-bit ASCII characters][2]. If the *domain part* of an
1573
+ # address (the part after the @ sign) contains non-ASCII characters,
1574
+ # they must be encoded using Punycode, as described in [RFC3492][3].
1575
+ #
1576
+ # </note>
1451
1577
  #
1452
1578
  #
1453
1579
  #
1454
- # [1]: https://tools.ietf.org/html/rfc2047
1580
+ # [1]: https://tools.ietf.org/html/rfc6531
1581
+ # [2]: https://en.wikipedia.org/wiki/Email_address#Local-part
1582
+ # [3]: https://tools.ietf.org/html/rfc3492.html
1455
1583
  #
1456
1584
  # @note When making an API call, you may pass Destination
1457
1585
  # data as a hash:
@@ -1630,6 +1758,68 @@ module Aws::SES
1630
1758
  include Aws::Structure
1631
1759
  end
1632
1760
 
1761
+ # Represents a request to retrieve an existing custom verification email
1762
+ # template.
1763
+ #
1764
+ # @note When making an API call, you may pass GetCustomVerificationEmailTemplateRequest
1765
+ # data as a hash:
1766
+ #
1767
+ # {
1768
+ # template_name: "TemplateName", # required
1769
+ # }
1770
+ #
1771
+ # @!attribute [rw] template_name
1772
+ # The name of the custom verification email template that you want to
1773
+ # retrieve.
1774
+ # @return [String]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplateRequest AWS API Documentation
1777
+ #
1778
+ class GetCustomVerificationEmailTemplateRequest < Struct.new(
1779
+ :template_name)
1780
+ include Aws::Structure
1781
+ end
1782
+
1783
+ # The content of the custom verification email template.
1784
+ #
1785
+ # @!attribute [rw] template_name
1786
+ # The name of the custom verification email template.
1787
+ # @return [String]
1788
+ #
1789
+ # @!attribute [rw] from_email_address
1790
+ # The email address that the custom verification email is sent from.
1791
+ # @return [String]
1792
+ #
1793
+ # @!attribute [rw] template_subject
1794
+ # The subject line of the custom verification email.
1795
+ # @return [String]
1796
+ #
1797
+ # @!attribute [rw] template_content
1798
+ # The content of the custom verification email.
1799
+ # @return [String]
1800
+ #
1801
+ # @!attribute [rw] success_redirection_url
1802
+ # The URL that the recipient of the verification email is sent to if
1803
+ # his or her address is successfully verified.
1804
+ # @return [String]
1805
+ #
1806
+ # @!attribute [rw] failure_redirection_url
1807
+ # The URL that the recipient of the verification email is sent to if
1808
+ # his or her address is not successfully verified.
1809
+ # @return [String]
1810
+ #
1811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplateResponse AWS API Documentation
1812
+ #
1813
+ class GetCustomVerificationEmailTemplateResponse < Struct.new(
1814
+ :template_name,
1815
+ :from_email_address,
1816
+ :template_subject,
1817
+ :template_content,
1818
+ :success_redirection_url,
1819
+ :failure_redirection_url)
1820
+ include Aws::Structure
1821
+ end
1822
+
1633
1823
  # Represents a request for the status of Amazon SES Easy DKIM signing
1634
1824
  # for an identity. For domain identities, this request also returns the
1635
1825
  # DKIM tokens that are required for Easy DKIM signing, and whether
@@ -2270,6 +2460,68 @@ module Aws::SES
2270
2460
  include Aws::Structure
2271
2461
  end
2272
2462
 
2463
+ # Represents a request to list the existing custom verification email
2464
+ # templates for your account.
2465
+ #
2466
+ # For more information about custom verification email templates, see
2467
+ # [Using Custom Verification Email Templates][1] in the *Amazon SES
2468
+ # Developer Guide*.
2469
+ #
2470
+ #
2471
+ #
2472
+ # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html
2473
+ #
2474
+ # @note When making an API call, you may pass ListCustomVerificationEmailTemplatesRequest
2475
+ # data as a hash:
2476
+ #
2477
+ # {
2478
+ # next_token: "NextToken",
2479
+ # max_results: 1,
2480
+ # }
2481
+ #
2482
+ # @!attribute [rw] next_token
2483
+ # A token returned from a previous call to
2484
+ # `ListCustomVerificationEmailTemplates` to indicate the position in
2485
+ # the list of email templates.
2486
+ # @return [String]
2487
+ #
2488
+ # @!attribute [rw] max_results
2489
+ # The maximum number of custom verification email templates to return.
2490
+ # This value must be at least 1 and less than or equal to 50. If you
2491
+ # do not specify a value, or if you specify a value less than 1 or
2492
+ # greater than 50, the operation will return up to 50 results.
2493
+ # @return [Integer]
2494
+ #
2495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplatesRequest AWS API Documentation
2496
+ #
2497
+ class ListCustomVerificationEmailTemplatesRequest < Struct.new(
2498
+ :next_token,
2499
+ :max_results)
2500
+ include Aws::Structure
2501
+ end
2502
+
2503
+ # A paginated list of custom verification email templates.
2504
+ #
2505
+ # @!attribute [rw] custom_verification_email_templates
2506
+ # A list of the custom verification email templates that exist in your
2507
+ # account.
2508
+ # @return [Array<Types::CustomVerificationEmailTemplate>]
2509
+ #
2510
+ # @!attribute [rw] next_token
2511
+ # A token indicating that there are additional custom verification
2512
+ # email templates available to be listed. Pass this token to a
2513
+ # subsequent call to `ListCustomVerificationEmailTemplates` to
2514
+ # retrieve the next 50 custom verification email templates.
2515
+ # @return [String]
2516
+ #
2517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplatesResponse AWS API Documentation
2518
+ #
2519
+ class ListCustomVerificationEmailTemplatesResponse < Struct.new(
2520
+ :custom_verification_email_templates,
2521
+ :next_token)
2522
+ include Aws::Structure
2523
+ end
2524
+
2273
2525
  # Represents a request to return a list of all identities (email
2274
2526
  # addresses and domains) that you have attempted to verify under your
2275
2527
  # AWS account, regardless of verification status.
@@ -3386,8 +3638,7 @@ module Aws::SES
3386
3638
  # access to use your AWS KMS keys for decryption. This encryption
3387
3639
  # client is currently available with the [AWS Java SDK][3] and [AWS
3388
3640
  # Ruby SDK][4] only. For more information about client-side encryption
3389
- # using AWS KMS master keys, see the [Amazon S3 Developer
3390
- # Guide](AmazonS3/latest/dev/UsingClientSideEncryption.html).
3641
+ # using AWS KMS master keys, see the [Amazon S3 Developer Guide][5].
3391
3642
  #
3392
3643
  #
3393
3644
  #
@@ -3395,6 +3646,7 @@ module Aws::SES
3395
3646
  # [2]: http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html
3396
3647
  # [3]: http://aws.amazon.com/sdk-for-java/
3397
3648
  # [4]: http://aws.amazon.com/sdk-for-ruby/
3649
+ # [5]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
3398
3650
  # @return [String]
3399
3651
  #
3400
3652
  # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/S3Action AWS API Documentation
@@ -3668,18 +3920,28 @@ module Aws::SES
3668
3920
  # specify the `SourceArn` parameter. For more information about
3669
3921
  # sending authorization, see the [Amazon SES Developer Guide][2].
3670
3922
  #
3671
- # In all cases, the email address must be 7-bit ASCII. If the text
3672
- # must contain any other characters, then you must use MIME
3673
- # encoded-word syntax (RFC 2047) instead of a literal string. MIME
3923
+ # <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
3924
+ # [RFC6531][3]. For this reason, the *local part* of a source email
3925
+ # address (the part of the email address that precedes the @ sign) may
3926
+ # only contain [7-bit ASCII characters][4]. If the *domain part* of an
3927
+ # address (the part after the @ sign) contains non-ASCII characters,
3928
+ # they must be encoded using Punycode, as described in [RFC3492][5].
3929
+ # The sender name (also known as the *friendly name*) may contain
3930
+ # non-ASCII characters. These characters must be encoded using MIME
3931
+ # encoded-word syntax, as described in [RFC 2047][6]. MIME
3674
3932
  # encoded-word syntax uses the following form:
3675
- # `=?charset?encoding?encoded-text?=`. For more information, see [RFC
3676
- # 2047][3].
3933
+ # `=?charset?encoding?encoded-text?=`.
3934
+ #
3935
+ # </note>
3677
3936
  #
3678
3937
  #
3679
3938
  #
3680
3939
  # [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
3681
3940
  # [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
3682
- # [3]: https://tools.ietf.org/html/rfc2047
3941
+ # [3]: https://tools.ietf.org/html/rfc6531
3942
+ # [4]: https://en.wikipedia.org/wiki/Email_address#Local-part
3943
+ # [5]: https://tools.ietf.org/html/rfc3492.html
3944
+ # [6]: https://tools.ietf.org/html/rfc2047
3683
3945
  # @return [String]
3684
3946
  #
3685
3947
  # @!attribute [rw] source_arn
@@ -3806,6 +4068,56 @@ module Aws::SES
3806
4068
  include Aws::Structure
3807
4069
  end
3808
4070
 
4071
+ # Represents a request to send a custom verification email to a
4072
+ # specified recipient.
4073
+ #
4074
+ # @note When making an API call, you may pass SendCustomVerificationEmailRequest
4075
+ # data as a hash:
4076
+ #
4077
+ # {
4078
+ # email_address: "Address", # required
4079
+ # template_name: "TemplateName", # required
4080
+ # configuration_set_name: "ConfigurationSetName",
4081
+ # }
4082
+ #
4083
+ # @!attribute [rw] email_address
4084
+ # The email address to verify.
4085
+ # @return [String]
4086
+ #
4087
+ # @!attribute [rw] template_name
4088
+ # The name of the custom verification email template to use when
4089
+ # sending the verification email.
4090
+ # @return [String]
4091
+ #
4092
+ # @!attribute [rw] configuration_set_name
4093
+ # Name of a configuration set to use when sending the verification
4094
+ # email.
4095
+ # @return [String]
4096
+ #
4097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmailRequest AWS API Documentation
4098
+ #
4099
+ class SendCustomVerificationEmailRequest < Struct.new(
4100
+ :email_address,
4101
+ :template_name,
4102
+ :configuration_set_name)
4103
+ include Aws::Structure
4104
+ end
4105
+
4106
+ # The response received when attempting to send the custom verification
4107
+ # email.
4108
+ #
4109
+ # @!attribute [rw] message_id
4110
+ # The unique message identifier returned from the
4111
+ # `SendCustomVerificationEmail` operation.
4112
+ # @return [String]
4113
+ #
4114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmailResponse AWS API Documentation
4115
+ #
4116
+ class SendCustomVerificationEmailResponse < Struct.new(
4117
+ :message_id)
4118
+ include Aws::Structure
4119
+ end
4120
+
3809
4121
  # Represents sending statistics data. Each `SendDataPoint` contains
3810
4122
  # statistics for a 15-minute period of sending activity.
3811
4123
  #
@@ -3897,18 +4209,28 @@ module Aws::SES
3897
4209
  # specify the `SourceArn` parameter. For more information about
3898
4210
  # sending authorization, see the [Amazon SES Developer Guide][2].
3899
4211
  #
3900
- # In all cases, the email address must be 7-bit ASCII. If the text
3901
- # must contain any other characters, then you must use MIME
3902
- # encoded-word syntax (RFC 2047) instead of a literal string. MIME
4212
+ # <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
4213
+ # [RFC6531][3]. For this reason, the *local part* of a source email
4214
+ # address (the part of the email address that precedes the @ sign) may
4215
+ # only contain [7-bit ASCII characters][4]. If the *domain part* of an
4216
+ # address (the part after the @ sign) contains non-ASCII characters,
4217
+ # they must be encoded using Punycode, as described in [RFC3492][5].
4218
+ # The sender name (also known as the *friendly name*) may contain
4219
+ # non-ASCII characters. These characters must be encoded using MIME
4220
+ # encoded-word syntax, as described in [RFC 2047][6]. MIME
3903
4221
  # encoded-word syntax uses the following form:
3904
- # `=?charset?encoding?encoded-text?=`. For more information, see [RFC
3905
- # 2047][3].
4222
+ # `=?charset?encoding?encoded-text?=`.
4223
+ #
4224
+ # </note>
3906
4225
  #
3907
4226
  #
3908
4227
  #
3909
4228
  # [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
3910
4229
  # [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
3911
- # [3]: https://tools.ietf.org/html/rfc2047
4230
+ # [3]: https://tools.ietf.org/html/rfc6531
4231
+ # [4]: https://en.wikipedia.org/wiki/Email_address#Local-part
4232
+ # [5]: https://tools.ietf.org/html/rfc3492.html
4233
+ # [6]: https://tools.ietf.org/html/rfc2047
3912
4234
  # @return [String]
3913
4235
  #
3914
4236
  # @!attribute [rw] destination
@@ -4052,22 +4374,31 @@ module Aws::SES
4052
4374
  # this parameter, you must specify a "From" address in the raw text
4053
4375
  # of the message. (You can also specify both.)
4054
4376
  #
4055
- # By default, the string must be 7-bit ASCII. If the text must contain
4056
- # any other characters, then you must use MIME encoded-word syntax
4057
- # (RFC 2047) instead of a literal string. MIME encoded-word syntax
4058
- # uses the following form: `=?charset?encoding?encoded-text?=`. For
4059
- # more information, see [RFC 2047][1].
4377
+ # <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described
4378
+ # in[RFC6531][1]. For this reason, the *local part* of a source email
4379
+ # address (the part of the email address that precedes the @ sign) may
4380
+ # only contain [7-bit ASCII characters][2]. If the *domain part* of an
4381
+ # address (the part after the @ sign) contains non-ASCII characters,
4382
+ # they must be encoded using Punycode, as described in [RFC3492][3].
4383
+ # The sender name (also known as the *friendly name*) may contain
4384
+ # non-ASCII characters. These characters must be encoded using MIME
4385
+ # encoded-word syntax, as described in [RFC 2047][4]. MIME
4386
+ # encoded-word syntax uses the following form:
4387
+ # `=?charset?encoding?encoded-text?=`.
4060
4388
  #
4061
- # <note markdown="1"> If you specify the `Source` parameter and have feedback forwarding
4389
+ # </note>
4390
+ #
4391
+ # If you specify the `Source` parameter and have feedback forwarding
4062
4392
  # enabled, then bounces and complaints will be sent to this email
4063
4393
  # address. This takes precedence over any Return-Path header that you
4064
4394
  # might include in the raw text of the message.
4065
4395
  #
4066
- # </note>
4067
- #
4068
4396
  #
4069
4397
  #
4070
- # [1]: https://tools.ietf.org/html/rfc2047
4398
+ # [1]: https://tools.ietf.org/html/rfc6531
4399
+ # [2]: https://en.wikipedia.org/wiki/Email_address#Local-part
4400
+ # [3]: https://tools.ietf.org/html/rfc3492.html
4401
+ # [4]: https://tools.ietf.org/html/rfc2047
4071
4402
  # @return [String]
4072
4403
  #
4073
4404
  # @!attribute [rw] destinations
@@ -4264,18 +4595,27 @@ module Aws::SES
4264
4595
  # specify the `SourceArn` parameter. For more information about
4265
4596
  # sending authorization, see the [Amazon SES Developer Guide][2].
4266
4597
  #
4267
- # In all cases, the email address must be 7-bit ASCII. If the text
4268
- # must contain any other characters, then you must use MIME
4269
- # encoded-word syntax (RFC 2047) instead of a literal string. MIME
4270
- # encoded-word syntax uses the following form:
4271
- # `=?charset?encoding?encoded-text?=`. For more information, see [RFC
4272
- # 2047][3].
4598
+ # <note markdown="1"> Amazon SES does not support the SMTPUTF8 extension, as described in
4599
+ # [RFC6531][3]. For this reason, the *local part* of a source email
4600
+ # address (the part of the email address that precedes the @ sign) may
4601
+ # only contain [7-bit ASCII characters][4]. If the *domain part* of an
4602
+ # address (the part after the @ sign) contains non-ASCII characters,
4603
+ # they must be encoded using Punycode, as described in [RFC3492][5].
4604
+ # The sender name (also known as the *friendly name*) may contain
4605
+ # non-ASCII characters. These characters must be encoded using MIME
4606
+ # encoded-word syntax, as described in[RFC 2047][6]. MIME encoded-word
4607
+ # syntax uses the following form: `=?charset?encoding?encoded-text?=`.
4608
+ #
4609
+ # </note>
4273
4610
  #
4274
4611
  #
4275
4612
  #
4276
4613
  # [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
4277
4614
  # [2]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html
4278
- # [3]: https://tools.ietf.org/html/rfc2047
4615
+ # [3]: https://tools.ietf.org/html/rfc6531
4616
+ # [4]: https://en.wikipedia.org/wiki/Email_address#Local-part
4617
+ # [5]: https://tools.ietf.org/html/rfc3492.html
4618
+ # [6]: https://tools.ietf.org/html/rfc2047
4279
4619
  # @return [String]
4280
4620
  #
4281
4621
  # @!attribute [rw] destination
@@ -5094,6 +5434,68 @@ module Aws::SES
5094
5434
  #
5095
5435
  class UpdateConfigurationSetTrackingOptionsResponse < Aws::EmptyStructure; end
5096
5436
 
5437
+ # Represents a request to update an existing custom verification email
5438
+ # template.
5439
+ #
5440
+ # @note When making an API call, you may pass UpdateCustomVerificationEmailTemplateRequest
5441
+ # data as a hash:
5442
+ #
5443
+ # {
5444
+ # template_name: "TemplateName", # required
5445
+ # from_email_address: "FromAddress",
5446
+ # template_subject: "Subject",
5447
+ # template_content: "TemplateContent",
5448
+ # success_redirection_url: "SuccessRedirectionURL",
5449
+ # failure_redirection_url: "FailureRedirectionURL",
5450
+ # }
5451
+ #
5452
+ # @!attribute [rw] template_name
5453
+ # The name of the custom verification email template that you want to
5454
+ # update.
5455
+ # @return [String]
5456
+ #
5457
+ # @!attribute [rw] from_email_address
5458
+ # The email address that the custom verification email is sent from.
5459
+ # @return [String]
5460
+ #
5461
+ # @!attribute [rw] template_subject
5462
+ # The subject line of the custom verification email.
5463
+ # @return [String]
5464
+ #
5465
+ # @!attribute [rw] template_content
5466
+ # The content of the custom verification email. The total size of the
5467
+ # email must be less than 10 MB. The message body may contain HTML,
5468
+ # with some limitations. For more information, see [Custom
5469
+ # Verification Email Frequently Asked Questions][1] in the *Amazon SES
5470
+ # Developer Guide*.
5471
+ #
5472
+ #
5473
+ #
5474
+ # [1]: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq
5475
+ # @return [String]
5476
+ #
5477
+ # @!attribute [rw] success_redirection_url
5478
+ # The URL that the recipient of the verification email is sent to if
5479
+ # his or her address is successfully verified.
5480
+ # @return [String]
5481
+ #
5482
+ # @!attribute [rw] failure_redirection_url
5483
+ # The URL that the recipient of the verification email is sent to if
5484
+ # his or her address is not successfully verified.
5485
+ # @return [String]
5486
+ #
5487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplateRequest AWS API Documentation
5488
+ #
5489
+ class UpdateCustomVerificationEmailTemplateRequest < Struct.new(
5490
+ :template_name,
5491
+ :from_email_address,
5492
+ :template_subject,
5493
+ :template_content,
5494
+ :success_redirection_url,
5495
+ :failure_redirection_url)
5496
+ include Aws::Structure
5497
+ end
5498
+
5097
5499
  # Represents a request to update a receipt rule. You use receipt rules
5098
5500
  # to receive email with Amazon SES. For more information, see the
5099
5501
  # [Amazon SES Developer Guide][1].