aws-sdk-chime 1.43.0 → 1.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc1fe0605bfab4b0ba545875a43317f25a0ac39919831e88004e35922eaf9b55
4
- data.tar.gz: 06e4d906ad96b4a1adfc5ba2a3da2bea3f4b9232b42874db4057debd1212b9a9
3
+ metadata.gz: 7b0726bb32625e6a74388cc38b4045da281a839fcd7a4c6ef5d3342335c354be
4
+ data.tar.gz: 1f00f48b24cb6c1198bdee293ab07535486ce8979efdb2b27220ed338dff45ee
5
5
  SHA512:
6
- metadata.gz: 667a089f5f373fec80bafa58d88477524515d3d9bf17184c6f3a29e5214405ecfe766e803abf9b86c8c03c7b2486841d271979e66eed189b6b770c89deb86218
7
- data.tar.gz: ae415fb7069ee256a0a3ff2b5d6125b788c6855f8aec1a4477ec39faa7872ad415e74fff0ad2259c6422590ef0690e43d75eca7aebc6f14dfad16ce285a3c327
6
+ metadata.gz: 2253f8703589de7712dc3db0c8db4b28d6da3f354367262e971d67a0edaf1effa447e3c9e325f211f7a7d02a0184a4f410ac48774182d5b77c8cf02abbece50a
7
+ data.tar.gz: 99bb6636a88d2d92b8e6905a7acb3510cf1aee76d5b823f90ebaaa26872ff65b9901a7f2b95c1e949230d842461b6af84d1e243a0f8bcf30d067e203dc46076f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,36 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2021-06-24)
5
+ ------------------
6
+
7
+ * Feature - Adds EventIngestionUrl field to MediaPlacement
8
+
9
+ 1.48.0 (2021-06-17)
10
+ ------------------
11
+
12
+ * Feature - This release adds a new API UpdateSipMediaApplicationCall, to update an in-progress call for SipMediaApplication.
13
+
14
+ 1.47.0 (2021-06-10)
15
+ ------------------
16
+
17
+ * Feature - This SDK release adds support for UpdateAccount API to allow users to update their default license on Chime account.
18
+
19
+ 1.46.0 (2021-05-04)
20
+ ------------------
21
+
22
+ * Feature - This release adds the ability to search for and order international phone numbers for Amazon Chime SIP media applications.
23
+
24
+ 1.45.0 (2021-05-03)
25
+ ------------------
26
+
27
+ * Feature - Added new BatchCreateChannelMembership API to support multiple membership creation for channels
28
+
29
+ 1.44.0 (2021-05-03)
30
+ ------------------
31
+
32
+ * Feature - Added new BatchCreateChannelMembership API to support multiple membership creation for channels
33
+
4
34
  1.43.0 (2021-04-29)
5
35
  ------------------
6
36
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.49.0
data/lib/aws-sdk-chime.rb CHANGED
@@ -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.43.0'
51
+ GEM_VERSION = '1.49.0'
52
52
 
53
53
  end
@@ -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&lt;Types::BatchCreateChannelMembershipError&gt;
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
@@ -671,8 +726,9 @@ module Aws::Chime
671
726
  # Removes the suspension from up to 50 previously suspended users for
672
727
  # the specified Amazon Chime `EnterpriseLWA` account. Only users on
673
728
  # `EnterpriseLWA` accounts can be unsuspended using this action. For
674
- # more information about different account types, see [Managing Your
675
- # Amazon Chime Accounts][1] in the *Amazon Chime Administration Guide*.
729
+ # more information about different account types, see [ Managing Your
730
+ # Amazon Chime Accounts ][1] in the account types, in the *Amazon Chime
731
+ # Administration Guide*.
676
732
  #
677
733
  # Previously suspended users who are unsuspended using this action are
678
734
  # returned to `Registered` status. Users who are not previously
@@ -716,12 +772,12 @@ module Aws::Chime
716
772
  end
717
773
 
718
774
  # Updates phone number product types or calling names. You can update
719
- # one attribute at a time for each `UpdatePhoneNumberRequestItem` . For
720
- # example, you can update either the product type or the calling name.
775
+ # one attribute at a time for each `UpdatePhoneNumberRequestItem`. For
776
+ # example, you can update the product type or the calling name.
721
777
  #
722
- # For product types, choose from Amazon Chime Business Calling and
723
- # Amazon Chime Voice Connector. For toll-free numbers, you must use the
724
- # Amazon Chime Voice Connector product type.
778
+ # For toll-free numbers, you cannot use the Amazon Chime Business
779
+ # Calling product type. For numbers outside the U.S., you must use the
780
+ # Amazon Chime SIP Media Application Dial-In product type.
725
781
  #
726
782
  # Updates to outbound calling names can take up to 72 hours to complete.
727
783
  # Pending updates to outbound calling names must be complete before you
@@ -741,7 +797,7 @@ module Aws::Chime
741
797
  # update_phone_number_request_items: [ # required
742
798
  # {
743
799
  # phone_number_id: "NonEmptyString", # required
744
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
800
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
745
801
  # calling_name: "CallingName",
746
802
  # },
747
803
  # ],
@@ -1429,6 +1485,7 @@ module Aws::Chime
1429
1485
  # resp.meeting.media_placement.screen_viewing_url #=> String
1430
1486
  # resp.meeting.media_placement.signaling_url #=> String
1431
1487
  # resp.meeting.media_placement.turn_control_url #=> String
1488
+ # resp.meeting.media_placement.event_ingestion_url #=> String
1432
1489
  # resp.meeting.media_region #=> String
1433
1490
  #
1434
1491
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting AWS API Documentation
@@ -1465,7 +1522,7 @@ module Aws::Chime
1465
1522
  #
1466
1523
  #
1467
1524
  #
1468
- # [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_Attendee.htmlCreateAttendee
1525
+ # [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html
1469
1526
  #
1470
1527
  # @return [Types::CreateMeetingDialOutResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1471
1528
  #
@@ -1585,6 +1642,7 @@ module Aws::Chime
1585
1642
  # resp.meeting.media_placement.screen_viewing_url #=> String
1586
1643
  # resp.meeting.media_placement.signaling_url #=> String
1587
1644
  # resp.meeting.media_placement.turn_control_url #=> String
1645
+ # resp.meeting.media_placement.event_ingestion_url #=> String
1588
1646
  # resp.meeting.media_region #=> String
1589
1647
  # resp.attendees #=> Array
1590
1648
  # resp.attendees[0].external_user_id #=> String
@@ -1604,10 +1662,10 @@ module Aws::Chime
1604
1662
  req.send_request(options)
1605
1663
  end
1606
1664
 
1607
- # Creates an order for phone numbers to be provisioned. Choose from
1608
- # Amazon Chime Business Calling and Amazon Chime Voice Connector product
1609
- # types. For toll-free numbers, you must use the Amazon Chime Voice
1610
- # Connector product type.
1665
+ # Creates an order for phone numbers to be provisioned. For toll-free
1666
+ # numbers, you cannot use the Amazon Chime Business Calling product
1667
+ # type. For numbers outside the U.S., you must use the Amazon Chime SIP
1668
+ # Media Application Dial-In product type.
1611
1669
  #
1612
1670
  # @option params [required, String] :product_type
1613
1671
  # The phone number product type.
@@ -1622,14 +1680,14 @@ module Aws::Chime
1622
1680
  # @example Request syntax with placeholder values
1623
1681
  #
1624
1682
  # resp = client.create_phone_number_order({
1625
- # product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector
1683
+ # product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
1626
1684
  # e164_phone_numbers: ["E164PhoneNumber"], # required
1627
1685
  # })
1628
1686
  #
1629
1687
  # @example Response structure
1630
1688
  #
1631
1689
  # resp.phone_number_order.phone_number_order_id #=> String
1632
- # resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
1690
+ # resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
1633
1691
  # resp.phone_number_order.status #=> String, one of "Processing", "Successful", "Failed", "Partial"
1634
1692
  # resp.phone_number_order.ordered_phone_numbers #=> Array
1635
1693
  # resp.phone_number_order.ordered_phone_numbers[0].e164_phone_number #=> String
@@ -1871,10 +1929,11 @@ module Aws::Chime
1871
1929
  # `sipMediaApplicationId`.
1872
1930
  #
1873
1931
  # @option params [required, String] :from_phone_number
1874
- # The phone number that a user calls from.
1932
+ # The phone number that a user calls from. This is a phone number in
1933
+ # your Amazon Chime phone number inventory.
1875
1934
  #
1876
1935
  # @option params [required, String] :to_phone_number
1877
- # The phone number that the user dials in order to connect to a meeting.
1936
+ # The phone number that the service should call.
1878
1937
  #
1879
1938
  # @option params [required, String] :sip_media_application_id
1880
1939
  # The ID of the SIP media application.
@@ -2257,10 +2316,10 @@ module Aws::Chime
2257
2316
  end
2258
2317
 
2259
2318
  # Deletes an attendee from the specified Amazon Chime SDK meeting and
2260
- # deletes their `JoinToken` . Attendees are automatically deleted when a
2319
+ # deletes their `JoinToken`. Attendees are automatically deleted when a
2261
2320
  # Amazon Chime SDK meeting is deleted. For more information about the
2262
2321
  # Amazon Chime SDK, see [Using the Amazon Chime SDK][1] in the *Amazon
2263
- # Chime Developer Guide* .
2322
+ # Chime Developer Guide*.
2264
2323
  #
2265
2324
  #
2266
2325
  #
@@ -2496,11 +2555,11 @@ module Aws::Chime
2496
2555
  req.send_request(options)
2497
2556
  end
2498
2557
 
2499
- # Deletes the specified Amazon Chime SDK meeting. When a meeting is
2500
- # deleted, its attendees are also deleted, clients connected to the
2501
- # meeting are disconnected, and clients can no longer join the meeting.
2502
- # For more information about the Amazon Chime SDK, see [Using the Amazon
2503
- # Chime SDK][1] in the *Amazon Chime Developer Guide*.
2558
+ # Deletes the specified Amazon Chime SDK meeting. The operation deletes
2559
+ # all attendees, disconnects all clients, and prevents new clients from
2560
+ # joining the meeting. For more information about the Amazon Chime SDK,
2561
+ # see [Using the Amazon Chime SDK][1] in the *Amazon Chime Developer
2562
+ # Guide*.
2504
2563
  #
2505
2564
  #
2506
2565
  #
@@ -2526,7 +2585,7 @@ module Aws::Chime
2526
2585
  req.send_request(options)
2527
2586
  end
2528
2587
 
2529
- # Moves the specified phone number into the **Deletionqueue**. A phone
2588
+ # Moves the specified phone number into the **Deletion queue**. A phone
2530
2589
  # number must be disassociated from any users or Amazon Chime Voice
2531
2590
  # Connectors before it can be deleted.
2532
2591
  #
@@ -3758,6 +3817,7 @@ module Aws::Chime
3758
3817
  # resp.meeting.media_placement.screen_viewing_url #=> String
3759
3818
  # resp.meeting.media_placement.signaling_url #=> String
3760
3819
  # resp.meeting.media_placement.turn_control_url #=> String
3820
+ # resp.meeting.media_placement.event_ingestion_url #=> String
3761
3821
  # resp.meeting.media_region #=> String
3762
3822
  #
3763
3823
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting AWS API Documentation
@@ -3808,8 +3868,9 @@ module Aws::Chime
3808
3868
  #
3809
3869
  # resp.phone_number.phone_number_id #=> String
3810
3870
  # resp.phone_number.e164_phone_number #=> String
3871
+ # resp.phone_number.country #=> String
3811
3872
  # resp.phone_number.type #=> String, one of "Local", "TollFree"
3812
- # resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
3873
+ # resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
3813
3874
  # resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
3814
3875
  # resp.phone_number.capabilities.inbound_call #=> Boolean
3815
3876
  # resp.phone_number.capabilities.outbound_call #=> Boolean
@@ -3856,7 +3917,7 @@ module Aws::Chime
3856
3917
  # @example Response structure
3857
3918
  #
3858
3919
  # resp.phone_number_order.phone_number_order_id #=> String
3859
- # resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
3920
+ # resp.phone_number_order.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
3860
3921
  # resp.phone_number_order.status #=> String, one of "Processing", "Successful", "Failed", "Partial"
3861
3922
  # resp.phone_number_order.ordered_phone_numbers #=> Array
3862
3923
  # resp.phone_number_order.ordered_phone_numbers[0].e164_phone_number #=> String
@@ -3946,8 +4007,8 @@ module Aws::Chime
3946
4007
 
3947
4008
  # Gets the retention settings for the specified Amazon Chime Enterprise
3948
4009
  # account. For more information about retention settings, see [Managing
3949
- # Chat Retention Policies][1] in the *Amazon Chime Administration Guide*
3950
- # .
4010
+ # Chat Retention Policies][1] in the *Amazon Chime Administration
4011
+ # Guide*.
3951
4012
  #
3952
4013
  #
3953
4014
  #
@@ -4275,7 +4336,7 @@ module Aws::Chime
4275
4336
  end
4276
4337
 
4277
4338
  # Retrieves details for the specified Amazon Chime Voice Connector
4278
- # group, such as timestamps,name, and associated `VoiceConnectorItems` .
4339
+ # group, such as timestamps,name, and associated `VoiceConnectorItems`.
4279
4340
  #
4280
4341
  # @option params [required, String] :voice_connector_group_id
4281
4342
  # The Amazon Chime Voice Connector group ID.
@@ -4551,7 +4612,7 @@ module Aws::Chime
4551
4612
 
4552
4613
  # Lists the Amazon Chime accounts under the administrator's AWS
4553
4614
  # account. You can filter accounts by account name prefix. To find out
4554
- # which Amazon Chime account a user belongs to, toucan filter by the
4615
+ # which Amazon Chime account a user belongs to, you can filter by the
4555
4616
  # user's email address, which returns one account result.
4556
4617
  #
4557
4618
  # @option params [String] :name
@@ -4775,7 +4836,7 @@ module Aws::Chime
4775
4836
 
4776
4837
  # Lists the attendees for the specified Amazon Chime SDK meeting. For
4777
4838
  # more information about the Amazon Chime SDK, see [Using the Amazon
4778
- # Chime SDK][1] in the *Amazon Chime Developer Guide* .
4839
+ # Chime SDK][1] in the *Amazon Chime Developer Guide*.
4779
4840
  #
4780
4841
  #
4781
4842
  #
@@ -5054,7 +5115,7 @@ module Aws::Chime
5054
5115
 
5055
5116
  # List all the messages in a channel. Returns a paginated list of
5056
5117
  # `ChannelMessages`. By default, sorted by creation timestamp in
5057
- # descending order .
5118
+ # descending order.
5058
5119
  #
5059
5120
  # <note markdown="1"> Redacted messages appear in the results as empty, since they are only
5060
5121
  # redacted, not deleted. Deleted messages do not appear in the results.
@@ -5195,7 +5256,7 @@ module Aws::Chime
5195
5256
  # **Functionality &amp; restrictions**
5196
5257
  #
5197
5258
  # * Use privacy = `PUBLIC` to retrieve all public channels in the
5198
- # account
5259
+ # account.
5199
5260
  #
5200
5261
  # * Only an `AppInstanceAdmin` can set privacy = `PRIVATE` to list the
5201
5262
  # private channels in an account.
@@ -5350,7 +5411,7 @@ module Aws::Chime
5350
5411
 
5351
5412
  # Lists up to 100 active Amazon Chime SDK meetings. For more information
5352
5413
  # about the Amazon Chime SDK, see [Using the Amazon Chime SDK][1] in the
5353
- # *Amazon Chime Developer Guide* .
5414
+ # *Amazon Chime Developer Guide*.
5354
5415
  #
5355
5416
  #
5356
5417
  #
@@ -5388,6 +5449,7 @@ module Aws::Chime
5388
5449
  # resp.meetings[0].media_placement.screen_viewing_url #=> String
5389
5450
  # resp.meetings[0].media_placement.signaling_url #=> String
5390
5451
  # resp.meetings[0].media_placement.turn_control_url #=> String
5452
+ # resp.meetings[0].media_placement.event_ingestion_url #=> String
5391
5453
  # resp.meetings[0].media_region #=> String
5392
5454
  # resp.next_token #=> String
5393
5455
  #
@@ -5427,7 +5489,7 @@ module Aws::Chime
5427
5489
  #
5428
5490
  # resp.phone_number_orders #=> Array
5429
5491
  # resp.phone_number_orders[0].phone_number_order_id #=> String
5430
- # resp.phone_number_orders[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector"
5492
+ # resp.phone_number_orders[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
5431
5493
  # resp.phone_number_orders[0].status #=> String, one of "Processing", "Successful", "Failed", "Partial"
5432
5494
  # resp.phone_number_orders[0].ordered_phone_numbers #=> Array
5433
5495
  # resp.phone_number_orders[0].ordered_phone_numbers[0].e164_phone_number #=> String
@@ -5478,7 +5540,7 @@ module Aws::Chime
5478
5540
  #
5479
5541
  # resp = client.list_phone_numbers({
5480
5542
  # status: "AcquireInProgress", # accepts AcquireInProgress, AcquireFailed, Unassigned, Assigned, ReleaseInProgress, DeleteInProgress, ReleaseFailed, DeleteFailed
5481
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
5543
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
5482
5544
  # filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId, VoiceConnectorGroupId, SipRuleId
5483
5545
  # filter_value: "String",
5484
5546
  # max_results: 1,
@@ -5490,8 +5552,9 @@ module Aws::Chime
5490
5552
  # resp.phone_numbers #=> Array
5491
5553
  # resp.phone_numbers[0].phone_number_id #=> String
5492
5554
  # resp.phone_numbers[0].e164_phone_number #=> String
5555
+ # resp.phone_numbers[0].country #=> String
5493
5556
  # resp.phone_numbers[0].type #=> String, one of "Local", "TollFree"
5494
- # resp.phone_numbers[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector"
5557
+ # resp.phone_numbers[0].product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
5495
5558
  # resp.phone_numbers[0].status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
5496
5559
  # resp.phone_numbers[0].capabilities.inbound_call #=> Boolean
5497
5560
  # resp.phone_numbers[0].capabilities.outbound_call #=> Boolean
@@ -5785,6 +5848,37 @@ module Aws::Chime
5785
5848
  req.send_request(options)
5786
5849
  end
5787
5850
 
5851
+ # Lists supported phone number countries.
5852
+ #
5853
+ # @option params [required, String] :product_type
5854
+ # The phone number product type.
5855
+ #
5856
+ # @return [Types::ListSupportedPhoneNumberCountriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5857
+ #
5858
+ # * {Types::ListSupportedPhoneNumberCountriesResponse#phone_number_countries #phone_number_countries} => Array&lt;Types::PhoneNumberCountry&gt;
5859
+ #
5860
+ # @example Request syntax with placeholder values
5861
+ #
5862
+ # resp = client.list_supported_phone_number_countries({
5863
+ # product_type: "BusinessCalling", # required, accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
5864
+ # })
5865
+ #
5866
+ # @example Response structure
5867
+ #
5868
+ # resp.phone_number_countries #=> Array
5869
+ # resp.phone_number_countries[0].country_code #=> String
5870
+ # resp.phone_number_countries[0].supported_phone_number_types #=> Array
5871
+ # resp.phone_number_countries[0].supported_phone_number_types[0] #=> String, one of "Local", "TollFree"
5872
+ #
5873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries AWS API Documentation
5874
+ #
5875
+ # @overload list_supported_phone_number_countries(params = {})
5876
+ # @param [Hash] params ({})
5877
+ def list_supported_phone_number_countries(params = {}, options = {})
5878
+ req = build_request(:list_supported_phone_number_countries, params)
5879
+ req.send_request(options)
5880
+ end
5881
+
5788
5882
  # Lists the tags applied to an Amazon Chime SDK meeting resource.
5789
5883
  #
5790
5884
  # @option params [required, String] :resource_arn
@@ -6151,13 +6245,13 @@ module Aws::Chime
6151
6245
  # account. We recommend using AWS CloudTrail to monitor usage of this
6152
6246
  # API for your account. For more information, see [Logging Amazon Chime
6153
6247
  # API Calls with AWS CloudTrail][1] in the *Amazon Chime Administration
6154
- # Guide* .
6248
+ # Guide*.
6155
6249
  #
6156
6250
  # To turn off existing retention settings, remove the number of days
6157
6251
  # from the corresponding **RetentionDays** field in the
6158
6252
  # **RetentionSettings** object. For more information about retention
6159
6253
  # settings, see [Managing Chat Retention Policies][2] in the *Amazon
6160
- # Chime Administration Guide* .
6254
+ # Chime Administration Guide*.
6161
6255
  #
6162
6256
  #
6163
6257
  #
@@ -6772,8 +6866,9 @@ module Aws::Chime
6772
6866
  #
6773
6867
  # resp.phone_number.phone_number_id #=> String
6774
6868
  # resp.phone_number.e164_phone_number #=> String
6869
+ # resp.phone_number.country #=> String
6775
6870
  # resp.phone_number.type #=> String, one of "Local", "TollFree"
6776
- # resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
6871
+ # resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
6777
6872
  # resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
6778
6873
  # resp.phone_number.capabilities.inbound_call #=> Boolean
6779
6874
  # resp.phone_number.capabilities.outbound_call #=> Boolean
@@ -6800,41 +6895,56 @@ module Aws::Chime
6800
6895
  req.send_request(options)
6801
6896
  end
6802
6897
 
6803
- # Searches phone numbers that can be ordered.
6898
+ # Searches for phone numbers that can be ordered. For US numbers,
6899
+ # provide at least one of the following search filters: `AreaCode`,
6900
+ # `City`, `State`, or `TollFreePrefix`. If you provide `City`, you must
6901
+ # also provide `State`. Numbers outside the US only support the
6902
+ # `PhoneNumberType` filter, which you must use.
6804
6903
  #
6805
6904
  # @option params [String] :area_code
6806
- # The area code used to filter results.
6905
+ # The area code used to filter results. Only applies to the US.
6807
6906
  #
6808
6907
  # @option params [String] :city
6809
- # The city used to filter results.
6908
+ # The city used to filter results. Only applies to the US.
6810
6909
  #
6811
6910
  # @option params [String] :country
6812
- # The country used to filter results.
6911
+ # The country used to filter results. Defaults to the US Format: ISO
6912
+ # 3166-1 alpha-2.
6813
6913
  #
6814
6914
  # @option params [String] :state
6815
- # The state used to filter results.
6915
+ # The state used to filter results. Required only if you provide `City`.
6916
+ # Only applies to the US.
6816
6917
  #
6817
6918
  # @option params [String] :toll_free_prefix
6818
- # The toll-free prefix that you use to filter results.
6919
+ # The toll-free prefix that you use to filter results. Only applies to
6920
+ # the US.
6921
+ #
6922
+ # @option params [String] :phone_number_type
6923
+ # The phone number type used to filter results. Required for non-US
6924
+ # numbers.
6819
6925
  #
6820
6926
  # @option params [Integer] :max_results
6821
6927
  # The maximum number of results to return in a single call.
6822
6928
  #
6823
6929
  # @option params [String] :next_token
6824
- # The token to use to retrieve the next page of results.
6930
+ # The token used to retrieve the next page of results.
6825
6931
  #
6826
6932
  # @return [Types::SearchAvailablePhoneNumbersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6827
6933
  #
6828
6934
  # * {Types::SearchAvailablePhoneNumbersResponse#e164_phone_numbers #e164_phone_numbers} => Array&lt;String&gt;
6935
+ # * {Types::SearchAvailablePhoneNumbersResponse#next_token #next_token} => String
6936
+ #
6937
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6829
6938
  #
6830
6939
  # @example Request syntax with placeholder values
6831
6940
  #
6832
6941
  # resp = client.search_available_phone_numbers({
6833
6942
  # area_code: "String",
6834
6943
  # city: "String",
6835
- # country: "String",
6944
+ # country: "Alpha2CountryCode",
6836
6945
  # state: "String",
6837
6946
  # toll_free_prefix: "TollFreePrefix",
6947
+ # phone_number_type: "Local", # accepts Local, TollFree
6838
6948
  # max_results: 1,
6839
6949
  # next_token: "String",
6840
6950
  # })
@@ -6843,6 +6953,7 @@ module Aws::Chime
6843
6953
  #
6844
6954
  # resp.e164_phone_numbers #=> Array
6845
6955
  # resp.e164_phone_numbers[0] #=> String
6956
+ # resp.next_token #=> String
6846
6957
  #
6847
6958
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers AWS API Documentation
6848
6959
  #
@@ -7104,7 +7215,8 @@ module Aws::Chime
7104
7215
  end
7105
7216
 
7106
7217
  # Updates account details for the specified Amazon Chime account.
7107
- # Currently, only account name updates are supported for this action.
7218
+ # Currently, only account name and default license updates are supported
7219
+ # for this action.
7108
7220
  #
7109
7221
  # @option params [required, String] :account_id
7110
7222
  # The Amazon Chime account ID.
@@ -7112,6 +7224,10 @@ module Aws::Chime
7112
7224
  # @option params [String] :name
7113
7225
  # The new name for the specified Amazon Chime account.
7114
7226
  #
7227
+ # @option params [String] :default_license
7228
+ # The default license applied when you add users to an Amazon Chime
7229
+ # account.
7230
+ #
7115
7231
  # @return [Types::UpdateAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7116
7232
  #
7117
7233
  # * {Types::UpdateAccountResponse#account #account} => Types::Account
@@ -7121,6 +7237,7 @@ module Aws::Chime
7121
7237
  # resp = client.update_account({
7122
7238
  # account_id: "NonEmptyString", # required
7123
7239
  # name: "AccountName",
7240
+ # default_license: "Basic", # accepts Basic, Plus, Pro, ProTrial
7124
7241
  # })
7125
7242
  #
7126
7243
  # @example Response structure
@@ -7478,10 +7595,11 @@ module Aws::Chime
7478
7595
  # detail at a time. For example, you can update either the product type
7479
7596
  # or the calling name in one action.
7480
7597
  #
7481
- # For toll-free numbers, you must use the Amazon Chime Voice Connector
7482
- # product type.
7598
+ # For toll-free numbers, you cannot use the Amazon Chime Business
7599
+ # Calling product type. For numbers outside the U.S., you must use the
7600
+ # Amazon Chime SIP Media Application Dial-In product type.
7483
7601
  #
7484
- # Updates to outbound calling names can take up to 72 hours to complete.
7602
+ # Updates to outbound calling names can take 72 hours to complete.
7485
7603
  # Pending updates to outbound calling names must be complete before you
7486
7604
  # can request another update.
7487
7605
  #
@@ -7502,7 +7620,7 @@ module Aws::Chime
7502
7620
  #
7503
7621
  # resp = client.update_phone_number({
7504
7622
  # phone_number_id: "String", # required
7505
- # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
7623
+ # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector, SipMediaApplicationDialIn
7506
7624
  # calling_name: "CallingName",
7507
7625
  # })
7508
7626
  #
@@ -7510,8 +7628,9 @@ module Aws::Chime
7510
7628
  #
7511
7629
  # resp.phone_number.phone_number_id #=> String
7512
7630
  # resp.phone_number.e164_phone_number #=> String
7631
+ # resp.phone_number.country #=> String
7513
7632
  # resp.phone_number.type #=> String, one of "Local", "TollFree"
7514
- # resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector"
7633
+ # resp.phone_number.product_type #=> String, one of "BusinessCalling", "VoiceConnector", "SipMediaApplicationDialIn"
7515
7634
  # resp.phone_number.status #=> String, one of "AcquireInProgress", "AcquireFailed", "Unassigned", "Assigned", "ReleaseInProgress", "DeleteInProgress", "ReleaseFailed", "DeleteFailed"
7516
7635
  # resp.phone_number.capabilities.inbound_call #=> Boolean
7517
7636
  # resp.phone_number.capabilities.outbound_call #=> Boolean
@@ -7759,6 +7878,47 @@ module Aws::Chime
7759
7878
  req.send_request(options)
7760
7879
  end
7761
7880
 
7881
+ # Allows you to trigger a Lambda function at any time while a call is
7882
+ # active, and replace the current actions with new actions returned by
7883
+ # the invocation.
7884
+ #
7885
+ # @option params [required, String] :sip_media_application_id
7886
+ # The ID of the SIP media application handling the call.
7887
+ #
7888
+ # @option params [required, String] :transaction_id
7889
+ # The ID of the call transaction.
7890
+ #
7891
+ # @option params [required, Hash<String,String>] :arguments
7892
+ # Arguments made available to the Lambda function as part of the
7893
+ # `CALL_UPDATE_REQUESTED` event. Can contain 0-20 key-value pairs.
7894
+ #
7895
+ # @return [Types::UpdateSipMediaApplicationCallResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7896
+ #
7897
+ # * {Types::UpdateSipMediaApplicationCallResponse#sip_media_application_call #sip_media_application_call} => Types::SipMediaApplicationCall
7898
+ #
7899
+ # @example Request syntax with placeholder values
7900
+ #
7901
+ # resp = client.update_sip_media_application_call({
7902
+ # sip_media_application_id: "NonEmptyString", # required
7903
+ # transaction_id: "NonEmptyString", # required
7904
+ # arguments: { # required
7905
+ # "SensitiveString" => "SensitiveString",
7906
+ # },
7907
+ # })
7908
+ #
7909
+ # @example Response structure
7910
+ #
7911
+ # resp.sip_media_application_call.transaction_id #=> String
7912
+ #
7913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall AWS API Documentation
7914
+ #
7915
+ # @overload update_sip_media_application_call(params = {})
7916
+ # @param [Hash] params ({})
7917
+ def update_sip_media_application_call(params = {}, options = {})
7918
+ req = build_request(:update_sip_media_application_call, params)
7919
+ req.send_request(options)
7920
+ end
7921
+
7762
7922
  # Updates the details of the specified SIP rule.
7763
7923
  #
7764
7924
  # @option params [required, String] :sip_rule_id
@@ -8018,7 +8178,7 @@ module Aws::Chime
8018
8178
  params: params,
8019
8179
  config: config)
8020
8180
  context[:gem_name] = 'aws-sdk-chime'
8021
- context[:gem_version] = '1.43.0'
8181
+ context[:gem_version] = '1.49.0'
8022
8182
  Seahorse::Client::Request.new(handlers, context)
8023
8183
  end
8024
8184