aws-sdk-chime 1.40.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +248 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-chime.rb +2 -2
- data/lib/aws-sdk-chime/client.rb +156 -48
- data/lib/aws-sdk-chime/client_api.rb +97 -2
- data/lib/aws-sdk-chime/errors.rb +1 -1
- data/lib/aws-sdk-chime/resource.rb +1 -1
- data/lib/aws-sdk-chime/types.rb +207 -24
- metadata +11 -9
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.46.0
|
data/lib/aws-sdk-chime.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-chime/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Chime
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.46.0'
|
52
52
|
|
53
53
|
end
|
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -530,6 +530,61 @@ module Aws::Chime
|
|
530
530
|
req.send_request(options)
|
531
531
|
end
|
532
532
|
|
533
|
+
# Adds a specified number of users to a channel.
|
534
|
+
#
|
535
|
+
# @option params [required, String] :channel_arn
|
536
|
+
# The ARN of the channel to which you're adding users.
|
537
|
+
#
|
538
|
+
# @option params [String] :type
|
539
|
+
# The membership type of a user, `DEFAULT` or `HIDDEN`. Default members
|
540
|
+
# are always returned as part of `ListChannelMemberships`. Hidden
|
541
|
+
# members are only returned if the type filter in
|
542
|
+
# `ListChannelMemberships` equals `HIDDEN`. Otherwise hidden members are
|
543
|
+
# not returned. This is only supported by moderators.
|
544
|
+
#
|
545
|
+
# @option params [required, Array<String>] :member_arns
|
546
|
+
# The ARNs of the members you want to add to the channel.
|
547
|
+
#
|
548
|
+
# @option params [String] :chime_bearer
|
549
|
+
# The `AppInstanceUserArn` of the user that makes the API call.
|
550
|
+
#
|
551
|
+
# @return [Types::BatchCreateChannelMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
552
|
+
#
|
553
|
+
# * {Types::BatchCreateChannelMembershipResponse#batch_channel_memberships #batch_channel_memberships} => Types::BatchChannelMemberships
|
554
|
+
# * {Types::BatchCreateChannelMembershipResponse#errors #errors} => Array<Types::BatchCreateChannelMembershipError>
|
555
|
+
#
|
556
|
+
# @example Request syntax with placeholder values
|
557
|
+
#
|
558
|
+
# resp = client.batch_create_channel_membership({
|
559
|
+
# channel_arn: "ChimeArn", # required
|
560
|
+
# type: "DEFAULT", # accepts DEFAULT, HIDDEN
|
561
|
+
# member_arns: ["ChimeArn"], # required
|
562
|
+
# chime_bearer: "ChimeArn",
|
563
|
+
# })
|
564
|
+
#
|
565
|
+
# @example Response structure
|
566
|
+
#
|
567
|
+
# resp.batch_channel_memberships.invited_by.arn #=> String
|
568
|
+
# resp.batch_channel_memberships.invited_by.name #=> String
|
569
|
+
# resp.batch_channel_memberships.type #=> String, one of "DEFAULT", "HIDDEN"
|
570
|
+
# resp.batch_channel_memberships.members #=> Array
|
571
|
+
# resp.batch_channel_memberships.members[0].arn #=> String
|
572
|
+
# resp.batch_channel_memberships.members[0].name #=> String
|
573
|
+
# resp.batch_channel_memberships.channel_arn #=> String
|
574
|
+
# resp.errors #=> Array
|
575
|
+
# resp.errors[0].member_arn #=> String
|
576
|
+
# resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
|
577
|
+
# resp.errors[0].error_message #=> String
|
578
|
+
#
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembership AWS API Documentation
|
580
|
+
#
|
581
|
+
# @overload batch_create_channel_membership(params = {})
|
582
|
+
# @param [Hash] params ({})
|
583
|
+
def batch_create_channel_membership(params = {}, options = {})
|
584
|
+
req = build_request(:batch_create_channel_membership, params)
|
585
|
+
req.send_request(options)
|
586
|
+
end
|
587
|
+
|
533
588
|
# Adds up to 50 members to a chat room in an Amazon Chime Enterprise
|
534
589
|
# account. Members can be users or bots. The member role designates
|
535
590
|
# whether the member is a chat room administrator or a general chat room
|
@@ -716,14 +771,14 @@ module Aws::Chime
|
|
716
771
|
end
|
717
772
|
|
718
773
|
# Updates phone number product types or calling names. You can update
|
719
|
-
# one attribute at a time for each `UpdatePhoneNumberRequestItem
|
720
|
-
# example, you can update
|
774
|
+
# one attribute at a time for each `UpdatePhoneNumberRequestItem`. For
|
775
|
+
# example, you can update the product type or the calling name.
|
721
776
|
#
|
722
|
-
# For
|
723
|
-
#
|
724
|
-
# Amazon Chime
|
777
|
+
# For toll-free numbers, you cannot use the Amazon Chime Business
|
778
|
+
# Calling product type. For numbers outside the US, you must use the
|
779
|
+
# Amazon Chime SIP Media Application Dial-In product type.
|
725
780
|
#
|
726
|
-
# Updates to outbound calling names can take
|
781
|
+
# Updates to outbound calling names can take 72 hours to complete.
|
727
782
|
# Pending updates to outbound calling names must be complete before you
|
728
783
|
# can request another update.
|
729
784
|
#
|
@@ -741,7 +796,7 @@ module Aws::Chime
|
|
741
796
|
# update_phone_number_request_items: [ # required
|
742
797
|
# {
|
743
798
|
# phone_number_id: "NonEmptyString", # required
|
744
|
-
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
|
799
|
+
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
|
745
800
|
# calling_name: "CallingName",
|
746
801
|
# },
|
747
802
|
# ],
|
@@ -1465,7 +1520,7 @@ module Aws::Chime
|
|
1465
1520
|
#
|
1466
1521
|
#
|
1467
1522
|
#
|
1468
|
-
# [1]: https://docs.aws.amazon.com/chime/latest/APIReference/
|
1523
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html
|
1469
1524
|
#
|
1470
1525
|
# @return [Types::CreateMeetingDialOutResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1471
1526
|
#
|
@@ -1604,10 +1659,10 @@ module Aws::Chime
|
|
1604
1659
|
req.send_request(options)
|
1605
1660
|
end
|
1606
1661
|
|
1607
|
-
# Creates an order for phone numbers to be provisioned.
|
1608
|
-
#
|
1609
|
-
#
|
1610
|
-
#
|
1662
|
+
# Creates an order for phone numbers to be provisioned. For toll-free
|
1663
|
+
# numbers, you cannot use the Amazon Chime Business Calling product
|
1664
|
+
# type. For numbers outside the US, you must use the Amazon Chime SIP
|
1665
|
+
# Media Application Dial-In product type.
|
1611
1666
|
#
|
1612
1667
|
# @option params [required, String] :product_type
|
1613
1668
|
# The phone number product type.
|
@@ -1622,14 +1677,14 @@ module Aws::Chime
|
|
1622
1677
|
# @example Request syntax with placeholder values
|
1623
1678
|
#
|
1624
1679
|
# resp = client.create_phone_number_order({
|
1625
|
-
# product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector
|
1680
|
+
# product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
|
1626
1681
|
# e164_phone_numbers: ["E164PhoneNumber"], # required
|
1627
1682
|
# })
|
1628
1683
|
#
|
1629
1684
|
# @example Response structure
|
1630
1685
|
#
|
1631
1686
|
# resp.phone_number_order.phone_number_order_id #=> String
|
1632
|
-
# resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
1687
|
+
# resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
1633
1688
|
# resp.phone_number_order.status #=> String, one of "Processing", "Successful", "Failed", "Partial"
|
1634
1689
|
# resp.phone_number_order.ordered_phone_numbers #=> Array
|
1635
1690
|
# resp.phone_number_order.ordered_phone_numbers[0].e164_phone_number #=> String
|
@@ -1871,10 +1926,11 @@ module Aws::Chime
|
|
1871
1926
|
# `sipMediaApplicationId`.
|
1872
1927
|
#
|
1873
1928
|
# @option params [required, String] :from_phone_number
|
1874
|
-
# The phone number that a user calls from.
|
1929
|
+
# The phone number that a user calls from. This is a phone number in
|
1930
|
+
# your Amazon Chime phone number inventory.
|
1875
1931
|
#
|
1876
1932
|
# @option params [required, String] :to_phone_number
|
1877
|
-
# The phone number that the
|
1933
|
+
# The phone number that the service should call.
|
1878
1934
|
#
|
1879
1935
|
# @option params [required, String] :sip_media_application_id
|
1880
1936
|
# The ID of the SIP media application.
|
@@ -2257,10 +2313,10 @@ module Aws::Chime
|
|
2257
2313
|
end
|
2258
2314
|
|
2259
2315
|
# Deletes an attendee from the specified Amazon Chime SDK meeting and
|
2260
|
-
# deletes their `JoinToken
|
2316
|
+
# deletes their `JoinToken`. Attendees are automatically deleted when a
|
2261
2317
|
# Amazon Chime SDK meeting is deleted. For more information about the
|
2262
2318
|
# Amazon Chime SDK, see [Using the Amazon Chime SDK][1] in the *Amazon
|
2263
|
-
# Chime Developer Guide
|
2319
|
+
# Chime Developer Guide*.
|
2264
2320
|
#
|
2265
2321
|
#
|
2266
2322
|
#
|
@@ -2496,11 +2552,11 @@ module Aws::Chime
|
|
2496
2552
|
req.send_request(options)
|
2497
2553
|
end
|
2498
2554
|
|
2499
|
-
# Deletes the specified Amazon Chime SDK meeting.
|
2500
|
-
#
|
2501
|
-
#
|
2502
|
-
#
|
2503
|
-
#
|
2555
|
+
# Deletes the specified Amazon Chime SDK meeting. The operation deletes
|
2556
|
+
# all attendees, disconnects all clients, and prevents new clients from
|
2557
|
+
# joining the meeting. For more information about the Amazon Chime SDK,
|
2558
|
+
# see [Using the Amazon Chime SDK][1] in the *Amazon Chime Developer
|
2559
|
+
# Guide*.
|
2504
2560
|
#
|
2505
2561
|
#
|
2506
2562
|
#
|
@@ -2526,7 +2582,7 @@ module Aws::Chime
|
|
2526
2582
|
req.send_request(options)
|
2527
2583
|
end
|
2528
2584
|
|
2529
|
-
# Moves the specified phone number into the **
|
2585
|
+
# Moves the specified phone number into the **Deletion queue**. A phone
|
2530
2586
|
# number must be disassociated from any users or Amazon Chime Voice
|
2531
2587
|
# Connectors before it can be deleted.
|
2532
2588
|
#
|
@@ -3808,8 +3864,9 @@ module Aws::Chime
|
|
3808
3864
|
#
|
3809
3865
|
# resp.phone_number.phone_number_id #=> String
|
3810
3866
|
# resp.phone_number.e164_phone_number #=> String
|
3867
|
+
# resp.phone_number.country #=> String
|
3811
3868
|
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
3812
|
-
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
3869
|
+
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
3813
3870
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
3814
3871
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
3815
3872
|
# resp.phone_number.capabilities.outbound_call #=> Boolean
|
@@ -3856,7 +3913,7 @@ module Aws::Chime
|
|
3856
3913
|
# @example Response structure
|
3857
3914
|
#
|
3858
3915
|
# resp.phone_number_order.phone_number_order_id #=> String
|
3859
|
-
# resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
3916
|
+
# resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
3860
3917
|
# resp.phone_number_order.status #=> String, one of "Processing", "Successful", "Failed", "Partial"
|
3861
3918
|
# resp.phone_number_order.ordered_phone_numbers #=> Array
|
3862
3919
|
# resp.phone_number_order.ordered_phone_numbers[0].e164_phone_number #=> String
|
@@ -4551,7 +4608,7 @@ module Aws::Chime
|
|
4551
4608
|
|
4552
4609
|
# Lists the Amazon Chime accounts under the administrator's AWS
|
4553
4610
|
# account. You can filter accounts by account name prefix. To find out
|
4554
|
-
# which Amazon Chime account a user belongs to,
|
4611
|
+
# which Amazon Chime account a user belongs to, you can filter by the
|
4555
4612
|
# user's email address, which returns one account result.
|
4556
4613
|
#
|
4557
4614
|
# @option params [String] :name
|
@@ -5054,7 +5111,7 @@ module Aws::Chime
|
|
5054
5111
|
|
5055
5112
|
# List all the messages in a channel. Returns a paginated list of
|
5056
5113
|
# `ChannelMessages`. By default, sorted by creation timestamp in
|
5057
|
-
# descending order
|
5114
|
+
# descending order.
|
5058
5115
|
#
|
5059
5116
|
# <note markdown="1"> Redacted messages appear in the results as empty, since they are only
|
5060
5117
|
# redacted, not deleted. Deleted messages do not appear in the results.
|
@@ -5195,7 +5252,7 @@ module Aws::Chime
|
|
5195
5252
|
# **Functionality & restrictions**
|
5196
5253
|
#
|
5197
5254
|
# * Use privacy = `PUBLIC` to retrieve all public channels in the
|
5198
|
-
# account
|
5255
|
+
# account.
|
5199
5256
|
#
|
5200
5257
|
# * Only an `AppInstanceAdmin` can set privacy = `PRIVATE` to list the
|
5201
5258
|
# private channels in an account.
|
@@ -5427,7 +5484,7 @@ module Aws::Chime
|
|
5427
5484
|
#
|
5428
5485
|
# resp.phone_number_orders #=> Array
|
5429
5486
|
# resp.phone_number_orders[0].phone_number_order_id #=> String
|
5430
|
-
# resp.phone_number_orders[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
5487
|
+
# resp.phone_number_orders[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
5431
5488
|
# resp.phone_number_orders[0].status #=> String, one of "Processing", "Successful", "Failed", "Partial"
|
5432
5489
|
# resp.phone_number_orders[0].ordered_phone_numbers #=> Array
|
5433
5490
|
# resp.phone_number_orders[0].ordered_phone_numbers[0].e164_phone_number #=> String
|
@@ -5478,7 +5535,7 @@ module Aws::Chime
|
|
5478
5535
|
#
|
5479
5536
|
# resp = client.list_phone_numbers({
|
5480
5537
|
# status: "AcquireInProgress", # accepts AcquireInProgress, AcquireFailed, Unassigned, Assigned, ReleaseInProgress, DeleteInProgress, ReleaseFailed, DeleteFailed
|
5481
|
-
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
|
5538
|
+
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
|
5482
5539
|
# filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId, VoiceConnectorGroupId, SipRuleId
|
5483
5540
|
# filter_value: "String",
|
5484
5541
|
# max_results: 1,
|
@@ -5490,8 +5547,9 @@ module Aws::Chime
|
|
5490
5547
|
# resp.phone_numbers #=> Array
|
5491
5548
|
# resp.phone_numbers[0].phone_number_id #=> String
|
5492
5549
|
# resp.phone_numbers[0].e164_phone_number #=> String
|
5550
|
+
# resp.phone_numbers[0].country #=> String
|
5493
5551
|
# resp.phone_numbers[0].type #=> String, one of "Local", "TollFree"
|
5494
|
-
# resp.phone_numbers[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
5552
|
+
# resp.phone_numbers[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
5495
5553
|
# resp.phone_numbers[0].status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
5496
5554
|
# resp.phone_numbers[0].capabilities.inbound_call #=> Boolean
|
5497
5555
|
# resp.phone_numbers[0].capabilities.outbound_call #=> Boolean
|
@@ -5785,6 +5843,37 @@ module Aws::Chime
|
|
5785
5843
|
req.send_request(options)
|
5786
5844
|
end
|
5787
5845
|
|
5846
|
+
# Lists supported phone number countries.
|
5847
|
+
#
|
5848
|
+
# @option params [required, String] :product_type
|
5849
|
+
# The phone number product type.
|
5850
|
+
#
|
5851
|
+
# @return [Types::ListSupportedPhoneNumberCountriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5852
|
+
#
|
5853
|
+
# * {Types::ListSupportedPhoneNumberCountriesResponse#phone_number_countries #phone_number_countries} => Array<Types::PhoneNumberCountry>
|
5854
|
+
#
|
5855
|
+
# @example Request syntax with placeholder values
|
5856
|
+
#
|
5857
|
+
# resp = client.list_supported_phone_number_countries({
|
5858
|
+
# product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
|
5859
|
+
# })
|
5860
|
+
#
|
5861
|
+
# @example Response structure
|
5862
|
+
#
|
5863
|
+
# resp.phone_number_countries #=> Array
|
5864
|
+
# resp.phone_number_countries[0].country_code #=> String
|
5865
|
+
# resp.phone_number_countries[0].supported_phone_number_types #=> Array
|
5866
|
+
# resp.phone_number_countries[0].supported_phone_number_types[0] #=> String, one of "Local", "TollFree"
|
5867
|
+
#
|
5868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries AWS API Documentation
|
5869
|
+
#
|
5870
|
+
# @overload list_supported_phone_number_countries(params = {})
|
5871
|
+
# @param [Hash] params ({})
|
5872
|
+
def list_supported_phone_number_countries(params = {}, options = {})
|
5873
|
+
req = build_request(:list_supported_phone_number_countries, params)
|
5874
|
+
req.send_request(options)
|
5875
|
+
end
|
5876
|
+
|
5788
5877
|
# Lists the tags applied to an Amazon Chime SDK meeting resource.
|
5789
5878
|
#
|
5790
5879
|
# @option params [required, String] :resource_arn
|
@@ -6772,8 +6861,9 @@ module Aws::Chime
|
|
6772
6861
|
#
|
6773
6862
|
# resp.phone_number.phone_number_id #=> String
|
6774
6863
|
# resp.phone_number.e164_phone_number #=> String
|
6864
|
+
# resp.phone_number.country #=> String
|
6775
6865
|
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
6776
|
-
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
6866
|
+
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
6777
6867
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
6778
6868
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
6779
6869
|
# resp.phone_number.capabilities.outbound_call #=> Boolean
|
@@ -6800,41 +6890,56 @@ module Aws::Chime
|
|
6800
6890
|
req.send_request(options)
|
6801
6891
|
end
|
6802
6892
|
|
6803
|
-
# Searches phone numbers that can be ordered.
|
6893
|
+
# Searches for phone numbers that can be ordered. For US numbers,
|
6894
|
+
# provide at least one of the following search filters: `AreaCode`,
|
6895
|
+
# `City`, `State`, or `TollFreePrefix`. If you provide `City`, you must
|
6896
|
+
# also provide `State`. Numbers outside the US only support the
|
6897
|
+
# `PhoneNumberType` filter, which you must use.
|
6804
6898
|
#
|
6805
6899
|
# @option params [String] :area_code
|
6806
|
-
# The area code used to filter results.
|
6900
|
+
# The area code used to filter results. Only applies to the US.
|
6807
6901
|
#
|
6808
6902
|
# @option params [String] :city
|
6809
|
-
# The city used to filter results.
|
6903
|
+
# The city used to filter results. Only applies to the US.
|
6810
6904
|
#
|
6811
6905
|
# @option params [String] :country
|
6812
|
-
# The country used to filter results.
|
6906
|
+
# The country used to filter results. Defaults to the US Format: ISO
|
6907
|
+
# 3166-1 alpha-2.
|
6813
6908
|
#
|
6814
6909
|
# @option params [String] :state
|
6815
|
-
# The state used to filter results.
|
6910
|
+
# The state used to filter results. Required only if you provide `City`.
|
6911
|
+
# Only applies to the US.
|
6816
6912
|
#
|
6817
6913
|
# @option params [String] :toll_free_prefix
|
6818
|
-
# The toll-free prefix that you use to filter results.
|
6914
|
+
# The toll-free prefix that you use to filter results. Only applies to
|
6915
|
+
# the US.
|
6916
|
+
#
|
6917
|
+
# @option params [String] :phone_number_type
|
6918
|
+
# The phone number type used to filter results. Required for non-US
|
6919
|
+
# numbers.
|
6819
6920
|
#
|
6820
6921
|
# @option params [Integer] :max_results
|
6821
6922
|
# The maximum number of results to return in a single call.
|
6822
6923
|
#
|
6823
6924
|
# @option params [String] :next_token
|
6824
|
-
# The token
|
6925
|
+
# The token used to retrieve the next page of results.
|
6825
6926
|
#
|
6826
6927
|
# @return [Types::SearchAvailablePhoneNumbersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6827
6928
|
#
|
6828
6929
|
# * {Types::SearchAvailablePhoneNumbersResponse#e164_phone_numbers #e164_phone_numbers} => Array<String>
|
6930
|
+
# * {Types::SearchAvailablePhoneNumbersResponse#next_token #next_token} => String
|
6931
|
+
#
|
6932
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6829
6933
|
#
|
6830
6934
|
# @example Request syntax with placeholder values
|
6831
6935
|
#
|
6832
6936
|
# resp = client.search_available_phone_numbers({
|
6833
6937
|
# area_code: "String",
|
6834
6938
|
# city: "String",
|
6835
|
-
# country: "
|
6939
|
+
# country: "Alpha2CountryCode",
|
6836
6940
|
# state: "String",
|
6837
6941
|
# toll_free_prefix: "TollFreePrefix",
|
6942
|
+
# phone_number_type: "Local", # accepts Local, TollFree
|
6838
6943
|
# max_results: 1,
|
6839
6944
|
# next_token: "String",
|
6840
6945
|
# })
|
@@ -6843,6 +6948,7 @@ module Aws::Chime
|
|
6843
6948
|
#
|
6844
6949
|
# resp.e164_phone_numbers #=> Array
|
6845
6950
|
# resp.e164_phone_numbers[0] #=> String
|
6951
|
+
# resp.next_token #=> String
|
6846
6952
|
#
|
6847
6953
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers AWS API Documentation
|
6848
6954
|
#
|
@@ -7478,10 +7584,11 @@ module Aws::Chime
|
|
7478
7584
|
# detail at a time. For example, you can update either the product type
|
7479
7585
|
# or the calling name in one action.
|
7480
7586
|
#
|
7481
|
-
# For toll-free numbers, you
|
7482
|
-
# product type.
|
7587
|
+
# For toll-free numbers, you cannot use the Amazon Chime Business
|
7588
|
+
# Calling product type. For numbers outside the U.S., you must use the
|
7589
|
+
# Amazon Chime SIP Media Application Dial-In product type.
|
7483
7590
|
#
|
7484
|
-
# Updates to outbound calling names can take
|
7591
|
+
# Updates to outbound calling names can take 72 hours to complete.
|
7485
7592
|
# Pending updates to outbound calling names must be complete before you
|
7486
7593
|
# can request another update.
|
7487
7594
|
#
|
@@ -7502,7 +7609,7 @@ module Aws::Chime
|
|
7502
7609
|
#
|
7503
7610
|
# resp = client.update_phone_number({
|
7504
7611
|
# phone_number_id: "String", # required
|
7505
|
-
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
|
7612
|
+
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
|
7506
7613
|
# calling_name: "CallingName",
|
7507
7614
|
# })
|
7508
7615
|
#
|
@@ -7510,8 +7617,9 @@ module Aws::Chime
|
|
7510
7617
|
#
|
7511
7618
|
# resp.phone_number.phone_number_id #=> String
|
7512
7619
|
# resp.phone_number.e164_phone_number #=> String
|
7620
|
+
# resp.phone_number.country #=> String
|
7513
7621
|
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
7514
|
-
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
7622
|
+
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
7515
7623
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
7516
7624
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
7517
7625
|
# resp.phone_number.capabilities.outbound_call #=> Boolean
|
@@ -8018,7 +8126,7 @@ module Aws::Chime
|
|
8018
8126
|
params: params,
|
8019
8127
|
config: config)
|
8020
8128
|
context[:gem_name] = 'aws-sdk-chime'
|
8021
|
-
context[:gem_version] = '1.
|
8129
|
+
context[:gem_version] = '1.46.0'
|
8022
8130
|
Seahorse::Client::Request.new(handlers, context)
|
8023
8131
|
end
|
8024
8132
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -50,9 +50,14 @@ module Aws::Chime
|
|
50
50
|
AttendeeTagKeyList = Shapes::ListShape.new(name: 'AttendeeTagKeyList')
|
51
51
|
AttendeeTagList = Shapes::ListShape.new(name: 'AttendeeTagList')
|
52
52
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
53
|
+
BatchChannelMemberships = Shapes::StructureShape.new(name: 'BatchChannelMemberships')
|
53
54
|
BatchCreateAttendeeErrorList = Shapes::ListShape.new(name: 'BatchCreateAttendeeErrorList')
|
54
55
|
BatchCreateAttendeeRequest = Shapes::StructureShape.new(name: 'BatchCreateAttendeeRequest')
|
55
56
|
BatchCreateAttendeeResponse = Shapes::StructureShape.new(name: 'BatchCreateAttendeeResponse')
|
57
|
+
BatchCreateChannelMembershipError = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipError')
|
58
|
+
BatchCreateChannelMembershipErrors = Shapes::ListShape.new(name: 'BatchCreateChannelMembershipErrors')
|
59
|
+
BatchCreateChannelMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipRequest')
|
60
|
+
BatchCreateChannelMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipResponse')
|
56
61
|
BatchCreateRoomMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateRoomMembershipRequest')
|
57
62
|
BatchCreateRoomMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateRoomMembershipResponse')
|
58
63
|
BatchDeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'BatchDeletePhoneNumberRequest')
|
@@ -349,6 +354,8 @@ module Aws::Chime
|
|
349
354
|
ListSipMediaApplicationsResponse = Shapes::StructureShape.new(name: 'ListSipMediaApplicationsResponse')
|
350
355
|
ListSipRulesRequest = Shapes::StructureShape.new(name: 'ListSipRulesRequest')
|
351
356
|
ListSipRulesResponse = Shapes::StructureShape.new(name: 'ListSipRulesResponse')
|
357
|
+
ListSupportedPhoneNumberCountriesRequest = Shapes::StructureShape.new(name: 'ListSupportedPhoneNumberCountriesRequest')
|
358
|
+
ListSupportedPhoneNumberCountriesResponse = Shapes::StructureShape.new(name: 'ListSupportedPhoneNumberCountriesResponse')
|
352
359
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
353
360
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
354
361
|
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
@@ -370,9 +377,11 @@ module Aws::Chime
|
|
370
377
|
MeetingTagKeyList = Shapes::ListShape.new(name: 'MeetingTagKeyList')
|
371
378
|
MeetingTagList = Shapes::ListShape.new(name: 'MeetingTagList')
|
372
379
|
Member = Shapes::StructureShape.new(name: 'Member')
|
380
|
+
MemberArns = Shapes::ListShape.new(name: 'MemberArns')
|
373
381
|
MemberError = Shapes::StructureShape.new(name: 'MemberError')
|
374
382
|
MemberErrorList = Shapes::ListShape.new(name: 'MemberErrorList')
|
375
383
|
MemberType = Shapes::StringShape.new(name: 'MemberType')
|
384
|
+
Members = Shapes::ListShape.new(name: 'Members')
|
376
385
|
MembershipItem = Shapes::StructureShape.new(name: 'MembershipItem')
|
377
386
|
MembershipItemList = Shapes::ListShape.new(name: 'MembershipItemList')
|
378
387
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
@@ -407,6 +416,8 @@ module Aws::Chime
|
|
407
416
|
PhoneNumberAssociationList = Shapes::ListShape.new(name: 'PhoneNumberAssociationList')
|
408
417
|
PhoneNumberAssociationName = Shapes::StringShape.new(name: 'PhoneNumberAssociationName')
|
409
418
|
PhoneNumberCapabilities = Shapes::StructureShape.new(name: 'PhoneNumberCapabilities')
|
419
|
+
PhoneNumberCountriesList = Shapes::ListShape.new(name: 'PhoneNumberCountriesList')
|
420
|
+
PhoneNumberCountry = Shapes::StructureShape.new(name: 'PhoneNumberCountry')
|
410
421
|
PhoneNumberError = Shapes::StructureShape.new(name: 'PhoneNumberError')
|
411
422
|
PhoneNumberErrorList = Shapes::ListShape.new(name: 'PhoneNumberErrorList')
|
412
423
|
PhoneNumberList = Shapes::ListShape.new(name: 'PhoneNumberList')
|
@@ -417,6 +428,7 @@ module Aws::Chime
|
|
417
428
|
PhoneNumberProductType = Shapes::StringShape.new(name: 'PhoneNumberProductType')
|
418
429
|
PhoneNumberStatus = Shapes::StringShape.new(name: 'PhoneNumberStatus')
|
419
430
|
PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
|
431
|
+
PhoneNumberTypeList = Shapes::ListShape.new(name: 'PhoneNumberTypeList')
|
420
432
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
421
433
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
422
434
|
ProfileServiceMaxResults = Shapes::IntegerShape.new(name: 'ProfileServiceMaxResults')
|
@@ -706,6 +718,12 @@ module Aws::Chime
|
|
706
718
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
707
719
|
BadRequestException.struct_class = Types::BadRequestException
|
708
720
|
|
721
|
+
BatchChannelMemberships.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
|
722
|
+
BatchChannelMemberships.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
723
|
+
BatchChannelMemberships.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "Members"))
|
724
|
+
BatchChannelMemberships.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
725
|
+
BatchChannelMemberships.struct_class = Types::BatchChannelMemberships
|
726
|
+
|
709
727
|
BatchCreateAttendeeErrorList.member = Shapes::ShapeRef.new(shape: CreateAttendeeError)
|
710
728
|
|
711
729
|
BatchCreateAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "meetingId"))
|
@@ -716,6 +734,23 @@ module Aws::Chime
|
|
716
734
|
BatchCreateAttendeeResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
|
717
735
|
BatchCreateAttendeeResponse.struct_class = Types::BatchCreateAttendeeResponse
|
718
736
|
|
737
|
+
BatchCreateChannelMembershipError.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "MemberArn"))
|
738
|
+
BatchCreateChannelMembershipError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
739
|
+
BatchCreateChannelMembershipError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
740
|
+
BatchCreateChannelMembershipError.struct_class = Types::BatchCreateChannelMembershipError
|
741
|
+
|
742
|
+
BatchCreateChannelMembershipErrors.member = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipError)
|
743
|
+
|
744
|
+
BatchCreateChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
745
|
+
BatchCreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
746
|
+
BatchCreateChannelMembershipRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: MemberArns, required: true, location_name: "MemberArns"))
|
747
|
+
BatchCreateChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, location: "header", location_name: "x-amz-chime-bearer"))
|
748
|
+
BatchCreateChannelMembershipRequest.struct_class = Types::BatchCreateChannelMembershipRequest
|
749
|
+
|
750
|
+
BatchCreateChannelMembershipResponse.add_member(:batch_channel_memberships, Shapes::ShapeRef.new(shape: BatchChannelMemberships, location_name: "BatchChannelMemberships"))
|
751
|
+
BatchCreateChannelMembershipResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipErrors, location_name: "Errors"))
|
752
|
+
BatchCreateChannelMembershipResponse.struct_class = Types::BatchCreateChannelMembershipResponse
|
753
|
+
|
719
754
|
BatchCreateRoomMembershipRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
720
755
|
BatchCreateRoomMembershipRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
|
721
756
|
BatchCreateRoomMembershipRequest.add_member(:membership_item_list, Shapes::ShapeRef.new(shape: MembershipItemList, required: true, location_name: "MembershipItemList"))
|
@@ -1767,6 +1802,12 @@ module Aws::Chime
|
|
1767
1802
|
ListSipRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
1768
1803
|
ListSipRulesResponse.struct_class = Types::ListSipRulesResponse
|
1769
1804
|
|
1805
|
+
ListSupportedPhoneNumberCountriesRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, required: true, location: "querystring", location_name: "product-type"))
|
1806
|
+
ListSupportedPhoneNumberCountriesRequest.struct_class = Types::ListSupportedPhoneNumberCountriesRequest
|
1807
|
+
|
1808
|
+
ListSupportedPhoneNumberCountriesResponse.add_member(:phone_number_countries, Shapes::ShapeRef.new(shape: PhoneNumberCountriesList, location_name: "PhoneNumberCountries"))
|
1809
|
+
ListSupportedPhoneNumberCountriesResponse.struct_class = Types::ListSupportedPhoneNumberCountriesResponse
|
1810
|
+
|
1770
1811
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "arn"))
|
1771
1812
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
1772
1813
|
|
@@ -1847,6 +1888,8 @@ module Aws::Chime
|
|
1847
1888
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
|
1848
1889
|
Member.struct_class = Types::Member
|
1849
1890
|
|
1891
|
+
MemberArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
1892
|
+
|
1850
1893
|
MemberError.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
|
1851
1894
|
MemberError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
1852
1895
|
MemberError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
@@ -1854,6 +1897,8 @@ module Aws::Chime
|
|
1854
1897
|
|
1855
1898
|
MemberErrorList.member = Shapes::ShapeRef.new(shape: MemberError)
|
1856
1899
|
|
1900
|
+
Members.member = Shapes::ShapeRef.new(shape: Identity)
|
1901
|
+
|
1857
1902
|
MembershipItem.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
|
1858
1903
|
MembershipItem.add_member(:role, Shapes::ShapeRef.new(shape: RoomMembershipRole, location_name: "Role"))
|
1859
1904
|
MembershipItem.struct_class = Types::MembershipItem
|
@@ -1898,6 +1943,7 @@ module Aws::Chime
|
|
1898
1943
|
|
1899
1944
|
PhoneNumber.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumberId"))
|
1900
1945
|
PhoneNumber.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "E164PhoneNumber"))
|
1946
|
+
PhoneNumber.add_member(:country, Shapes::ShapeRef.new(shape: Alpha2CountryCode, location_name: "Country"))
|
1901
1947
|
PhoneNumber.add_member(:type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "Type"))
|
1902
1948
|
PhoneNumber.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, location_name: "ProductType"))
|
1903
1949
|
PhoneNumber.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberStatus, location_name: "Status"))
|
@@ -1925,6 +1971,12 @@ module Aws::Chime
|
|
1925
1971
|
PhoneNumberCapabilities.add_member(:outbound_mms, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "OutboundMMS"))
|
1926
1972
|
PhoneNumberCapabilities.struct_class = Types::PhoneNumberCapabilities
|
1927
1973
|
|
1974
|
+
PhoneNumberCountriesList.member = Shapes::ShapeRef.new(shape: PhoneNumberCountry)
|
1975
|
+
|
1976
|
+
PhoneNumberCountry.add_member(:country_code, Shapes::ShapeRef.new(shape: Alpha2CountryCode, location_name: "CountryCode"))
|
1977
|
+
PhoneNumberCountry.add_member(:supported_phone_number_types, Shapes::ShapeRef.new(shape: PhoneNumberTypeList, location_name: "SupportedPhoneNumberTypes"))
|
1978
|
+
PhoneNumberCountry.struct_class = Types::PhoneNumberCountry
|
1979
|
+
|
1928
1980
|
PhoneNumberError.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "PhoneNumberId"))
|
1929
1981
|
PhoneNumberError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
1930
1982
|
PhoneNumberError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
@@ -1944,6 +1996,8 @@ module Aws::Chime
|
|
1944
1996
|
|
1945
1997
|
PhoneNumberOrderList.member = Shapes::ShapeRef.new(shape: PhoneNumberOrder)
|
1946
1998
|
|
1999
|
+
PhoneNumberTypeList.member = Shapes::ShapeRef.new(shape: PhoneNumberType)
|
2000
|
+
|
1947
2001
|
Proxy.add_member(:default_session_expiry_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "DefaultSessionExpiryMinutes"))
|
1948
2002
|
Proxy.add_member(:disabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Disabled"))
|
1949
2003
|
Proxy.add_member(:fall_back_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "FallBackPhoneNumber"))
|
@@ -2130,14 +2184,16 @@ module Aws::Chime
|
|
2130
2184
|
|
2131
2185
|
SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
|
2132
2186
|
SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
|
2133
|
-
SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape:
|
2187
|
+
SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: Alpha2CountryCode, location: "querystring", location_name: "country"))
|
2134
2188
|
SearchAvailablePhoneNumbersRequest.add_member(:state, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "state"))
|
2135
2189
|
SearchAvailablePhoneNumbersRequest.add_member(:toll_free_prefix, Shapes::ShapeRef.new(shape: TollFreePrefix, location: "querystring", location_name: "toll-free-prefix"))
|
2190
|
+
SearchAvailablePhoneNumbersRequest.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location: "querystring", location_name: "phone-number-type"))
|
2136
2191
|
SearchAvailablePhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PhoneNumberMaxResults, location: "querystring", location_name: "max-results"))
|
2137
2192
|
SearchAvailablePhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
|
2138
2193
|
SearchAvailablePhoneNumbersRequest.struct_class = Types::SearchAvailablePhoneNumbersRequest
|
2139
2194
|
|
2140
2195
|
SearchAvailablePhoneNumbersResponse.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
|
2196
|
+
SearchAvailablePhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
2141
2197
|
SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
|
2142
2198
|
|
2143
2199
|
SendChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
@@ -2606,6 +2662,23 @@ module Aws::Chime
|
|
2606
2662
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2607
2663
|
end)
|
2608
2664
|
|
2665
|
+
api.add_operation(:batch_create_channel_membership, Seahorse::Model::Operation.new.tap do |o|
|
2666
|
+
o.name = "BatchCreateChannelMembership"
|
2667
|
+
o.http_method = "POST"
|
2668
|
+
o.http_request_uri = "/channels/{channelArn}/memberships?operation=batch-create"
|
2669
|
+
o.endpoint_pattern = {
|
2670
|
+
"hostPrefix" => "messaging-",
|
2671
|
+
}
|
2672
|
+
o.input = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipRequest)
|
2673
|
+
o.output = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipResponse)
|
2674
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2675
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2676
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
2677
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2678
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2679
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
2680
|
+
end)
|
2681
|
+
|
2609
2682
|
api.add_operation(:batch_create_room_membership, Seahorse::Model::Operation.new.tap do |o|
|
2610
2683
|
o.name = "BatchCreateRoomMembership"
|
2611
2684
|
o.http_method = "POST"
|
@@ -3226,6 +3299,7 @@ module Aws::Chime
|
|
3226
3299
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3227
3300
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3228
3301
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
3302
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3229
3303
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
3230
3304
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
3231
3305
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
@@ -4696,6 +4770,21 @@ module Aws::Chime
|
|
4696
4770
|
)
|
4697
4771
|
end)
|
4698
4772
|
|
4773
|
+
api.add_operation(:list_supported_phone_number_countries, Seahorse::Model::Operation.new.tap do |o|
|
4774
|
+
o.name = "ListSupportedPhoneNumberCountries"
|
4775
|
+
o.http_method = "GET"
|
4776
|
+
o.http_request_uri = "/phone-number-countries"
|
4777
|
+
o.input = Shapes::ShapeRef.new(shape: ListSupportedPhoneNumberCountriesRequest)
|
4778
|
+
o.output = Shapes::ShapeRef.new(shape: ListSupportedPhoneNumberCountriesResponse)
|
4779
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
4780
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
4781
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4782
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
4783
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
4784
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
4785
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
4786
|
+
end)
|
4787
|
+
|
4699
4788
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
4700
4789
|
o.name = "ListTagsForResource"
|
4701
4790
|
o.http_method = "GET"
|
@@ -5094,6 +5183,12 @@ module Aws::Chime
|
|
5094
5183
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
5095
5184
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5096
5185
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
5186
|
+
o[:pager] = Aws::Pager.new(
|
5187
|
+
limit_key: "max_results",
|
5188
|
+
tokens: {
|
5189
|
+
"next_token" => "next_token"
|
5190
|
+
}
|
5191
|
+
)
|
5097
5192
|
end)
|
5098
5193
|
|
5099
5194
|
api.add_operation(:send_channel_message, Seahorse::Model::Operation.new.tap do |o|
|