aws-sdk-pinpointsmsvoicev2 1.61.0 → 1.63.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +136 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client_api.rb +69 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +157 -2
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +1 -1
- data/sig/client.rbs +28 -0
- data/sig/types.rbs +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afe4f11d25ad19b65c61f68b1375cd59623f23a36c5b5d3bfdd0cee754de98ee
|
|
4
|
+
data.tar.gz: f5ce06107f44f120de4ee5f6f1937f5f6a99307b36bb16f1c172f0c8cc131999
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8fbc41d74cee7d80af055ad82eebc37e99bb9b3ec59d31d4d57e4db5fd5460568a4483c533968d73d8e5caf5ba3984bfe8176e091dce412885f5cbba515396f
|
|
7
|
+
data.tar.gz: f11a944d9b6e955d363e8d1b758681e40a24125524aa1827aab6beb021a0dc9ed0d23ba85fc339d5d4c0308590e0718913f82f2557666e0d84e26cea32da114b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.63.0 (2026-09-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.62.0 (2026-09-08)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This feature will allow customers to specify an area-code when requesting a 10DLC number. Why it matters- Customers can now select a number that matches where their business is located.
|
|
13
|
+
|
|
4
14
|
1.61.0 (2026-08-31)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.63.0
|
|
@@ -3383,6 +3383,10 @@ module Aws::PinpointSMSVoiceV2
|
|
|
3383
3383
|
# resp.phone_numbers[0].deletion_protection_enabled #=> Boolean
|
|
3384
3384
|
# resp.phone_numbers[0].pool_id #=> String
|
|
3385
3385
|
# resp.phone_numbers[0].registration_id #=> String
|
|
3386
|
+
# resp.phone_numbers[0].messaging_limits.rate_limits #=> Hash
|
|
3387
|
+
# resp.phone_numbers[0].messaging_limits.rate_limits["String"] #=> Integer
|
|
3388
|
+
# resp.phone_numbers[0].messaging_limits.daily_message_caps #=> Hash
|
|
3389
|
+
# resp.phone_numbers[0].messaging_limits.daily_message_caps["String"] #=> Integer
|
|
3386
3390
|
# resp.phone_numbers[0].created_timestamp #=> Time
|
|
3387
3391
|
# resp.next_token #=> String
|
|
3388
3392
|
#
|
|
@@ -3676,6 +3680,10 @@ module Aws::PinpointSMSVoiceV2
|
|
|
3676
3680
|
# resp.rcs_agents[0].testing_agent.status #=> String, one of "CREATED", "PENDING", "ACTIVE"
|
|
3677
3681
|
# resp.rcs_agents[0].testing_agent.testing_agent_id #=> String
|
|
3678
3682
|
# resp.rcs_agents[0].testing_agent.registration_id #=> String
|
|
3683
|
+
# resp.rcs_agents[0].messaging_limits.rate_limits #=> Hash
|
|
3684
|
+
# resp.rcs_agents[0].messaging_limits.rate_limits["String"] #=> Integer
|
|
3685
|
+
# resp.rcs_agents[0].messaging_limits.daily_message_caps #=> Hash
|
|
3686
|
+
# resp.rcs_agents[0].messaging_limits.daily_message_caps["String"] #=> Integer
|
|
3679
3687
|
# resp.next_token #=> String
|
|
3680
3688
|
#
|
|
3681
3689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRcsAgents AWS API Documentation
|
|
@@ -4229,6 +4237,10 @@ module Aws::PinpointSMSVoiceV2
|
|
|
4229
4237
|
# resp.sender_ids[0].deletion_protection_enabled #=> Boolean
|
|
4230
4238
|
# resp.sender_ids[0].registered #=> Boolean
|
|
4231
4239
|
# resp.sender_ids[0].registration_id #=> String
|
|
4240
|
+
# resp.sender_ids[0].messaging_limits.rate_limits #=> Hash
|
|
4241
|
+
# resp.sender_ids[0].messaging_limits.rate_limits["String"] #=> Integer
|
|
4242
|
+
# resp.sender_ids[0].messaging_limits.daily_message_caps #=> Hash
|
|
4243
|
+
# resp.sender_ids[0].messaging_limits.daily_message_caps["String"] #=> Integer
|
|
4232
4244
|
# resp.next_token #=> String
|
|
4233
4245
|
#
|
|
4234
4246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds AWS API Documentation
|
|
@@ -4582,6 +4594,117 @@ module Aws::PinpointSMSVoiceV2
|
|
|
4582
4594
|
req.send_request(options)
|
|
4583
4595
|
end
|
|
4584
4596
|
|
|
4597
|
+
# Search available phone numbers from aggregator inventory, optionally
|
|
4598
|
+
# filtered by pattern. If NumberPreference is omitted, returns
|
|
4599
|
+
# unfiltered available numbers. Returns empty list (not an exception)
|
|
4600
|
+
# when no numbers match. ResourceNotFoundException is thrown only for
|
|
4601
|
+
# invalid RegistrationId (campaign not found).
|
|
4602
|
+
#
|
|
4603
|
+
# @option params [required, String] :iso_country_code
|
|
4604
|
+
# The two-character code, in ISO 3166-1 alpha-2 format, for the country
|
|
4605
|
+
# or region in which to search for available phone numbers. This
|
|
4606
|
+
# operation currently supports only `US`.
|
|
4607
|
+
#
|
|
4608
|
+
# @option params [required, Array<String>] :number_capabilities
|
|
4609
|
+
# The capabilities to filter by, such as SMS. Only phone numbers that
|
|
4610
|
+
# support all of the specified capabilities are returned.
|
|
4611
|
+
#
|
|
4612
|
+
# @option params [required, String] :number_type
|
|
4613
|
+
# The type of phone number to search for.
|
|
4614
|
+
#
|
|
4615
|
+
# @option params [String] :registration_id
|
|
4616
|
+
# The registration associated with the request. A registration is
|
|
4617
|
+
# required for regulated number types. You can specify either:
|
|
4618
|
+
#
|
|
4619
|
+
# * The unique identifier of the registration.
|
|
4620
|
+
#
|
|
4621
|
+
# * The Amazon Resource Name (ARN) of the registration.
|
|
4622
|
+
#
|
|
4623
|
+
# @option params [Array<Types::NumberPreferenceItem>] :number_preference
|
|
4624
|
+
# Optional. If omitted, returns unfiltered available numbers. Max 1
|
|
4625
|
+
# element for List API.
|
|
4626
|
+
#
|
|
4627
|
+
# @option params [String] :next_token
|
|
4628
|
+
# The token returned from a previous request to retrieve the next page
|
|
4629
|
+
# of results.
|
|
4630
|
+
#
|
|
4631
|
+
# @option params [Integer] :max_results
|
|
4632
|
+
# The maximum number of results to return per page. If you don't
|
|
4633
|
+
# specify a value, the default is 10.
|
|
4634
|
+
#
|
|
4635
|
+
# @return [Types::ListAvailablePhoneNumbersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4636
|
+
#
|
|
4637
|
+
# * {Types::ListAvailablePhoneNumbersResult#available_phone_numbers #available_phone_numbers} => Array<String>
|
|
4638
|
+
# * {Types::ListAvailablePhoneNumbersResult#next_token #next_token} => String
|
|
4639
|
+
#
|
|
4640
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
4641
|
+
#
|
|
4642
|
+
#
|
|
4643
|
+
# @example Example: ListAvailablePhoneNumbers
|
|
4644
|
+
#
|
|
4645
|
+
# # Search for available TEN_DLC phone numbers in the US that start with a specific area code.
|
|
4646
|
+
#
|
|
4647
|
+
# resp = client.list_available_phone_numbers({
|
|
4648
|
+
# iso_country_code: "US",
|
|
4649
|
+
# max_results: 10,
|
|
4650
|
+
# number_capabilities: [
|
|
4651
|
+
# "SMS",
|
|
4652
|
+
# ],
|
|
4653
|
+
# number_preference: [
|
|
4654
|
+
# {
|
|
4655
|
+
# filter: [
|
|
4656
|
+
# "+1206",
|
|
4657
|
+
# ],
|
|
4658
|
+
# preference_type: [
|
|
4659
|
+
# "StartsWith",
|
|
4660
|
+
# ],
|
|
4661
|
+
# },
|
|
4662
|
+
# ],
|
|
4663
|
+
# number_type: "TEN_DLC",
|
|
4664
|
+
# registration_id: "reg-1234567890abcdef0",
|
|
4665
|
+
# })
|
|
4666
|
+
#
|
|
4667
|
+
# resp.to_h outputs the following:
|
|
4668
|
+
# {
|
|
4669
|
+
# available_phone_numbers: [
|
|
4670
|
+
# "+12065550100",
|
|
4671
|
+
# "+12065550142",
|
|
4672
|
+
# "+12065550187",
|
|
4673
|
+
# ],
|
|
4674
|
+
# }
|
|
4675
|
+
#
|
|
4676
|
+
# @example Request syntax with placeholder values
|
|
4677
|
+
#
|
|
4678
|
+
# resp = client.list_available_phone_numbers({
|
|
4679
|
+
# iso_country_code: "IsoCountryCode", # required
|
|
4680
|
+
# number_capabilities: ["SMS"], # required, accepts SMS, VOICE, MMS, RCS
|
|
4681
|
+
# number_type: "TEN_DLC", # required, accepts TEN_DLC
|
|
4682
|
+
# registration_id: "RegistrationIdOrArn",
|
|
4683
|
+
# number_preference: [
|
|
4684
|
+
# {
|
|
4685
|
+
# preference_type: ["StartsWith"], # required, accepts StartsWith, EndsWith, Contains, ExactMatch
|
|
4686
|
+
# filter: ["NumberFilterValue"], # required
|
|
4687
|
+
# },
|
|
4688
|
+
# ],
|
|
4689
|
+
# next_token: "NextToken",
|
|
4690
|
+
# max_results: 1,
|
|
4691
|
+
# })
|
|
4692
|
+
#
|
|
4693
|
+
# @example Response structure
|
|
4694
|
+
#
|
|
4695
|
+
# resp.available_phone_numbers #=> Array
|
|
4696
|
+
# resp.available_phone_numbers[0] #=> String
|
|
4697
|
+
# resp.next_token #=> String
|
|
4698
|
+
#
|
|
4699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListAvailablePhoneNumbers AWS API Documentation
|
|
4700
|
+
#
|
|
4701
|
+
# @overload list_available_phone_numbers(params = {})
|
|
4702
|
+
# @param [Hash] params ({})
|
|
4703
|
+
def list_available_phone_numbers(params = {}, options = {})
|
|
4704
|
+
req = build_request(:list_available_phone_numbers, params)
|
|
4705
|
+
req.send_request(options)
|
|
4706
|
+
end
|
|
4707
|
+
|
|
4585
4708
|
# Lists countries that support notify messaging. You can optionally
|
|
4586
4709
|
# filter by channel, use case, or tier.
|
|
4587
4710
|
#
|
|
@@ -5399,6 +5522,12 @@ module Aws::PinpointSMSVoiceV2
|
|
|
5399
5522
|
# Use this field to attach your phone number for an external
|
|
5400
5523
|
# registration process.
|
|
5401
5524
|
#
|
|
5525
|
+
# @option params [Array<Types::NumberPreferenceItem>] :number_preference
|
|
5526
|
+
# An optional selection preference used to request a specific phone
|
|
5527
|
+
# number, such as a number that starts with, ends with, or contains a
|
|
5528
|
+
# particular digit pattern. You can specify at most one preference.
|
|
5529
|
+
# Number preferences apply only to `TEN_DLC` requests in the `US`.
|
|
5530
|
+
#
|
|
5402
5531
|
# @option params [Boolean] :international_sending_enabled
|
|
5403
5532
|
# By default this is set to false. When set to true the international
|
|
5404
5533
|
# sending of phone number is Enabled.
|
|
@@ -5453,6 +5582,12 @@ module Aws::PinpointSMSVoiceV2
|
|
|
5453
5582
|
# opt_out_list_name: "OptOutListNameOrArn",
|
|
5454
5583
|
# pool_id: "PoolIdOrArn",
|
|
5455
5584
|
# registration_id: "RegistrationIdOrArn",
|
|
5585
|
+
# number_preference: [
|
|
5586
|
+
# {
|
|
5587
|
+
# preference_type: ["StartsWith"], # required, accepts StartsWith, EndsWith, Contains, ExactMatch
|
|
5588
|
+
# filter: ["NumberFilterValue"], # required
|
|
5589
|
+
# },
|
|
5590
|
+
# ],
|
|
5456
5591
|
# international_sending_enabled: false,
|
|
5457
5592
|
# deletion_protection_enabled: false,
|
|
5458
5593
|
# tags: [
|
|
@@ -7673,7 +7808,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
7673
7808
|
tracer: tracer
|
|
7674
7809
|
)
|
|
7675
7810
|
context[:gem_name] = 'aws-sdk-pinpointsmsvoicev2'
|
|
7676
|
-
context[:gem_version] = '1.
|
|
7811
|
+
context[:gem_version] = '1.63.0'
|
|
7677
7812
|
Seahorse::Client::Request.new(handlers, context)
|
|
7678
7813
|
end
|
|
7679
7814
|
|
|
@@ -31,6 +31,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
31
31
|
AttachmentStatus = Shapes::StringShape.new(name: 'AttachmentStatus')
|
|
32
32
|
AttachmentUploadErrorReason = Shapes::StringShape.new(name: 'AttachmentUploadErrorReason')
|
|
33
33
|
AttachmentUrl = Shapes::StringShape.new(name: 'AttachmentUrl')
|
|
34
|
+
AvailablePhoneNumberList = Shapes::ListShape.new(name: 'AvailablePhoneNumberList')
|
|
34
35
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
35
36
|
CarrierLookupInputPhoneNumberType = Shapes::StringShape.new(name: 'CarrierLookupInputPhoneNumberType')
|
|
36
37
|
CarrierLookupRequest = Shapes::StructureShape.new(name: 'CarrierLookupRequest')
|
|
@@ -233,6 +234,9 @@ module Aws::PinpointSMSVoiceV2
|
|
|
233
234
|
KeywordMessage = Shapes::StringShape.new(name: 'KeywordMessage')
|
|
234
235
|
KinesisFirehoseDestination = Shapes::StructureShape.new(name: 'KinesisFirehoseDestination')
|
|
235
236
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
|
237
|
+
ListAvailablePhoneNumbersMaxResults = Shapes::IntegerShape.new(name: 'ListAvailablePhoneNumbersMaxResults')
|
|
238
|
+
ListAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListAvailablePhoneNumbersRequest')
|
|
239
|
+
ListAvailablePhoneNumbersResult = Shapes::StructureShape.new(name: 'ListAvailablePhoneNumbersResult')
|
|
236
240
|
ListNotifyCountriesRequest = Shapes::StructureShape.new(name: 'ListNotifyCountriesRequest')
|
|
237
241
|
ListNotifyCountriesResult = Shapes::StructureShape.new(name: 'ListNotifyCountriesResult')
|
|
238
242
|
ListPoolOriginationIdentitiesRequest = Shapes::StructureShape.new(name: 'ListPoolOriginationIdentitiesRequest')
|
|
@@ -245,6 +249,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
245
249
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
246
250
|
ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
|
|
247
251
|
LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
|
|
252
|
+
LongMap = Shapes::MapShape.new(name: 'LongMap')
|
|
248
253
|
MCCType = Shapes::StringShape.new(name: 'MCCType')
|
|
249
254
|
MNCType = Shapes::StringShape.new(name: 'MNCType')
|
|
250
255
|
MaxPrice = Shapes::StringShape.new(name: 'MaxPrice')
|
|
@@ -256,6 +261,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
256
261
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
|
257
262
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
|
258
263
|
MessageTypeList = Shapes::ListShape.new(name: 'MessageTypeList')
|
|
264
|
+
MessagingLimits = Shapes::StructureShape.new(name: 'MessagingLimits')
|
|
259
265
|
MonthlyLimit = Shapes::IntegerShape.new(name: 'MonthlyLimit')
|
|
260
266
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
261
267
|
NonEmptyTagList = Shapes::ListShape.new(name: 'NonEmptyTagList')
|
|
@@ -292,6 +298,10 @@ module Aws::PinpointSMSVoiceV2
|
|
|
292
298
|
NotifyUseCaseList = Shapes::ListShape.new(name: 'NotifyUseCaseList')
|
|
293
299
|
NumberCapability = Shapes::StringShape.new(name: 'NumberCapability')
|
|
294
300
|
NumberCapabilityList = Shapes::ListShape.new(name: 'NumberCapabilityList')
|
|
301
|
+
NumberFilterList = Shapes::ListShape.new(name: 'NumberFilterList')
|
|
302
|
+
NumberFilterValue = Shapes::StringShape.new(name: 'NumberFilterValue')
|
|
303
|
+
NumberPreferenceItem = Shapes::StructureShape.new(name: 'NumberPreferenceItem')
|
|
304
|
+
NumberPreferenceList = Shapes::ListShape.new(name: 'NumberPreferenceList')
|
|
295
305
|
NumberStatus = Shapes::StringShape.new(name: 'NumberStatus')
|
|
296
306
|
NumberType = Shapes::StringShape.new(name: 'NumberType')
|
|
297
307
|
OptOutListInformation = Shapes::StructureShape.new(name: 'OptOutListInformation')
|
|
@@ -330,6 +340,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
330
340
|
PoolOriginationIdentitiesFilterList = Shapes::ListShape.new(name: 'PoolOriginationIdentitiesFilterList')
|
|
331
341
|
PoolOriginationIdentitiesFilterName = Shapes::StringShape.new(name: 'PoolOriginationIdentitiesFilterName')
|
|
332
342
|
PoolStatus = Shapes::StringShape.new(name: 'PoolStatus')
|
|
343
|
+
PreferenceType = Shapes::StringShape.new(name: 'PreferenceType')
|
|
344
|
+
PreferenceTypeList = Shapes::ListShape.new(name: 'PreferenceTypeList')
|
|
333
345
|
PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
|
|
334
346
|
PrimitiveLong = Shapes::IntegerShape.new(name: 'PrimitiveLong')
|
|
335
347
|
ProtectConfigurationArn = Shapes::StringShape.new(name: 'ProtectConfigurationArn')
|
|
@@ -479,6 +491,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
479
491
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
480
492
|
ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
|
|
481
493
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
494
|
+
SearchableNumberType = Shapes::StringShape.new(name: 'SearchableNumberType')
|
|
482
495
|
SectionPath = Shapes::StringShape.new(name: 'SectionPath')
|
|
483
496
|
SectionPathList = Shapes::ListShape.new(name: 'SectionPathList')
|
|
484
497
|
SelectChoice = Shapes::StringShape.new(name: 'SelectChoice')
|
|
@@ -651,6 +664,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
651
664
|
AssociateProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
|
|
652
665
|
AssociateProtectConfigurationResult.struct_class = Types::AssociateProtectConfigurationResult
|
|
653
666
|
|
|
667
|
+
AvailablePhoneNumberList.member = Shapes::ShapeRef.new(shape: PhoneNumber)
|
|
668
|
+
|
|
654
669
|
CarrierLookupRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: CarrierLookupInputPhoneNumberType, required: true, location_name: "PhoneNumber"))
|
|
655
670
|
CarrierLookupRequest.struct_class = Types::CarrierLookupRequest
|
|
656
671
|
|
|
@@ -1506,6 +1521,19 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1506
1521
|
KinesisFirehoseDestination.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamArn, required: true, location_name: "DeliveryStreamArn"))
|
|
1507
1522
|
KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
|
|
1508
1523
|
|
|
1524
|
+
ListAvailablePhoneNumbersRequest.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: IsoCountryCode, required: true, location_name: "IsoCountryCode"))
|
|
1525
|
+
ListAvailablePhoneNumbersRequest.add_member(:number_capabilities, Shapes::ShapeRef.new(shape: NumberCapabilityList, required: true, location_name: "NumberCapabilities"))
|
|
1526
|
+
ListAvailablePhoneNumbersRequest.add_member(:number_type, Shapes::ShapeRef.new(shape: SearchableNumberType, required: true, location_name: "NumberType"))
|
|
1527
|
+
ListAvailablePhoneNumbersRequest.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationIdOrArn, location_name: "RegistrationId"))
|
|
1528
|
+
ListAvailablePhoneNumbersRequest.add_member(:number_preference, Shapes::ShapeRef.new(shape: NumberPreferenceList, location_name: "NumberPreference"))
|
|
1529
|
+
ListAvailablePhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
1530
|
+
ListAvailablePhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAvailablePhoneNumbersMaxResults, location_name: "MaxResults"))
|
|
1531
|
+
ListAvailablePhoneNumbersRequest.struct_class = Types::ListAvailablePhoneNumbersRequest
|
|
1532
|
+
|
|
1533
|
+
ListAvailablePhoneNumbersResult.add_member(:available_phone_numbers, Shapes::ShapeRef.new(shape: AvailablePhoneNumberList, required: true, location_name: "AvailablePhoneNumbers"))
|
|
1534
|
+
ListAvailablePhoneNumbersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
1535
|
+
ListAvailablePhoneNumbersResult.struct_class = Types::ListAvailablePhoneNumbersResult
|
|
1536
|
+
|
|
1509
1537
|
ListNotifyCountriesRequest.add_member(:channels, Shapes::ShapeRef.new(shape: NotifyEnabledChannelsList, location_name: "Channels"))
|
|
1510
1538
|
ListNotifyCountriesRequest.add_member(:use_cases, Shapes::ShapeRef.new(shape: NotifyUseCaseList, location_name: "UseCases"))
|
|
1511
1539
|
ListNotifyCountriesRequest.add_member(:tier, Shapes::ShapeRef.new(shape: NotifyConfigurationTier, location_name: "Tier"))
|
|
@@ -1563,10 +1591,17 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1563
1591
|
ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
1564
1592
|
ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
|
|
1565
1593
|
|
|
1594
|
+
LongMap.key = Shapes::ShapeRef.new(shape: String)
|
|
1595
|
+
LongMap.value = Shapes::ShapeRef.new(shape: PrimitiveLong)
|
|
1596
|
+
|
|
1566
1597
|
MediaUrlList.member = Shapes::ShapeRef.new(shape: MediaUrlValue)
|
|
1567
1598
|
|
|
1568
1599
|
MessageTypeList.member = Shapes::ShapeRef.new(shape: MessageType)
|
|
1569
1600
|
|
|
1601
|
+
MessagingLimits.add_member(:rate_limits, Shapes::ShapeRef.new(shape: LongMap, location_name: "RateLimits"))
|
|
1602
|
+
MessagingLimits.add_member(:daily_message_caps, Shapes::ShapeRef.new(shape: LongMap, location_name: "DailyMessageCaps"))
|
|
1603
|
+
MessagingLimits.struct_class = Types::MessagingLimits
|
|
1604
|
+
|
|
1570
1605
|
NonEmptyTagList.member = Shapes::ShapeRef.new(shape: Tag)
|
|
1571
1606
|
|
|
1572
1607
|
NotifyConfigurationFilter.add_member(:name, Shapes::ShapeRef.new(shape: NotifyConfigurationFilterName, required: true, location_name: "Name"))
|
|
@@ -1639,6 +1674,14 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1639
1674
|
|
|
1640
1675
|
NumberCapabilityList.member = Shapes::ShapeRef.new(shape: NumberCapability)
|
|
1641
1676
|
|
|
1677
|
+
NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilterValue)
|
|
1678
|
+
|
|
1679
|
+
NumberPreferenceItem.add_member(:preference_type, Shapes::ShapeRef.new(shape: PreferenceTypeList, required: true, location_name: "PreferenceType"))
|
|
1680
|
+
NumberPreferenceItem.add_member(:filter, Shapes::ShapeRef.new(shape: NumberFilterList, required: true, location_name: "Filter"))
|
|
1681
|
+
NumberPreferenceItem.struct_class = Types::NumberPreferenceItem
|
|
1682
|
+
|
|
1683
|
+
NumberPreferenceList.member = Shapes::ShapeRef.new(shape: NumberPreferenceItem)
|
|
1684
|
+
|
|
1642
1685
|
OptOutListInformation.add_member(:opt_out_list_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OptOutListArn"))
|
|
1643
1686
|
OptOutListInformation.add_member(:opt_out_list_name, Shapes::ShapeRef.new(shape: OptOutListName, required: true, location_name: "OptOutListName"))
|
|
1644
1687
|
OptOutListInformation.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
|
|
@@ -1698,6 +1741,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1698
1741
|
PhoneNumberInformation.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "DeletionProtectionEnabled"))
|
|
1699
1742
|
PhoneNumberInformation.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "PoolId"))
|
|
1700
1743
|
PhoneNumberInformation.add_member(:registration_id, Shapes::ShapeRef.new(shape: String, location_name: "RegistrationId"))
|
|
1744
|
+
PhoneNumberInformation.add_member(:messaging_limits, Shapes::ShapeRef.new(shape: MessagingLimits, location_name: "MessagingLimits"))
|
|
1701
1745
|
PhoneNumberInformation.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTimestamp"))
|
|
1702
1746
|
PhoneNumberInformation.struct_class = Types::PhoneNumberInformation
|
|
1703
1747
|
|
|
@@ -1733,6 +1777,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1733
1777
|
|
|
1734
1778
|
PoolOriginationIdentitiesFilterList.member = Shapes::ShapeRef.new(shape: PoolOriginationIdentitiesFilter)
|
|
1735
1779
|
|
|
1780
|
+
PreferenceTypeList.member = Shapes::ShapeRef.new(shape: PreferenceType)
|
|
1781
|
+
|
|
1736
1782
|
ProtectConfigurationCountryRuleSet.key = Shapes::ShapeRef.new(shape: IsoCountryCode)
|
|
1737
1783
|
ProtectConfigurationCountryRuleSet.value = Shapes::ShapeRef.new(shape: ProtectConfigurationCountryRuleSetInformation)
|
|
1738
1784
|
|
|
@@ -1866,6 +1912,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1866
1912
|
RcsAgentInformation.add_member(:two_way_media_s3_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "TwoWayMediaS3Role"))
|
|
1867
1913
|
RcsAgentInformation.add_member(:two_way_rcs_events_enabled, Shapes::ShapeRef.new(shape: RcsEventTypeList, location_name: "TwoWayRcsEventsEnabled"))
|
|
1868
1914
|
RcsAgentInformation.add_member(:testing_agent, Shapes::ShapeRef.new(shape: TestingAgentInformation, location_name: "TestingAgent"))
|
|
1915
|
+
RcsAgentInformation.add_member(:messaging_limits, Shapes::ShapeRef.new(shape: MessagingLimits, location_name: "MessagingLimits"))
|
|
1869
1916
|
RcsAgentInformation.struct_class = Types::RcsAgentInformation
|
|
1870
1917
|
|
|
1871
1918
|
RcsAgentInformationList.member = Shapes::ShapeRef.new(shape: RcsAgentInformation)
|
|
@@ -2189,6 +2236,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
2189
2236
|
RequestPhoneNumberRequest.add_member(:opt_out_list_name, Shapes::ShapeRef.new(shape: OptOutListNameOrArn, location_name: "OptOutListName"))
|
|
2190
2237
|
RequestPhoneNumberRequest.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolIdOrArn, location_name: "PoolId"))
|
|
2191
2238
|
RequestPhoneNumberRequest.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationIdOrArn, location_name: "RegistrationId"))
|
|
2239
|
+
RequestPhoneNumberRequest.add_member(:number_preference, Shapes::ShapeRef.new(shape: NumberPreferenceList, location_name: "NumberPreference"))
|
|
2192
2240
|
RequestPhoneNumberRequest.add_member(:international_sending_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternationalSendingEnabled"))
|
|
2193
2241
|
RequestPhoneNumberRequest.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtectionEnabled"))
|
|
2194
2242
|
RequestPhoneNumberRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
@@ -2387,6 +2435,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
2387
2435
|
SenderIdInformation.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "DeletionProtectionEnabled"))
|
|
2388
2436
|
SenderIdInformation.add_member(:registered, Shapes::ShapeRef.new(shape: PrimitiveBoolean, required: true, location_name: "Registered"))
|
|
2389
2437
|
SenderIdInformation.add_member(:registration_id, Shapes::ShapeRef.new(shape: String, location_name: "RegistrationId"))
|
|
2438
|
+
SenderIdInformation.add_member(:messaging_limits, Shapes::ShapeRef.new(shape: MessagingLimits, location_name: "MessagingLimits"))
|
|
2390
2439
|
SenderIdInformation.struct_class = Types::SenderIdInformation
|
|
2391
2440
|
|
|
2392
2441
|
SenderIdInformationList.member = Shapes::ShapeRef.new(shape: SenderIdInformation)
|
|
@@ -3790,6 +3839,26 @@ module Aws::PinpointSMSVoiceV2
|
|
|
3790
3839
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3791
3840
|
end)
|
|
3792
3841
|
|
|
3842
|
+
api.add_operation(:list_available_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
|
|
3843
|
+
o.name = "ListAvailablePhoneNumbers"
|
|
3844
|
+
o.http_method = "POST"
|
|
3845
|
+
o.http_request_uri = "/"
|
|
3846
|
+
o.input = Shapes::ShapeRef.new(shape: ListAvailablePhoneNumbersRequest)
|
|
3847
|
+
o.output = Shapes::ShapeRef.new(shape: ListAvailablePhoneNumbersResult)
|
|
3848
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3849
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3850
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3851
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3852
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3853
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3854
|
+
o[:pager] = Aws::Pager.new(
|
|
3855
|
+
limit_key: "max_results",
|
|
3856
|
+
tokens: {
|
|
3857
|
+
"next_token" => "next_token"
|
|
3858
|
+
}
|
|
3859
|
+
)
|
|
3860
|
+
end)
|
|
3861
|
+
|
|
3793
3862
|
api.add_operation(:list_notify_countries, Seahorse::Model::Operation.new.tap do |o|
|
|
3794
3863
|
o.name = "ListNotifyCountries"
|
|
3795
3864
|
o.http_method = "POST"
|
|
@@ -4593,6 +4593,78 @@ module Aws::PinpointSMSVoiceV2
|
|
|
4593
4593
|
include Aws::Structure
|
|
4594
4594
|
end
|
|
4595
4595
|
|
|
4596
|
+
# @!attribute [rw] iso_country_code
|
|
4597
|
+
# The two-character code, in ISO 3166-1 alpha-2 format, for the
|
|
4598
|
+
# country or region in which to search for available phone numbers.
|
|
4599
|
+
# This operation currently supports only `US`.
|
|
4600
|
+
# @return [String]
|
|
4601
|
+
#
|
|
4602
|
+
# @!attribute [rw] number_capabilities
|
|
4603
|
+
# The capabilities to filter by, such as SMS. Only phone numbers that
|
|
4604
|
+
# support all of the specified capabilities are returned.
|
|
4605
|
+
# @return [Array<String>]
|
|
4606
|
+
#
|
|
4607
|
+
# @!attribute [rw] number_type
|
|
4608
|
+
# The type of phone number to search for.
|
|
4609
|
+
# @return [String]
|
|
4610
|
+
#
|
|
4611
|
+
# @!attribute [rw] registration_id
|
|
4612
|
+
# The registration associated with the request. A registration is
|
|
4613
|
+
# required for regulated number types. You can specify either:
|
|
4614
|
+
#
|
|
4615
|
+
# * The unique identifier of the registration.
|
|
4616
|
+
#
|
|
4617
|
+
# * The Amazon Resource Name (ARN) of the registration.
|
|
4618
|
+
# @return [String]
|
|
4619
|
+
#
|
|
4620
|
+
# @!attribute [rw] number_preference
|
|
4621
|
+
# Optional. If omitted, returns unfiltered available numbers. Max 1
|
|
4622
|
+
# element for List API.
|
|
4623
|
+
# @return [Array<Types::NumberPreferenceItem>]
|
|
4624
|
+
#
|
|
4625
|
+
# @!attribute [rw] next_token
|
|
4626
|
+
# The token returned from a previous request to retrieve the next page
|
|
4627
|
+
# of results.
|
|
4628
|
+
# @return [String]
|
|
4629
|
+
#
|
|
4630
|
+
# @!attribute [rw] max_results
|
|
4631
|
+
# The maximum number of results to return per page. If you don't
|
|
4632
|
+
# specify a value, the default is 10.
|
|
4633
|
+
# @return [Integer]
|
|
4634
|
+
#
|
|
4635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListAvailablePhoneNumbersRequest AWS API Documentation
|
|
4636
|
+
#
|
|
4637
|
+
class ListAvailablePhoneNumbersRequest < Struct.new(
|
|
4638
|
+
:iso_country_code,
|
|
4639
|
+
:number_capabilities,
|
|
4640
|
+
:number_type,
|
|
4641
|
+
:registration_id,
|
|
4642
|
+
:number_preference,
|
|
4643
|
+
:next_token,
|
|
4644
|
+
:max_results)
|
|
4645
|
+
SENSITIVE = []
|
|
4646
|
+
include Aws::Structure
|
|
4647
|
+
end
|
|
4648
|
+
|
|
4649
|
+
# @!attribute [rw] available_phone_numbers
|
|
4650
|
+
# An array of phone numbers, in E.164 format, that are available to
|
|
4651
|
+
# request based on the specified filters.
|
|
4652
|
+
# @return [Array<String>]
|
|
4653
|
+
#
|
|
4654
|
+
# @!attribute [rw] next_token
|
|
4655
|
+
# The token to include in the next request to retrieve the next page
|
|
4656
|
+
# of results. This value is null when there are no more results.
|
|
4657
|
+
# @return [String]
|
|
4658
|
+
#
|
|
4659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListAvailablePhoneNumbersResult AWS API Documentation
|
|
4660
|
+
#
|
|
4661
|
+
class ListAvailablePhoneNumbersResult < Struct.new(
|
|
4662
|
+
:available_phone_numbers,
|
|
4663
|
+
:next_token)
|
|
4664
|
+
SENSITIVE = []
|
|
4665
|
+
include Aws::Structure
|
|
4666
|
+
end
|
|
4667
|
+
|
|
4596
4668
|
# @!attribute [rw] channels
|
|
4597
4669
|
# An array of channels to filter the results by.
|
|
4598
4670
|
# @return [Array<String>]
|
|
@@ -4856,6 +4928,32 @@ module Aws::PinpointSMSVoiceV2
|
|
|
4856
4928
|
include Aws::Structure
|
|
4857
4929
|
end
|
|
4858
4930
|
|
|
4931
|
+
# The messaging limits that apply to an origination identity, such as a
|
|
4932
|
+
# phone number, sender ID, or RCS agent. Includes the per-capability
|
|
4933
|
+
# send rates and, for supported origination identities, advisory
|
|
4934
|
+
# per-provider daily message caps.
|
|
4935
|
+
#
|
|
4936
|
+
# @!attribute [rw] rate_limits
|
|
4937
|
+
# The maximum send rate for each supported capability, in messages per
|
|
4938
|
+
# second. The map is keyed by capability, such as `SMS`, `MMS`,
|
|
4939
|
+
# `VOICE`, or `RCS`.
|
|
4940
|
+
# @return [Hash<String,Integer>]
|
|
4941
|
+
#
|
|
4942
|
+
# @!attribute [rw] daily_message_caps
|
|
4943
|
+
# The advisory maximum number of messages that can be sent per day,
|
|
4944
|
+
# keyed by provider (for example, `T-MOBILE`). Applies to 10DLC phone
|
|
4945
|
+
# numbers and is omitted when no daily cap applies.
|
|
4946
|
+
# @return [Hash<String,Integer>]
|
|
4947
|
+
#
|
|
4948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/MessagingLimits AWS API Documentation
|
|
4949
|
+
#
|
|
4950
|
+
class MessagingLimits < Struct.new(
|
|
4951
|
+
:rate_limits,
|
|
4952
|
+
:daily_message_caps)
|
|
4953
|
+
SENSITIVE = []
|
|
4954
|
+
include Aws::Structure
|
|
4955
|
+
end
|
|
4956
|
+
|
|
4859
4957
|
# The information for notify configurations that meet a specified
|
|
4860
4958
|
# criteria.
|
|
4861
4959
|
#
|
|
@@ -5102,6 +5200,36 @@ module Aws::PinpointSMSVoiceV2
|
|
|
5102
5200
|
include Aws::Structure
|
|
5103
5201
|
end
|
|
5104
5202
|
|
|
5203
|
+
# A single number preference — specifies a pattern type and filter
|
|
5204
|
+
# value.
|
|
5205
|
+
#
|
|
5206
|
+
# @!attribute [rw] preference_type
|
|
5207
|
+
# The type of match to apply to the filter values.
|
|
5208
|
+
#
|
|
5209
|
+
# * `StartsWith`: Returns numbers that begin with the filter value.
|
|
5210
|
+
#
|
|
5211
|
+
# * `EndsWith`: Returns numbers that end with the filter value.
|
|
5212
|
+
#
|
|
5213
|
+
# * `Contains`: Returns numbers that contain the filter value.
|
|
5214
|
+
#
|
|
5215
|
+
# * `ExactMatch`: Returns the number that exactly matches the filter
|
|
5216
|
+
# value.
|
|
5217
|
+
# @return [Array<String>]
|
|
5218
|
+
#
|
|
5219
|
+
# @!attribute [rw] filter
|
|
5220
|
+
# The digit pattern values to match against available phone numbers,
|
|
5221
|
+
# using the specified preference type.
|
|
5222
|
+
# @return [Array<String>]
|
|
5223
|
+
#
|
|
5224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/NumberPreferenceItem AWS API Documentation
|
|
5225
|
+
#
|
|
5226
|
+
class NumberPreferenceItem < Struct.new(
|
|
5227
|
+
:preference_type,
|
|
5228
|
+
:filter)
|
|
5229
|
+
SENSITIVE = []
|
|
5230
|
+
include Aws::Structure
|
|
5231
|
+
end
|
|
5232
|
+
|
|
5105
5233
|
# The information for all OptOutList in an Amazon Web Services account.
|
|
5106
5234
|
#
|
|
5107
5235
|
# @!attribute [rw] opt_out_list_arn
|
|
@@ -5330,6 +5458,12 @@ module Aws::PinpointSMSVoiceV2
|
|
|
5330
5458
|
# The unique identifier for the registration.
|
|
5331
5459
|
# @return [String]
|
|
5332
5460
|
#
|
|
5461
|
+
# @!attribute [rw] messaging_limits
|
|
5462
|
+
# The messaging limits that apply to the phone number, including the
|
|
5463
|
+
# per-capability send rates and any advisory per-provider daily
|
|
5464
|
+
# message caps.
|
|
5465
|
+
# @return [Types::MessagingLimits]
|
|
5466
|
+
#
|
|
5333
5467
|
# @!attribute [rw] created_timestamp
|
|
5334
5468
|
# The time when the phone number was created, in [UNIX epoch time][1]
|
|
5335
5469
|
# format.
|
|
@@ -5360,6 +5494,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
5360
5494
|
:deletion_protection_enabled,
|
|
5361
5495
|
:pool_id,
|
|
5362
5496
|
:registration_id,
|
|
5497
|
+
:messaging_limits,
|
|
5363
5498
|
:created_timestamp)
|
|
5364
5499
|
SENSITIVE = []
|
|
5365
5500
|
include Aws::Structure
|
|
@@ -6104,6 +6239,11 @@ module Aws::PinpointSMSVoiceV2
|
|
|
6104
6239
|
# The testing agent information associated with the RCS agent.
|
|
6105
6240
|
# @return [Types::TestingAgentInformation]
|
|
6106
6241
|
#
|
|
6242
|
+
# @!attribute [rw] messaging_limits
|
|
6243
|
+
# The messaging limits that apply to the RCS agent, including the
|
|
6244
|
+
# per-capability send rates.
|
|
6245
|
+
# @return [Types::MessagingLimits]
|
|
6246
|
+
#
|
|
6107
6247
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RcsAgentInformation AWS API Documentation
|
|
6108
6248
|
#
|
|
6109
6249
|
class RcsAgentInformation < Struct.new(
|
|
@@ -6122,7 +6262,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
6122
6262
|
:two_way_media_s3_key_prefix,
|
|
6123
6263
|
:two_way_media_s3_role,
|
|
6124
6264
|
:two_way_rcs_events_enabled,
|
|
6125
|
-
:testing_agent
|
|
6265
|
+
:testing_agent,
|
|
6266
|
+
:messaging_limits)
|
|
6126
6267
|
SENSITIVE = []
|
|
6127
6268
|
include Aws::Structure
|
|
6128
6269
|
end
|
|
@@ -7644,6 +7785,13 @@ module Aws::PinpointSMSVoiceV2
|
|
|
7644
7785
|
# registration process.
|
|
7645
7786
|
# @return [String]
|
|
7646
7787
|
#
|
|
7788
|
+
# @!attribute [rw] number_preference
|
|
7789
|
+
# An optional selection preference used to request a specific phone
|
|
7790
|
+
# number, such as a number that starts with, ends with, or contains a
|
|
7791
|
+
# particular digit pattern. You can specify at most one preference.
|
|
7792
|
+
# Number preferences apply only to `TEN_DLC` requests in the `US`.
|
|
7793
|
+
# @return [Array<Types::NumberPreferenceItem>]
|
|
7794
|
+
#
|
|
7647
7795
|
# @!attribute [rw] international_sending_enabled
|
|
7648
7796
|
# By default this is set to false. When set to true the international
|
|
7649
7797
|
# sending of phone number is Enabled.
|
|
@@ -7679,6 +7827,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
7679
7827
|
:opt_out_list_name,
|
|
7680
7828
|
:pool_id,
|
|
7681
7829
|
:registration_id,
|
|
7830
|
+
:number_preference,
|
|
7682
7831
|
:international_sending_enabled,
|
|
7683
7832
|
:deletion_protection_enabled,
|
|
7684
7833
|
:tags,
|
|
@@ -8753,6 +8902,11 @@ module Aws::PinpointSMSVoiceV2
|
|
|
8753
8902
|
# The unique identifier for the registration.
|
|
8754
8903
|
# @return [String]
|
|
8755
8904
|
#
|
|
8905
|
+
# @!attribute [rw] messaging_limits
|
|
8906
|
+
# The messaging limits that apply to the sender ID, including the
|
|
8907
|
+
# per-capability send rates.
|
|
8908
|
+
# @return [Types::MessagingLimits]
|
|
8909
|
+
#
|
|
8756
8910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SenderIdInformation AWS API Documentation
|
|
8757
8911
|
#
|
|
8758
8912
|
class SenderIdInformation < Struct.new(
|
|
@@ -8763,7 +8917,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
8763
8917
|
:monthly_leasing_price,
|
|
8764
8918
|
:deletion_protection_enabled,
|
|
8765
8919
|
:registered,
|
|
8766
|
-
:registration_id
|
|
8920
|
+
:registration_id,
|
|
8921
|
+
:messaging_limits)
|
|
8767
8922
|
SENSITIVE = []
|
|
8768
8923
|
include Aws::Structure
|
|
8769
8924
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -1233,6 +1233,28 @@ module Aws
|
|
|
1233
1233
|
) -> _GetResourcePolicyResponseSuccess
|
|
1234
1234
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
|
1235
1235
|
|
|
1236
|
+
interface _ListAvailablePhoneNumbersResponseSuccess
|
|
1237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAvailablePhoneNumbersResult]
|
|
1238
|
+
def available_phone_numbers: () -> ::Array[::String]
|
|
1239
|
+
def next_token: () -> ::String
|
|
1240
|
+
end
|
|
1241
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#list_available_phone_numbers-instance_method
|
|
1242
|
+
def list_available_phone_numbers: (
|
|
1243
|
+
iso_country_code: ::String,
|
|
1244
|
+
number_capabilities: Array[("SMS" | "VOICE" | "MMS" | "RCS")],
|
|
1245
|
+
number_type: ("TEN_DLC"),
|
|
1246
|
+
?registration_id: ::String,
|
|
1247
|
+
?number_preference: Array[
|
|
1248
|
+
{
|
|
1249
|
+
preference_type: Array[("StartsWith" | "EndsWith" | "Contains" | "ExactMatch")],
|
|
1250
|
+
filter: Array[::String]
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1253
|
+
?next_token: ::String,
|
|
1254
|
+
?max_results: ::Integer
|
|
1255
|
+
) -> _ListAvailablePhoneNumbersResponseSuccess
|
|
1256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAvailablePhoneNumbersResponseSuccess
|
|
1257
|
+
|
|
1236
1258
|
interface _ListNotifyCountriesResponseSuccess
|
|
1237
1259
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListNotifyCountriesResult]
|
|
1238
1260
|
def notify_countries: () -> ::Array[Types::NotifyCountryInformation]
|
|
@@ -1494,6 +1516,12 @@ module Aws
|
|
|
1494
1516
|
?opt_out_list_name: ::String,
|
|
1495
1517
|
?pool_id: ::String,
|
|
1496
1518
|
?registration_id: ::String,
|
|
1519
|
+
?number_preference: Array[
|
|
1520
|
+
{
|
|
1521
|
+
preference_type: Array[("StartsWith" | "EndsWith" | "Contains" | "ExactMatch")],
|
|
1522
|
+
filter: Array[::String]
|
|
1523
|
+
}
|
|
1524
|
+
],
|
|
1497
1525
|
?international_sending_enabled: bool,
|
|
1498
1526
|
?deletion_protection_enabled: bool,
|
|
1499
1527
|
?tags: Array[
|
data/sig/types.rbs
CHANGED
|
@@ -1153,6 +1153,23 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1153
1153
|
SENSITIVE: []
|
|
1154
1154
|
end
|
|
1155
1155
|
|
|
1156
|
+
class ListAvailablePhoneNumbersRequest
|
|
1157
|
+
attr_accessor iso_country_code: ::String
|
|
1158
|
+
attr_accessor number_capabilities: ::Array[("SMS" | "VOICE" | "MMS" | "RCS")]
|
|
1159
|
+
attr_accessor number_type: ("TEN_DLC")
|
|
1160
|
+
attr_accessor registration_id: ::String
|
|
1161
|
+
attr_accessor number_preference: ::Array[Types::NumberPreferenceItem]
|
|
1162
|
+
attr_accessor next_token: ::String
|
|
1163
|
+
attr_accessor max_results: ::Integer
|
|
1164
|
+
SENSITIVE: []
|
|
1165
|
+
end
|
|
1166
|
+
|
|
1167
|
+
class ListAvailablePhoneNumbersResult
|
|
1168
|
+
attr_accessor available_phone_numbers: ::Array[::String]
|
|
1169
|
+
attr_accessor next_token: ::String
|
|
1170
|
+
SENSITIVE: []
|
|
1171
|
+
end
|
|
1172
|
+
|
|
1156
1173
|
class ListNotifyCountriesRequest
|
|
1157
1174
|
attr_accessor channels: ::Array[("SMS" | "VOICE" | "MMS" | "RCS")]
|
|
1158
1175
|
attr_accessor use_cases: ::Array[("CODE_VERIFICATION")]
|
|
@@ -1228,6 +1245,12 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1228
1245
|
SENSITIVE: []
|
|
1229
1246
|
end
|
|
1230
1247
|
|
|
1248
|
+
class MessagingLimits
|
|
1249
|
+
attr_accessor rate_limits: ::Hash[::String, ::Integer]
|
|
1250
|
+
attr_accessor daily_message_caps: ::Hash[::String, ::Integer]
|
|
1251
|
+
SENSITIVE: []
|
|
1252
|
+
end
|
|
1253
|
+
|
|
1231
1254
|
class NotifyConfigurationFilter
|
|
1232
1255
|
attr_accessor name: ("display-name" | "enabled-countries" | "enabled-channels" | "default-template" | "default-pool" | "use-case" | "status" | "deletion-protection-enabled" | "tier-upgrade-status")
|
|
1233
1256
|
attr_accessor values: ::Array[::String]
|
|
@@ -1284,6 +1307,12 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1284
1307
|
SENSITIVE: []
|
|
1285
1308
|
end
|
|
1286
1309
|
|
|
1310
|
+
class NumberPreferenceItem
|
|
1311
|
+
attr_accessor preference_type: ::Array[("StartsWith" | "EndsWith" | "Contains" | "ExactMatch")]
|
|
1312
|
+
attr_accessor filter: ::Array[::String]
|
|
1313
|
+
SENSITIVE: []
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1287
1316
|
class OptOutListInformation
|
|
1288
1317
|
attr_accessor opt_out_list_arn: ::String
|
|
1289
1318
|
attr_accessor opt_out_list_name: ::String
|
|
@@ -1338,6 +1367,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1338
1367
|
attr_accessor deletion_protection_enabled: bool
|
|
1339
1368
|
attr_accessor pool_id: ::String
|
|
1340
1369
|
attr_accessor registration_id: ::String
|
|
1370
|
+
attr_accessor messaging_limits: Types::MessagingLimits
|
|
1341
1371
|
attr_accessor created_timestamp: ::Time
|
|
1342
1372
|
SENSITIVE: []
|
|
1343
1373
|
end
|
|
@@ -1525,6 +1555,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1525
1555
|
attr_accessor two_way_media_s3_role: ::String
|
|
1526
1556
|
attr_accessor two_way_rcs_events_enabled: ::Array[::String]
|
|
1527
1557
|
attr_accessor testing_agent: Types::TestingAgentInformation
|
|
1558
|
+
attr_accessor messaging_limits: Types::MessagingLimits
|
|
1528
1559
|
SENSITIVE: []
|
|
1529
1560
|
end
|
|
1530
1561
|
|
|
@@ -1898,6 +1929,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
1898
1929
|
attr_accessor opt_out_list_name: ::String
|
|
1899
1930
|
attr_accessor pool_id: ::String
|
|
1900
1931
|
attr_accessor registration_id: ::String
|
|
1932
|
+
attr_accessor number_preference: ::Array[Types::NumberPreferenceItem]
|
|
1901
1933
|
attr_accessor international_sending_enabled: bool
|
|
1902
1934
|
attr_accessor deletion_protection_enabled: bool
|
|
1903
1935
|
attr_accessor tags: ::Array[Types::Tag]
|
|
@@ -2134,6 +2166,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
2134
2166
|
attr_accessor deletion_protection_enabled: bool
|
|
2135
2167
|
attr_accessor registered: bool
|
|
2136
2168
|
attr_accessor registration_id: ::String
|
|
2169
|
+
attr_accessor messaging_limits: Types::MessagingLimits
|
|
2137
2170
|
SENSITIVE: []
|
|
2138
2171
|
end
|
|
2139
2172
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-pinpointsmsvoicev2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.63.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.255.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.255.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|