aws-sdk-chime 1.42.0 → 1.48.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 +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +206 -51
- data/lib/aws-sdk-chime/client_api.rb +127 -1
- data/lib/aws-sdk-chime/types.rb +260 -24
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aef094955338ea2e8cf347afbfcf6bbc855ab2b6dbaec786dbb267dfc7bd5dbd
|
4
|
+
data.tar.gz: f81075949e672724bf8b2608ffce1498ecb8499bcb34aaf4bbc95cc9795ac347
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cadde9cadfd2de286f5a7438f968a855af7e5ae07b7e65510805e02a3dd0332e3b8b350ae14fee55c9d263a43365a724d78a683c7294f9b802bf41363ca21a0
|
7
|
+
data.tar.gz: cd91f0b8c179ea0c7dcfe604eb3a1a09b817e722fbec3be951921932f6bb5facee2aa72caf924ca3f19335d51ec4f8caca9440d15c720b9281e06733f5359dfa
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,36 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2021-06-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new API UpdateSipMediaApplicationCall, to update an in-progress call for SipMediaApplication.
|
8
|
+
|
9
|
+
1.47.0 (2021-06-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This SDK release adds support for UpdateAccount API to allow users to update their default license on Chime account.
|
13
|
+
|
14
|
+
1.46.0 (2021-05-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds the ability to search for and order international phone numbers for Amazon Chime SIP media applications.
|
18
|
+
|
19
|
+
1.45.0 (2021-05-03)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added new BatchCreateChannelMembership API to support multiple membership creation for channels
|
23
|
+
|
24
|
+
1.44.0 (2021-05-03)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Added new BatchCreateChannelMembership API to support multiple membership creation for channels
|
28
|
+
|
29
|
+
1.43.0 (2021-04-29)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Increase AppInstanceUserId length to 64 characters
|
33
|
+
|
4
34
|
1.42.0 (2021-03-10)
|
5
35
|
------------------
|
6
36
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -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,12 +771,12 @@ 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 U.S., you must use the
|
779
|
+
# Amazon Chime SIP Media Application Dial-In product type.
|
725
780
|
#
|
726
781
|
# Updates to outbound calling names can take up to 72 hours to complete.
|
727
782
|
# Pending updates to outbound calling names must be complete before you
|
@@ -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 U.S., 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
|
@@ -4275,7 +4332,7 @@ module Aws::Chime
|
|
4275
4332
|
end
|
4276
4333
|
|
4277
4334
|
# Retrieves details for the specified Amazon Chime Voice Connector
|
4278
|
-
# group, such as timestamps,name, and associated `VoiceConnectorItems
|
4335
|
+
# group, such as timestamps,name, and associated `VoiceConnectorItems`.
|
4279
4336
|
#
|
4280
4337
|
# @option params [required, String] :voice_connector_group_id
|
4281
4338
|
# The Amazon Chime Voice Connector group ID.
|
@@ -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.
|
@@ -5350,7 +5407,7 @@ module Aws::Chime
|
|
5350
5407
|
|
5351
5408
|
# Lists up to 100 active Amazon Chime SDK meetings. For more information
|
5352
5409
|
# about the Amazon Chime SDK, see [Using the Amazon Chime SDK][1] in the
|
5353
|
-
# *Amazon Chime Developer Guide
|
5410
|
+
# *Amazon Chime Developer Guide*.
|
5354
5411
|
#
|
5355
5412
|
#
|
5356
5413
|
#
|
@@ -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
|
@@ -6151,13 +6240,13 @@ module Aws::Chime
|
|
6151
6240
|
# account. We recommend using AWS CloudTrail to monitor usage of this
|
6152
6241
|
# API for your account. For more information, see [Logging Amazon Chime
|
6153
6242
|
# API Calls with AWS CloudTrail][1] in the *Amazon Chime Administration
|
6154
|
-
# Guide
|
6243
|
+
# Guide*.
|
6155
6244
|
#
|
6156
6245
|
# To turn off existing retention settings, remove the number of days
|
6157
6246
|
# from the corresponding **RetentionDays** field in the
|
6158
6247
|
# **RetentionSettings** object. For more information about retention
|
6159
6248
|
# settings, see [Managing Chat Retention Policies][2] in the *Amazon
|
6160
|
-
# Chime Administration Guide
|
6249
|
+
# Chime Administration Guide*.
|
6161
6250
|
#
|
6162
6251
|
#
|
6163
6252
|
#
|
@@ -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
|
#
|
@@ -7104,7 +7210,8 @@ module Aws::Chime
|
|
7104
7210
|
end
|
7105
7211
|
|
7106
7212
|
# Updates account details for the specified Amazon Chime account.
|
7107
|
-
# Currently, only account name updates are supported
|
7213
|
+
# Currently, only account name and default license updates are supported
|
7214
|
+
# for this action.
|
7108
7215
|
#
|
7109
7216
|
# @option params [required, String] :account_id
|
7110
7217
|
# The Amazon Chime account ID.
|
@@ -7112,6 +7219,10 @@ module Aws::Chime
|
|
7112
7219
|
# @option params [String] :name
|
7113
7220
|
# The new name for the specified Amazon Chime account.
|
7114
7221
|
#
|
7222
|
+
# @option params [String] :default_license
|
7223
|
+
# The default license applied when you add users to an Amazon Chime
|
7224
|
+
# account.
|
7225
|
+
#
|
7115
7226
|
# @return [Types::UpdateAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7116
7227
|
#
|
7117
7228
|
# * {Types::UpdateAccountResponse#account #account} => Types::Account
|
@@ -7121,6 +7232,7 @@ module Aws::Chime
|
|
7121
7232
|
# resp = client.update_account({
|
7122
7233
|
# account_id: "NonEmptyString", # required
|
7123
7234
|
# name: "AccountName",
|
7235
|
+
# default_license: "Basic", # accepts Basic, Plus, Pro, ProTrial
|
7124
7236
|
# })
|
7125
7237
|
#
|
7126
7238
|
# @example Response structure
|
@@ -7478,10 +7590,11 @@ module Aws::Chime
|
|
7478
7590
|
# detail at a time. For example, you can update either the product type
|
7479
7591
|
# or the calling name in one action.
|
7480
7592
|
#
|
7481
|
-
# For toll-free numbers, you
|
7482
|
-
# product type.
|
7593
|
+
# For toll-free numbers, you cannot use the Amazon Chime Business
|
7594
|
+
# Calling product type. For numbers outside the U.S., you must use the
|
7595
|
+
# Amazon Chime SIP Media Application Dial-In product type.
|
7483
7596
|
#
|
7484
|
-
# Updates to outbound calling names can take
|
7597
|
+
# Updates to outbound calling names can take 72 hours to complete.
|
7485
7598
|
# Pending updates to outbound calling names must be complete before you
|
7486
7599
|
# can request another update.
|
7487
7600
|
#
|
@@ -7502,7 +7615,7 @@ module Aws::Chime
|
|
7502
7615
|
#
|
7503
7616
|
# resp = client.update_phone_number({
|
7504
7617
|
# phone_number_id: "String", # required
|
7505
|
-
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
|
7618
|
+
# product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
|
7506
7619
|
# calling_name: "CallingName",
|
7507
7620
|
# })
|
7508
7621
|
#
|
@@ -7510,8 +7623,9 @@ module Aws::Chime
|
|
7510
7623
|
#
|
7511
7624
|
# resp.phone_number.phone_number_id #=> String
|
7512
7625
|
# resp.phone_number.e164_phone_number #=> String
|
7626
|
+
# resp.phone_number.country #=> String
|
7513
7627
|
# resp.phone_number.type #=> String, one of "Local", "TollFree"
|
7514
|
-
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
|
7628
|
+
# resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
|
7515
7629
|
# resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
|
7516
7630
|
# resp.phone_number.capabilities.inbound_call #=> Boolean
|
7517
7631
|
# resp.phone_number.capabilities.outbound_call #=> Boolean
|
@@ -7759,6 +7873,47 @@ module Aws::Chime
|
|
7759
7873
|
req.send_request(options)
|
7760
7874
|
end
|
7761
7875
|
|
7876
|
+
# Allows you to trigger a Lambda function at any time while a call is
|
7877
|
+
# active, and replace the current actions with new actions returned by
|
7878
|
+
# the invocation.
|
7879
|
+
#
|
7880
|
+
# @option params [required, String] :sip_media_application_id
|
7881
|
+
# The ID of the SIP media application handling the call.
|
7882
|
+
#
|
7883
|
+
# @option params [required, String] :transaction_id
|
7884
|
+
# The ID of the call transaction.
|
7885
|
+
#
|
7886
|
+
# @option params [required, Hash<String,String>] :arguments
|
7887
|
+
# Arguments made available to the Lambda function as part of the
|
7888
|
+
# `CALL_UPDATE_REQUESTED` event. Can contain 0-20 key-value pairs.
|
7889
|
+
#
|
7890
|
+
# @return [Types::UpdateSipMediaApplicationCallResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7891
|
+
#
|
7892
|
+
# * {Types::UpdateSipMediaApplicationCallResponse#sip_media_application_call #sip_media_application_call} => Types::SipMediaApplicationCall
|
7893
|
+
#
|
7894
|
+
# @example Request syntax with placeholder values
|
7895
|
+
#
|
7896
|
+
# resp = client.update_sip_media_application_call({
|
7897
|
+
# sip_media_application_id: "NonEmptyString", # required
|
7898
|
+
# transaction_id: "NonEmptyString", # required
|
7899
|
+
# arguments: { # required
|
7900
|
+
# "SensitiveString" => "SensitiveString",
|
7901
|
+
# },
|
7902
|
+
# })
|
7903
|
+
#
|
7904
|
+
# @example Response structure
|
7905
|
+
#
|
7906
|
+
# resp.sip_media_application_call.transaction_id #=> String
|
7907
|
+
#
|
7908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall AWS API Documentation
|
7909
|
+
#
|
7910
|
+
# @overload update_sip_media_application_call(params = {})
|
7911
|
+
# @param [Hash] params ({})
|
7912
|
+
def update_sip_media_application_call(params = {}, options = {})
|
7913
|
+
req = build_request(:update_sip_media_application_call, params)
|
7914
|
+
req.send_request(options)
|
7915
|
+
end
|
7916
|
+
|
7762
7917
|
# Updates the details of the specified SIP rule.
|
7763
7918
|
#
|
7764
7919
|
# @option params [required, String] :sip_rule_id
|
@@ -8018,7 +8173,7 @@ module Aws::Chime
|
|
8018
8173
|
params: params,
|
8019
8174
|
config: config)
|
8020
8175
|
context[:gem_name] = 'aws-sdk-chime'
|
8021
|
-
context[:gem_version] = '1.
|
8176
|
+
context[:gem_version] = '1.48.0'
|
8022
8177
|
Seahorse::Client::Request.new(handlers, context)
|
8023
8178
|
end
|
8024
8179
|
|