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.
data/sig/types.rbs CHANGED
@@ -15,7 +15,7 @@ module Aws::PinpointSMSVoiceV2
15
15
  end
16
16
 
17
17
  class AccountAttribute
18
- attr_accessor name: ("ACCOUNT_TIER")
18
+ attr_accessor name: ("ACCOUNT_TIER" | "DEFAULT_PROTECT_CONFIGURATION_ID")
19
19
  attr_accessor value: ::String
20
20
  SENSITIVE: []
21
21
  end
@@ -44,6 +44,20 @@ module Aws::PinpointSMSVoiceV2
44
44
  SENSITIVE: []
45
45
  end
46
46
 
47
+ class AssociateProtectConfigurationRequest
48
+ attr_accessor protect_configuration_id: ::String
49
+ attr_accessor configuration_set_name: ::String
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class AssociateProtectConfigurationResult
54
+ attr_accessor configuration_set_arn: ::String
55
+ attr_accessor configuration_set_name: ::String
56
+ attr_accessor protect_configuration_arn: ::String
57
+ attr_accessor protect_configuration_id: ::String
58
+ SENSITIVE: []
59
+ end
60
+
47
61
  class CloudWatchLogsDestination
48
62
  attr_accessor iam_role_arn: ::String
49
63
  attr_accessor log_group_arn: ::String
@@ -51,7 +65,7 @@ module Aws::PinpointSMSVoiceV2
51
65
  end
52
66
 
53
67
  class ConfigurationSetFilter
54
- attr_accessor name: ("event-destination-name" | "matching-event-types" | "default-message-type" | "default-sender-id")
68
+ attr_accessor name: ("event-destination-name" | "matching-event-types" | "default-message-type" | "default-sender-id" | "protect-configuration-id")
55
69
  attr_accessor values: ::Array[::String]
56
70
  SENSITIVE: []
57
71
  end
@@ -63,13 +77,14 @@ module Aws::PinpointSMSVoiceV2
63
77
  attr_accessor default_message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
64
78
  attr_accessor default_sender_id: ::String
65
79
  attr_accessor created_timestamp: ::Time
80
+ attr_accessor protect_configuration_id: ::String
66
81
  SENSITIVE: []
67
82
  end
68
83
 
69
84
  class ConflictException
70
85
  attr_accessor message: ::String
71
- attr_accessor reason: ("CREATE_REGISTRATION_VERSION_NOT_ALLOWED" | "DELETION_PROTECTION_ENABLED" | "DESTINATION_PHONE_NUMBER_NOT_VERIFIED" | "DESTINATION_PHONE_NUMBER_OPTED_OUT" | "DISASSOCIATE_REGISTRATION_NOT_ALLOWED" | "DISCARD_REGISTRATION_VERSION_NOT_ALLOWED" | "EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED" | "EVENT_DESTINATION_MISMATCH" | "KEYWORD_MISMATCH" | "LAST_PHONE_NUMBER" | "NUMBER_CAPABILITIES_MISMATCH" | "MESSAGE_TYPE_MISMATCH" | "NO_ORIGINATION_IDENTITIES_FOUND" | "OPT_OUT_LIST_MISMATCH" | "PHONE_NUMBER_ASSOCIATED_TO_POOL" | "PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION" | "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL" | "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION" | "REGISTRATION_ALREADY_SUBMITTED" | "REGISTRATION_NOT_COMPLETE" | "SENDER_ID_ASSOCIATED_TO_POOL" | "RESOURCE_ALREADY_EXISTS" | "RESOURCE_DELETION_NOT_ALLOWED" | "RESOURCE_MODIFICATION_NOT_ALLOWED" | "RESOURCE_NOT_ACTIVE" | "RESOURCE_NOT_EMPTY" | "SELF_MANAGED_OPT_OUTS_MISMATCH" | "SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED" | "TWO_WAY_CONFIG_MISMATCH" | "VERIFICATION_CODE_EXPIRED" | "VERIFICATION_ALREADY_COMPLETE")
72
- attr_accessor resource_type: ("account" | "phone-number" | "sender-id" | "pool" | "configuration-set" | "opt-out-list" | "event-destination" | "keyword" | "opted-out-number" | "registration" | "registration-attachment" | "verified-destination-number")
86
+ attr_accessor reason: ("CREATE_REGISTRATION_VERSION_NOT_ALLOWED" | "DELETION_PROTECTION_ENABLED" | "DESTINATION_PHONE_NUMBER_NOT_VERIFIED" | "DESTINATION_PHONE_NUMBER_OPTED_OUT" | "DISASSOCIATE_REGISTRATION_NOT_ALLOWED" | "DISCARD_REGISTRATION_VERSION_NOT_ALLOWED" | "EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED" | "EVENT_DESTINATION_MISMATCH" | "KEYWORD_MISMATCH" | "LAST_PHONE_NUMBER" | "NUMBER_CAPABILITIES_MISMATCH" | "MESSAGE_TYPE_MISMATCH" | "NO_ORIGINATION_IDENTITIES_FOUND" | "OPT_OUT_LIST_MISMATCH" | "PHONE_NUMBER_ASSOCIATED_TO_POOL" | "PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION" | "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL" | "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION" | "REGISTRATION_ALREADY_SUBMITTED" | "REGISTRATION_NOT_COMPLETE" | "SENDER_ID_ASSOCIATED_TO_POOL" | "RESOURCE_ALREADY_EXISTS" | "RESOURCE_DELETION_NOT_ALLOWED" | "RESOURCE_MODIFICATION_NOT_ALLOWED" | "RESOURCE_NOT_ACTIVE" | "RESOURCE_NOT_EMPTY" | "SELF_MANAGED_OPT_OUTS_MISMATCH" | "SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED" | "TWO_WAY_CONFIG_MISMATCH" | "VERIFICATION_CODE_EXPIRED" | "VERIFICATION_ALREADY_COMPLETE" | "PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT" | "PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET" | "PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET" | "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION")
87
+ attr_accessor resource_type: ("account" | "phone-number" | "sender-id" | "pool" | "configuration-set" | "opt-out-list" | "event-destination" | "keyword" | "opted-out-number" | "registration" | "registration-attachment" | "verified-destination-number" | "protect-configuration")
73
88
  attr_accessor resource_id: ::String
74
89
  SENSITIVE: []
75
90
  end
@@ -92,7 +107,7 @@ module Aws::PinpointSMSVoiceV2
92
107
  class CreateEventDestinationRequest
93
108
  attr_accessor configuration_set_name: ::String
94
109
  attr_accessor event_destination_name: ::String
95
- attr_accessor matching_event_types: ::Array[("ALL" | "TEXT_ALL" | "TEXT_SENT" | "TEXT_PENDING" | "TEXT_QUEUED" | "TEXT_SUCCESSFUL" | "TEXT_DELIVERED" | "TEXT_INVALID" | "TEXT_INVALID_MESSAGE" | "TEXT_UNREACHABLE" | "TEXT_CARRIER_UNREACHABLE" | "TEXT_BLOCKED" | "TEXT_CARRIER_BLOCKED" | "TEXT_SPAM" | "TEXT_UNKNOWN" | "TEXT_TTL_EXPIRED" | "VOICE_ALL" | "VOICE_INITIATED" | "VOICE_RINGING" | "VOICE_ANSWERED" | "VOICE_COMPLETED" | "VOICE_BUSY" | "VOICE_NO_ANSWER" | "VOICE_FAILED" | "VOICE_TTL_EXPIRED")]
110
+ attr_accessor matching_event_types: ::Array[("ALL" | "TEXT_ALL" | "TEXT_SENT" | "TEXT_PENDING" | "TEXT_QUEUED" | "TEXT_SUCCESSFUL" | "TEXT_DELIVERED" | "TEXT_INVALID" | "TEXT_INVALID_MESSAGE" | "TEXT_UNREACHABLE" | "TEXT_CARRIER_UNREACHABLE" | "TEXT_BLOCKED" | "TEXT_CARRIER_BLOCKED" | "TEXT_SPAM" | "TEXT_UNKNOWN" | "TEXT_TTL_EXPIRED" | "VOICE_ALL" | "VOICE_INITIATED" | "VOICE_RINGING" | "VOICE_ANSWERED" | "VOICE_COMPLETED" | "VOICE_BUSY" | "VOICE_NO_ANSWER" | "VOICE_FAILED" | "VOICE_TTL_EXPIRED" | "MEDIA_ALL" | "MEDIA_PENDING" | "MEDIA_QUEUED" | "MEDIA_SUCCESSFUL" | "MEDIA_DELIVERED" | "MEDIA_INVALID" | "MEDIA_INVALID_MESSAGE" | "MEDIA_UNREACHABLE" | "MEDIA_CARRIER_UNREACHABLE" | "MEDIA_BLOCKED" | "MEDIA_CARRIER_BLOCKED" | "MEDIA_SPAM" | "MEDIA_UNKNOWN" | "MEDIA_TTL_EXPIRED" | "MEDIA_FILE_INACCESSIBLE" | "MEDIA_FILE_TYPE_UNSUPPORTED" | "MEDIA_FILE_SIZE_EXCEEDED")]
96
111
  attr_accessor cloud_watch_logs_destination: Types::CloudWatchLogsDestination
97
112
  attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
98
113
  attr_accessor sns_destination: Types::SnsDestination
@@ -149,6 +164,23 @@ module Aws::PinpointSMSVoiceV2
149
164
  SENSITIVE: []
150
165
  end
151
166
 
167
+ class CreateProtectConfigurationRequest
168
+ attr_accessor client_token: ::String
169
+ attr_accessor deletion_protection_enabled: bool
170
+ attr_accessor tags: ::Array[Types::Tag]
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class CreateProtectConfigurationResult
175
+ attr_accessor protect_configuration_arn: ::String
176
+ attr_accessor protect_configuration_id: ::String
177
+ attr_accessor created_timestamp: ::Time
178
+ attr_accessor account_default: bool
179
+ attr_accessor deletion_protection_enabled: bool
180
+ attr_accessor tags: ::Array[Types::Tag]
181
+ SENSITIVE: []
182
+ end
183
+
152
184
  class CreateRegistrationAssociationRequest
153
185
  attr_accessor registration_id: ::String
154
186
  attr_accessor resource_id: ::String
@@ -234,6 +266,15 @@ module Aws::PinpointSMSVoiceV2
234
266
  SENSITIVE: []
235
267
  end
236
268
 
269
+ class DeleteAccountDefaultProtectConfigurationRequest < Aws::EmptyStructure
270
+ end
271
+
272
+ class DeleteAccountDefaultProtectConfigurationResult
273
+ attr_accessor default_protect_configuration_arn: ::String
274
+ attr_accessor default_protect_configuration_id: ::String
275
+ SENSITIVE: []
276
+ end
277
+
237
278
  class DeleteConfigurationSetRequest
238
279
  attr_accessor configuration_set_name: ::String
239
280
  SENSITIVE: []
@@ -301,6 +342,14 @@ module Aws::PinpointSMSVoiceV2
301
342
  SENSITIVE: []
302
343
  end
303
344
 
345
+ class DeleteMediaMessageSpendLimitOverrideRequest < Aws::EmptyStructure
346
+ end
347
+
348
+ class DeleteMediaMessageSpendLimitOverrideResult
349
+ attr_accessor monthly_limit: ::Integer
350
+ SENSITIVE: []
351
+ end
352
+
304
353
  class DeleteOptOutListRequest
305
354
  attr_accessor opt_out_list_name: ::String
306
355
  SENSITIVE: []
@@ -348,6 +397,20 @@ module Aws::PinpointSMSVoiceV2
348
397
  SENSITIVE: []
349
398
  end
350
399
 
400
+ class DeleteProtectConfigurationRequest
401
+ attr_accessor protect_configuration_id: ::String
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class DeleteProtectConfigurationResult
406
+ attr_accessor protect_configuration_arn: ::String
407
+ attr_accessor protect_configuration_id: ::String
408
+ attr_accessor created_timestamp: ::Time
409
+ attr_accessor account_default: bool
410
+ attr_accessor deletion_protection_enabled: bool
411
+ SENSITIVE: []
412
+ end
413
+
351
414
  class DeleteRegistrationAttachmentRequest
352
415
  attr_accessor registration_attachment_id: ::String
353
416
  SENSITIVE: []
@@ -539,6 +602,20 @@ module Aws::PinpointSMSVoiceV2
539
602
  SENSITIVE: []
540
603
  end
541
604
 
605
+ class DescribeProtectConfigurationsRequest
606
+ attr_accessor protect_configuration_ids: ::Array[::String]
607
+ attr_accessor filters: ::Array[Types::ProtectConfigurationFilter]
608
+ attr_accessor next_token: ::String
609
+ attr_accessor max_results: ::Integer
610
+ SENSITIVE: []
611
+ end
612
+
613
+ class DescribeProtectConfigurationsResult
614
+ attr_accessor protect_configurations: ::Array[Types::ProtectConfigurationInformation]
615
+ attr_accessor next_token: ::String
616
+ SENSITIVE: []
617
+ end
618
+
542
619
  class DescribeRegistrationAttachmentsRequest
543
620
  attr_accessor registration_attachment_ids: ::Array[::String]
544
621
  attr_accessor filters: ::Array[Types::RegistrationAttachmentFilter]
@@ -706,6 +783,20 @@ module Aws::PinpointSMSVoiceV2
706
783
  SENSITIVE: []
707
784
  end
708
785
 
786
+ class DisassociateProtectConfigurationRequest
787
+ attr_accessor protect_configuration_id: ::String
788
+ attr_accessor configuration_set_name: ::String
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class DisassociateProtectConfigurationResult
793
+ attr_accessor configuration_set_arn: ::String
794
+ attr_accessor configuration_set_name: ::String
795
+ attr_accessor protect_configuration_arn: ::String
796
+ attr_accessor protect_configuration_id: ::String
797
+ SENSITIVE: []
798
+ end
799
+
709
800
  class DiscardRegistrationVersionRequest
710
801
  attr_accessor registration_id: ::String
711
802
  SENSITIVE: []
@@ -723,13 +814,27 @@ module Aws::PinpointSMSVoiceV2
723
814
  class EventDestination
724
815
  attr_accessor event_destination_name: ::String
725
816
  attr_accessor enabled: bool
726
- attr_accessor matching_event_types: ::Array[("ALL" | "TEXT_ALL" | "TEXT_SENT" | "TEXT_PENDING" | "TEXT_QUEUED" | "TEXT_SUCCESSFUL" | "TEXT_DELIVERED" | "TEXT_INVALID" | "TEXT_INVALID_MESSAGE" | "TEXT_UNREACHABLE" | "TEXT_CARRIER_UNREACHABLE" | "TEXT_BLOCKED" | "TEXT_CARRIER_BLOCKED" | "TEXT_SPAM" | "TEXT_UNKNOWN" | "TEXT_TTL_EXPIRED" | "VOICE_ALL" | "VOICE_INITIATED" | "VOICE_RINGING" | "VOICE_ANSWERED" | "VOICE_COMPLETED" | "VOICE_BUSY" | "VOICE_NO_ANSWER" | "VOICE_FAILED" | "VOICE_TTL_EXPIRED")]
817
+ attr_accessor matching_event_types: ::Array[("ALL" | "TEXT_ALL" | "TEXT_SENT" | "TEXT_PENDING" | "TEXT_QUEUED" | "TEXT_SUCCESSFUL" | "TEXT_DELIVERED" | "TEXT_INVALID" | "TEXT_INVALID_MESSAGE" | "TEXT_UNREACHABLE" | "TEXT_CARRIER_UNREACHABLE" | "TEXT_BLOCKED" | "TEXT_CARRIER_BLOCKED" | "TEXT_SPAM" | "TEXT_UNKNOWN" | "TEXT_TTL_EXPIRED" | "VOICE_ALL" | "VOICE_INITIATED" | "VOICE_RINGING" | "VOICE_ANSWERED" | "VOICE_COMPLETED" | "VOICE_BUSY" | "VOICE_NO_ANSWER" | "VOICE_FAILED" | "VOICE_TTL_EXPIRED" | "MEDIA_ALL" | "MEDIA_PENDING" | "MEDIA_QUEUED" | "MEDIA_SUCCESSFUL" | "MEDIA_DELIVERED" | "MEDIA_INVALID" | "MEDIA_INVALID_MESSAGE" | "MEDIA_UNREACHABLE" | "MEDIA_CARRIER_UNREACHABLE" | "MEDIA_BLOCKED" | "MEDIA_CARRIER_BLOCKED" | "MEDIA_SPAM" | "MEDIA_UNKNOWN" | "MEDIA_TTL_EXPIRED" | "MEDIA_FILE_INACCESSIBLE" | "MEDIA_FILE_TYPE_UNSUPPORTED" | "MEDIA_FILE_SIZE_EXCEEDED")]
727
818
  attr_accessor cloud_watch_logs_destination: Types::CloudWatchLogsDestination
728
819
  attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
729
820
  attr_accessor sns_destination: Types::SnsDestination
730
821
  SENSITIVE: []
731
822
  end
732
823
 
824
+ class GetProtectConfigurationCountryRuleSetRequest
825
+ attr_accessor protect_configuration_id: ::String
826
+ attr_accessor number_capability: ("SMS" | "VOICE" | "MMS")
827
+ SENSITIVE: []
828
+ end
829
+
830
+ class GetProtectConfigurationCountryRuleSetResult
831
+ attr_accessor protect_configuration_arn: ::String
832
+ attr_accessor protect_configuration_id: ::String
833
+ attr_accessor number_capability: ("SMS" | "VOICE" | "MMS")
834
+ attr_accessor country_rule_set: ::Hash[::String, Types::ProtectConfigurationCountryRuleSetInformation]
835
+ SENSITIVE: []
836
+ end
837
+
733
838
  class InternalServerException
734
839
  attr_accessor message: ::String
735
840
  attr_accessor request_id: ::String
@@ -823,7 +928,7 @@ module Aws::PinpointSMSVoiceV2
823
928
  attr_accessor origination_identity_arn: ::String
824
929
  attr_accessor origination_identity: ::String
825
930
  attr_accessor iso_country_code: ::String
826
- attr_accessor number_capabilities: ::Array[("SMS" | "VOICE")]
931
+ attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS")]
827
932
  attr_accessor phone_number: ::String
828
933
  SENSITIVE: []
829
934
  end
@@ -841,7 +946,7 @@ module Aws::PinpointSMSVoiceV2
841
946
  attr_accessor status: ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
842
947
  attr_accessor iso_country_code: ::String
843
948
  attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
844
- attr_accessor number_capabilities: ::Array[("SMS" | "VOICE")]
949
+ attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS")]
845
950
  attr_accessor number_type: ("SHORT_CODE" | "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
846
951
  attr_accessor monthly_leasing_price: ::String
847
952
  attr_accessor two_way_enabled: bool
@@ -884,6 +989,26 @@ module Aws::PinpointSMSVoiceV2
884
989
  SENSITIVE: []
885
990
  end
886
991
 
992
+ class ProtectConfigurationCountryRuleSetInformation
993
+ attr_accessor protect_status: ("ALLOW" | "BLOCK")
994
+ SENSITIVE: []
995
+ end
996
+
997
+ class ProtectConfigurationFilter
998
+ attr_accessor name: ("account-default" | "deletion-protection-enabled")
999
+ attr_accessor values: ::Array[::String]
1000
+ SENSITIVE: []
1001
+ end
1002
+
1003
+ class ProtectConfigurationInformation
1004
+ attr_accessor protect_configuration_arn: ::String
1005
+ attr_accessor protect_configuration_id: ::String
1006
+ attr_accessor created_timestamp: ::Time
1007
+ attr_accessor account_default: bool
1008
+ attr_accessor deletion_protection_enabled: bool
1009
+ SENSITIVE: []
1010
+ end
1011
+
887
1012
  class PutKeywordRequest
888
1013
  attr_accessor origination_identity: ::String
889
1014
  attr_accessor keyword: ::String
@@ -1101,7 +1226,7 @@ module Aws::PinpointSMSVoiceV2
1101
1226
  attr_accessor status: ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
1102
1227
  attr_accessor iso_country_code: ::String
1103
1228
  attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
1104
- attr_accessor number_capabilities: ::Array[("SMS" | "VOICE")]
1229
+ attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS")]
1105
1230
  attr_accessor number_type: ("SHORT_CODE" | "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
1106
1231
  attr_accessor monthly_leasing_price: ::String
1107
1232
  attr_accessor two_way_enabled: bool
@@ -1134,7 +1259,7 @@ module Aws::PinpointSMSVoiceV2
1134
1259
  class RequestPhoneNumberRequest
1135
1260
  attr_accessor iso_country_code: ::String
1136
1261
  attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
1137
- attr_accessor number_capabilities: ::Array[("SMS" | "VOICE")]
1262
+ attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS")]
1138
1263
  attr_accessor number_type: ("LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
1139
1264
  attr_accessor opt_out_list_name: ::String
1140
1265
  attr_accessor pool_id: ::String
@@ -1152,7 +1277,7 @@ module Aws::PinpointSMSVoiceV2
1152
1277
  attr_accessor status: ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
1153
1278
  attr_accessor iso_country_code: ::String
1154
1279
  attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
1155
- attr_accessor number_capabilities: ::Array[("SMS" | "VOICE")]
1280
+ attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS")]
1156
1281
  attr_accessor number_type: ("LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
1157
1282
  attr_accessor monthly_leasing_price: ::String
1158
1283
  attr_accessor two_way_enabled: bool
@@ -1192,7 +1317,7 @@ module Aws::PinpointSMSVoiceV2
1192
1317
 
1193
1318
  class ResourceNotFoundException
1194
1319
  attr_accessor message: ::String
1195
- attr_accessor resource_type: ("account" | "phone-number" | "sender-id" | "pool" | "configuration-set" | "opt-out-list" | "event-destination" | "keyword" | "opted-out-number" | "registration" | "registration-attachment" | "verified-destination-number")
1320
+ attr_accessor resource_type: ("account" | "phone-number" | "sender-id" | "pool" | "configuration-set" | "opt-out-list" | "event-destination" | "keyword" | "opted-out-number" | "registration" | "registration-attachment" | "verified-destination-number" | "protect-configuration")
1196
1321
  attr_accessor resource_id: ::String
1197
1322
  SENSITIVE: []
1198
1323
  end
@@ -1227,6 +1352,25 @@ module Aws::PinpointSMSVoiceV2
1227
1352
  SENSITIVE: []
1228
1353
  end
1229
1354
 
1355
+ class SendMediaMessageRequest
1356
+ attr_accessor destination_phone_number: ::String
1357
+ attr_accessor origination_identity: ::String
1358
+ attr_accessor message_body: ::String
1359
+ attr_accessor media_urls: ::Array[::String]
1360
+ attr_accessor configuration_set_name: ::String
1361
+ attr_accessor max_price: ::String
1362
+ attr_accessor time_to_live: ::Integer
1363
+ attr_accessor context: ::Hash[::String, ::String]
1364
+ attr_accessor dry_run: bool
1365
+ attr_accessor protect_configuration_id: ::String
1366
+ SENSITIVE: []
1367
+ end
1368
+
1369
+ class SendMediaMessageResult
1370
+ attr_accessor message_id: ::String
1371
+ SENSITIVE: []
1372
+ end
1373
+
1230
1374
  class SendTextMessageRequest
1231
1375
  attr_accessor destination_phone_number: ::String
1232
1376
  attr_accessor origination_identity: ::String
@@ -1239,6 +1383,7 @@ module Aws::PinpointSMSVoiceV2
1239
1383
  attr_accessor context: ::Hash[::String, ::String]
1240
1384
  attr_accessor destination_country_parameters: ::Hash[("IN_TEMPLATE_ID" | "IN_ENTITY_ID"), ::String]
1241
1385
  attr_accessor dry_run: bool
1386
+ attr_accessor protect_configuration_id: ::String
1242
1387
  SENSITIVE: []
1243
1388
  end
1244
1389
 
@@ -1258,6 +1403,7 @@ module Aws::PinpointSMSVoiceV2
1258
1403
  attr_accessor time_to_live: ::Integer
1259
1404
  attr_accessor context: ::Hash[::String, ::String]
1260
1405
  attr_accessor dry_run: bool
1406
+ attr_accessor protect_configuration_id: ::String
1261
1407
  SENSITIVE: []
1262
1408
  end
1263
1409
 
@@ -1292,7 +1438,18 @@ module Aws::PinpointSMSVoiceV2
1292
1438
 
1293
1439
  class ServiceQuotaExceededException
1294
1440
  attr_accessor message: ::String
1295
- attr_accessor reason: ("ASSOCIATIONS_PER_REGISTRATION" | "CONFIGURATION_SETS_PER_ACCOUNT" | "DAILY_DESTINATION_CALL_LIMIT" | "EVENT_DESTINATIONS_PER_CONFIGURATION_SET" | "KEYWORDS_PER_PHONE_NUMBER" | "KEYWORDS_PER_POOL" | "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT" | "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE" | "OPT_OUT_LISTS_PER_ACCOUNT" | "ORIGINATION_IDENTITIES_PER_POOL" | "PHONE_NUMBERS_PER_ACCOUNT" | "PHONE_NUMBERS_PER_REGISTRATION" | "POOLS_PER_ACCOUNT" | "REGISTRATION_ATTACHMENTS_CREATED_PER_DAY" | "REGISTRATION_ATTACHMENTS_PER_ACCOUNT" | "REGISTRATION_VERSIONS_CREATED_PER_DAY" | "REGISTRATIONS_PER_ACCOUNT" | "SENDER_IDS_PER_ACCOUNT" | "TAGS_PER_RESOURCE" | "VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT" | "VERIFICATION_ATTEMPTS_PER_DAY")
1441
+ attr_accessor reason: ("ASSOCIATIONS_PER_REGISTRATION" | "CONFIGURATION_SETS_PER_ACCOUNT" | "DAILY_DESTINATION_CALL_LIMIT" | "EVENT_DESTINATIONS_PER_CONFIGURATION_SET" | "KEYWORDS_PER_PHONE_NUMBER" | "KEYWORDS_PER_POOL" | "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA" | "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT" | "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE" | "OPT_OUT_LISTS_PER_ACCOUNT" | "ORIGINATION_IDENTITIES_PER_POOL" | "PHONE_NUMBERS_PER_ACCOUNT" | "PHONE_NUMBERS_PER_REGISTRATION" | "POOLS_PER_ACCOUNT" | "REGISTRATION_ATTACHMENTS_CREATED_PER_DAY" | "REGISTRATION_ATTACHMENTS_PER_ACCOUNT" | "REGISTRATION_VERSIONS_CREATED_PER_DAY" | "REGISTRATIONS_PER_ACCOUNT" | "SENDER_IDS_PER_ACCOUNT" | "TAGS_PER_RESOURCE" | "VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT" | "VERIFICATION_ATTEMPTS_PER_DAY" | "PROTECT_CONFIGURATIONS_PER_ACCOUNT")
1442
+ SENSITIVE: []
1443
+ end
1444
+
1445
+ class SetAccountDefaultProtectConfigurationRequest
1446
+ attr_accessor protect_configuration_id: ::String
1447
+ SENSITIVE: []
1448
+ end
1449
+
1450
+ class SetAccountDefaultProtectConfigurationResult
1451
+ attr_accessor default_protect_configuration_arn: ::String
1452
+ attr_accessor default_protect_configuration_id: ::String
1296
1453
  SENSITIVE: []
1297
1454
  end
1298
1455
 
@@ -1322,6 +1479,16 @@ module Aws::PinpointSMSVoiceV2
1322
1479
  SENSITIVE: []
1323
1480
  end
1324
1481
 
1482
+ class SetMediaMessageSpendLimitOverrideRequest
1483
+ attr_accessor monthly_limit: ::Integer
1484
+ SENSITIVE: []
1485
+ end
1486
+
1487
+ class SetMediaMessageSpendLimitOverrideResult
1488
+ attr_accessor monthly_limit: ::Integer
1489
+ SENSITIVE: []
1490
+ end
1491
+
1325
1492
  class SetTextMessageSpendLimitOverrideRequest
1326
1493
  attr_accessor monthly_limit: ::Integer
1327
1494
  SENSITIVE: []
@@ -1348,7 +1515,7 @@ module Aws::PinpointSMSVoiceV2
1348
1515
  end
1349
1516
 
1350
1517
  class SpendLimit
1351
- attr_accessor name: ("TEXT_MESSAGE_MONTHLY_SPEND_LIMIT" | "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT")
1518
+ attr_accessor name: ("TEXT_MESSAGE_MONTHLY_SPEND_LIMIT" | "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT" | "MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT")
1352
1519
  attr_accessor enforced_limit: ::Integer
1353
1520
  attr_accessor max_limit: ::Integer
1354
1521
  attr_accessor overridden: bool
@@ -1417,7 +1584,7 @@ module Aws::PinpointSMSVoiceV2
1417
1584
  attr_accessor configuration_set_name: ::String
1418
1585
  attr_accessor event_destination_name: ::String
1419
1586
  attr_accessor enabled: bool
1420
- attr_accessor matching_event_types: ::Array[("ALL" | "TEXT_ALL" | "TEXT_SENT" | "TEXT_PENDING" | "TEXT_QUEUED" | "TEXT_SUCCESSFUL" | "TEXT_DELIVERED" | "TEXT_INVALID" | "TEXT_INVALID_MESSAGE" | "TEXT_UNREACHABLE" | "TEXT_CARRIER_UNREACHABLE" | "TEXT_BLOCKED" | "TEXT_CARRIER_BLOCKED" | "TEXT_SPAM" | "TEXT_UNKNOWN" | "TEXT_TTL_EXPIRED" | "VOICE_ALL" | "VOICE_INITIATED" | "VOICE_RINGING" | "VOICE_ANSWERED" | "VOICE_COMPLETED" | "VOICE_BUSY" | "VOICE_NO_ANSWER" | "VOICE_FAILED" | "VOICE_TTL_EXPIRED")]
1587
+ attr_accessor matching_event_types: ::Array[("ALL" | "TEXT_ALL" | "TEXT_SENT" | "TEXT_PENDING" | "TEXT_QUEUED" | "TEXT_SUCCESSFUL" | "TEXT_DELIVERED" | "TEXT_INVALID" | "TEXT_INVALID_MESSAGE" | "TEXT_UNREACHABLE" | "TEXT_CARRIER_UNREACHABLE" | "TEXT_BLOCKED" | "TEXT_CARRIER_BLOCKED" | "TEXT_SPAM" | "TEXT_UNKNOWN" | "TEXT_TTL_EXPIRED" | "VOICE_ALL" | "VOICE_INITIATED" | "VOICE_RINGING" | "VOICE_ANSWERED" | "VOICE_COMPLETED" | "VOICE_BUSY" | "VOICE_NO_ANSWER" | "VOICE_FAILED" | "VOICE_TTL_EXPIRED" | "MEDIA_ALL" | "MEDIA_PENDING" | "MEDIA_QUEUED" | "MEDIA_SUCCESSFUL" | "MEDIA_DELIVERED" | "MEDIA_INVALID" | "MEDIA_INVALID_MESSAGE" | "MEDIA_UNREACHABLE" | "MEDIA_CARRIER_UNREACHABLE" | "MEDIA_BLOCKED" | "MEDIA_CARRIER_BLOCKED" | "MEDIA_SPAM" | "MEDIA_UNKNOWN" | "MEDIA_TTL_EXPIRED" | "MEDIA_FILE_INACCESSIBLE" | "MEDIA_FILE_TYPE_UNSUPPORTED" | "MEDIA_FILE_SIZE_EXCEEDED")]
1421
1588
  attr_accessor cloud_watch_logs_destination: Types::CloudWatchLogsDestination
1422
1589
  attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
1423
1590
  attr_accessor sns_destination: Types::SnsDestination
@@ -1449,7 +1616,7 @@ module Aws::PinpointSMSVoiceV2
1449
1616
  attr_accessor status: ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
1450
1617
  attr_accessor iso_country_code: ::String
1451
1618
  attr_accessor message_type: ("TRANSACTIONAL" | "PROMOTIONAL")
1452
- attr_accessor number_capabilities: ::Array[("SMS" | "VOICE")]
1619
+ attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS")]
1453
1620
  attr_accessor number_type: ("SHORT_CODE" | "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
1454
1621
  attr_accessor monthly_leasing_price: ::String
1455
1622
  attr_accessor two_way_enabled: bool
@@ -1491,6 +1658,36 @@ module Aws::PinpointSMSVoiceV2
1491
1658
  SENSITIVE: []
1492
1659
  end
1493
1660
 
1661
+ class UpdateProtectConfigurationCountryRuleSetRequest
1662
+ attr_accessor protect_configuration_id: ::String
1663
+ attr_accessor number_capability: ("SMS" | "VOICE" | "MMS")
1664
+ attr_accessor country_rule_set_updates: ::Hash[::String, Types::ProtectConfigurationCountryRuleSetInformation]
1665
+ SENSITIVE: []
1666
+ end
1667
+
1668
+ class UpdateProtectConfigurationCountryRuleSetResult
1669
+ attr_accessor protect_configuration_arn: ::String
1670
+ attr_accessor protect_configuration_id: ::String
1671
+ attr_accessor number_capability: ("SMS" | "VOICE" | "MMS")
1672
+ attr_accessor country_rule_set: ::Hash[::String, Types::ProtectConfigurationCountryRuleSetInformation]
1673
+ SENSITIVE: []
1674
+ end
1675
+
1676
+ class UpdateProtectConfigurationRequest
1677
+ attr_accessor protect_configuration_id: ::String
1678
+ attr_accessor deletion_protection_enabled: bool
1679
+ SENSITIVE: []
1680
+ end
1681
+
1682
+ class UpdateProtectConfigurationResult
1683
+ attr_accessor protect_configuration_arn: ::String
1684
+ attr_accessor protect_configuration_id: ::String
1685
+ attr_accessor created_timestamp: ::Time
1686
+ attr_accessor account_default: bool
1687
+ attr_accessor deletion_protection_enabled: bool
1688
+ SENSITIVE: []
1689
+ end
1690
+
1494
1691
  class UpdateSenderIdRequest
1495
1692
  attr_accessor sender_id: ::String
1496
1693
  attr_accessor iso_country_code: ::String
@@ -1512,7 +1709,7 @@ module Aws::PinpointSMSVoiceV2
1512
1709
 
1513
1710
  class ValidationException
1514
1711
  attr_accessor message: ::String
1515
- attr_accessor reason: ("CANNOT_ADD_OPTED_OUT_NUMBER" | "CANNOT_PARSE" | "COUNTRY_CODE_MISMATCH" | "DESTINATION_COUNTRY_BLOCKED" | "FIELD_VALIDATION_FAILED" | "ATTACHMENT_TYPE_NOT_SUPPORTED" | "INVALID_ARN" | "INVALID_FILTER_VALUES" | "INVALID_IDENTITY_FOR_DESTINATION_COUNTRY" | "INVALID_NEXT_TOKEN" | "INVALID_PARAMETER" | "INVALID_REQUEST" | "INVALID_REGISTRATION_ASSOCIATION" | "MAXIMUM_SIZE_EXCEEDED" | "MISSING_PARAMETER" | "PARAMETERS_CANNOT_BE_USED_TOGETHER" | "PHONE_NUMBER_CANNOT_BE_OPTED_IN" | "PHONE_NUMBER_CANNOT_BE_RELEASED" | "PRICE_OVER_THRESHOLD" | "RESOURCE_NOT_ACCESSIBLE" | "REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT" | "SENDER_ID_NOT_REGISTERED" | "SENDER_ID_NOT_SUPPORTED" | "SENDER_ID_REQUIRES_REGISTRATION" | "TWO_WAY_TOPIC_NOT_PRESENT" | "TWO_WAY_NOT_ENABLED" | "TWO_WAY_NOT_SUPPORTED_IN_COUNTRY" | "TWO_WAY_NOT_SUPPORTED_IN_REGION" | "TWO_WAY_CHANNEL_NOT_PRESENT" | "UNKNOWN_REGISTRATION_FIELD" | "UNKNOWN_REGISTRATION_SECTION" | "UNKNOWN_REGISTRATION_TYPE" | "UNKNOWN_REGISTRATION_VERSION" | "UNKNOWN_OPERATION" | "REGISTRATION_FIELD_CANNOT_BE_DELETED" | "VERIFICATION_CODE_MISMATCH" | "VOICE_CAPABILITY_NOT_AVAILABLE" | "OTHER")
1712
+ attr_accessor reason: ("CANNOT_ADD_OPTED_OUT_NUMBER" | "CANNOT_PARSE" | "COUNTRY_CODE_MISMATCH" | "DESTINATION_COUNTRY_BLOCKED" | "FIELD_VALIDATION_FAILED" | "ATTACHMENT_TYPE_NOT_SUPPORTED" | "INVALID_ARN" | "INVALID_FILTER_VALUES" | "INVALID_IDENTITY_FOR_DESTINATION_COUNTRY" | "INVALID_NEXT_TOKEN" | "INVALID_PARAMETER" | "INVALID_REQUEST" | "INVALID_REGISTRATION_ASSOCIATION" | "MAXIMUM_SIZE_EXCEEDED" | "MEDIA_TYPE_NOT_SUPPORTED" | "MISSING_PARAMETER" | "PARAMETERS_CANNOT_BE_USED_TOGETHER" | "PHONE_NUMBER_CANNOT_BE_OPTED_IN" | "PHONE_NUMBER_CANNOT_BE_RELEASED" | "PRICE_OVER_THRESHOLD" | "RESOURCE_NOT_ACCESSIBLE" | "REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT" | "SENDER_ID_NOT_REGISTERED" | "SENDER_ID_NOT_SUPPORTED" | "SENDER_ID_REQUIRES_REGISTRATION" | "TWO_WAY_TOPIC_NOT_PRESENT" | "TWO_WAY_NOT_ENABLED" | "TWO_WAY_NOT_SUPPORTED_IN_COUNTRY" | "TWO_WAY_NOT_SUPPORTED_IN_REGION" | "TWO_WAY_CHANNEL_NOT_PRESENT" | "UNKNOWN_REGISTRATION_FIELD" | "UNKNOWN_REGISTRATION_SECTION" | "UNKNOWN_REGISTRATION_TYPE" | "UNKNOWN_REGISTRATION_VERSION" | "UNKNOWN_OPERATION" | "REGISTRATION_FIELD_CANNOT_BE_DELETED" | "VERIFICATION_CODE_MISMATCH" | "VOICE_CAPABILITY_NOT_AVAILABLE" | "OTHER")
1516
1713
  attr_accessor fields: ::Array[Types::ValidationExceptionField]
1517
1714
  SENSITIVE: []
1518
1715
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpointsmsvoicev2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core