aws-sdk-chime 1.9.0 → 1.10.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/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +16 -4
- data/lib/aws-sdk-chime/client_api.rb +4 -0
- data/lib/aws-sdk-chime/types.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b439703395d89cfb17fef1938e6b3a9264f60a7d
|
4
|
+
data.tar.gz: d116f5c956a4a75a883e4e75be43c28952b8c0be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6aeee7f60bd9f1750e9ab5c8a93a54e691c75adeb58c5906192651a6972663e12e7841fcd4e216c04b9d60e9cd7b27e409a075f5b1c5c0d9f09e88bf91fd150
|
7
|
+
data.tar.gz: c16c17bc072741057d0f45feb9d87b6bbd10ba6a5843ae69e173ea09bab1505109b7cd7362fec3782602000ede040bc403441b64c1c35dcd18aefa9d14afde86
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -455,7 +455,9 @@ module Aws::Chime
|
|
455
455
|
end
|
456
456
|
|
457
457
|
# Updates phone number product types. Choose from Amazon Chime Business
|
458
|
-
# Calling and Amazon Chime Voice Connector product types.
|
458
|
+
# Calling and Amazon Chime Voice Connector product types. For toll-free
|
459
|
+
# numbers, you can use only the Amazon Chime Voice Connector product
|
460
|
+
# type.
|
459
461
|
#
|
460
462
|
# @option params [required, Array<Types::UpdatePhoneNumberRequestItem>] :update_phone_number_request_items
|
461
463
|
# The request containing the phone number IDs and product types to
|
@@ -623,7 +625,8 @@ module Aws::Chime
|
|
623
625
|
|
624
626
|
# Creates an order for phone numbers to be provisioned. Choose from
|
625
627
|
# Amazon Chime Business Calling and Amazon Chime Voice Connector product
|
626
|
-
# types.
|
628
|
+
# types. For toll-free numbers, you can use only the Amazon Chime Voice
|
629
|
+
# Connector product type.
|
627
630
|
#
|
628
631
|
# @option params [required, String] :product_type
|
629
632
|
# The phone number product type.
|
@@ -1145,6 +1148,7 @@ module Aws::Chime
|
|
1145
1148
|
#
|
1146
1149
|
# resp.phone_number.phone_number_id #=> String
|
1147
1150
|
# resp.phone_number.e164_phone_number #=> String
|
1151
|
+
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
1148
1152
|
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
1149
1153
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
1150
1154
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
@@ -1649,6 +1653,7 @@ module Aws::Chime
|
|
1649
1653
|
# resp.phone_numbers #=> Array
|
1650
1654
|
# resp.phone_numbers[0].phone_number_id #=> String
|
1651
1655
|
# resp.phone_numbers[0].e164_phone_number #=> String
|
1656
|
+
# resp.phone_numbers[0].type #=> String, one of "Local", "TollFree"
|
1652
1657
|
# resp.phone_numbers[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
1653
1658
|
# resp.phone_numbers[0].status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
1654
1659
|
# resp.phone_numbers[0].capabilities.inbound_call #=> Boolean
|
@@ -2104,6 +2109,7 @@ module Aws::Chime
|
|
2104
2109
|
#
|
2105
2110
|
# resp.phone_number.phone_number_id #=> String
|
2106
2111
|
# resp.phone_number.e164_phone_number #=> String
|
2112
|
+
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
2107
2113
|
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
2108
2114
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
2109
2115
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
@@ -2143,6 +2149,9 @@ module Aws::Chime
|
|
2143
2149
|
# @option params [String] :state
|
2144
2150
|
# The state used to filter results.
|
2145
2151
|
#
|
2152
|
+
# @option params [String] :toll_free_prefix
|
2153
|
+
# The toll-free prefix that you use to filter results.
|
2154
|
+
#
|
2146
2155
|
# @option params [Integer] :max_results
|
2147
2156
|
# The maximum number of results to return in a single call.
|
2148
2157
|
#
|
@@ -2160,6 +2169,7 @@ module Aws::Chime
|
|
2160
2169
|
# city: "String",
|
2161
2170
|
# country: "String",
|
2162
2171
|
# state: "String",
|
2172
|
+
# toll_free_prefix: "TollFreePrefix",
|
2163
2173
|
# max_results: 1,
|
2164
2174
|
# next_token: "String",
|
2165
2175
|
# })
|
@@ -2332,7 +2342,8 @@ module Aws::Chime
|
|
2332
2342
|
end
|
2333
2343
|
|
2334
2344
|
# Updates phone number details, such as product type, for the specified
|
2335
|
-
# phone number ID.
|
2345
|
+
# phone number ID. For toll-free numbers, you can use only the Amazon
|
2346
|
+
# Chime Voice Connector product type.
|
2336
2347
|
#
|
2337
2348
|
# @option params [required, String] :phone_number_id
|
2338
2349
|
# The phone number ID.
|
@@ -2355,6 +2366,7 @@ module Aws::Chime
|
|
2355
2366
|
#
|
2356
2367
|
# resp.phone_number.phone_number_id #=> String
|
2357
2368
|
# resp.phone_number.e164_phone_number #=> String
|
2369
|
+
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
2358
2370
|
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
2359
2371
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
2360
2372
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
@@ -2520,7 +2532,7 @@ module Aws::Chime
|
|
2520
2532
|
params: params,
|
2521
2533
|
config: config)
|
2522
2534
|
context[:gem_name] = 'aws-sdk-chime'
|
2523
|
-
context[:gem_version] = '1.
|
2535
|
+
context[:gem_version] = '1.10.0'
|
2524
2536
|
Seahorse::Client::Request.new(handlers, context)
|
2525
2537
|
end
|
2526
2538
|
|
@@ -146,6 +146,7 @@ module Aws::Chime
|
|
146
146
|
PhoneNumberOrderStatus = Shapes::StringShape.new(name: 'PhoneNumberOrderStatus')
|
147
147
|
PhoneNumberProductType = Shapes::StringShape.new(name: 'PhoneNumberProductType')
|
148
148
|
PhoneNumberStatus = Shapes::StringShape.new(name: 'PhoneNumberStatus')
|
149
|
+
PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
|
149
150
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
150
151
|
ProfileServiceMaxResults = Shapes::IntegerShape.new(name: 'ProfileServiceMaxResults')
|
151
152
|
PutEventsConfigurationRequest = Shapes::StructureShape.new(name: 'PutEventsConfigurationRequest')
|
@@ -176,6 +177,7 @@ module Aws::Chime
|
|
176
177
|
Termination = Shapes::StructureShape.new(name: 'Termination')
|
177
178
|
TerminationHealth = Shapes::StructureShape.new(name: 'TerminationHealth')
|
178
179
|
ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
|
180
|
+
TollFreePrefix = Shapes::StringShape.new(name: 'TollFreePrefix')
|
179
181
|
UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
|
180
182
|
UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
|
181
183
|
UpdateAccountRequest = Shapes::StructureShape.new(name: 'UpdateAccountRequest')
|
@@ -572,6 +574,7 @@ module Aws::Chime
|
|
572
574
|
|
573
575
|
PhoneNumber.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumberId"))
|
574
576
|
PhoneNumber.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "E164PhoneNumber"))
|
577
|
+
PhoneNumber.add_member(:type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "Type"))
|
575
578
|
PhoneNumber.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location_name: "ProductType"))
|
576
579
|
PhoneNumber.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberStatus, location_name: "Status"))
|
577
580
|
PhoneNumber.add_member(:capabilities, Shapes::ShapeRef.new(shape: PhoneNumberCapabilities, location_name: "Capabilities"))
|
@@ -670,6 +673,7 @@ module Aws::Chime
|
|
670
673
|
SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
|
671
674
|
SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
|
672
675
|
SearchAvailablePhoneNumbersRequest.add_member(:state, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "state"))
|
676
|
+
SearchAvailablePhoneNumbersRequest.add_member(:toll_free_prefix, Shapes::ShapeRef.new(shape: TollFreePrefix, location: "querystring", location_name: "toll-free-prefix"))
|
673
677
|
SearchAvailablePhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PhoneNumberMaxResults, location: "querystring", location_name: "max-results"))
|
674
678
|
SearchAvailablePhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
|
675
679
|
SearchAvailablePhoneNumbersRequest.struct_class = Types::SearchAvailablePhoneNumbersRequest
|
data/lib/aws-sdk-chime/types.rb
CHANGED
@@ -1823,6 +1823,10 @@ module Aws::Chime
|
|
1823
1823
|
# The phone number, in E.164 format.
|
1824
1824
|
# @return [String]
|
1825
1825
|
#
|
1826
|
+
# @!attribute [rw] type
|
1827
|
+
# The phone number type.
|
1828
|
+
# @return [String]
|
1829
|
+
#
|
1826
1830
|
# @!attribute [rw] product_type
|
1827
1831
|
# The phone number product type.
|
1828
1832
|
# @return [String]
|
@@ -1856,6 +1860,7 @@ module Aws::Chime
|
|
1856
1860
|
class PhoneNumber < Struct.new(
|
1857
1861
|
:phone_number_id,
|
1858
1862
|
:e164_phone_number,
|
1863
|
+
:type,
|
1859
1864
|
:product_type,
|
1860
1865
|
:status,
|
1861
1866
|
:capabilities,
|
@@ -2286,6 +2291,7 @@ module Aws::Chime
|
|
2286
2291
|
# city: "String",
|
2287
2292
|
# country: "String",
|
2288
2293
|
# state: "String",
|
2294
|
+
# toll_free_prefix: "TollFreePrefix",
|
2289
2295
|
# max_results: 1,
|
2290
2296
|
# next_token: "String",
|
2291
2297
|
# }
|
@@ -2306,6 +2312,10 @@ module Aws::Chime
|
|
2306
2312
|
# The state used to filter results.
|
2307
2313
|
# @return [String]
|
2308
2314
|
#
|
2315
|
+
# @!attribute [rw] toll_free_prefix
|
2316
|
+
# The toll-free prefix that you use to filter results.
|
2317
|
+
# @return [String]
|
2318
|
+
#
|
2309
2319
|
# @!attribute [rw] max_results
|
2310
2320
|
# The maximum number of results to return in a single call.
|
2311
2321
|
# @return [Integer]
|
@@ -2321,6 +2331,7 @@ module Aws::Chime
|
|
2321
2331
|
:city,
|
2322
2332
|
:country,
|
2323
2333
|
:state,
|
2334
|
+
:toll_free_prefix,
|
2324
2335
|
:max_results,
|
2325
2336
|
:next_token)
|
2326
2337
|
include Aws::Structure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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: 2019-05-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|