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.
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-pinpointsmsvoicev2/customizations'
53
53
  # @!group service
54
54
  module Aws::PinpointSMSVoiceV2
55
55
 
56
- GEM_VERSION = '1.14.0'
56
+ GEM_VERSION = '1.15.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -90,6 +90,20 @@ module Aws
90
90
  ) -> _AssociateOriginationIdentityResponseSuccess
91
91
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateOriginationIdentityResponseSuccess
92
92
 
93
+ interface _AssociateProtectConfigurationResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateProtectConfigurationResult]
95
+ def configuration_set_arn: () -> ::String
96
+ def configuration_set_name: () -> ::String
97
+ def protect_configuration_arn: () -> ::String
98
+ def protect_configuration_id: () -> ::String
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#associate_protect_configuration-instance_method
101
+ def associate_protect_configuration: (
102
+ protect_configuration_id: ::String,
103
+ configuration_set_name: ::String
104
+ ) -> _AssociateProtectConfigurationResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateProtectConfigurationResponseSuccess
106
+
93
107
  interface _CreateConfigurationSetResponseSuccess
94
108
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateConfigurationSetResult]
95
109
  def configuration_set_arn: () -> ::String
@@ -120,7 +134,7 @@ module Aws
120
134
  def create_event_destination: (
121
135
  configuration_set_name: ::String,
122
136
  event_destination_name: ::String,
123
- 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")],
137
+ 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")],
124
138
  ?cloud_watch_logs_destination: {
125
139
  iam_role_arn: ::String,
126
140
  log_group_arn: ::String
@@ -188,6 +202,28 @@ module Aws
188
202
  ) -> _CreatePoolResponseSuccess
189
203
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePoolResponseSuccess
190
204
 
205
+ interface _CreateProtectConfigurationResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateProtectConfigurationResult]
207
+ def protect_configuration_arn: () -> ::String
208
+ def protect_configuration_id: () -> ::String
209
+ def created_timestamp: () -> ::Time
210
+ def account_default: () -> bool
211
+ def deletion_protection_enabled: () -> bool
212
+ def tags: () -> ::Array[Types::Tag]
213
+ end
214
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#create_protect_configuration-instance_method
215
+ def create_protect_configuration: (
216
+ ?client_token: ::String,
217
+ ?deletion_protection_enabled: bool,
218
+ ?tags: Array[
219
+ {
220
+ key: ::String,
221
+ value: ::String
222
+ },
223
+ ]
224
+ ) -> _CreateProtectConfigurationResponseSuccess
225
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProtectConfigurationResponseSuccess
226
+
191
227
  interface _CreateRegistrationResponseSuccess
192
228
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateRegistrationResult]
193
229
  def registration_arn: () -> ::String
@@ -288,6 +324,16 @@ module Aws
288
324
  ) -> _CreateVerifiedDestinationNumberResponseSuccess
289
325
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVerifiedDestinationNumberResponseSuccess
290
326
 
327
+ interface _DeleteAccountDefaultProtectConfigurationResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccountDefaultProtectConfigurationResult]
329
+ def default_protect_configuration_arn: () -> ::String
330
+ def default_protect_configuration_id: () -> ::String
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#delete_account_default_protect_configuration-instance_method
333
+ def delete_account_default_protect_configuration: (
334
+ ) -> _DeleteAccountDefaultProtectConfigurationResponseSuccess
335
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountDefaultProtectConfigurationResponseSuccess
336
+
291
337
  interface _DeleteConfigurationSetResponseSuccess
292
338
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConfigurationSetResult]
293
339
  def configuration_set_arn: () -> ::String
@@ -355,6 +401,15 @@ module Aws
355
401
  ) -> _DeleteKeywordResponseSuccess
356
402
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKeywordResponseSuccess
357
403
 
404
+ interface _DeleteMediaMessageSpendLimitOverrideResponseSuccess
405
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMediaMessageSpendLimitOverrideResult]
406
+ def monthly_limit: () -> ::Integer
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#delete_media_message_spend_limit_override-instance_method
409
+ def delete_media_message_spend_limit_override: (
410
+ ) -> _DeleteMediaMessageSpendLimitOverrideResponseSuccess
411
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMediaMessageSpendLimitOverrideResponseSuccess
412
+
358
413
  interface _DeleteOptOutListResponseSuccess
359
414
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOptOutListResult]
360
415
  def opt_out_list_arn: () -> ::String
@@ -402,6 +457,20 @@ module Aws
402
457
  ) -> _DeletePoolResponseSuccess
403
458
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePoolResponseSuccess
404
459
 
460
+ interface _DeleteProtectConfigurationResponseSuccess
461
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProtectConfigurationResult]
462
+ def protect_configuration_arn: () -> ::String
463
+ def protect_configuration_id: () -> ::String
464
+ def created_timestamp: () -> ::Time
465
+ def account_default: () -> bool
466
+ def deletion_protection_enabled: () -> bool
467
+ end
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#delete_protect_configuration-instance_method
469
+ def delete_protect_configuration: (
470
+ protect_configuration_id: ::String
471
+ ) -> _DeleteProtectConfigurationResponseSuccess
472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProtectConfigurationResponseSuccess
473
+
405
474
  interface _DeleteRegistrationResponseSuccess
406
475
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRegistrationResult]
407
476
  def registration_arn: () -> ::String
@@ -516,7 +585,7 @@ module Aws
516
585
  ?configuration_set_names: Array[::String],
517
586
  ?filters: Array[
518
587
  {
519
- name: ("event-destination-name" | "matching-event-types" | "default-message-type" | "default-sender-id"),
588
+ name: ("event-destination-name" | "matching-event-types" | "default-message-type" | "default-sender-id" | "protect-configuration-id"),
520
589
  values: Array[::String]
521
590
  },
522
591
  ],
@@ -620,6 +689,25 @@ module Aws
620
689
  ) -> _DescribePoolsResponseSuccess
621
690
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePoolsResponseSuccess
622
691
 
692
+ interface _DescribeProtectConfigurationsResponseSuccess
693
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProtectConfigurationsResult]
694
+ def protect_configurations: () -> ::Array[Types::ProtectConfigurationInformation]
695
+ def next_token: () -> ::String
696
+ end
697
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#describe_protect_configurations-instance_method
698
+ def describe_protect_configurations: (
699
+ ?protect_configuration_ids: Array[::String],
700
+ ?filters: Array[
701
+ {
702
+ name: ("account-default" | "deletion-protection-enabled"),
703
+ values: Array[::String]
704
+ },
705
+ ],
706
+ ?next_token: ::String,
707
+ ?max_results: ::Integer
708
+ ) -> _DescribeProtectConfigurationsResponseSuccess
709
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeProtectConfigurationsResponseSuccess
710
+
623
711
  interface _DescribeRegistrationAttachmentsResponseSuccess
624
712
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRegistrationAttachmentsResult]
625
713
  def registration_attachments: () -> ::Array[Types::RegistrationAttachmentsInformation]
@@ -822,6 +910,20 @@ module Aws
822
910
  ) -> _DisassociateOriginationIdentityResponseSuccess
823
911
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateOriginationIdentityResponseSuccess
824
912
 
913
+ interface _DisassociateProtectConfigurationResponseSuccess
914
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateProtectConfigurationResult]
915
+ def configuration_set_arn: () -> ::String
916
+ def configuration_set_name: () -> ::String
917
+ def protect_configuration_arn: () -> ::String
918
+ def protect_configuration_id: () -> ::String
919
+ end
920
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#disassociate_protect_configuration-instance_method
921
+ def disassociate_protect_configuration: (
922
+ protect_configuration_id: ::String,
923
+ configuration_set_name: ::String
924
+ ) -> _DisassociateProtectConfigurationResponseSuccess
925
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateProtectConfigurationResponseSuccess
926
+
825
927
  interface _DiscardRegistrationVersionResponseSuccess
826
928
  include ::Seahorse::Client::_ResponseSuccess[Types::DiscardRegistrationVersionResult]
827
929
  def registration_arn: () -> ::String
@@ -836,6 +938,20 @@ module Aws
836
938
  ) -> _DiscardRegistrationVersionResponseSuccess
837
939
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DiscardRegistrationVersionResponseSuccess
838
940
 
941
+ interface _GetProtectConfigurationCountryRuleSetResponseSuccess
942
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProtectConfigurationCountryRuleSetResult]
943
+ def protect_configuration_arn: () -> ::String
944
+ def protect_configuration_id: () -> ::String
945
+ def number_capability: () -> ("SMS" | "VOICE" | "MMS")
946
+ def country_rule_set: () -> ::Hash[::String, Types::ProtectConfigurationCountryRuleSetInformation]
947
+ end
948
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#get_protect_configuration_country_rule_set-instance_method
949
+ def get_protect_configuration_country_rule_set: (
950
+ protect_configuration_id: ::String,
951
+ number_capability: ("SMS" | "VOICE" | "MMS")
952
+ ) -> _GetProtectConfigurationCountryRuleSetResponseSuccess
953
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProtectConfigurationCountryRuleSetResponseSuccess
954
+
839
955
  interface _ListPoolOriginationIdentitiesResponseSuccess
840
956
  include ::Seahorse::Client::_ResponseSuccess[Types::ListPoolOriginationIdentitiesResult]
841
957
  def pool_arn: () -> ::String
@@ -950,7 +1066,7 @@ module Aws
950
1066
  def status: () -> ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
951
1067
  def iso_country_code: () -> ::String
952
1068
  def message_type: () -> ("TRANSACTIONAL" | "PROMOTIONAL")
953
- def number_capabilities: () -> ::Array[("SMS" | "VOICE")]
1069
+ def number_capabilities: () -> ::Array[("SMS" | "VOICE" | "MMS")]
954
1070
  def number_type: () -> ("SHORT_CODE" | "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
955
1071
  def monthly_leasing_price: () -> ::String
956
1072
  def two_way_enabled: () -> bool
@@ -992,7 +1108,7 @@ module Aws
992
1108
  def status: () -> ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
993
1109
  def iso_country_code: () -> ::String
994
1110
  def message_type: () -> ("TRANSACTIONAL" | "PROMOTIONAL")
995
- def number_capabilities: () -> ::Array[("SMS" | "VOICE")]
1111
+ def number_capabilities: () -> ::Array[("SMS" | "VOICE" | "MMS")]
996
1112
  def number_type: () -> ("LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
997
1113
  def monthly_leasing_price: () -> ::String
998
1114
  def two_way_enabled: () -> bool
@@ -1010,7 +1126,7 @@ module Aws
1010
1126
  def request_phone_number: (
1011
1127
  iso_country_code: ::String,
1012
1128
  message_type: ("TRANSACTIONAL" | "PROMOTIONAL"),
1013
- number_capabilities: Array[("SMS" | "VOICE")],
1129
+ number_capabilities: Array[("SMS" | "VOICE" | "MMS")],
1014
1130
  number_type: ("LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR"),
1015
1131
  ?opt_out_list_name: ::String,
1016
1132
  ?pool_id: ::String,
@@ -1069,6 +1185,25 @@ module Aws
1069
1185
  ) -> _SendDestinationNumberVerificationCodeResponseSuccess
1070
1186
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendDestinationNumberVerificationCodeResponseSuccess
1071
1187
 
1188
+ interface _SendMediaMessageResponseSuccess
1189
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendMediaMessageResult]
1190
+ def message_id: () -> ::String
1191
+ end
1192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#send_media_message-instance_method
1193
+ def send_media_message: (
1194
+ destination_phone_number: ::String,
1195
+ origination_identity: ::String,
1196
+ ?message_body: ::String,
1197
+ ?media_urls: Array[::String],
1198
+ ?configuration_set_name: ::String,
1199
+ ?max_price: ::String,
1200
+ ?time_to_live: ::Integer,
1201
+ ?context: Hash[::String, ::String],
1202
+ ?dry_run: bool,
1203
+ ?protect_configuration_id: ::String
1204
+ ) -> _SendMediaMessageResponseSuccess
1205
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendMediaMessageResponseSuccess
1206
+
1072
1207
  interface _SendTextMessageResponseSuccess
1073
1208
  include ::Seahorse::Client::_ResponseSuccess[Types::SendTextMessageResult]
1074
1209
  def message_id: () -> ::String
@@ -1085,7 +1220,8 @@ module Aws
1085
1220
  ?time_to_live: ::Integer,
1086
1221
  ?context: Hash[::String, ::String],
1087
1222
  ?destination_country_parameters: Hash[("IN_TEMPLATE_ID" | "IN_ENTITY_ID"), ::String],
1088
- ?dry_run: bool
1223
+ ?dry_run: bool,
1224
+ ?protect_configuration_id: ::String
1089
1225
  ) -> _SendTextMessageResponseSuccess
1090
1226
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendTextMessageResponseSuccess
1091
1227
 
@@ -1104,10 +1240,22 @@ module Aws
1104
1240
  ?max_price_per_minute: ::String,
1105
1241
  ?time_to_live: ::Integer,
1106
1242
  ?context: Hash[::String, ::String],
1107
- ?dry_run: bool
1243
+ ?dry_run: bool,
1244
+ ?protect_configuration_id: ::String
1108
1245
  ) -> _SendVoiceMessageResponseSuccess
1109
1246
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendVoiceMessageResponseSuccess
1110
1247
 
1248
+ interface _SetAccountDefaultProtectConfigurationResponseSuccess
1249
+ include ::Seahorse::Client::_ResponseSuccess[Types::SetAccountDefaultProtectConfigurationResult]
1250
+ def default_protect_configuration_arn: () -> ::String
1251
+ def default_protect_configuration_id: () -> ::String
1252
+ end
1253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#set_account_default_protect_configuration-instance_method
1254
+ def set_account_default_protect_configuration: (
1255
+ protect_configuration_id: ::String
1256
+ ) -> _SetAccountDefaultProtectConfigurationResponseSuccess
1257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetAccountDefaultProtectConfigurationResponseSuccess
1258
+
1111
1259
  interface _SetDefaultMessageTypeResponseSuccess
1112
1260
  include ::Seahorse::Client::_ResponseSuccess[Types::SetDefaultMessageTypeResult]
1113
1261
  def configuration_set_arn: () -> ::String
@@ -1134,6 +1282,16 @@ module Aws
1134
1282
  ) -> _SetDefaultSenderIdResponseSuccess
1135
1283
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetDefaultSenderIdResponseSuccess
1136
1284
 
1285
+ interface _SetMediaMessageSpendLimitOverrideResponseSuccess
1286
+ include ::Seahorse::Client::_ResponseSuccess[Types::SetMediaMessageSpendLimitOverrideResult]
1287
+ def monthly_limit: () -> ::Integer
1288
+ end
1289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#set_media_message_spend_limit_override-instance_method
1290
+ def set_media_message_spend_limit_override: (
1291
+ monthly_limit: ::Integer
1292
+ ) -> _SetMediaMessageSpendLimitOverrideResponseSuccess
1293
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetMediaMessageSpendLimitOverrideResponseSuccess
1294
+
1137
1295
  interface _SetTextMessageSpendLimitOverrideResponseSuccess
1138
1296
  include ::Seahorse::Client::_ResponseSuccess[Types::SetTextMessageSpendLimitOverrideResult]
1139
1297
  def monthly_limit: () -> ::Integer
@@ -1204,7 +1362,7 @@ module Aws
1204
1362
  configuration_set_name: ::String,
1205
1363
  event_destination_name: ::String,
1206
1364
  ?enabled: bool,
1207
- ?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")],
1365
+ ?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")],
1208
1366
  ?cloud_watch_logs_destination: {
1209
1367
  iam_role_arn: ::String,
1210
1368
  log_group_arn: ::String
@@ -1227,7 +1385,7 @@ module Aws
1227
1385
  def status: () -> ("PENDING" | "ACTIVE" | "ASSOCIATING" | "DISASSOCIATING" | "DELETED")
1228
1386
  def iso_country_code: () -> ::String
1229
1387
  def message_type: () -> ("TRANSACTIONAL" | "PROMOTIONAL")
1230
- def number_capabilities: () -> ::Array[("SMS" | "VOICE")]
1388
+ def number_capabilities: () -> ::Array[("SMS" | "VOICE" | "MMS")]
1231
1389
  def number_type: () -> ("SHORT_CODE" | "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR")
1232
1390
  def monthly_leasing_price: () -> ::String
1233
1391
  def two_way_enabled: () -> bool
@@ -1279,6 +1437,38 @@ module Aws
1279
1437
  ) -> _UpdatePoolResponseSuccess
1280
1438
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePoolResponseSuccess
1281
1439
 
1440
+ interface _UpdateProtectConfigurationResponseSuccess
1441
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProtectConfigurationResult]
1442
+ def protect_configuration_arn: () -> ::String
1443
+ def protect_configuration_id: () -> ::String
1444
+ def created_timestamp: () -> ::Time
1445
+ def account_default: () -> bool
1446
+ def deletion_protection_enabled: () -> bool
1447
+ end
1448
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#update_protect_configuration-instance_method
1449
+ def update_protect_configuration: (
1450
+ protect_configuration_id: ::String,
1451
+ ?deletion_protection_enabled: bool
1452
+ ) -> _UpdateProtectConfigurationResponseSuccess
1453
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProtectConfigurationResponseSuccess
1454
+
1455
+ interface _UpdateProtectConfigurationCountryRuleSetResponseSuccess
1456
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProtectConfigurationCountryRuleSetResult]
1457
+ def protect_configuration_arn: () -> ::String
1458
+ def protect_configuration_id: () -> ::String
1459
+ def number_capability: () -> ("SMS" | "VOICE" | "MMS")
1460
+ def country_rule_set: () -> ::Hash[::String, Types::ProtectConfigurationCountryRuleSetInformation]
1461
+ end
1462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#update_protect_configuration_country_rule_set-instance_method
1463
+ def update_protect_configuration_country_rule_set: (
1464
+ protect_configuration_id: ::String,
1465
+ number_capability: ("SMS" | "VOICE" | "MMS"),
1466
+ country_rule_set_updates: Hash[::String, {
1467
+ protect_status: ("ALLOW" | "BLOCK")
1468
+ }]
1469
+ ) -> _UpdateProtectConfigurationCountryRuleSetResponseSuccess
1470
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProtectConfigurationCountryRuleSetResponseSuccess
1471
+
1282
1472
  interface _UpdateSenderIdResponseSuccess
1283
1473
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSenderIdResult]
1284
1474
  def sender_id_arn: () -> ::String