aws-sdk-pinpointsmsvoicev2 1.14.0 → 1.15.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.
@@ -24,6 +24,8 @@ module Aws::PinpointSMSVoiceV2
24
24
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
25
25
  AssociateOriginationIdentityRequest = Shapes::StructureShape.new(name: 'AssociateOriginationIdentityRequest')
26
26
  AssociateOriginationIdentityResult = Shapes::StructureShape.new(name: 'AssociateOriginationIdentityResult')
27
+ AssociateProtectConfigurationRequest = Shapes::StructureShape.new(name: 'AssociateProtectConfigurationRequest')
28
+ AssociateProtectConfigurationResult = Shapes::StructureShape.new(name: 'AssociateProtectConfigurationResult')
27
29
  AttachmentBody = Shapes::BlobShape.new(name: 'AttachmentBody')
28
30
  AttachmentStatus = Shapes::StringShape.new(name: 'AttachmentStatus')
29
31
  AttachmentUploadErrorReason = Shapes::StringShape.new(name: 'AttachmentUploadErrorReason')
@@ -52,6 +54,8 @@ module Aws::PinpointSMSVoiceV2
52
54
  CreateOptOutListResult = Shapes::StructureShape.new(name: 'CreateOptOutListResult')
53
55
  CreatePoolRequest = Shapes::StructureShape.new(name: 'CreatePoolRequest')
54
56
  CreatePoolResult = Shapes::StructureShape.new(name: 'CreatePoolResult')
57
+ CreateProtectConfigurationRequest = Shapes::StructureShape.new(name: 'CreateProtectConfigurationRequest')
58
+ CreateProtectConfigurationResult = Shapes::StructureShape.new(name: 'CreateProtectConfigurationResult')
55
59
  CreateRegistrationAssociationRequest = Shapes::StructureShape.new(name: 'CreateRegistrationAssociationRequest')
56
60
  CreateRegistrationAssociationResult = Shapes::StructureShape.new(name: 'CreateRegistrationAssociationResult')
57
61
  CreateRegistrationAttachmentRequest = Shapes::StructureShape.new(name: 'CreateRegistrationAttachmentRequest')
@@ -62,6 +66,8 @@ module Aws::PinpointSMSVoiceV2
62
66
  CreateRegistrationVersionResult = Shapes::StructureShape.new(name: 'CreateRegistrationVersionResult')
63
67
  CreateVerifiedDestinationNumberRequest = Shapes::StructureShape.new(name: 'CreateVerifiedDestinationNumberRequest')
64
68
  CreateVerifiedDestinationNumberResult = Shapes::StructureShape.new(name: 'CreateVerifiedDestinationNumberResult')
69
+ DeleteAccountDefaultProtectConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteAccountDefaultProtectConfigurationRequest')
70
+ DeleteAccountDefaultProtectConfigurationResult = Shapes::StructureShape.new(name: 'DeleteAccountDefaultProtectConfigurationResult')
65
71
  DeleteConfigurationSetRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationSetRequest')
66
72
  DeleteConfigurationSetResult = Shapes::StructureShape.new(name: 'DeleteConfigurationSetResult')
67
73
  DeleteDefaultMessageTypeRequest = Shapes::StructureShape.new(name: 'DeleteDefaultMessageTypeRequest')
@@ -72,12 +78,16 @@ module Aws::PinpointSMSVoiceV2
72
78
  DeleteEventDestinationResult = Shapes::StructureShape.new(name: 'DeleteEventDestinationResult')
73
79
  DeleteKeywordRequest = Shapes::StructureShape.new(name: 'DeleteKeywordRequest')
74
80
  DeleteKeywordResult = Shapes::StructureShape.new(name: 'DeleteKeywordResult')
81
+ DeleteMediaMessageSpendLimitOverrideRequest = Shapes::StructureShape.new(name: 'DeleteMediaMessageSpendLimitOverrideRequest')
82
+ DeleteMediaMessageSpendLimitOverrideResult = Shapes::StructureShape.new(name: 'DeleteMediaMessageSpendLimitOverrideResult')
75
83
  DeleteOptOutListRequest = Shapes::StructureShape.new(name: 'DeleteOptOutListRequest')
76
84
  DeleteOptOutListResult = Shapes::StructureShape.new(name: 'DeleteOptOutListResult')
77
85
  DeleteOptedOutNumberRequest = Shapes::StructureShape.new(name: 'DeleteOptedOutNumberRequest')
78
86
  DeleteOptedOutNumberResult = Shapes::StructureShape.new(name: 'DeleteOptedOutNumberResult')
79
87
  DeletePoolRequest = Shapes::StructureShape.new(name: 'DeletePoolRequest')
80
88
  DeletePoolResult = Shapes::StructureShape.new(name: 'DeletePoolResult')
89
+ DeleteProtectConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteProtectConfigurationRequest')
90
+ DeleteProtectConfigurationResult = Shapes::StructureShape.new(name: 'DeleteProtectConfigurationResult')
81
91
  DeleteRegistrationAttachmentRequest = Shapes::StructureShape.new(name: 'DeleteRegistrationAttachmentRequest')
82
92
  DeleteRegistrationAttachmentResult = Shapes::StructureShape.new(name: 'DeleteRegistrationAttachmentResult')
83
93
  DeleteRegistrationFieldValueRequest = Shapes::StructureShape.new(name: 'DeleteRegistrationFieldValueRequest')
@@ -107,6 +117,8 @@ module Aws::PinpointSMSVoiceV2
107
117
  DescribePhoneNumbersResult = Shapes::StructureShape.new(name: 'DescribePhoneNumbersResult')
108
118
  DescribePoolsRequest = Shapes::StructureShape.new(name: 'DescribePoolsRequest')
109
119
  DescribePoolsResult = Shapes::StructureShape.new(name: 'DescribePoolsResult')
120
+ DescribeProtectConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeProtectConfigurationsRequest')
121
+ DescribeProtectConfigurationsResult = Shapes::StructureShape.new(name: 'DescribeProtectConfigurationsResult')
110
122
  DescribeRegistrationAttachmentsRequest = Shapes::StructureShape.new(name: 'DescribeRegistrationAttachmentsRequest')
111
123
  DescribeRegistrationAttachmentsResult = Shapes::StructureShape.new(name: 'DescribeRegistrationAttachmentsResult')
112
124
  DescribeRegistrationFieldDefinitionsRequest = Shapes::StructureShape.new(name: 'DescribeRegistrationFieldDefinitionsRequest')
@@ -133,6 +145,8 @@ module Aws::PinpointSMSVoiceV2
133
145
  DestinationPhoneNumberList = Shapes::ListShape.new(name: 'DestinationPhoneNumberList')
134
146
  DisassociateOriginationIdentityRequest = Shapes::StructureShape.new(name: 'DisassociateOriginationIdentityRequest')
135
147
  DisassociateOriginationIdentityResult = Shapes::StructureShape.new(name: 'DisassociateOriginationIdentityResult')
148
+ DisassociateProtectConfigurationRequest = Shapes::StructureShape.new(name: 'DisassociateProtectConfigurationRequest')
149
+ DisassociateProtectConfigurationResult = Shapes::StructureShape.new(name: 'DisassociateProtectConfigurationResult')
136
150
  DiscardRegistrationVersionRequest = Shapes::StructureShape.new(name: 'DiscardRegistrationVersionRequest')
137
151
  DiscardRegistrationVersionResult = Shapes::StructureShape.new(name: 'DiscardRegistrationVersionResult')
138
152
  EventDestination = Shapes::StructureShape.new(name: 'EventDestination')
@@ -146,6 +160,8 @@ module Aws::PinpointSMSVoiceV2
146
160
  FieldType = Shapes::StringShape.new(name: 'FieldType')
147
161
  FilterValue = Shapes::StringShape.new(name: 'FilterValue')
148
162
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
163
+ GetProtectConfigurationCountryRuleSetRequest = Shapes::StructureShape.new(name: 'GetProtectConfigurationCountryRuleSetRequest')
164
+ GetProtectConfigurationCountryRuleSetResult = Shapes::StructureShape.new(name: 'GetProtectConfigurationCountryRuleSetResult')
149
165
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
150
166
  Integer = Shapes::IntegerShape.new(name: 'Integer')
151
167
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -170,6 +186,9 @@ module Aws::PinpointSMSVoiceV2
170
186
  LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
171
187
  MaxPrice = Shapes::StringShape.new(name: 'MaxPrice')
172
188
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
189
+ MediaMessageOriginationIdentity = Shapes::StringShape.new(name: 'MediaMessageOriginationIdentity')
190
+ MediaUrlList = Shapes::ListShape.new(name: 'MediaUrlList')
191
+ MediaUrlValue = Shapes::StringShape.new(name: 'MediaUrlValue')
173
192
  MessageType = Shapes::StringShape.new(name: 'MessageType')
174
193
  MessageTypeList = Shapes::ListShape.new(name: 'MessageTypeList')
175
194
  MonthlyLimit = Shapes::IntegerShape.new(name: 'MonthlyLimit')
@@ -215,6 +234,18 @@ module Aws::PinpointSMSVoiceV2
215
234
  PoolStatus = Shapes::StringShape.new(name: 'PoolStatus')
216
235
  PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
217
236
  PrimitiveLong = Shapes::IntegerShape.new(name: 'PrimitiveLong')
237
+ ProtectConfigurationArn = Shapes::StringShape.new(name: 'ProtectConfigurationArn')
238
+ ProtectConfigurationCountryRuleSet = Shapes::MapShape.new(name: 'ProtectConfigurationCountryRuleSet')
239
+ ProtectConfigurationCountryRuleSetInformation = Shapes::StructureShape.new(name: 'ProtectConfigurationCountryRuleSetInformation')
240
+ ProtectConfigurationFilter = Shapes::StructureShape.new(name: 'ProtectConfigurationFilter')
241
+ ProtectConfigurationFilterList = Shapes::ListShape.new(name: 'ProtectConfigurationFilterList')
242
+ ProtectConfigurationFilterName = Shapes::StringShape.new(name: 'ProtectConfigurationFilterName')
243
+ ProtectConfigurationId = Shapes::StringShape.new(name: 'ProtectConfigurationId')
244
+ ProtectConfigurationIdList = Shapes::ListShape.new(name: 'ProtectConfigurationIdList')
245
+ ProtectConfigurationIdOrArn = Shapes::StringShape.new(name: 'ProtectConfigurationIdOrArn')
246
+ ProtectConfigurationInformation = Shapes::StructureShape.new(name: 'ProtectConfigurationInformation')
247
+ ProtectConfigurationInformationList = Shapes::ListShape.new(name: 'ProtectConfigurationInformationList')
248
+ ProtectStatus = Shapes::StringShape.new(name: 'ProtectStatus')
218
249
  PutKeywordRequest = Shapes::StructureShape.new(name: 'PutKeywordRequest')
219
250
  PutKeywordResult = Shapes::StructureShape.new(name: 'PutKeywordResult')
220
251
  PutOptedOutNumberRequest = Shapes::StructureShape.new(name: 'PutOptedOutNumberRequest')
@@ -291,6 +322,8 @@ module Aws::PinpointSMSVoiceV2
291
322
  SelectValidation = Shapes::StructureShape.new(name: 'SelectValidation')
292
323
  SendDestinationNumberVerificationCodeRequest = Shapes::StructureShape.new(name: 'SendDestinationNumberVerificationCodeRequest')
293
324
  SendDestinationNumberVerificationCodeResult = Shapes::StructureShape.new(name: 'SendDestinationNumberVerificationCodeResult')
325
+ SendMediaMessageRequest = Shapes::StructureShape.new(name: 'SendMediaMessageRequest')
326
+ SendMediaMessageResult = Shapes::StructureShape.new(name: 'SendMediaMessageResult')
294
327
  SendTextMessageRequest = Shapes::StructureShape.new(name: 'SendTextMessageRequest')
295
328
  SendTextMessageResult = Shapes::StructureShape.new(name: 'SendTextMessageResult')
296
329
  SendVoiceMessageRequest = Shapes::StructureShape.new(name: 'SendVoiceMessageRequest')
@@ -306,10 +339,14 @@ module Aws::PinpointSMSVoiceV2
306
339
  SenderIdOrArn = Shapes::StringShape.new(name: 'SenderIdOrArn')
307
340
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
308
341
  ServiceQuotaExceededExceptionReason = Shapes::StringShape.new(name: 'ServiceQuotaExceededExceptionReason')
342
+ SetAccountDefaultProtectConfigurationRequest = Shapes::StructureShape.new(name: 'SetAccountDefaultProtectConfigurationRequest')
343
+ SetAccountDefaultProtectConfigurationResult = Shapes::StructureShape.new(name: 'SetAccountDefaultProtectConfigurationResult')
309
344
  SetDefaultMessageTypeRequest = Shapes::StructureShape.new(name: 'SetDefaultMessageTypeRequest')
310
345
  SetDefaultMessageTypeResult = Shapes::StructureShape.new(name: 'SetDefaultMessageTypeResult')
311
346
  SetDefaultSenderIdRequest = Shapes::StructureShape.new(name: 'SetDefaultSenderIdRequest')
312
347
  SetDefaultSenderIdResult = Shapes::StructureShape.new(name: 'SetDefaultSenderIdResult')
348
+ SetMediaMessageSpendLimitOverrideRequest = Shapes::StructureShape.new(name: 'SetMediaMessageSpendLimitOverrideRequest')
349
+ SetMediaMessageSpendLimitOverrideResult = Shapes::StructureShape.new(name: 'SetMediaMessageSpendLimitOverrideResult')
313
350
  SetTextMessageSpendLimitOverrideRequest = Shapes::StructureShape.new(name: 'SetTextMessageSpendLimitOverrideRequest')
314
351
  SetTextMessageSpendLimitOverrideResult = Shapes::StructureShape.new(name: 'SetTextMessageSpendLimitOverrideResult')
315
352
  SetVoiceMessageSpendLimitOverrideRequest = Shapes::StructureShape.new(name: 'SetVoiceMessageSpendLimitOverrideRequest')
@@ -349,6 +386,10 @@ module Aws::PinpointSMSVoiceV2
349
386
  UpdatePhoneNumberResult = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResult')
350
387
  UpdatePoolRequest = Shapes::StructureShape.new(name: 'UpdatePoolRequest')
351
388
  UpdatePoolResult = Shapes::StructureShape.new(name: 'UpdatePoolResult')
389
+ UpdateProtectConfigurationCountryRuleSetRequest = Shapes::StructureShape.new(name: 'UpdateProtectConfigurationCountryRuleSetRequest')
390
+ UpdateProtectConfigurationCountryRuleSetResult = Shapes::StructureShape.new(name: 'UpdateProtectConfigurationCountryRuleSetResult')
391
+ UpdateProtectConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateProtectConfigurationRequest')
392
+ UpdateProtectConfigurationResult = Shapes::StructureShape.new(name: 'UpdateProtectConfigurationResult')
352
393
  UpdateSenderIdRequest = Shapes::StructureShape.new(name: 'UpdateSenderIdRequest')
353
394
  UpdateSenderIdResult = Shapes::StructureShape.new(name: 'UpdateSenderIdResult')
354
395
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
@@ -403,6 +444,16 @@ module Aws::PinpointSMSVoiceV2
403
444
  AssociateOriginationIdentityResult.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: IsoCountryCode, location_name: "IsoCountryCode"))
404
445
  AssociateOriginationIdentityResult.struct_class = Types::AssociateOriginationIdentityResult
405
446
 
447
+ AssociateProtectConfigurationRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
448
+ AssociateProtectConfigurationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetNameOrArn, required: true, location_name: "ConfigurationSetName"))
449
+ AssociateProtectConfigurationRequest.struct_class = Types::AssociateProtectConfigurationRequest
450
+
451
+ AssociateProtectConfigurationResult.add_member(:configuration_set_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ConfigurationSetArn"))
452
+ AssociateProtectConfigurationResult.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
453
+ AssociateProtectConfigurationResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
454
+ AssociateProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
455
+ AssociateProtectConfigurationResult.struct_class = Types::AssociateProtectConfigurationResult
456
+
406
457
  CloudWatchLogsDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "IamRoleArn"))
407
458
  CloudWatchLogsDestination.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "LogGroupArn"))
408
459
  CloudWatchLogsDestination.struct_class = Types::CloudWatchLogsDestination
@@ -419,6 +470,7 @@ module Aws::PinpointSMSVoiceV2
419
470
  ConfigurationSetInformation.add_member(:default_message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "DefaultMessageType"))
420
471
  ConfigurationSetInformation.add_member(:default_sender_id, Shapes::ShapeRef.new(shape: SenderId, location_name: "DefaultSenderId"))
421
472
  ConfigurationSetInformation.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
473
+ ConfigurationSetInformation.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, location_name: "ProtectConfigurationId"))
422
474
  ConfigurationSetInformation.struct_class = Types::ConfigurationSetInformation
423
475
 
424
476
  ConfigurationSetInformationList.member = Shapes::ShapeRef.new(shape: ConfigurationSetInformation)
@@ -493,6 +545,19 @@ module Aws::PinpointSMSVoiceV2
493
545
  CreatePoolResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
494
546
  CreatePoolResult.struct_class = Types::CreatePoolResult
495
547
 
548
+ CreateProtectConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
549
+ CreateProtectConfigurationRequest.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtectionEnabled"))
550
+ CreateProtectConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
551
+ CreateProtectConfigurationRequest.struct_class = Types::CreateProtectConfigurationRequest
552
+
553
+ CreateProtectConfigurationResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
554
+ CreateProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
555
+ CreateProtectConfigurationResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
556
+ CreateProtectConfigurationResult.add_member(:account_default, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "AccountDefault"))
557
+ CreateProtectConfigurationResult.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "DeletionProtectionEnabled"))
558
+ CreateProtectConfigurationResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
559
+ CreateProtectConfigurationResult.struct_class = Types::CreateProtectConfigurationResult
560
+
496
561
  CreateRegistrationAssociationRequest.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationIdOrArn, required: true, location_name: "RegistrationId"))
497
562
  CreateRegistrationAssociationRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdOrArn, required: true, location_name: "ResourceId"))
498
563
  CreateRegistrationAssociationRequest.struct_class = Types::CreateRegistrationAssociationRequest
@@ -558,6 +623,12 @@ module Aws::PinpointSMSVoiceV2
558
623
  CreateVerifiedDestinationNumberResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
559
624
  CreateVerifiedDestinationNumberResult.struct_class = Types::CreateVerifiedDestinationNumberResult
560
625
 
626
+ DeleteAccountDefaultProtectConfigurationRequest.struct_class = Types::DeleteAccountDefaultProtectConfigurationRequest
627
+
628
+ DeleteAccountDefaultProtectConfigurationResult.add_member(:default_protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "DefaultProtectConfigurationArn"))
629
+ DeleteAccountDefaultProtectConfigurationResult.add_member(:default_protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "DefaultProtectConfigurationId"))
630
+ DeleteAccountDefaultProtectConfigurationResult.struct_class = Types::DeleteAccountDefaultProtectConfigurationResult
631
+
561
632
  DeleteConfigurationSetRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetNameOrArn, required: true, location_name: "ConfigurationSetName"))
562
633
  DeleteConfigurationSetRequest.struct_class = Types::DeleteConfigurationSetRequest
563
634
 
@@ -605,6 +676,11 @@ module Aws::PinpointSMSVoiceV2
605
676
  DeleteKeywordResult.add_member(:keyword_action, Shapes::ShapeRef.new(shape: KeywordAction, location_name: "KeywordAction"))
606
677
  DeleteKeywordResult.struct_class = Types::DeleteKeywordResult
607
678
 
679
+ DeleteMediaMessageSpendLimitOverrideRequest.struct_class = Types::DeleteMediaMessageSpendLimitOverrideRequest
680
+
681
+ DeleteMediaMessageSpendLimitOverrideResult.add_member(:monthly_limit, Shapes::ShapeRef.new(shape: MonthlyLimit, location_name: "MonthlyLimit"))
682
+ DeleteMediaMessageSpendLimitOverrideResult.struct_class = Types::DeleteMediaMessageSpendLimitOverrideResult
683
+
608
684
  DeleteOptOutListRequest.add_member(:opt_out_list_name, Shapes::ShapeRef.new(shape: OptOutListNameOrArn, required: true, location_name: "OptOutListName"))
609
685
  DeleteOptOutListRequest.struct_class = Types::DeleteOptOutListRequest
610
686
 
@@ -640,6 +716,16 @@ module Aws::PinpointSMSVoiceV2
640
716
  DeletePoolResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
641
717
  DeletePoolResult.struct_class = Types::DeletePoolResult
642
718
 
719
+ DeleteProtectConfigurationRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
720
+ DeleteProtectConfigurationRequest.struct_class = Types::DeleteProtectConfigurationRequest
721
+
722
+ DeleteProtectConfigurationResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
723
+ DeleteProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
724
+ DeleteProtectConfigurationResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
725
+ DeleteProtectConfigurationResult.add_member(:account_default, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "AccountDefault"))
726
+ DeleteProtectConfigurationResult.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "DeletionProtectionEnabled"))
727
+ DeleteProtectConfigurationResult.struct_class = Types::DeleteProtectConfigurationResult
728
+
643
729
  DeleteRegistrationAttachmentRequest.add_member(:registration_attachment_id, Shapes::ShapeRef.new(shape: RegistrationAttachmentIdOrArn, required: true, location_name: "RegistrationAttachmentId"))
644
730
  DeleteRegistrationAttachmentRequest.struct_class = Types::DeleteRegistrationAttachmentRequest
645
731
 
@@ -777,6 +863,16 @@ module Aws::PinpointSMSVoiceV2
777
863
  DescribePoolsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
778
864
  DescribePoolsResult.struct_class = Types::DescribePoolsResult
779
865
 
866
+ DescribeProtectConfigurationsRequest.add_member(:protect_configuration_ids, Shapes::ShapeRef.new(shape: ProtectConfigurationIdList, location_name: "ProtectConfigurationIds"))
867
+ DescribeProtectConfigurationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ProtectConfigurationFilterList, location_name: "Filters"))
868
+ DescribeProtectConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
869
+ DescribeProtectConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
870
+ DescribeProtectConfigurationsRequest.struct_class = Types::DescribeProtectConfigurationsRequest
871
+
872
+ DescribeProtectConfigurationsResult.add_member(:protect_configurations, Shapes::ShapeRef.new(shape: ProtectConfigurationInformationList, location_name: "ProtectConfigurations"))
873
+ DescribeProtectConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
874
+ DescribeProtectConfigurationsResult.struct_class = Types::DescribeProtectConfigurationsResult
875
+
780
876
  DescribeRegistrationAttachmentsRequest.add_member(:registration_attachment_ids, Shapes::ShapeRef.new(shape: RegistrationAttachmentIdList, location_name: "RegistrationAttachmentIds"))
781
877
  DescribeRegistrationAttachmentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: RegistrationAttachmentFilterList, location_name: "Filters"))
782
878
  DescribeRegistrationAttachmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -905,6 +1001,16 @@ module Aws::PinpointSMSVoiceV2
905
1001
  DisassociateOriginationIdentityResult.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: IsoCountryCode, location_name: "IsoCountryCode"))
906
1002
  DisassociateOriginationIdentityResult.struct_class = Types::DisassociateOriginationIdentityResult
907
1003
 
1004
+ DisassociateProtectConfigurationRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
1005
+ DisassociateProtectConfigurationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetNameOrArn, required: true, location_name: "ConfigurationSetName"))
1006
+ DisassociateProtectConfigurationRequest.struct_class = Types::DisassociateProtectConfigurationRequest
1007
+
1008
+ DisassociateProtectConfigurationResult.add_member(:configuration_set_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ConfigurationSetArn"))
1009
+ DisassociateProtectConfigurationResult.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location_name: "ConfigurationSetName"))
1010
+ DisassociateProtectConfigurationResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
1011
+ DisassociateProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
1012
+ DisassociateProtectConfigurationResult.struct_class = Types::DisassociateProtectConfigurationResult
1013
+
908
1014
  DiscardRegistrationVersionRequest.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationIdOrArn, required: true, location_name: "RegistrationId"))
909
1015
  DiscardRegistrationVersionRequest.struct_class = Types::DiscardRegistrationVersionRequest
910
1016
 
@@ -931,6 +1037,16 @@ module Aws::PinpointSMSVoiceV2
931
1037
 
932
1038
  FilterValueList.member = Shapes::ShapeRef.new(shape: FilterValue)
933
1039
 
1040
+ GetProtectConfigurationCountryRuleSetRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
1041
+ GetProtectConfigurationCountryRuleSetRequest.add_member(:number_capability, Shapes::ShapeRef.new(shape: NumberCapability, required: true, location_name: "NumberCapability"))
1042
+ GetProtectConfigurationCountryRuleSetRequest.struct_class = Types::GetProtectConfigurationCountryRuleSetRequest
1043
+
1044
+ GetProtectConfigurationCountryRuleSetResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
1045
+ GetProtectConfigurationCountryRuleSetResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
1046
+ GetProtectConfigurationCountryRuleSetResult.add_member(:number_capability, Shapes::ShapeRef.new(shape: NumberCapability, required: true, location_name: "NumberCapability"))
1047
+ GetProtectConfigurationCountryRuleSetResult.add_member(:country_rule_set, Shapes::ShapeRef.new(shape: ProtectConfigurationCountryRuleSet, required: true, location_name: "CountryRuleSet"))
1048
+ GetProtectConfigurationCountryRuleSetResult.struct_class = Types::GetProtectConfigurationCountryRuleSetResult
1049
+
934
1050
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
935
1051
  InternalServerException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
936
1052
  InternalServerException.struct_class = Types::InternalServerException
@@ -986,6 +1102,8 @@ module Aws::PinpointSMSVoiceV2
986
1102
  ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
987
1103
  ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
988
1104
 
1105
+ MediaUrlList.member = Shapes::ShapeRef.new(shape: MediaUrlValue)
1106
+
989
1107
  MessageTypeList.member = Shapes::ShapeRef.new(shape: MessageType)
990
1108
 
991
1109
  NonEmptyTagList.member = Shapes::ShapeRef.new(shape: Tag)
@@ -1085,6 +1203,29 @@ module Aws::PinpointSMSVoiceV2
1085
1203
 
1086
1204
  PoolOriginationIdentitiesFilterList.member = Shapes::ShapeRef.new(shape: PoolOriginationIdentitiesFilter)
1087
1205
 
1206
+ ProtectConfigurationCountryRuleSet.key = Shapes::ShapeRef.new(shape: IsoCountryCode)
1207
+ ProtectConfigurationCountryRuleSet.value = Shapes::ShapeRef.new(shape: ProtectConfigurationCountryRuleSetInformation)
1208
+
1209
+ ProtectConfigurationCountryRuleSetInformation.add_member(:protect_status, Shapes::ShapeRef.new(shape: ProtectStatus, required: true, location_name: "ProtectStatus"))
1210
+ ProtectConfigurationCountryRuleSetInformation.struct_class = Types::ProtectConfigurationCountryRuleSetInformation
1211
+
1212
+ ProtectConfigurationFilter.add_member(:name, Shapes::ShapeRef.new(shape: ProtectConfigurationFilterName, required: true, location_name: "Name"))
1213
+ ProtectConfigurationFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
1214
+ ProtectConfigurationFilter.struct_class = Types::ProtectConfigurationFilter
1215
+
1216
+ ProtectConfigurationFilterList.member = Shapes::ShapeRef.new(shape: ProtectConfigurationFilter)
1217
+
1218
+ ProtectConfigurationIdList.member = Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn)
1219
+
1220
+ ProtectConfigurationInformation.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
1221
+ ProtectConfigurationInformation.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
1222
+ ProtectConfigurationInformation.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
1223
+ ProtectConfigurationInformation.add_member(:account_default, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "AccountDefault"))
1224
+ ProtectConfigurationInformation.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "DeletionProtectionEnabled"))
1225
+ ProtectConfigurationInformation.struct_class = Types::ProtectConfigurationInformation
1226
+
1227
+ ProtectConfigurationInformationList.member = Shapes::ShapeRef.new(shape: ProtectConfigurationInformation)
1228
+
1088
1229
  PutKeywordRequest.add_member(:origination_identity, Shapes::ShapeRef.new(shape: PhoneOrPoolIdOrArn, required: true, location_name: "OriginationIdentity"))
1089
1230
  PutKeywordRequest.add_member(:keyword, Shapes::ShapeRef.new(shape: Keyword, required: true, location_name: "Keyword"))
1090
1231
  PutKeywordRequest.add_member(:keyword_message, Shapes::ShapeRef.new(shape: KeywordMessage, required: true, location_name: "KeywordMessage"))
@@ -1396,6 +1537,21 @@ module Aws::PinpointSMSVoiceV2
1396
1537
  SendDestinationNumberVerificationCodeResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageId"))
1397
1538
  SendDestinationNumberVerificationCodeResult.struct_class = Types::SendDestinationNumberVerificationCodeResult
1398
1539
 
1540
+ SendMediaMessageRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
1541
+ SendMediaMessageRequest.add_member(:origination_identity, Shapes::ShapeRef.new(shape: MediaMessageOriginationIdentity, required: true, location_name: "OriginationIdentity"))
1542
+ SendMediaMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: TextMessageBody, location_name: "MessageBody"))
1543
+ SendMediaMessageRequest.add_member(:media_urls, Shapes::ShapeRef.new(shape: MediaUrlList, location_name: "MediaUrls"))
1544
+ SendMediaMessageRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetNameOrArn, location_name: "ConfigurationSetName"))
1545
+ SendMediaMessageRequest.add_member(:max_price, Shapes::ShapeRef.new(shape: MaxPrice, location_name: "MaxPrice"))
1546
+ SendMediaMessageRequest.add_member(:time_to_live, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "TimeToLive"))
1547
+ SendMediaMessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: ContextMap, location_name: "Context"))
1548
+ SendMediaMessageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "DryRun"))
1549
+ SendMediaMessageRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, location_name: "ProtectConfigurationId"))
1550
+ SendMediaMessageRequest.struct_class = Types::SendMediaMessageRequest
1551
+
1552
+ SendMediaMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
1553
+ SendMediaMessageResult.struct_class = Types::SendMediaMessageResult
1554
+
1399
1555
  SendTextMessageRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
1400
1556
  SendTextMessageRequest.add_member(:origination_identity, Shapes::ShapeRef.new(shape: TextMessageOriginationIdentity, location_name: "OriginationIdentity"))
1401
1557
  SendTextMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: TextMessageBody, location_name: "MessageBody"))
@@ -1407,6 +1563,7 @@ module Aws::PinpointSMSVoiceV2
1407
1563
  SendTextMessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: ContextMap, location_name: "Context"))
1408
1564
  SendTextMessageRequest.add_member(:destination_country_parameters, Shapes::ShapeRef.new(shape: DestinationCountryParameters, location_name: "DestinationCountryParameters"))
1409
1565
  SendTextMessageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "DryRun"))
1566
+ SendTextMessageRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, location_name: "ProtectConfigurationId"))
1410
1567
  SendTextMessageRequest.struct_class = Types::SendTextMessageRequest
1411
1568
 
1412
1569
  SendTextMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
@@ -1422,6 +1579,7 @@ module Aws::PinpointSMSVoiceV2
1422
1579
  SendVoiceMessageRequest.add_member(:time_to_live, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "TimeToLive"))
1423
1580
  SendVoiceMessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: ContextMap, location_name: "Context"))
1424
1581
  SendVoiceMessageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "DryRun"))
1582
+ SendVoiceMessageRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, location_name: "ProtectConfigurationId"))
1425
1583
  SendVoiceMessageRequest.struct_class = Types::SendVoiceMessageRequest
1426
1584
 
1427
1585
  SendVoiceMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
@@ -1455,6 +1613,13 @@ module Aws::PinpointSMSVoiceV2
1455
1613
  ServiceQuotaExceededException.add_member(:reason, Shapes::ShapeRef.new(shape: ServiceQuotaExceededExceptionReason, location_name: "Reason"))
1456
1614
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1457
1615
 
1616
+ SetAccountDefaultProtectConfigurationRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
1617
+ SetAccountDefaultProtectConfigurationRequest.struct_class = Types::SetAccountDefaultProtectConfigurationRequest
1618
+
1619
+ SetAccountDefaultProtectConfigurationResult.add_member(:default_protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "DefaultProtectConfigurationArn"))
1620
+ SetAccountDefaultProtectConfigurationResult.add_member(:default_protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "DefaultProtectConfigurationId"))
1621
+ SetAccountDefaultProtectConfigurationResult.struct_class = Types::SetAccountDefaultProtectConfigurationResult
1622
+
1458
1623
  SetDefaultMessageTypeRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetNameOrArn, required: true, location_name: "ConfigurationSetName"))
1459
1624
  SetDefaultMessageTypeRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "MessageType"))
1460
1625
  SetDefaultMessageTypeRequest.struct_class = Types::SetDefaultMessageTypeRequest
@@ -1473,6 +1638,12 @@ module Aws::PinpointSMSVoiceV2
1473
1638
  SetDefaultSenderIdResult.add_member(:sender_id, Shapes::ShapeRef.new(shape: SenderId, location_name: "SenderId"))
1474
1639
  SetDefaultSenderIdResult.struct_class = Types::SetDefaultSenderIdResult
1475
1640
 
1641
+ SetMediaMessageSpendLimitOverrideRequest.add_member(:monthly_limit, Shapes::ShapeRef.new(shape: MonthlyLimit, required: true, location_name: "MonthlyLimit"))
1642
+ SetMediaMessageSpendLimitOverrideRequest.struct_class = Types::SetMediaMessageSpendLimitOverrideRequest
1643
+
1644
+ SetMediaMessageSpendLimitOverrideResult.add_member(:monthly_limit, Shapes::ShapeRef.new(shape: MonthlyLimit, location_name: "MonthlyLimit"))
1645
+ SetMediaMessageSpendLimitOverrideResult.struct_class = Types::SetMediaMessageSpendLimitOverrideResult
1646
+
1476
1647
  SetTextMessageSpendLimitOverrideRequest.add_member(:monthly_limit, Shapes::ShapeRef.new(shape: MonthlyLimit, required: true, location_name: "MonthlyLimit"))
1477
1648
  SetTextMessageSpendLimitOverrideRequest.struct_class = Types::SetTextMessageSpendLimitOverrideRequest
1478
1649
 
@@ -1613,6 +1784,28 @@ module Aws::PinpointSMSVoiceV2
1613
1784
  UpdatePoolResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
1614
1785
  UpdatePoolResult.struct_class = Types::UpdatePoolResult
1615
1786
 
1787
+ UpdateProtectConfigurationCountryRuleSetRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
1788
+ UpdateProtectConfigurationCountryRuleSetRequest.add_member(:number_capability, Shapes::ShapeRef.new(shape: NumberCapability, required: true, location_name: "NumberCapability"))
1789
+ UpdateProtectConfigurationCountryRuleSetRequest.add_member(:country_rule_set_updates, Shapes::ShapeRef.new(shape: ProtectConfigurationCountryRuleSet, required: true, location_name: "CountryRuleSetUpdates"))
1790
+ UpdateProtectConfigurationCountryRuleSetRequest.struct_class = Types::UpdateProtectConfigurationCountryRuleSetRequest
1791
+
1792
+ UpdateProtectConfigurationCountryRuleSetResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
1793
+ UpdateProtectConfigurationCountryRuleSetResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
1794
+ UpdateProtectConfigurationCountryRuleSetResult.add_member(:number_capability, Shapes::ShapeRef.new(shape: NumberCapability, required: true, location_name: "NumberCapability"))
1795
+ UpdateProtectConfigurationCountryRuleSetResult.add_member(:country_rule_set, Shapes::ShapeRef.new(shape: ProtectConfigurationCountryRuleSet, required: true, location_name: "CountryRuleSet"))
1796
+ UpdateProtectConfigurationCountryRuleSetResult.struct_class = Types::UpdateProtectConfigurationCountryRuleSetResult
1797
+
1798
+ UpdateProtectConfigurationRequest.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationIdOrArn, required: true, location_name: "ProtectConfigurationId"))
1799
+ UpdateProtectConfigurationRequest.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtectionEnabled"))
1800
+ UpdateProtectConfigurationRequest.struct_class = Types::UpdateProtectConfigurationRequest
1801
+
1802
+ UpdateProtectConfigurationResult.add_member(:protect_configuration_arn, Shapes::ShapeRef.new(shape: ProtectConfigurationArn, required: true, location_name: "ProtectConfigurationArn"))
1803
+ UpdateProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
1804
+ UpdateProtectConfigurationResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
1805
+ UpdateProtectConfigurationResult.add_member(:account_default, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "AccountDefault"))
1806
+ UpdateProtectConfigurationResult.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "DeletionProtectionEnabled"))
1807
+ UpdateProtectConfigurationResult.struct_class = Types::UpdateProtectConfigurationResult
1808
+
1616
1809
  UpdateSenderIdRequest.add_member(:sender_id, Shapes::ShapeRef.new(shape: SenderIdOrArn, required: true, location_name: "SenderId"))
1617
1810
  UpdateSenderIdRequest.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: IsoCountryCode, required: true, location_name: "IsoCountryCode"))
1618
1811
  UpdateSenderIdRequest.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtectionEnabled"))
@@ -1701,6 +1894,20 @@ module Aws::PinpointSMSVoiceV2
1701
1894
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1702
1895
  end)
1703
1896
 
1897
+ api.add_operation(:associate_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
1898
+ o.name = "AssociateProtectConfiguration"
1899
+ o.http_method = "POST"
1900
+ o.http_request_uri = "/"
1901
+ o.input = Shapes::ShapeRef.new(shape: AssociateProtectConfigurationRequest)
1902
+ o.output = Shapes::ShapeRef.new(shape: AssociateProtectConfigurationResult)
1903
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1904
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1905
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1906
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1907
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1908
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1909
+ end)
1910
+
1704
1911
  api.add_operation(:create_configuration_set, Seahorse::Model::Operation.new.tap do |o|
1705
1912
  o.name = "CreateConfigurationSet"
1706
1913
  o.http_method = "POST"
@@ -1759,6 +1966,19 @@ module Aws::PinpointSMSVoiceV2
1759
1966
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1760
1967
  end)
1761
1968
 
1969
+ api.add_operation(:create_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
1970
+ o.name = "CreateProtectConfiguration"
1971
+ o.http_method = "POST"
1972
+ o.http_request_uri = "/"
1973
+ o.input = Shapes::ShapeRef.new(shape: CreateProtectConfigurationRequest)
1974
+ o.output = Shapes::ShapeRef.new(shape: CreateProtectConfigurationResult)
1975
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1976
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1977
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1978
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1979
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1980
+ end)
1981
+
1762
1982
  api.add_operation(:create_registration, Seahorse::Model::Operation.new.tap do |o|
1763
1983
  o.name = "CreateRegistration"
1764
1984
  o.http_method = "POST"
@@ -1831,6 +2051,19 @@ module Aws::PinpointSMSVoiceV2
1831
2051
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1832
2052
  end)
1833
2053
 
2054
+ api.add_operation(:delete_account_default_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
2055
+ o.name = "DeleteAccountDefaultProtectConfiguration"
2056
+ o.http_method = "POST"
2057
+ o.http_request_uri = "/"
2058
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccountDefaultProtectConfigurationRequest)
2059
+ o.output = Shapes::ShapeRef.new(shape: DeleteAccountDefaultProtectConfigurationResult)
2060
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2063
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2064
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2065
+ end)
2066
+
1834
2067
  api.add_operation(:delete_configuration_set, Seahorse::Model::Operation.new.tap do |o|
1835
2068
  o.name = "DeleteConfigurationSet"
1836
2069
  o.http_method = "POST"
@@ -1897,6 +2130,18 @@ module Aws::PinpointSMSVoiceV2
1897
2130
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1898
2131
  end)
1899
2132
 
2133
+ api.add_operation(:delete_media_message_spend_limit_override, Seahorse::Model::Operation.new.tap do |o|
2134
+ o.name = "DeleteMediaMessageSpendLimitOverride"
2135
+ o.http_method = "POST"
2136
+ o.http_request_uri = "/"
2137
+ o.input = Shapes::ShapeRef.new(shape: DeleteMediaMessageSpendLimitOverrideRequest)
2138
+ o.output = Shapes::ShapeRef.new(shape: DeleteMediaMessageSpendLimitOverrideResult)
2139
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2140
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2141
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2142
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2143
+ end)
2144
+
1900
2145
  api.add_operation(:delete_opt_out_list, Seahorse::Model::Operation.new.tap do |o|
1901
2146
  o.name = "DeleteOptOutList"
1902
2147
  o.http_method = "POST"
@@ -1939,6 +2184,20 @@ module Aws::PinpointSMSVoiceV2
1939
2184
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1940
2185
  end)
1941
2186
 
2187
+ api.add_operation(:delete_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
2188
+ o.name = "DeleteProtectConfiguration"
2189
+ o.http_method = "POST"
2190
+ o.http_request_uri = "/"
2191
+ o.input = Shapes::ShapeRef.new(shape: DeleteProtectConfigurationRequest)
2192
+ o.output = Shapes::ShapeRef.new(shape: DeleteProtectConfigurationResult)
2193
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2194
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2195
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2196
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2197
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2198
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2199
+ end)
2200
+
1942
2201
  api.add_operation(:delete_registration, Seahorse::Model::Operation.new.tap do |o|
1943
2202
  o.name = "DeleteRegistration"
1944
2203
  o.http_method = "POST"
@@ -2169,6 +2428,25 @@ module Aws::PinpointSMSVoiceV2
2169
2428
  )
2170
2429
  end)
2171
2430
 
2431
+ api.add_operation(:describe_protect_configurations, Seahorse::Model::Operation.new.tap do |o|
2432
+ o.name = "DescribeProtectConfigurations"
2433
+ o.http_method = "POST"
2434
+ o.http_request_uri = "/"
2435
+ o.input = Shapes::ShapeRef.new(shape: DescribeProtectConfigurationsRequest)
2436
+ o.output = Shapes::ShapeRef.new(shape: DescribeProtectConfigurationsResult)
2437
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2438
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2439
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2440
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2441
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2442
+ o[:pager] = Aws::Pager.new(
2443
+ limit_key: "max_results",
2444
+ tokens: {
2445
+ "next_token" => "next_token"
2446
+ }
2447
+ )
2448
+ end)
2449
+
2172
2450
  api.add_operation(:describe_registration_attachments, Seahorse::Model::Operation.new.tap do |o|
2173
2451
  o.name = "DescribeRegistrationAttachments"
2174
2452
  o.http_method = "POST"
@@ -2369,6 +2647,20 @@ module Aws::PinpointSMSVoiceV2
2369
2647
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2370
2648
  end)
2371
2649
 
2650
+ api.add_operation(:disassociate_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
2651
+ o.name = "DisassociateProtectConfiguration"
2652
+ o.http_method = "POST"
2653
+ o.http_request_uri = "/"
2654
+ o.input = Shapes::ShapeRef.new(shape: DisassociateProtectConfigurationRequest)
2655
+ o.output = Shapes::ShapeRef.new(shape: DisassociateProtectConfigurationResult)
2656
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2657
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2658
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2659
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2660
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2661
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2662
+ end)
2663
+
2372
2664
  api.add_operation(:discard_registration_version, Seahorse::Model::Operation.new.tap do |o|
2373
2665
  o.name = "DiscardRegistrationVersion"
2374
2666
  o.http_method = "POST"
@@ -2383,6 +2675,19 @@ module Aws::PinpointSMSVoiceV2
2383
2675
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2384
2676
  end)
2385
2677
 
2678
+ api.add_operation(:get_protect_configuration_country_rule_set, Seahorse::Model::Operation.new.tap do |o|
2679
+ o.name = "GetProtectConfigurationCountryRuleSet"
2680
+ o.http_method = "POST"
2681
+ o.http_request_uri = "/"
2682
+ o.input = Shapes::ShapeRef.new(shape: GetProtectConfigurationCountryRuleSetRequest)
2683
+ o.output = Shapes::ShapeRef.new(shape: GetProtectConfigurationCountryRuleSetResult)
2684
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2685
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2686
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2687
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2688
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2689
+ end)
2690
+
2386
2691
  api.add_operation(:list_pool_origination_identities, Seahorse::Model::Operation.new.tap do |o|
2387
2692
  o.name = "ListPoolOriginationIdentities"
2388
2693
  o.http_method = "POST"
@@ -2548,6 +2853,21 @@ module Aws::PinpointSMSVoiceV2
2548
2853
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2549
2854
  end)
2550
2855
 
2856
+ api.add_operation(:send_media_message, Seahorse::Model::Operation.new.tap do |o|
2857
+ o.name = "SendMediaMessage"
2858
+ o.http_method = "POST"
2859
+ o.http_request_uri = "/"
2860
+ o.input = Shapes::ShapeRef.new(shape: SendMediaMessageRequest)
2861
+ o.output = Shapes::ShapeRef.new(shape: SendMediaMessageResult)
2862
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2863
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2864
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2865
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2866
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2867
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2868
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2869
+ end)
2870
+
2551
2871
  api.add_operation(:send_text_message, Seahorse::Model::Operation.new.tap do |o|
2552
2872
  o.name = "SendTextMessage"
2553
2873
  o.http_method = "POST"
@@ -2578,6 +2898,19 @@ module Aws::PinpointSMSVoiceV2
2578
2898
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2579
2899
  end)
2580
2900
 
2901
+ api.add_operation(:set_account_default_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
2902
+ o.name = "SetAccountDefaultProtectConfiguration"
2903
+ o.http_method = "POST"
2904
+ o.http_request_uri = "/"
2905
+ o.input = Shapes::ShapeRef.new(shape: SetAccountDefaultProtectConfigurationRequest)
2906
+ o.output = Shapes::ShapeRef.new(shape: SetAccountDefaultProtectConfigurationResult)
2907
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2908
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2909
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2910
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2912
+ end)
2913
+
2581
2914
  api.add_operation(:set_default_message_type, Seahorse::Model::Operation.new.tap do |o|
2582
2915
  o.name = "SetDefaultMessageType"
2583
2916
  o.http_method = "POST"
@@ -2604,6 +2937,18 @@ module Aws::PinpointSMSVoiceV2
2604
2937
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2605
2938
  end)
2606
2939
 
2940
+ api.add_operation(:set_media_message_spend_limit_override, Seahorse::Model::Operation.new.tap do |o|
2941
+ o.name = "SetMediaMessageSpendLimitOverride"
2942
+ o.http_method = "POST"
2943
+ o.http_request_uri = "/"
2944
+ o.input = Shapes::ShapeRef.new(shape: SetMediaMessageSpendLimitOverrideRequest)
2945
+ o.output = Shapes::ShapeRef.new(shape: SetMediaMessageSpendLimitOverrideResult)
2946
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2947
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2948
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2949
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2950
+ end)
2951
+
2607
2952
  api.add_operation(:set_text_message_spend_limit_override, Seahorse::Model::Operation.new.tap do |o|
2608
2953
  o.name = "SetTextMessageSpendLimitOverride"
2609
2954
  o.http_method = "POST"
@@ -2711,6 +3056,32 @@ module Aws::PinpointSMSVoiceV2
2711
3056
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2712
3057
  end)
2713
3058
 
3059
+ api.add_operation(:update_protect_configuration, Seahorse::Model::Operation.new.tap do |o|
3060
+ o.name = "UpdateProtectConfiguration"
3061
+ o.http_method = "POST"
3062
+ o.http_request_uri = "/"
3063
+ o.input = Shapes::ShapeRef.new(shape: UpdateProtectConfigurationRequest)
3064
+ o.output = Shapes::ShapeRef.new(shape: UpdateProtectConfigurationResult)
3065
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3066
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3067
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3068
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3069
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3070
+ end)
3071
+
3072
+ api.add_operation(:update_protect_configuration_country_rule_set, Seahorse::Model::Operation.new.tap do |o|
3073
+ o.name = "UpdateProtectConfigurationCountryRuleSet"
3074
+ o.http_method = "POST"
3075
+ o.http_request_uri = "/"
3076
+ o.input = Shapes::ShapeRef.new(shape: UpdateProtectConfigurationCountryRuleSetRequest)
3077
+ o.output = Shapes::ShapeRef.new(shape: UpdateProtectConfigurationCountryRuleSetResult)
3078
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3079
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3080
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3081
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3082
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3083
+ end)
3084
+
2714
3085
  api.add_operation(:update_sender_id, Seahorse::Model::Operation.new.tap do |o|
2715
3086
  o.name = "UpdateSenderId"
2716
3087
  o.http_method = "POST"