aws-sdk-sesv2 1.9.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')
@@ -62,11 +72,14 @@ module Aws::SESV2
62
72
  CreateEmailIdentityResponse = Shapes::StructureShape.new(name: 'CreateEmailIdentityResponse')
63
73
  CreateEmailTemplateRequest = Shapes::StructureShape.new(name: 'CreateEmailTemplateRequest')
64
74
  CreateEmailTemplateResponse = Shapes::StructureShape.new(name: 'CreateEmailTemplateResponse')
75
+ CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest')
76
+ CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse')
65
77
  CustomRedirectDomain = Shapes::StringShape.new(name: 'CustomRedirectDomain')
66
78
  CustomVerificationEmailTemplateMetadata = Shapes::StructureShape.new(name: 'CustomVerificationEmailTemplateMetadata')
67
79
  CustomVerificationEmailTemplatesList = Shapes::ListShape.new(name: 'CustomVerificationEmailTemplatesList')
68
80
  DailyVolume = Shapes::StructureShape.new(name: 'DailyVolume')
69
81
  DailyVolumes = Shapes::ListShape.new(name: 'DailyVolumes')
82
+ DataFormat = Shapes::StringShape.new(name: 'DataFormat')
70
83
  DedicatedIp = Shapes::StructureShape.new(name: 'DedicatedIp')
71
84
  DedicatedIpList = Shapes::ListShape.new(name: 'DedicatedIpList')
72
85
  DefaultDimensionValue = Shapes::StringShape.new(name: 'DefaultDimensionValue')
@@ -74,6 +87,10 @@ module Aws::SESV2
74
87
  DeleteConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationSetEventDestinationResponse')
75
88
  DeleteConfigurationSetRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetRequest')
76
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')
77
94
  DeleteCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'DeleteCustomVerificationEmailTemplateRequest')
78
95
  DeleteCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'DeleteCustomVerificationEmailTemplateResponse')
79
96
  DeleteDedicatedIpPoolRequest = Shapes::StructureShape.new(name: 'DeleteDedicatedIpPoolRequest')
@@ -92,9 +109,11 @@ module Aws::SESV2
92
109
  DeliverabilityTestStatus = Shapes::StringShape.new(name: 'DeliverabilityTestStatus')
93
110
  DeliverabilityTestSubject = Shapes::StringShape.new(name: 'DeliverabilityTestSubject')
94
111
  DeliveryOptions = Shapes::StructureShape.new(name: 'DeliveryOptions')
112
+ Description = Shapes::StringShape.new(name: 'Description')
95
113
  Destination = Shapes::StructureShape.new(name: 'Destination')
96
114
  DimensionName = Shapes::StringShape.new(name: 'DimensionName')
97
115
  DimensionValueSource = Shapes::StringShape.new(name: 'DimensionValueSource')
116
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
98
117
  DkimAttributes = Shapes::StructureShape.new(name: 'DkimAttributes')
99
118
  DkimSigningAttributes = Shapes::StructureShape.new(name: 'DkimSigningAttributes')
100
119
  DkimSigningAttributesOrigin = Shapes::StringShape.new(name: 'DkimSigningAttributesOrigin')
@@ -130,6 +149,9 @@ module Aws::SESV2
130
149
  EventDestinations = Shapes::ListShape.new(name: 'EventDestinations')
131
150
  EventType = Shapes::StringShape.new(name: 'EventType')
132
151
  EventTypes = Shapes::ListShape.new(name: 'EventTypes')
152
+ FailedRecordsCount = Shapes::IntegerShape.new(name: 'FailedRecordsCount')
153
+ FailedRecordsS3Url = Shapes::StringShape.new(name: 'FailedRecordsS3Url')
154
+ FailureInfo = Shapes::StructureShape.new(name: 'FailureInfo')
133
155
  FailureRedirectionURL = Shapes::StringShape.new(name: 'FailureRedirectionURL')
134
156
  FeedbackId = Shapes::StringShape.new(name: 'FeedbackId')
135
157
  GeneralEnforcementStatus = Shapes::StringShape.new(name: 'GeneralEnforcementStatus')
@@ -141,6 +163,10 @@ module Aws::SESV2
141
163
  GetConfigurationSetEventDestinationsResponse = Shapes::StructureShape.new(name: 'GetConfigurationSetEventDestinationsResponse')
142
164
  GetConfigurationSetRequest = Shapes::StructureShape.new(name: 'GetConfigurationSetRequest')
143
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')
144
170
  GetCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateRequest')
145
171
  GetCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'GetCustomVerificationEmailTemplateResponse')
146
172
  GetDedicatedIpRequest = Shapes::StructureShape.new(name: 'GetDedicatedIpRequest')
@@ -161,6 +187,8 @@ module Aws::SESV2
161
187
  GetEmailIdentityResponse = Shapes::StructureShape.new(name: 'GetEmailIdentityResponse')
162
188
  GetEmailTemplateRequest = Shapes::StructureShape.new(name: 'GetEmailTemplateRequest')
163
189
  GetEmailTemplateResponse = Shapes::StructureShape.new(name: 'GetEmailTemplateResponse')
190
+ GetImportJobRequest = Shapes::StructureShape.new(name: 'GetImportJobRequest')
191
+ GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
164
192
  GetSuppressedDestinationRequest = Shapes::StructureShape.new(name: 'GetSuppressedDestinationRequest')
165
193
  GetSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'GetSuppressedDestinationResponse')
166
194
  Identity = Shapes::StringShape.new(name: 'Identity')
@@ -168,6 +196,11 @@ module Aws::SESV2
168
196
  IdentityInfoList = Shapes::ListShape.new(name: 'IdentityInfoList')
169
197
  IdentityType = Shapes::StringShape.new(name: 'IdentityType')
170
198
  ImageUrl = Shapes::StringShape.new(name: 'ImageUrl')
199
+ ImportDataSource = Shapes::StructureShape.new(name: 'ImportDataSource')
200
+ ImportDestination = Shapes::StructureShape.new(name: 'ImportDestination')
201
+ ImportDestinationType = Shapes::StringShape.new(name: 'ImportDestinationType')
202
+ ImportJobSummary = Shapes::StructureShape.new(name: 'ImportJobSummary')
203
+ ImportJobSummaryList = Shapes::ListShape.new(name: 'ImportJobSummaryList')
171
204
  InboxPlacementTrackingOption = Shapes::StructureShape.new(name: 'InboxPlacementTrackingOption')
172
205
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
173
206
  Ip = Shapes::StringShape.new(name: 'Ip')
@@ -176,11 +209,18 @@ module Aws::SESV2
176
209
  IspNameList = Shapes::ListShape.new(name: 'IspNameList')
177
210
  IspPlacement = Shapes::StructureShape.new(name: 'IspPlacement')
178
211
  IspPlacements = Shapes::ListShape.new(name: 'IspPlacements')
212
+ JobId = Shapes::StringShape.new(name: 'JobId')
213
+ JobStatus = Shapes::StringShape.new(name: 'JobStatus')
179
214
  KinesisFirehoseDestination = Shapes::StructureShape.new(name: 'KinesisFirehoseDestination')
180
215
  LastFreshStart = Shapes::TimestampShape.new(name: 'LastFreshStart')
181
216
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
182
217
  ListConfigurationSetsRequest = Shapes::StructureShape.new(name: 'ListConfigurationSetsRequest')
183
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')
184
224
  ListCustomVerificationEmailTemplatesRequest = Shapes::StructureShape.new(name: 'ListCustomVerificationEmailTemplatesRequest')
185
225
  ListCustomVerificationEmailTemplatesResponse = Shapes::StructureShape.new(name: 'ListCustomVerificationEmailTemplatesResponse')
186
226
  ListDedicatedIpPoolsRequest = Shapes::StructureShape.new(name: 'ListDedicatedIpPoolsRequest')
@@ -193,6 +233,11 @@ module Aws::SESV2
193
233
  ListEmailIdentitiesResponse = Shapes::StructureShape.new(name: 'ListEmailIdentitiesResponse')
194
234
  ListEmailTemplatesRequest = Shapes::StructureShape.new(name: 'ListEmailTemplatesRequest')
195
235
  ListEmailTemplatesResponse = Shapes::StructureShape.new(name: 'ListEmailTemplatesResponse')
236
+ ListImportJobsRequest = Shapes::StructureShape.new(name: 'ListImportJobsRequest')
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')
196
241
  ListOfDedicatedIpPools = Shapes::ListShape.new(name: 'ListOfDedicatedIpPools')
197
242
  ListSuppressedDestinationsRequest = Shapes::StructureShape.new(name: 'ListSuppressedDestinationsRequest')
198
243
  ListSuppressedDestinationsResponse = Shapes::StructureShape.new(name: 'ListSuppressedDestinationsResponse')
@@ -227,6 +272,7 @@ module Aws::SESV2
227
272
  PolicyName = Shapes::StringShape.new(name: 'PolicyName')
228
273
  PoolName = Shapes::StringShape.new(name: 'PoolName')
229
274
  PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
275
+ ProcessedRecordsCount = Shapes::IntegerShape.new(name: 'ProcessedRecordsCount')
230
276
  PutAccountDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesRequest')
231
277
  PutAccountDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesResponse')
232
278
  PutAccountDetailsRequest = Shapes::StructureShape.new(name: 'PutAccountDetailsRequest')
@@ -272,6 +318,7 @@ module Aws::SESV2
272
318
  ReputationOptions = Shapes::StructureShape.new(name: 'ReputationOptions')
273
319
  ReviewDetails = Shapes::StructureShape.new(name: 'ReviewDetails')
274
320
  ReviewStatus = Shapes::StringShape.new(name: 'ReviewStatus')
321
+ S3Url = Shapes::StringShape.new(name: 'S3Url')
275
322
  Selector = Shapes::StringShape.new(name: 'Selector')
276
323
  SendBulkEmailRequest = Shapes::StructureShape.new(name: 'SendBulkEmailRequest')
277
324
  SendBulkEmailResponse = Shapes::StructureShape.new(name: 'SendBulkEmailResponse')
@@ -286,12 +333,15 @@ module Aws::SESV2
286
333
  SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
287
334
  SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
288
335
  Subject = Shapes::StringShape.new(name: 'Subject')
336
+ SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
289
337
  SuccessRedirectionURL = Shapes::StringShape.new(name: 'SuccessRedirectionURL')
290
338
  SuppressedDestination = Shapes::StructureShape.new(name: 'SuppressedDestination')
291
339
  SuppressedDestinationAttributes = Shapes::StructureShape.new(name: 'SuppressedDestinationAttributes')
292
340
  SuppressedDestinationSummaries = Shapes::ListShape.new(name: 'SuppressedDestinationSummaries')
293
341
  SuppressedDestinationSummary = Shapes::StructureShape.new(name: 'SuppressedDestinationSummary')
294
342
  SuppressionAttributes = Shapes::StructureShape.new(name: 'SuppressionAttributes')
343
+ SuppressionListDestination = Shapes::StructureShape.new(name: 'SuppressionListDestination')
344
+ SuppressionListImportAction = Shapes::StringShape.new(name: 'SuppressionListImportAction')
295
345
  SuppressionListReason = Shapes::StringShape.new(name: 'SuppressionListReason')
296
346
  SuppressionListReasons = Shapes::ListShape.new(name: 'SuppressionListReasons')
297
347
  SuppressionOptions = Shapes::StructureShape.new(name: 'SuppressionOptions')
@@ -309,11 +359,22 @@ module Aws::SESV2
309
359
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
310
360
  TlsPolicy = Shapes::StringShape.new(name: 'TlsPolicy')
311
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')
312
368
  TrackingOptions = Shapes::StructureShape.new(name: 'TrackingOptions')
369
+ UnsubscribeAll = Shapes::BooleanShape.new(name: 'UnsubscribeAll')
313
370
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
314
371
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
315
372
  UpdateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationRequest')
316
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')
317
378
  UpdateCustomVerificationEmailTemplateRequest = Shapes::StructureShape.new(name: 'UpdateCustomVerificationEmailTemplateRequest')
318
379
  UpdateCustomVerificationEmailTemplateResponse = Shapes::StructureShape.new(name: 'UpdateCustomVerificationEmailTemplateResponse')
319
380
  UpdateEmailIdentityPolicyRequest = Shapes::StructureShape.new(name: 'UpdateEmailIdentityPolicyRequest')
@@ -321,6 +382,7 @@ module Aws::SESV2
321
382
  UpdateEmailTemplateRequest = Shapes::StructureShape.new(name: 'UpdateEmailTemplateRequest')
322
383
  UpdateEmailTemplateResponse = Shapes::StructureShape.new(name: 'UpdateEmailTemplateResponse')
323
384
  UseCaseDescription = Shapes::StringShape.new(name: 'UseCaseDescription')
385
+ UseDefaultIfPreferenceUnavailable = Shapes::BooleanShape.new(name: 'UseDefaultIfPreferenceUnavailable')
324
386
  Volume = Shapes::IntegerShape.new(name: 'Volume')
325
387
  VolumeStatistics = Shapes::StructureShape.new(name: 'VolumeStatistics')
326
388
  WarmupStatus = Shapes::StringShape.new(name: 'WarmupStatus')
@@ -391,6 +453,21 @@ module Aws::SESV2
391
453
 
392
454
  ConflictException.struct_class = Types::ConflictException
393
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
+
394
471
  Content.add_member(:data, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "Data"))
395
472
  Content.add_member(:charset, Shapes::ShapeRef.new(shape: Charset, location_name: "Charset"))
396
473
  Content.struct_class = Types::Content
@@ -413,6 +490,23 @@ module Aws::SESV2
413
490
 
414
491
  CreateConfigurationSetResponse.struct_class = Types::CreateConfigurationSetResponse
415
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
+
416
510
  CreateCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location_name: "TemplateName"))
417
511
  CreateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "FromEmailAddress"))
418
512
  CreateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, required: true, location_name: "TemplateSubject"))
@@ -462,6 +556,13 @@ module Aws::SESV2
462
556
 
463
557
  CreateEmailTemplateResponse.struct_class = Types::CreateEmailTemplateResponse
464
558
 
559
+ CreateImportJobRequest.add_member(:import_destination, Shapes::ShapeRef.new(shape: ImportDestination, required: true, location_name: "ImportDestination"))
560
+ CreateImportJobRequest.add_member(:import_data_source, Shapes::ShapeRef.new(shape: ImportDataSource, required: true, location_name: "ImportDataSource"))
561
+ CreateImportJobRequest.struct_class = Types::CreateImportJobRequest
562
+
563
+ CreateImportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
564
+ CreateImportJobResponse.struct_class = Types::CreateImportJobResponse
565
+
465
566
  CustomVerificationEmailTemplateMetadata.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, location_name: "TemplateName"))
466
567
  CustomVerificationEmailTemplateMetadata.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromEmailAddress"))
467
568
  CustomVerificationEmailTemplateMetadata.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, location_name: "TemplateSubject"))
@@ -497,6 +598,17 @@ module Aws::SESV2
497
598
 
498
599
  DeleteConfigurationSetResponse.struct_class = Types::DeleteConfigurationSetResponse
499
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
+
500
612
  DeleteCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
501
613
  DeleteCustomVerificationEmailTemplateRequest.struct_class = Types::DeleteCustomVerificationEmailTemplateRequest
502
614
 
@@ -634,6 +746,10 @@ module Aws::SESV2
634
746
 
635
747
  EventTypes.member = Shapes::ShapeRef.new(shape: EventType)
636
748
 
749
+ FailureInfo.add_member(:failed_records_s3_url, Shapes::ShapeRef.new(shape: FailedRecordsS3Url, location_name: "FailedRecordsS3Url"))
750
+ FailureInfo.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
751
+ FailureInfo.struct_class = Types::FailureInfo
752
+
637
753
  GetAccountRequest.struct_class = Types::GetAccountRequest
638
754
 
639
755
  GetAccountResponse.add_member(:dedicated_ip_auto_warmup_enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "DedicatedIpAutoWarmupEnabled"))
@@ -669,6 +785,31 @@ module Aws::SESV2
669
785
  GetConfigurationSetResponse.add_member(:suppression_options, Shapes::ShapeRef.new(shape: SuppressionOptions, location_name: "SuppressionOptions"))
670
786
  GetConfigurationSetResponse.struct_class = Types::GetConfigurationSetResponse
671
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
+
672
813
  GetCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
673
814
  GetCustomVerificationEmailTemplateRequest.struct_class = Types::GetCustomVerificationEmailTemplateRequest
674
815
 
@@ -754,6 +895,20 @@ module Aws::SESV2
754
895
  GetEmailTemplateResponse.add_member(:template_content, Shapes::ShapeRef.new(shape: EmailTemplateContent, required: true, location_name: "TemplateContent"))
755
896
  GetEmailTemplateResponse.struct_class = Types::GetEmailTemplateResponse
756
897
 
898
+ GetImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "JobId"))
899
+ GetImportJobRequest.struct_class = Types::GetImportJobRequest
900
+
901
+ GetImportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
902
+ GetImportJobResponse.add_member(:import_destination, Shapes::ShapeRef.new(shape: ImportDestination, location_name: "ImportDestination"))
903
+ GetImportJobResponse.add_member(:import_data_source, Shapes::ShapeRef.new(shape: ImportDataSource, location_name: "ImportDataSource"))
904
+ GetImportJobResponse.add_member(:failure_info, Shapes::ShapeRef.new(shape: FailureInfo, location_name: "FailureInfo"))
905
+ GetImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
906
+ GetImportJobResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
907
+ GetImportJobResponse.add_member(:completed_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletedTimestamp"))
908
+ GetImportJobResponse.add_member(:processed_records_count, Shapes::ShapeRef.new(shape: ProcessedRecordsCount, location_name: "ProcessedRecordsCount"))
909
+ GetImportJobResponse.add_member(:failed_records_count, Shapes::ShapeRef.new(shape: FailedRecordsCount, location_name: "FailedRecordsCount"))
910
+ GetImportJobResponse.struct_class = Types::GetImportJobResponse
911
+
757
912
  GetSuppressedDestinationRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location: "uri", location_name: "EmailAddress"))
758
913
  GetSuppressedDestinationRequest.struct_class = Types::GetSuppressedDestinationRequest
759
914
 
@@ -767,6 +922,22 @@ module Aws::SESV2
767
922
 
768
923
  IdentityInfoList.member = Shapes::ShapeRef.new(shape: IdentityInfo)
769
924
 
925
+ ImportDataSource.add_member(:s3_url, Shapes::ShapeRef.new(shape: S3Url, required: true, location_name: "S3Url"))
926
+ ImportDataSource.add_member(:data_format, Shapes::ShapeRef.new(shape: DataFormat, required: true, location_name: "DataFormat"))
927
+ ImportDataSource.struct_class = Types::ImportDataSource
928
+
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"))
931
+ ImportDestination.struct_class = Types::ImportDestination
932
+
933
+ ImportJobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
934
+ ImportJobSummary.add_member(:import_destination, Shapes::ShapeRef.new(shape: ImportDestination, location_name: "ImportDestination"))
935
+ ImportJobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
936
+ ImportJobSummary.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
937
+ ImportJobSummary.struct_class = Types::ImportJobSummary
938
+
939
+ ImportJobSummaryList.member = Shapes::ShapeRef.new(shape: ImportJobSummary)
940
+
770
941
  InboxPlacementTrackingOption.add_member(:global, Shapes::ShapeRef.new(shape: Enabled, location_name: "Global"))
771
942
  InboxPlacementTrackingOption.add_member(:tracked_isps, Shapes::ShapeRef.new(shape: IspNameList, location_name: "TrackedIsps"))
772
943
  InboxPlacementTrackingOption.struct_class = Types::InboxPlacementTrackingOption
@@ -797,6 +968,28 @@ module Aws::SESV2
797
968
  ListConfigurationSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
798
969
  ListConfigurationSetsResponse.struct_class = Types::ListConfigurationSetsResponse
799
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
+
800
993
  ListCustomVerificationEmailTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
801
994
  ListCustomVerificationEmailTemplatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
802
995
  ListCustomVerificationEmailTemplatesRequest.struct_class = Types::ListCustomVerificationEmailTemplatesRequest
@@ -848,6 +1041,23 @@ module Aws::SESV2
848
1041
  ListEmailTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
849
1042
  ListEmailTemplatesResponse.struct_class = Types::ListEmailTemplatesResponse
850
1043
 
1044
+ ListImportJobsRequest.add_member(:import_destination_type, Shapes::ShapeRef.new(shape: ImportDestinationType, location_name: "ImportDestinationType"))
1045
+ ListImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
1046
+ ListImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
1047
+ ListImportJobsRequest.struct_class = Types::ListImportJobsRequest
1048
+
1049
+ ListImportJobsResponse.add_member(:import_jobs, Shapes::ShapeRef.new(shape: ImportJobSummaryList, location_name: "ImportJobs"))
1050
+ ListImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1051
+ ListImportJobsResponse.struct_class = Types::ListImportJobsResponse
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
+
851
1061
  ListOfDedicatedIpPools.member = Shapes::ShapeRef.new(shape: PoolName)
852
1062
 
853
1063
  ListSuppressedDestinationsRequest.add_member(:reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location: "querystring", location_name: "Reason"))
@@ -1062,6 +1272,7 @@ module Aws::SESV2
1062
1272
  SendEmailRequest.add_member(:content, Shapes::ShapeRef.new(shape: EmailContent, required: true, location_name: "Content"))
1063
1273
  SendEmailRequest.add_member(:email_tags, Shapes::ShapeRef.new(shape: MessageTagList, location_name: "EmailTags"))
1064
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"))
1065
1276
  SendEmailRequest.struct_class = Types::SendEmailRequest
1066
1277
 
1067
1278
  SendEmailResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: OutboundMessageId, location_name: "MessageId"))
@@ -1100,6 +1311,9 @@ module Aws::SESV2
1100
1311
  SuppressionAttributes.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
1101
1312
  SuppressionAttributes.struct_class = Types::SuppressionAttributes
1102
1313
 
1314
+ SuppressionListDestination.add_member(:suppression_list_import_action, Shapes::ShapeRef.new(shape: SuppressionListImportAction, required: true, location_name: "SuppressionListImportAction"))
1315
+ SuppressionListDestination.struct_class = Types::SuppressionListDestination
1316
+
1103
1317
  SuppressionListReasons.member = Shapes::ShapeRef.new(shape: SuppressionListReason)
1104
1318
 
1105
1319
  SuppressionOptions.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
@@ -1133,6 +1347,24 @@ module Aws::SESV2
1133
1347
 
1134
1348
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
1135
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
+
1136
1368
  TrackingOptions.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, required: true, location_name: "CustomRedirectDomain"))
1137
1369
  TrackingOptions.struct_class = Types::TrackingOptions
1138
1370
 
@@ -1149,6 +1381,22 @@ module Aws::SESV2
1149
1381
 
1150
1382
  UpdateConfigurationSetEventDestinationResponse.struct_class = Types::UpdateConfigurationSetEventDestinationResponse
1151
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
+
1152
1400
  UpdateCustomVerificationEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
1153
1401
  UpdateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "FromEmailAddress"))
1154
1402
  UpdateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, required: true, location_name: "TemplateSubject"))
@@ -1224,6 +1472,30 @@ module Aws::SESV2
1224
1472
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1225
1473
  end)
1226
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
+
1227
1499
  api.add_operation(:create_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1228
1500
  o.name = "CreateCustomVerificationEmailTemplate"
1229
1501
  o.http_method = "POST"
@@ -1305,6 +1577,17 @@ module Aws::SESV2
1305
1577
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1306
1578
  end)
1307
1579
 
1580
+ api.add_operation(:create_import_job, Seahorse::Model::Operation.new.tap do |o|
1581
+ o.name = "CreateImportJob"
1582
+ o.http_method = "POST"
1583
+ o.http_request_uri = "/v2/email/import-jobs"
1584
+ o.input = Shapes::ShapeRef.new(shape: CreateImportJobRequest)
1585
+ o.output = Shapes::ShapeRef.new(shape: CreateImportJobResponse)
1586
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1587
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1588
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1589
+ end)
1590
+
1308
1591
  api.add_operation(:delete_configuration_set, Seahorse::Model::Operation.new.tap do |o|
1309
1592
  o.name = "DeleteConfigurationSet"
1310
1593
  o.http_method = "DELETE"
@@ -1328,6 +1611,29 @@ module Aws::SESV2
1328
1611
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1329
1612
  end)
1330
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
+
1331
1637
  api.add_operation(:delete_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1332
1638
  o.name = "DeleteCustomVerificationEmailTemplate"
1333
1639
  o.http_method = "DELETE"
@@ -1439,6 +1745,28 @@ module Aws::SESV2
1439
1745
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1440
1746
  end)
1441
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
+
1442
1770
  api.add_operation(:get_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1443
1771
  o.name = "GetCustomVerificationEmailTemplate"
1444
1772
  o.http_method = "GET"
@@ -1555,6 +1883,17 @@ module Aws::SESV2
1555
1883
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1556
1884
  end)
1557
1885
 
1886
+ api.add_operation(:get_import_job, Seahorse::Model::Operation.new.tap do |o|
1887
+ o.name = "GetImportJob"
1888
+ o.http_method = "GET"
1889
+ o.http_request_uri = "/v2/email/import-jobs/{JobId}"
1890
+ o.input = Shapes::ShapeRef.new(shape: GetImportJobRequest)
1891
+ o.output = Shapes::ShapeRef.new(shape: GetImportJobResponse)
1892
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1894
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1895
+ end)
1896
+
1558
1897
  api.add_operation(:get_suppressed_destination, Seahorse::Model::Operation.new.tap do |o|
1559
1898
  o.name = "GetSuppressedDestination"
1560
1899
  o.http_method = "GET"
@@ -1582,6 +1921,39 @@ module Aws::SESV2
1582
1921
  )
1583
1922
  end)
1584
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
+
1585
1957
  api.add_operation(:list_custom_verification_email_templates, Seahorse::Model::Operation.new.tap do |o|
1586
1958
  o.name = "ListCustomVerificationEmailTemplates"
1587
1959
  o.http_method = "GET"
@@ -1680,6 +2052,22 @@ module Aws::SESV2
1680
2052
  )
1681
2053
  end)
1682
2054
 
2055
+ api.add_operation(:list_import_jobs, Seahorse::Model::Operation.new.tap do |o|
2056
+ o.name = "ListImportJobs"
2057
+ o.http_method = "GET"
2058
+ o.http_request_uri = "/v2/email/import-jobs"
2059
+ o.input = Shapes::ShapeRef.new(shape: ListImportJobsRequest)
2060
+ o.output = Shapes::ShapeRef.new(shape: ListImportJobsResponse)
2061
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2063
+ o[:pager] = Aws::Pager.new(
2064
+ limit_key: "page_size",
2065
+ tokens: {
2066
+ "next_token" => "next_token"
2067
+ }
2068
+ )
2069
+ end)
2070
+
1683
2071
  api.add_operation(:list_suppressed_destinations, Seahorse::Model::Operation.new.tap do |o|
1684
2072
  o.name = "ListSuppressedDestinations"
1685
2073
  o.http_method = "GET"
@@ -1986,6 +2374,30 @@ module Aws::SESV2
1986
2374
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1987
2375
  end)
1988
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
+
1989
2401
  api.add_operation(:update_custom_verification_email_template, Seahorse::Model::Operation.new.tap do |o|
1990
2402
  o.name = "UpdateCustomVerificationEmailTemplate"
1991
2403
  o.http_method = "PUT"