aws-sdk-sesv2 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,7 @@ module Aws::SESV2
19
19
  AdditionalContactEmailAddresses = Shapes::ListShape.new(name: 'AdditionalContactEmailAddresses')
20
20
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
21
21
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
22
+ AttributesData = Shapes::StringShape.new(name: 'AttributesData')
22
23
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
23
24
  BehaviorOnMxFailure = Shapes::StringShape.new(name: 'BehaviorOnMxFailure')
24
25
  BlacklistEntries = Shapes::ListShape.new(name: 'BlacklistEntries')
@@ -44,12 +45,21 @@ module Aws::SESV2
44
45
  ConfigurationSetName = Shapes::StringShape.new(name: 'ConfigurationSetName')
45
46
  ConfigurationSetNameList = Shapes::ListShape.new(name: 'ConfigurationSetNameList')
46
47
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
48
+ Contact = Shapes::StructureShape.new(name: 'Contact')
47
49
  ContactLanguage = Shapes::StringShape.new(name: 'ContactLanguage')
50
+ ContactList = Shapes::StructureShape.new(name: 'ContactList')
51
+ ContactListDestination = Shapes::StructureShape.new(name: 'ContactListDestination')
52
+ ContactListImportAction = Shapes::StringShape.new(name: 'ContactListImportAction')
53
+ ContactListName = Shapes::StringShape.new(name: 'ContactListName')
48
54
  Content = Shapes::StructureShape.new(name: 'Content')
49
55
  CreateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetEventDestinationRequest')
50
56
  CreateConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationSetEventDestinationResponse')
51
57
  CreateConfigurationSetRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetRequest')
52
58
  CreateConfigurationSetResponse = Shapes::StructureShape.new(name: 'CreateConfigurationSetResponse')
59
+ CreateContactListRequest = Shapes::StructureShape.new(name: 'CreateContactListRequest')
60
+ CreateContactListResponse = Shapes::StructureShape.new(name: 'CreateContactListResponse')
61
+ CreateContactRequest = Shapes::StructureShape.new(name: 'CreateContactRequest')
62
+ CreateContactResponse = Shapes::StructureShape.new(name: 'CreateContactResponse')
53
63
  CreateCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'CreateCustomVerificationEmailTemplateRequest')
54
64
  CreateCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'CreateCustomVerificationEmailTemplateResponse')
55
65
  CreateDedicatedIpPoolRequest = Shapes::StructureShape.new(name: 'CreateDedicatedIpPoolRequest')
@@ -77,6 +87,10 @@ module Aws::SESV2
77
87
  DeleteConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationResponse')
78
88
  DeleteConfigurationSetRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetRequest')
79
89
  DeleteConfigurationSetResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetResponse')
90
+ DeleteContactListRequest = Shapes::StructureShape.new(name: 'DeleteContactListRequest')
91
+ DeleteContactListResponse = Shapes::StructureShape.new(name: 'DeleteContactListResponse')
92
+ DeleteContactRequest = Shapes::StructureShape.new(name: 'DeleteContactRequest')
93
+ DeleteContactResponse = Shapes::StructureShape.new(name: 'DeleteContactResponse')
80
94
  DeleteCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'DeleteCustomVerificationEmailTemplateRequest')
81
95
  DeleteCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'DeleteCustomVerificationEmailTemplateResponse')
82
96
  DeleteDedicatedIpPoolRequest = Shapes::StructureShape.new(name: 'DeleteDedicatedIpPoolRequest')
@@ -95,9 +109,11 @@ module Aws::SESV2
95
109
  DeliverabilityTestStatus = Shapes::StringShape.new(name: 'DeliverabilityTestStatus')
96
110
  DeliverabilityTestSubject = Shapes::StringShape.new(name: 'DeliverabilityTestSubject')
97
111
  DeliveryOptions = Shapes::StructureShape.new(name: 'DeliveryOptions')
112
+ Description = Shapes::StringShape.new(name: 'Description')
98
113
  Destination = Shapes::StructureShape.new(name: 'Destination')
99
114
  DimensionName = Shapes::StringShape.new(name: 'DimensionName')
100
115
  DimensionValueSource = Shapes::StringShape.new(name: 'DimensionValueSource')
116
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
101
117
  DkimAttributes = Shapes::StructureShape.new(name: 'DkimAttributes')
102
118
  DkimSigningAttributes = Shapes::StructureShape.new(name: 'DkimSigningAttributes')
103
119
  DkimSigningAttributesOrigin = Shapes::StringShape.new(name: 'DkimSigningAttributesOrigin')
@@ -147,6 +163,10 @@ module Aws::SESV2
147
163
  GetConfigurationSetEventDestinationsResponse = Shapes::StructureShape.new(name: 'GetConfigurationSetEventDestinationsResponse')
148
164
  GetConfigurationSetRequest = Shapes::StructureShape.new(name: 'GetConfigurationSetRequest')
149
165
  GetConfigurationSetResponse = Shapes::StructureShape.new(name: 'GetConfigurationSetResponse')
166
+ GetContactListRequest = Shapes::StructureShape.new(name: 'GetContactListRequest')
167
+ GetContactListResponse = Shapes::StructureShape.new(name: 'GetContactListResponse')
168
+ GetContactRequest = Shapes::StructureShape.new(name: 'GetContactRequest')
169
+ GetContactResponse = Shapes::StructureShape.new(name: 'GetContactResponse')
150
170
  GetCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateRequest')
151
171
  GetCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateResponse')
152
172
  GetDedicatedIpRequest = Shapes::StructureShape.new(name: 'GetDedicatedIpRequest')
@@ -196,6 +216,11 @@ module Aws::SESV2
196
216
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
197
217
  ListConfigurationSetsRequest = Shapes::StructureShape.new(name: 'ListConfigurationSetsRequest')
198
218
  ListConfigurationSetsResponse = Shapes::StructureShape.new(name: 'ListConfigurationSetsResponse')
219
+ ListContactListsRequest = Shapes::StructureShape.new(name: 'ListContactListsRequest')
220
+ ListContactListsResponse = Shapes::StructureShape.new(name: 'ListContactListsResponse')
221
+ ListContactsFilter = Shapes::StructureShape.new(name: 'ListContactsFilter')
222
+ ListContactsRequest = Shapes::StructureShape.new(name: 'ListContactsRequest')
223
+ ListContactsResponse = Shapes::StructureShape.new(name: 'ListContactsResponse')
199
224
  ListCustomVerificationEmailTemplatesRequest = Shapes::StructureShape.new(name: 'ListCustomVerificationEmailTemplatesRequest')
200
225
  ListCustomVerificationEmailTemplatesResponse = Shapes::StructureShape.new(name: 'ListCustomVerificationEmailTemplatesResponse')
201
226
  ListDedicatedIpPoolsRequest = Shapes::StructureShape.new(name: 'ListDedicatedIpPoolsRequest')
@@ -210,6 +235,9 @@ module Aws::SESV2
210
235
  ListEmailTemplatesResponse = Shapes::StructureShape.new(name: 'ListEmailTemplatesResponse')
211
236
  ListImportJobsRequest = Shapes::StructureShape.new(name: 'ListImportJobsRequest')
212
237
  ListImportJobsResponse = Shapes::StructureShape.new(name: 'ListImportJobsResponse')
238
+ ListManagementOptions = Shapes::StructureShape.new(name: 'ListManagementOptions')
239
+ ListOfContactLists = Shapes::ListShape.new(name: 'ListOfContactLists')
240
+ ListOfContacts = Shapes::ListShape.new(name: 'ListOfContacts')
213
241
  ListOfDedicatedIpPools = Shapes::ListShape.new(name: 'ListOfDedicatedIpPools')
214
242
  ListSuppressedDestinationsRequest = Shapes::StructureShape.new(name: 'ListSuppressedDestinationsRequest')
215
243
  ListSuppressedDestinationsResponse = Shapes::StructureShape.new(name: 'ListSuppressedDestinationsResponse')
@@ -305,6 +333,7 @@ module Aws::SESV2
305
333
  SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
306
334
  SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
307
335
  Subject = Shapes::StringShape.new(name: 'Subject')
336
+ SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
308
337
  SuccessRedirectionURL = Shapes::StringShape.new(name: 'SuccessRedirectionURL')
309
338
  SuppressedDestination = Shapes::StructureShape.new(name: 'SuppressedDestination')
310
339
  SuppressedDestinationAttributes = Shapes::StructureShape.new(name: 'SuppressedDestinationAttributes')
@@ -330,11 +359,22 @@ module Aws::SESV2
330
359
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
331
360
  TlsPolicy = Shapes::StringShape.new(name: 'TlsPolicy')
332
361
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
362
+ Topic = Shapes::StructureShape.new(name: 'Topic')
363
+ TopicFilter = Shapes::StructureShape.new(name: 'TopicFilter')
364
+ TopicName = Shapes::StringShape.new(name: 'TopicName')
365
+ TopicPreference = Shapes::StructureShape.new(name: 'TopicPreference')
366
+ TopicPreferenceList = Shapes::ListShape.new(name: 'TopicPreferenceList')
367
+ Topics = Shapes::ListShape.new(name: 'Topics')
333
368
  TrackingOptions = Shapes::StructureShape.new(name: 'TrackingOptions')
369
+ UnsubscribeAll = Shapes::BooleanShape.new(name: 'UnsubscribeAll')
334
370
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
335
371
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
336
372
  UpdateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationRequest')
337
373
  UpdateConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationResponse')
374
+ UpdateContactListRequest = Shapes::StructureShape.new(name: 'UpdateContactListRequest')
375
+ UpdateContactListResponse = Shapes::StructureShape.new(name: 'UpdateContactListResponse')
376
+ UpdateContactRequest = Shapes::StructureShape.new(name: 'UpdateContactRequest')
377
+ UpdateContactResponse = Shapes::StructureShape.new(name: 'UpdateContactResponse')
338
378
  UpdateCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'UpdateCustomVerificationEmailTemplateRequest')
339
379
  UpdateCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'UpdateCustomVerificationEmailTemplateResponse')
340
380
  UpdateEmailIdentityPolicyRequest = Shapes::StructureShape.new(name: 'UpdateEmailIdentityPolicyRequest')
@@ -342,6 +382,7 @@ module Aws::SESV2
342
382
  UpdateEmailTemplateRequest = Shapes::StructureShape.new(name: 'UpdateEmailTemplateRequest')
343
383
  UpdateEmailTemplateResponse = Shapes::StructureShape.new(name: 'UpdateEmailTemplateResponse')
344
384
  UseCaseDescription = Shapes::StringShape.new(name: 'UseCaseDescription')
385
+ UseDefaultIfPreferenceUnavailable = Shapes::BooleanShape.new(name: 'UseDefaultIfPreferenceUnavailable')
345
386
  Volume = Shapes::IntegerShape.new(name: 'Volume')
346
387
  VolumeStatistics = Shapes::StructureShape.new(name: 'VolumeStatistics')
347
388
  WarmupStatus = Shapes::StringShape.new(name: 'WarmupStatus')
@@ -412,6 +453,21 @@ module Aws::SESV2
412
453
 
413
454
  ConflictException.struct_class = Types::ConflictException
414
455
 
456
+ Contact.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
457
+ Contact.add_member(:topic_preferences, Shapes::ShapeRef.new(shape: TopicPreferenceList, location_name: "TopicPreferences"))
458
+ Contact.add_member(:topic_default_preferences, Shapes::ShapeRef.new(shape: TopicPreferenceList, location_name: "TopicDefaultPreferences"))
459
+ Contact.add_member(:unsubscribe_all, Shapes::ShapeRef.new(shape: UnsubscribeAll, location_name: "UnsubscribeAll"))
460
+ Contact.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
461
+ Contact.struct_class = Types::Contact
462
+
463
+ ContactList.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, location_name: "ContactListName"))
464
+ ContactList.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
465
+ ContactList.struct_class = Types::ContactList
466
+
467
+ ContactListDestination.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location_name: "ContactListName"))
468
+ ContactListDestination.add_member(:contact_list_import_action, Shapes::ShapeRef.new(shape: ContactListImportAction, required: true, location_name: "ContactListImportAction"))
469
+ ContactListDestination.struct_class = Types::ContactListDestination
470
+
415
471
  Content.add_member(:data, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "Data"))
416
472
  Content.add_member(:charset, Shapes::ShapeRef.new(shape: Charset, location_name: "Charset"))
417
473
  Content.struct_class = Types::Content
@@ -434,6 +490,23 @@ module Aws::SESV2
434
490
 
435
491
  CreateConfigurationSetResponse.struct_class = Types::CreateConfigurationSetResponse
436
492
 
493
+ CreateContactListRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location_name: "ContactListName"))
494
+ CreateContactListRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
495
+ CreateContactListRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
496
+ CreateContactListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
497
+ CreateContactListRequest.struct_class = Types::CreateContactListRequest
498
+
499
+ CreateContactListResponse.struct_class = Types::CreateContactListResponse
500
+
501
+ CreateContactRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
502
+ CreateContactRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
503
+ CreateContactRequest.add_member(:topic_preferences, Shapes::ShapeRef.new(shape: TopicPreferenceList, location_name: "TopicPreferences"))
504
+ CreateContactRequest.add_member(:unsubscribe_all, Shapes::ShapeRef.new(shape: UnsubscribeAll, location_name: "UnsubscribeAll"))
505
+ CreateContactRequest.add_member(:attributes_data, Shapes::ShapeRef.new(shape: AttributesData, location_name: "AttributesData"))
506
+ CreateContactRequest.struct_class = Types::CreateContactRequest
507
+
508
+ CreateContactResponse.struct_class = Types::CreateContactResponse
509
+
437
510
  CreateCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location_name: "TemplateName"))
438
511
  CreateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "FromEmailAddress"))
439
512
  CreateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, required: true, location_name: "TemplateSubject"))
@@ -525,6 +598,17 @@ module Aws::SESV2
525
598
 
526
599
  DeleteConfigurationSetResponse.struct_class = Types::DeleteConfigurationSetResponse
527
600
 
601
+ DeleteContactListRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
602
+ DeleteContactListRequest.struct_class = Types::DeleteContactListRequest
603
+
604
+ DeleteContactListResponse.struct_class = Types::DeleteContactListResponse
605
+
606
+ DeleteContactRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
607
+ DeleteContactRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
608
+ DeleteContactRequest.struct_class = Types::DeleteContactRequest
609
+
610
+ DeleteContactResponse.struct_class = Types::DeleteContactResponse
611
+
528
612
  DeleteCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
529
613
  DeleteCustomVerificationEmailTemplateRequest.struct_class = Types::DeleteCustomVerificationEmailTemplateRequest
530
614
 
@@ -701,6 +785,31 @@ module Aws::SESV2
701
785
  GetConfigurationSetResponse.add_member(:suppression_options, Shapes::ShapeRef.new(shape: SuppressionOptions, location_name: "SuppressionOptions"))
702
786
  GetConfigurationSetResponse.struct_class = Types::GetConfigurationSetResponse
703
787
 
788
+ GetContactListRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
789
+ GetContactListRequest.struct_class = Types::GetContactListRequest
790
+
791
+ GetContactListResponse.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, location_name: "ContactListName"))
792
+ GetContactListResponse.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
793
+ GetContactListResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
794
+ GetContactListResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
795
+ GetContactListResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
796
+ GetContactListResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
797
+ GetContactListResponse.struct_class = Types::GetContactListResponse
798
+
799
+ GetContactRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
800
+ GetContactRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
801
+ GetContactRequest.struct_class = Types::GetContactRequest
802
+
803
+ GetContactResponse.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, location_name: "ContactListName"))
804
+ GetContactResponse.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
805
+ GetContactResponse.add_member(:topic_preferences, Shapes::ShapeRef.new(shape: TopicPreferenceList, location_name: "TopicPreferences"))
806
+ GetContactResponse.add_member(:topic_default_preferences, Shapes::ShapeRef.new(shape: TopicPreferenceList, location_name: "TopicDefaultPreferences"))
807
+ GetContactResponse.add_member(:unsubscribe_all, Shapes::ShapeRef.new(shape: UnsubscribeAll, location_name: "UnsubscribeAll"))
808
+ GetContactResponse.add_member(:attributes_data, Shapes::ShapeRef.new(shape: AttributesData, location_name: "AttributesData"))
809
+ GetContactResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
810
+ GetContactResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
811
+ GetContactResponse.struct_class = Types::GetContactResponse
812
+
704
813
  GetCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
705
814
  GetCustomVerificationEmailTemplateRequest.struct_class = Types::GetCustomVerificationEmailTemplateRequest
706
815
 
@@ -817,7 +926,8 @@ module Aws::SESV2
817
926
  ImportDataSource.add_member(:data_format, Shapes::ShapeRef.new(shape: DataFormat, required: true, location_name: "DataFormat"))
818
927
  ImportDataSource.struct_class = Types::ImportDataSource
819
928
 
820
- ImportDestination.add_member(:suppression_list_destination, Shapes::ShapeRef.new(shape: SuppressionListDestination, required: true, location_name: "SuppressionListDestination"))
929
+ ImportDestination.add_member(:suppression_list_destination, Shapes::ShapeRef.new(shape: SuppressionListDestination, location_name: "SuppressionListDestination"))
930
+ ImportDestination.add_member(:contact_list_destination, Shapes::ShapeRef.new(shape: ContactListDestination, location_name: "ContactListDestination"))
821
931
  ImportDestination.struct_class = Types::ImportDestination
822
932
 
823
933
  ImportJobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -858,6 +968,28 @@ module Aws::SESV2
858
968
  ListConfigurationSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
859
969
  ListConfigurationSetsResponse.struct_class = Types::ListConfigurationSetsResponse
860
970
 
971
+ ListContactListsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
972
+ ListContactListsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
973
+ ListContactListsRequest.struct_class = Types::ListContactListsRequest
974
+
975
+ ListContactListsResponse.add_member(:contact_lists, Shapes::ShapeRef.new(shape: ListOfContactLists, location_name: "ContactLists"))
976
+ ListContactListsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
977
+ ListContactListsResponse.struct_class = Types::ListContactListsResponse
978
+
979
+ ListContactsFilter.add_member(:filtered_status, Shapes::ShapeRef.new(shape: SubscriptionStatus, location_name: "FilteredStatus"))
980
+ ListContactsFilter.add_member(:topic_filter, Shapes::ShapeRef.new(shape: TopicFilter, location_name: "TopicFilter"))
981
+ ListContactsFilter.struct_class = Types::ListContactsFilter
982
+
983
+ ListContactsRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
984
+ ListContactsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListContactsFilter, location_name: "Filter"))
985
+ ListContactsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
986
+ ListContactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
987
+ ListContactsRequest.struct_class = Types::ListContactsRequest
988
+
989
+ ListContactsResponse.add_member(:contacts, Shapes::ShapeRef.new(shape: ListOfContacts, location_name: "Contacts"))
990
+ ListContactsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
991
+ ListContactsResponse.struct_class = Types::ListContactsResponse
992
+
861
993
  ListCustomVerificationEmailTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
862
994
  ListCustomVerificationEmailTemplatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
863
995
  ListCustomVerificationEmailTemplatesRequest.struct_class = Types::ListCustomVerificationEmailTemplatesRequest
@@ -918,6 +1050,14 @@ module Aws::SESV2
918
1050
  ListImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
919
1051
  ListImportJobsResponse.struct_class = Types::ListImportJobsResponse
920
1052
 
1053
+ ListManagementOptions.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location_name: "ContactListName"))
1054
+ ListManagementOptions.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, location_name: "TopicName"))
1055
+ ListManagementOptions.struct_class = Types::ListManagementOptions
1056
+
1057
+ ListOfContactLists.member = Shapes::ShapeRef.new(shape: ContactList)
1058
+
1059
+ ListOfContacts.member = Shapes::ShapeRef.new(shape: Contact)
1060
+
921
1061
  ListOfDedicatedIpPools.member = Shapes::ShapeRef.new(shape: PoolName)
922
1062
 
923
1063
  ListSuppressedDestinationsRequest.add_member(:reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location: "querystring", location_name: "Reason"))
@@ -1132,6 +1272,7 @@ module Aws::SESV2
1132
1272
  SendEmailRequest.add_member(:content, Shapes::ShapeRef.new(shape: EmailContent, required: true, location_name: "Content"))
1133
1273
  SendEmailRequest.add_member(:email_tags, Shapes::ShapeRef.new(shape: MessageTagList, location_name: "EmailTags"))
1134
1274
  SendEmailRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
1275
+ SendEmailRequest.add_member(:list_management_options, Shapes::ShapeRef.new(shape: ListManagementOptions, location_name: "ListManagementOptions"))
1135
1276
  SendEmailRequest.struct_class = Types::SendEmailRequest
1136
1277
 
1137
1278
  SendEmailResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: OutboundMessageId, location_name: "MessageId"))
@@ -1206,6 +1347,24 @@ module Aws::SESV2
1206
1347
 
1207
1348
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
1208
1349
 
1350
+ Topic.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, required: true, location_name: "TopicName"))
1351
+ Topic.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "DisplayName"))
1352
+ Topic.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1353
+ Topic.add_member(:default_subscription_status, Shapes::ShapeRef.new(shape: SubscriptionStatus, required: true, location_name: "DefaultSubscriptionStatus"))
1354
+ Topic.struct_class = Types::Topic
1355
+
1356
+ TopicFilter.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, location_name: "TopicName"))
1357
+ TopicFilter.add_member(:use_default_if_preference_unavailable, Shapes::ShapeRef.new(shape: UseDefaultIfPreferenceUnavailable, location_name: "UseDefaultIfPreferenceUnavailable"))
1358
+ TopicFilter.struct_class = Types::TopicFilter
1359
+
1360
+ TopicPreference.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, required: true, location_name: "TopicName"))
1361
+ TopicPreference.add_member(:subscription_status, Shapes::ShapeRef.new(shape: SubscriptionStatus, required: true, location_name: "SubscriptionStatus"))
1362
+ TopicPreference.struct_class = Types::TopicPreference
1363
+
1364
+ TopicPreferenceList.member = Shapes::ShapeRef.new(shape: TopicPreference)
1365
+
1366
+ Topics.member = Shapes::ShapeRef.new(shape: Topic)
1367
+
1209
1368
  TrackingOptions.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, required: true, location_name: "CustomRedirectDomain"))
1210
1369
  TrackingOptions.struct_class = Types::TrackingOptions
1211
1370
 
@@ -1222,6 +1381,22 @@ module Aws::SESV2
1222
1381
 
1223
1382
  UpdateConfigurationSetEventDestinationResponse.struct_class = Types::UpdateConfigurationSetEventDestinationResponse
1224
1383
 
1384
+ UpdateContactListRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
1385
+ UpdateContactListRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
1386
+ UpdateContactListRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1387
+ UpdateContactListRequest.struct_class = Types::UpdateContactListRequest
1388
+
1389
+ UpdateContactListResponse.struct_class = Types::UpdateContactListResponse
1390
+
1391
+ UpdateContactRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
1392
+ UpdateContactRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
1393
+ UpdateContactRequest.add_member(:topic_preferences, Shapes::ShapeRef.new(shape: TopicPreferenceList, location_name: "TopicPreferences"))
1394
+ UpdateContactRequest.add_member(:unsubscribe_all, Shapes::ShapeRef.new(shape: UnsubscribeAll, location_name: "UnsubscribeAll"))
1395
+ UpdateContactRequest.add_member(:attributes_data, Shapes::ShapeRef.new(shape: AttributesData, location_name: "AttributesData"))
1396
+ UpdateContactRequest.struct_class = Types::UpdateContactRequest
1397
+
1398
+ UpdateContactResponse.struct_class = Types::UpdateContactResponse
1399
+
1225
1400
  UpdateCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
1226
1401
  UpdateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "FromEmailAddress"))
1227
1402
  UpdateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, required: true, location_name: "TemplateSubject"))
@@ -1297,6 +1472,30 @@ module Aws::SESV2
1297
1472
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1298
1473
  end)
1299
1474
 
1475
+ api.add_operation(:create_contact, Seahorse::Model::Operation.new.tap do |o|
1476
+ o.name = "CreateContact"
1477
+ o.http_method = "POST"
1478
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts"
1479
+ o.input = Shapes::ShapeRef.new(shape: CreateContactRequest)
1480
+ o.output = Shapes::ShapeRef.new(shape: CreateContactResponse)
1481
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1482
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1483
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1484
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
1485
+ end)
1486
+
1487
+ api.add_operation(:create_contact_list, Seahorse::Model::Operation.new.tap do |o|
1488
+ o.name = "CreateContactList"
1489
+ o.http_method = "POST"
1490
+ o.http_request_uri = "/v2/email/contact-lists"
1491
+ o.input = Shapes::ShapeRef.new(shape: CreateContactListRequest)
1492
+ o.output = Shapes::ShapeRef.new(shape: CreateContactListResponse)
1493
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1494
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1495
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1497
+ end)
1498
+
1300
1499
  api.add_operation(:create_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1301
1500
  o.name = "CreateCustomVerificationEmailTemplate"
1302
1501
  o.http_method = "POST"
@@ -1412,6 +1611,29 @@ module Aws::SESV2
1412
1611
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1413
1612
  end)
1414
1613
 
1614
+ api.add_operation(:delete_contact, Seahorse::Model::Operation.new.tap do |o|
1615
+ o.name = "DeleteContact"
1616
+ o.http_method = "DELETE"
1617
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}"
1618
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactRequest)
1619
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactResponse)
1620
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1621
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1623
+ end)
1624
+
1625
+ api.add_operation(:delete_contact_list, Seahorse::Model::Operation.new.tap do |o|
1626
+ o.name = "DeleteContactList"
1627
+ o.http_method = "DELETE"
1628
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}"
1629
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactListRequest)
1630
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactListResponse)
1631
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1632
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1633
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1634
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1635
+ end)
1636
+
1415
1637
  api.add_operation(:delete_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1416
1638
  o.name = "DeleteCustomVerificationEmailTemplate"
1417
1639
  o.http_method = "DELETE"
@@ -1523,6 +1745,28 @@ module Aws::SESV2
1523
1745
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1524
1746
  end)
1525
1747
 
1748
+ api.add_operation(:get_contact, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "GetContact"
1750
+ o.http_method = "GET"
1751
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}"
1752
+ o.input = Shapes::ShapeRef.new(shape: GetContactRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: GetContactResponse)
1754
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1757
+ end)
1758
+
1759
+ api.add_operation(:get_contact_list, Seahorse::Model::Operation.new.tap do |o|
1760
+ o.name = "GetContactList"
1761
+ o.http_method = "GET"
1762
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}"
1763
+ o.input = Shapes::ShapeRef.new(shape: GetContactListRequest)
1764
+ o.output = Shapes::ShapeRef.new(shape: GetContactListResponse)
1765
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1766
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1767
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1768
+ end)
1769
+
1526
1770
  api.add_operation(:get_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1527
1771
  o.name = "GetCustomVerificationEmailTemplate"
1528
1772
  o.http_method = "GET"
@@ -1677,6 +1921,39 @@ module Aws::SESV2
1677
1921
  )
1678
1922
  end)
1679
1923
 
1924
+ api.add_operation(:list_contact_lists, Seahorse::Model::Operation.new.tap do |o|
1925
+ o.name = "ListContactLists"
1926
+ o.http_method = "GET"
1927
+ o.http_request_uri = "/v2/email/contact-lists"
1928
+ o.input = Shapes::ShapeRef.new(shape: ListContactListsRequest)
1929
+ o.output = Shapes::ShapeRef.new(shape: ListContactListsResponse)
1930
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1931
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1932
+ o[:pager] = Aws::Pager.new(
1933
+ limit_key: "page_size",
1934
+ tokens: {
1935
+ "next_token" => "next_token"
1936
+ }
1937
+ )
1938
+ end)
1939
+
1940
+ api.add_operation(:list_contacts, Seahorse::Model::Operation.new.tap do |o|
1941
+ o.name = "ListContacts"
1942
+ o.http_method = "GET"
1943
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts"
1944
+ o.input = Shapes::ShapeRef.new(shape: ListContactsRequest)
1945
+ o.output = Shapes::ShapeRef.new(shape: ListContactsResponse)
1946
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1948
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1949
+ o[:pager] = Aws::Pager.new(
1950
+ limit_key: "page_size",
1951
+ tokens: {
1952
+ "next_token" => "next_token"
1953
+ }
1954
+ )
1955
+ end)
1956
+
1680
1957
  api.add_operation(:list_custom_verification_email_templates, Seahorse::Model::Operation.new.tap do |o|
1681
1958
  o.name = "ListCustomVerificationEmailTemplates"
1682
1959
  o.http_method = "GET"
@@ -2097,6 +2374,30 @@ module Aws::SESV2
2097
2374
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2098
2375
  end)
2099
2376
 
2377
+ api.add_operation(:update_contact, Seahorse::Model::Operation.new.tap do |o|
2378
+ o.name = "UpdateContact"
2379
+ o.http_method = "PUT"
2380
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}"
2381
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactRequest)
2382
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactResponse)
2383
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2384
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2385
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2386
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2387
+ end)
2388
+
2389
+ api.add_operation(:update_contact_list, Seahorse::Model::Operation.new.tap do |o|
2390
+ o.name = "UpdateContactList"
2391
+ o.http_method = "PUT"
2392
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}"
2393
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactListRequest)
2394
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactListResponse)
2395
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2396
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2397
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2398
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2399
+ end)
2400
+
2100
2401
  api.add_operation(:update_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
2101
2402
  o.name = "UpdateCustomVerificationEmailTemplate"
2102
2403
  o.http_method = "PUT"