aws-sdk-chime 1.31.0 → 1.37.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: e11846fe0191cd4b3bb36745511bedd9b22e15eb08625eb14f35e91ab6444f43
4
- data.tar.gz: aad2afed22cbdd67131d7d42ddffd7e82ef3e7ca2b91a2469f8827f5fdf94a0b
3
+ metadata.gz: e8d41aff07a133154cbb91c66604261675fe36c11c53f8d91aa9fe41ba3274f0
4
+ data.tar.gz: c0d6fdd2805be69bacd810199462be8505f645f9766fde06f915985e89bbdf69
5
5
  SHA512:
6
- metadata.gz: c77c826ffdbe94ce07932783d313a90e5357e95cfa58c17ba6513e6d19d65e5cb8f388322fdf9ecb4ca24fadc7a27f93886eb82f38b3309e373dc5a8c9c4dac1
7
- data.tar.gz: 45f33e26dc67ed0a359659df5a6f88fc880592a98303d83bb118b886a052216f7d05ec2bd485f1a3b30766ea1cb72445ae7c0d02033834d472d1da991608c6c2
6
+ metadata.gz: 7464f4d7f39eb857ce8d92612a75e0c6b7144f6a07353c7d29cc27f3b130c2eef5a2342ea86d5db1cb139c4fd12946d16cd5fffe840d0b721fcd612fb0d9e753
7
+ data.tar.gz: 9fc5295dae6492422bc01a3db7767e8dd8401fbd430437a738706f9cf5e946709dbd28105378c37b4d3538790114ec9cfe138cca329a04e46c495a22099d35a1
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-chime/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::Chime
49
50
 
50
- GEM_VERSION = '1.31.0'
51
+ GEM_VERSION = '1.37.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::Chime
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Chime
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -348,7 +363,7 @@ module Aws::Chime
348
363
  # @option params [required, String] :voice_connector_id
349
364
  # The Amazon Chime Voice Connector ID.
350
365
  #
351
- # @option params [Array<String>] :e164_phone_numbers
366
+ # @option params [required, Array<String>] :e164_phone_numbers
352
367
  # List of phone numbers, in E.164 format.
353
368
  #
354
369
  # @option params [Boolean] :force_associate
@@ -365,7 +380,7 @@ module Aws::Chime
365
380
  #
366
381
  # resp = client.associate_phone_numbers_with_voice_connector({
367
382
  # voice_connector_id: "NonEmptyString", # required
368
- # e164_phone_numbers: ["E164PhoneNumber"],
383
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
369
384
  # force_associate: false,
370
385
  # })
371
386
  #
@@ -373,7 +388,7 @@ module Aws::Chime
373
388
  #
374
389
  # resp.phone_number_errors #=> Array
375
390
  # resp.phone_number_errors[0].phone_number_id #=> String
376
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
391
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
377
392
  # resp.phone_number_errors[0].error_message #=> String
378
393
  #
379
394
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector AWS API Documentation
@@ -391,7 +406,7 @@ module Aws::Chime
391
406
  # @option params [required, String] :voice_connector_group_id
392
407
  # The Amazon Chime Voice Connector group ID.
393
408
  #
394
- # @option params [Array<String>] :e164_phone_numbers
409
+ # @option params [required, Array<String>] :e164_phone_numbers
395
410
  # List of phone numbers, in E.164 format.
396
411
  #
397
412
  # @option params [Boolean] :force_associate
@@ -408,7 +423,7 @@ module Aws::Chime
408
423
  #
409
424
  # resp = client.associate_phone_numbers_with_voice_connector_group({
410
425
  # voice_connector_group_id: "NonEmptyString", # required
411
- # e164_phone_numbers: ["E164PhoneNumber"],
426
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
412
427
  # force_associate: false,
413
428
  # })
414
429
  #
@@ -416,7 +431,7 @@ module Aws::Chime
416
431
  #
417
432
  # resp.phone_number_errors #=> Array
418
433
  # resp.phone_number_errors[0].phone_number_id #=> String
419
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
434
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
420
435
  # resp.phone_number_errors[0].error_message #=> String
421
436
  #
422
437
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup AWS API Documentation
@@ -550,7 +565,7 @@ module Aws::Chime
550
565
  #
551
566
  # resp.errors #=> Array
552
567
  # resp.errors[0].member_id #=> String
553
- # resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
568
+ # resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
554
569
  # resp.errors[0].error_message #=> String
555
570
  #
556
571
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership AWS API Documentation
@@ -586,7 +601,7 @@ module Aws::Chime
586
601
  #
587
602
  # resp.phone_number_errors #=> Array
588
603
  # resp.phone_number_errors[0].phone_number_id #=> String
589
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
604
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
590
605
  # resp.phone_number_errors[0].error_message #=> String
591
606
  #
592
607
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber AWS API Documentation
@@ -641,7 +656,7 @@ module Aws::Chime
641
656
  #
642
657
  # resp.user_errors #=> Array
643
658
  # resp.user_errors[0].user_id #=> String
644
- # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
659
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
645
660
  # resp.user_errors[0].error_message #=> String
646
661
  #
647
662
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser AWS API Documentation
@@ -688,7 +703,7 @@ module Aws::Chime
688
703
  #
689
704
  # resp.user_errors #=> Array
690
705
  # resp.user_errors[0].user_id #=> String
691
- # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
706
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
692
707
  # resp.user_errors[0].error_message #=> String
693
708
  #
694
709
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser AWS API Documentation
@@ -736,7 +751,7 @@ module Aws::Chime
736
751
  #
737
752
  # resp.phone_number_errors #=> Array
738
753
  # resp.phone_number_errors[0].phone_number_id #=> String
739
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
754
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
740
755
  # resp.phone_number_errors[0].error_message #=> String
741
756
  #
742
757
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber AWS API Documentation
@@ -783,7 +798,7 @@ module Aws::Chime
783
798
  #
784
799
  # resp.user_errors #=> Array
785
800
  # resp.user_errors[0].user_id #=> String
786
- # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
801
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
787
802
  # resp.user_errors[0].error_message #=> String
788
803
  #
789
804
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser AWS API Documentation
@@ -961,10 +976,11 @@ module Aws::Chime
961
976
  # @option params [String] :media_region
962
977
  # The Region in which to create the meeting. Default: `us-east-1`.
963
978
  #
964
- # Available values: `ap-northeast-1`, `ap-southeast-1`,
965
- # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
966
- # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
967
- # `us-east-2`, `us-west-1`, `us-west-2`.
979
+ # Available values: `af-south-1`, `ap-northeast-1`, `ap-northeast-2`,
980
+ # `ap-south-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
981
+ # `eu-central-1`, `eu-north-1`, `eu-south-1`, `eu-west-1`, `eu-west-2`,
982
+ # `eu-west-3`, `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`,
983
+ # `us-west-2`.
968
984
  #
969
985
  # @option params [Array<Types::Tag>] :tags
970
986
  # The tag key-value pairs.
@@ -1045,10 +1061,11 @@ module Aws::Chime
1045
1061
  # @option params [String] :media_region
1046
1062
  # The Region in which to create the meeting. Default: `us-east-1`.
1047
1063
  #
1048
- # Available values: `ap-northeast-1`, `ap-southeast-1`,
1049
- # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1050
- # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1051
- # `us-east-2`, `us-west-1`, `us-west-2`.
1064
+ # Available values: `af-south-1`, `ap-northeast-1`, `ap-northeast-2`,
1065
+ # `ap-south-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
1066
+ # `eu-central-1`, `eu-north-1`, `eu-south-1`, `eu-west-1`, `eu-west-2`,
1067
+ # `eu-west-3`, `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`,
1068
+ # `us-west-2`.
1052
1069
  #
1053
1070
  # @option params [Array<Types::Tag>] :tags
1054
1071
  # The tag key-value pairs.
@@ -1757,6 +1774,29 @@ module Aws::Chime
1757
1774
  req.send_request(options)
1758
1775
  end
1759
1776
 
1777
+ # Deletes the emergency calling configuration details from the specified
1778
+ # Amazon Chime Voice Connector.
1779
+ #
1780
+ # @option params [required, String] :voice_connector_id
1781
+ # The Amazon Chime Voice Connector ID.
1782
+ #
1783
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1784
+ #
1785
+ # @example Request syntax with placeholder values
1786
+ #
1787
+ # resp = client.delete_voice_connector_emergency_calling_configuration({
1788
+ # voice_connector_id: "NonEmptyString", # required
1789
+ # })
1790
+ #
1791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration AWS API Documentation
1792
+ #
1793
+ # @overload delete_voice_connector_emergency_calling_configuration(params = {})
1794
+ # @param [Hash] params ({})
1795
+ def delete_voice_connector_emergency_calling_configuration(params = {}, options = {})
1796
+ req = build_request(:delete_voice_connector_emergency_calling_configuration, params)
1797
+ req.send_request(options)
1798
+ end
1799
+
1760
1800
  # Deletes the specified Amazon Chime Voice Connector group. Any
1761
1801
  # `VoiceConnectorItems` and phone numbers associated with the group must
1762
1802
  # be removed before it can be deleted.
@@ -1784,6 +1824,12 @@ module Aws::Chime
1784
1824
  # Deletes the origination settings for the specified Amazon Chime Voice
1785
1825
  # Connector.
1786
1826
  #
1827
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
1828
+ # Connector, it must be deleted prior to deleting the origination
1829
+ # settings.
1830
+ #
1831
+ # </note>
1832
+ #
1787
1833
  # @option params [required, String] :voice_connector_id
1788
1834
  # The Amazon Chime Voice Connector ID.
1789
1835
  #
@@ -1853,6 +1899,12 @@ module Aws::Chime
1853
1899
  # Deletes the termination settings for the specified Amazon Chime Voice
1854
1900
  # Connector.
1855
1901
  #
1902
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
1903
+ # Connector, it must be deleted prior to deleting the termination
1904
+ # settings.
1905
+ #
1906
+ # </note>
1907
+ #
1856
1908
  # @option params [required, String] :voice_connector_id
1857
1909
  # The Amazon Chime Voice Connector ID.
1858
1910
  #
@@ -1879,7 +1931,7 @@ module Aws::Chime
1879
1931
  # @option params [required, String] :voice_connector_id
1880
1932
  # The Amazon Chime Voice Connector ID.
1881
1933
  #
1882
- # @option params [Array<String>] :usernames
1934
+ # @option params [required, Array<String>] :usernames
1883
1935
  # The RFC2617 compliant username associated with the SIP credentials, in
1884
1936
  # US-ASCII format.
1885
1937
  #
@@ -1889,7 +1941,7 @@ module Aws::Chime
1889
1941
  #
1890
1942
  # resp = client.delete_voice_connector_termination_credentials({
1891
1943
  # voice_connector_id: "NonEmptyString", # required
1892
- # usernames: ["SensitiveString"],
1944
+ # usernames: ["SensitiveString"], # required
1893
1945
  # })
1894
1946
  #
1895
1947
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials AWS API Documentation
@@ -1934,7 +1986,7 @@ module Aws::Chime
1934
1986
  # @option params [required, String] :voice_connector_id
1935
1987
  # The Amazon Chime Voice Connector ID.
1936
1988
  #
1937
- # @option params [Array<String>] :e164_phone_numbers
1989
+ # @option params [required, Array<String>] :e164_phone_numbers
1938
1990
  # List of phone numbers, in E.164 format.
1939
1991
  #
1940
1992
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1945,14 +1997,14 @@ module Aws::Chime
1945
1997
  #
1946
1998
  # resp = client.disassociate_phone_numbers_from_voice_connector({
1947
1999
  # voice_connector_id: "NonEmptyString", # required
1948
- # e164_phone_numbers: ["E164PhoneNumber"],
2000
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1949
2001
  # })
1950
2002
  #
1951
2003
  # @example Response structure
1952
2004
  #
1953
2005
  # resp.phone_number_errors #=> Array
1954
2006
  # resp.phone_number_errors[0].phone_number_id #=> String
1955
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
2007
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
1956
2008
  # resp.phone_number_errors[0].error_message #=> String
1957
2009
  #
1958
2010
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector AWS API Documentation
@@ -1970,7 +2022,7 @@ module Aws::Chime
1970
2022
  # @option params [required, String] :voice_connector_group_id
1971
2023
  # The Amazon Chime Voice Connector group ID.
1972
2024
  #
1973
- # @option params [Array<String>] :e164_phone_numbers
2025
+ # @option params [required, Array<String>] :e164_phone_numbers
1974
2026
  # List of phone numbers, in E.164 format.
1975
2027
  #
1976
2028
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1981,14 +2033,14 @@ module Aws::Chime
1981
2033
  #
1982
2034
  # resp = client.disassociate_phone_numbers_from_voice_connector_group({
1983
2035
  # voice_connector_group_id: "NonEmptyString", # required
1984
- # e164_phone_numbers: ["E164PhoneNumber"],
2036
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1985
2037
  # })
1986
2038
  #
1987
2039
  # @example Response structure
1988
2040
  #
1989
2041
  # resp.phone_number_errors #=> Array
1990
2042
  # resp.phone_number_errors[0].phone_number_id #=> String
1991
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
2043
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
1992
2044
  # resp.phone_number_errors[0].error_message #=> String
1993
2045
  #
1994
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup AWS API Documentation
@@ -2634,6 +2686,38 @@ module Aws::Chime
2634
2686
  req.send_request(options)
2635
2687
  end
2636
2688
 
2689
+ # Gets the emergency calling configuration details for the specified
2690
+ # Amazon Chime Voice Connector.
2691
+ #
2692
+ # @option params [required, String] :voice_connector_id
2693
+ # The Amazon Chime Voice Connector ID.
2694
+ #
2695
+ # @return [Types::GetVoiceConnectorEmergencyCallingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2696
+ #
2697
+ # * {Types::GetVoiceConnectorEmergencyCallingConfigurationResponse#emergency_calling_configuration #emergency_calling_configuration} => Types::EmergencyCallingConfiguration
2698
+ #
2699
+ # @example Request syntax with placeholder values
2700
+ #
2701
+ # resp = client.get_voice_connector_emergency_calling_configuration({
2702
+ # voice_connector_id: "NonEmptyString", # required
2703
+ # })
2704
+ #
2705
+ # @example Response structure
2706
+ #
2707
+ # resp.emergency_calling_configuration.dnis #=> Array
2708
+ # resp.emergency_calling_configuration.dnis[0].emergency_phone_number #=> String
2709
+ # resp.emergency_calling_configuration.dnis[0].test_phone_number #=> String
2710
+ # resp.emergency_calling_configuration.dnis[0].calling_country #=> String
2711
+ #
2712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfiguration AWS API Documentation
2713
+ #
2714
+ # @overload get_voice_connector_emergency_calling_configuration(params = {})
2715
+ # @param [Hash] params ({})
2716
+ def get_voice_connector_emergency_calling_configuration(params = {}, options = {})
2717
+ req = build_request(:get_voice_connector_emergency_calling_configuration, params)
2718
+ req.send_request(options)
2719
+ end
2720
+
2637
2721
  # Retrieves details for the specified Amazon Chime Voice Connector
2638
2722
  # group, such as timestamps, name, and associated `VoiceConnectorItems`.
2639
2723
  #
@@ -3812,6 +3896,53 @@ module Aws::Chime
3812
3896
  req.send_request(options)
3813
3897
  end
3814
3898
 
3899
+ # Puts emergency calling configuration details to the specified Amazon
3900
+ # Chime Voice Connector, such as emergency phone numbers and calling
3901
+ # countries. Origination and termination settings must be enabled for
3902
+ # the Amazon Chime Voice Connector before emergency calling can be
3903
+ # configured.
3904
+ #
3905
+ # @option params [required, String] :voice_connector_id
3906
+ # The Amazon Chime Voice Connector ID.
3907
+ #
3908
+ # @option params [required, Types::EmergencyCallingConfiguration] :emergency_calling_configuration
3909
+ # The emergency calling configuration details.
3910
+ #
3911
+ # @return [Types::PutVoiceConnectorEmergencyCallingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3912
+ #
3913
+ # * {Types::PutVoiceConnectorEmergencyCallingConfigurationResponse#emergency_calling_configuration #emergency_calling_configuration} => Types::EmergencyCallingConfiguration
3914
+ #
3915
+ # @example Request syntax with placeholder values
3916
+ #
3917
+ # resp = client.put_voice_connector_emergency_calling_configuration({
3918
+ # voice_connector_id: "NonEmptyString", # required
3919
+ # emergency_calling_configuration: { # required
3920
+ # dnis: [
3921
+ # {
3922
+ # emergency_phone_number: "E164PhoneNumber", # required
3923
+ # test_phone_number: "E164PhoneNumber",
3924
+ # calling_country: "Alpha2CountryCode", # required
3925
+ # },
3926
+ # ],
3927
+ # },
3928
+ # })
3929
+ #
3930
+ # @example Response structure
3931
+ #
3932
+ # resp.emergency_calling_configuration.dnis #=> Array
3933
+ # resp.emergency_calling_configuration.dnis[0].emergency_phone_number #=> String
3934
+ # resp.emergency_calling_configuration.dnis[0].test_phone_number #=> String
3935
+ # resp.emergency_calling_configuration.dnis[0].calling_country #=> String
3936
+ #
3937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration AWS API Documentation
3938
+ #
3939
+ # @overload put_voice_connector_emergency_calling_configuration(params = {})
3940
+ # @param [Hash] params ({})
3941
+ def put_voice_connector_emergency_calling_configuration(params = {}, options = {})
3942
+ req = build_request(:put_voice_connector_emergency_calling_configuration, params)
3943
+ req.send_request(options)
3944
+ end
3945
+
3815
3946
  # Adds a logging configuration for the specified Amazon Chime Voice
3816
3947
  # Connector. The logging configuration specifies whether SIP message
3817
3948
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -3851,6 +3982,12 @@ module Aws::Chime
3851
3982
  # Adds origination settings for the specified Amazon Chime Voice
3852
3983
  # Connector.
3853
3984
  #
3985
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
3986
+ # Connector, it must be deleted prior to turning off origination
3987
+ # settings.
3988
+ #
3989
+ # </note>
3990
+ #
3854
3991
  # @option params [required, String] :voice_connector_id
3855
3992
  # The Amazon Chime Voice Connector ID.
3856
3993
  #
@@ -3997,6 +4134,12 @@ module Aws::Chime
3997
4134
  # Adds termination settings for the specified Amazon Chime Voice
3998
4135
  # Connector.
3999
4136
  #
4137
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
4138
+ # Connector, it must be deleted prior to turning off termination
4139
+ # settings.
4140
+ #
4141
+ # </note>
4142
+ #
4000
4143
  # @option params [required, String] :voice_connector_id
4001
4144
  # The Amazon Chime Voice Connector ID.
4002
4145
  #
@@ -5101,7 +5244,7 @@ module Aws::Chime
5101
5244
  params: params,
5102
5245
  config: config)
5103
5246
  context[:gem_name] = 'aws-sdk-chime'
5104
- context[:gem_version] = '1.31.0'
5247
+ context[:gem_version] = '1.37.0'
5105
5248
  Seahorse::Client::Request.new(handlers, context)
5106
5249
  end
5107
5250
 
@@ -20,6 +20,7 @@ module Aws::Chime
20
20
  AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
21
21
  AccountType = Shapes::StringShape.new(name: 'AccountType')
22
22
  AlexaForBusinessMetadata = Shapes::StructureShape.new(name: 'AlexaForBusinessMetadata')
23
+ Alpha2CountryCode = Shapes::StringShape.new(name: 'Alpha2CountryCode')
23
24
  AreaCode = Shapes::StringShape.new(name: 'AreaCode')
24
25
  Arn = Shapes::StringShape.new(name: 'Arn')
25
26
  AssociatePhoneNumberWithUserRequest = Shapes::StructureShape.new(name: 'AssociatePhoneNumberWithUserRequest')
@@ -97,6 +98,8 @@ module Aws::Chime
97
98
  CreateVoiceConnectorResponse = Shapes::StructureShape.new(name: 'CreateVoiceConnectorResponse')
98
99
  Credential = Shapes::StructureShape.new(name: 'Credential')
99
100
  CredentialList = Shapes::ListShape.new(name: 'CredentialList')
101
+ DNISEmergencyCallingConfiguration = Shapes::StructureShape.new(name: 'DNISEmergencyCallingConfiguration')
102
+ DNISEmergencyCallingConfigurationList = Shapes::ListShape.new(name: 'DNISEmergencyCallingConfigurationList')
100
103
  DataRetentionInHours = Shapes::IntegerShape.new(name: 'DataRetentionInHours')
101
104
  DeleteAccountRequest = Shapes::StructureShape.new(name: 'DeleteAccountRequest')
102
105
  DeleteAccountResponse = Shapes::StructureShape.new(name: 'DeleteAccountResponse')
@@ -107,6 +110,7 @@ module Aws::Chime
107
110
  DeleteProxySessionRequest = Shapes::StructureShape.new(name: 'DeleteProxySessionRequest')
108
111
  DeleteRoomMembershipRequest = Shapes::StructureShape.new(name: 'DeleteRoomMembershipRequest')
109
112
  DeleteRoomRequest = Shapes::StructureShape.new(name: 'DeleteRoomRequest')
113
+ DeleteVoiceConnectorEmergencyCallingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorEmergencyCallingConfigurationRequest')
110
114
  DeleteVoiceConnectorGroupRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorGroupRequest')
111
115
  DeleteVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorOriginationRequest')
112
116
  DeleteVoiceConnectorProxyRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorProxyRequest')
@@ -126,6 +130,7 @@ module Aws::Chime
126
130
  E164PhoneNumberList = Shapes::ListShape.new(name: 'E164PhoneNumberList')
127
131
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
128
132
  EmailStatus = Shapes::StringShape.new(name: 'EmailStatus')
133
+ EmergencyCallingConfiguration = Shapes::StructureShape.new(name: 'EmergencyCallingConfiguration')
129
134
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
130
135
  EventsConfiguration = Shapes::StructureShape.new(name: 'EventsConfiguration')
131
136
  ExternalMeetingIdType = Shapes::StringShape.new(name: 'ExternalMeetingIdType')
@@ -161,6 +166,8 @@ module Aws::Chime
161
166
  GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
162
167
  GetUserSettingsRequest = Shapes::StructureShape.new(name: 'GetUserSettingsRequest')
163
168
  GetUserSettingsResponse = Shapes::StructureShape.new(name: 'GetUserSettingsResponse')
169
+ GetVoiceConnectorEmergencyCallingConfigurationRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorEmergencyCallingConfigurationRequest')
170
+ GetVoiceConnectorEmergencyCallingConfigurationResponse = Shapes::StructureShape.new(name: 'GetVoiceConnectorEmergencyCallingConfigurationResponse')
164
171
  GetVoiceConnectorGroupRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorGroupRequest')
165
172
  GetVoiceConnectorGroupResponse = Shapes::StructureShape.new(name: 'GetVoiceConnectorGroupResponse')
166
173
  GetVoiceConnectorLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetVoiceConnectorLoggingConfigurationRequest')
@@ -282,6 +289,8 @@ module Aws::Chime
282
289
  PutEventsConfigurationResponse = Shapes::StructureShape.new(name: 'PutEventsConfigurationResponse')
283
290
  PutRetentionSettingsRequest = Shapes::StructureShape.new(name: 'PutRetentionSettingsRequest')
284
291
  PutRetentionSettingsResponse = Shapes::StructureShape.new(name: 'PutRetentionSettingsResponse')
292
+ PutVoiceConnectorEmergencyCallingConfigurationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorEmergencyCallingConfigurationRequest')
293
+ PutVoiceConnectorEmergencyCallingConfigurationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorEmergencyCallingConfigurationResponse')
285
294
  PutVoiceConnectorLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationRequest')
286
295
  PutVoiceConnectorLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationResponse')
287
296
  PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
@@ -426,7 +435,7 @@ module Aws::Chime
426
435
  AssociatePhoneNumberWithUserResponse.struct_class = Types::AssociatePhoneNumberWithUserResponse
427
436
 
428
437
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.add_member(:voice_connector_group_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorGroupId"))
429
- AssociatePhoneNumbersWithVoiceConnectorGroupRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
438
+ AssociatePhoneNumbersWithVoiceConnectorGroupRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
430
439
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.add_member(:force_associate, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ForceAssociate"))
431
440
  AssociatePhoneNumbersWithVoiceConnectorGroupRequest.struct_class = Types::AssociatePhoneNumbersWithVoiceConnectorGroupRequest
432
441
 
@@ -434,7 +443,7 @@ module Aws::Chime
434
443
  AssociatePhoneNumbersWithVoiceConnectorGroupResponse.struct_class = Types::AssociatePhoneNumbersWithVoiceConnectorGroupResponse
435
444
 
436
445
  AssociatePhoneNumbersWithVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
437
- AssociatePhoneNumbersWithVoiceConnectorRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
446
+ AssociatePhoneNumbersWithVoiceConnectorRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
438
447
  AssociatePhoneNumbersWithVoiceConnectorRequest.add_member(:force_associate, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ForceAssociate"))
439
448
  AssociatePhoneNumbersWithVoiceConnectorRequest.struct_class = Types::AssociatePhoneNumbersWithVoiceConnectorRequest
440
449
 
@@ -669,6 +678,13 @@ module Aws::Chime
669
678
 
670
679
  CredentialList.member = Shapes::ShapeRef.new(shape: Credential)
671
680
 
681
+ DNISEmergencyCallingConfiguration.add_member(:emergency_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, required: true, location_name: "EmergencyPhoneNumber"))
682
+ DNISEmergencyCallingConfiguration.add_member(:test_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumber, location_name: "TestPhoneNumber"))
683
+ DNISEmergencyCallingConfiguration.add_member(:calling_country, Shapes::ShapeRef.new(shape: Alpha2CountryCode, required: true, location_name: "CallingCountry"))
684
+ DNISEmergencyCallingConfiguration.struct_class = Types::DNISEmergencyCallingConfiguration
685
+
686
+ DNISEmergencyCallingConfigurationList.member = Shapes::ShapeRef.new(shape: DNISEmergencyCallingConfiguration)
687
+
672
688
  DeleteAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
673
689
  DeleteAccountRequest.struct_class = Types::DeleteAccountRequest
674
690
 
@@ -701,6 +717,9 @@ module Aws::Chime
701
717
  DeleteRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
702
718
  DeleteRoomRequest.struct_class = Types::DeleteRoomRequest
703
719
 
720
+ DeleteVoiceConnectorEmergencyCallingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
721
+ DeleteVoiceConnectorEmergencyCallingConfigurationRequest.struct_class = Types::DeleteVoiceConnectorEmergencyCallingConfigurationRequest
722
+
704
723
  DeleteVoiceConnectorGroupRequest.add_member(:voice_connector_group_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorGroupId"))
705
724
  DeleteVoiceConnectorGroupRequest.struct_class = Types::DeleteVoiceConnectorGroupRequest
706
725
 
@@ -717,7 +736,7 @@ module Aws::Chime
717
736
  DeleteVoiceConnectorStreamingConfigurationRequest.struct_class = Types::DeleteVoiceConnectorStreamingConfigurationRequest
718
737
 
719
738
  DeleteVoiceConnectorTerminationCredentialsRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
720
- DeleteVoiceConnectorTerminationCredentialsRequest.add_member(:usernames, Shapes::ShapeRef.new(shape: SensitiveStringList, location_name: "Usernames"))
739
+ DeleteVoiceConnectorTerminationCredentialsRequest.add_member(:usernames, Shapes::ShapeRef.new(shape: SensitiveStringList, required: true, location_name: "Usernames"))
721
740
  DeleteVoiceConnectorTerminationCredentialsRequest.struct_class = Types::DeleteVoiceConnectorTerminationCredentialsRequest
722
741
 
723
742
  DeleteVoiceConnectorTerminationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
@@ -730,14 +749,14 @@ module Aws::Chime
730
749
  DisassociatePhoneNumberFromUserResponse.struct_class = Types::DisassociatePhoneNumberFromUserResponse
731
750
 
732
751
  DisassociatePhoneNumbersFromVoiceConnectorGroupRequest.add_member(:voice_connector_group_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorGroupId"))
733
- DisassociatePhoneNumbersFromVoiceConnectorGroupRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
752
+ DisassociatePhoneNumbersFromVoiceConnectorGroupRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
734
753
  DisassociatePhoneNumbersFromVoiceConnectorGroupRequest.struct_class = Types::DisassociatePhoneNumbersFromVoiceConnectorGroupRequest
735
754
 
736
755
  DisassociatePhoneNumbersFromVoiceConnectorGroupResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
737
756
  DisassociatePhoneNumbersFromVoiceConnectorGroupResponse.struct_class = Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse
738
757
 
739
758
  DisassociatePhoneNumbersFromVoiceConnectorRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
740
- DisassociatePhoneNumbersFromVoiceConnectorRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, location_name: "E164PhoneNumbers"))
759
+ DisassociatePhoneNumbersFromVoiceConnectorRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
741
760
  DisassociatePhoneNumbersFromVoiceConnectorRequest.struct_class = Types::DisassociatePhoneNumbersFromVoiceConnectorRequest
742
761
 
743
762
  DisassociatePhoneNumbersFromVoiceConnectorResponse.add_member(:phone_number_errors, Shapes::ShapeRef.new(shape: PhoneNumberErrorList, location_name: "PhoneNumberErrors"))
@@ -751,6 +770,9 @@ module Aws::Chime
751
770
 
752
771
  E164PhoneNumberList.member = Shapes::ShapeRef.new(shape: E164PhoneNumber)
753
772
 
773
+ EmergencyCallingConfiguration.add_member(:dnis, Shapes::ShapeRef.new(shape: DNISEmergencyCallingConfigurationList, location_name: "DNIS"))
774
+ EmergencyCallingConfiguration.struct_class = Types::EmergencyCallingConfiguration
775
+
754
776
  EventsConfiguration.add_member(:bot_id, Shapes::ShapeRef.new(shape: String, location_name: "BotId"))
755
777
  EventsConfiguration.add_member(:outbound_events_https_endpoint, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "OutboundEventsHTTPSEndpoint"))
756
778
  EventsConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "LambdaFunctionArn"))
@@ -858,6 +880,12 @@ module Aws::Chime
858
880
  GetUserSettingsResponse.add_member(:user_settings, Shapes::ShapeRef.new(shape: UserSettings, location_name: "UserSettings"))
859
881
  GetUserSettingsResponse.struct_class = Types::GetUserSettingsResponse
860
882
 
883
+ GetVoiceConnectorEmergencyCallingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
884
+ GetVoiceConnectorEmergencyCallingConfigurationRequest.struct_class = Types::GetVoiceConnectorEmergencyCallingConfigurationRequest
885
+
886
+ GetVoiceConnectorEmergencyCallingConfigurationResponse.add_member(:emergency_calling_configuration, Shapes::ShapeRef.new(shape: EmergencyCallingConfiguration, location_name: "EmergencyCallingConfiguration"))
887
+ GetVoiceConnectorEmergencyCallingConfigurationResponse.struct_class = Types::GetVoiceConnectorEmergencyCallingConfigurationResponse
888
+
861
889
  GetVoiceConnectorGroupRequest.add_member(:voice_connector_group_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorGroupId"))
862
890
  GetVoiceConnectorGroupRequest.struct_class = Types::GetVoiceConnectorGroupRequest
863
891
 
@@ -1237,6 +1265,13 @@ module Aws::Chime
1237
1265
  PutRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
1238
1266
  PutRetentionSettingsResponse.struct_class = Types::PutRetentionSettingsResponse
1239
1267
 
1268
+ PutVoiceConnectorEmergencyCallingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
1269
+ PutVoiceConnectorEmergencyCallingConfigurationRequest.add_member(:emergency_calling_configuration, Shapes::ShapeRef.new(shape: EmergencyCallingConfiguration, required: true, location_name: "EmergencyCallingConfiguration"))
1270
+ PutVoiceConnectorEmergencyCallingConfigurationRequest.struct_class = Types::PutVoiceConnectorEmergencyCallingConfigurationRequest
1271
+
1272
+ PutVoiceConnectorEmergencyCallingConfigurationResponse.add_member(:emergency_calling_configuration, Shapes::ShapeRef.new(shape: EmergencyCallingConfiguration, location_name: "EmergencyCallingConfiguration"))
1273
+ PutVoiceConnectorEmergencyCallingConfigurationResponse.struct_class = Types::PutVoiceConnectorEmergencyCallingConfigurationResponse
1274
+
1240
1275
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
1241
1276
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, required: true, location_name: "LoggingConfiguration"))
1242
1277
  PutVoiceConnectorLoggingConfigurationRequest.struct_class = Types::PutVoiceConnectorLoggingConfigurationRequest
@@ -2122,6 +2157,21 @@ module Aws::Chime
2122
2157
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2123
2158
  end)
2124
2159
 
2160
+ api.add_operation(:delete_voice_connector_emergency_calling_configuration, Seahorse::Model::Operation.new.tap do |o|
2161
+ o.name = "DeleteVoiceConnectorEmergencyCallingConfiguration"
2162
+ o.http_method = "DELETE"
2163
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration"
2164
+ o.input = Shapes::ShapeRef.new(shape: DeleteVoiceConnectorEmergencyCallingConfigurationRequest)
2165
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2166
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2167
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2169
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2170
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
2171
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2172
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2173
+ end)
2174
+
2125
2175
  api.add_operation(:delete_voice_connector_group, Seahorse::Model::Operation.new.tap do |o|
2126
2176
  o.name = "DeleteVoiceConnectorGroup"
2127
2177
  o.http_method = "DELETE"
@@ -2511,6 +2561,21 @@ module Aws::Chime
2511
2561
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2512
2562
  end)
2513
2563
 
2564
+ api.add_operation(:get_voice_connector_emergency_calling_configuration, Seahorse::Model::Operation.new.tap do |o|
2565
+ o.name = "GetVoiceConnectorEmergencyCallingConfiguration"
2566
+ o.http_method = "GET"
2567
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration"
2568
+ o.input = Shapes::ShapeRef.new(shape: GetVoiceConnectorEmergencyCallingConfigurationRequest)
2569
+ o.output = Shapes::ShapeRef.new(shape: GetVoiceConnectorEmergencyCallingConfigurationResponse)
2570
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2571
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2572
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2573
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2574
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
2575
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2576
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2577
+ end)
2578
+
2514
2579
  api.add_operation(:get_voice_connector_group, Seahorse::Model::Operation.new.tap do |o|
2515
2580
  o.name = "GetVoiceConnectorGroup"
2516
2581
  o.http_method = "GET"
@@ -2983,6 +3048,21 @@ module Aws::Chime
2983
3048
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2984
3049
  end)
2985
3050
 
3051
+ api.add_operation(:put_voice_connector_emergency_calling_configuration, Seahorse::Model::Operation.new.tap do |o|
3052
+ o.name = "PutVoiceConnectorEmergencyCallingConfiguration"
3053
+ o.http_method = "PUT"
3054
+ o.http_request_uri = "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration"
3055
+ o.input = Shapes::ShapeRef.new(shape: PutVoiceConnectorEmergencyCallingConfigurationRequest)
3056
+ o.output = Shapes::ShapeRef.new(shape: PutVoiceConnectorEmergencyCallingConfigurationResponse)
3057
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
3058
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3059
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
3060
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3061
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
3062
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3063
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
3064
+ end)
3065
+
2986
3066
  api.add_operation(:put_voice_connector_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
2987
3067
  o.name = "PutVoiceConnectorLoggingConfiguration"
2988
3068
  o.http_method = "PUT"
@@ -193,7 +193,7 @@ module Aws::Chime
193
193
  #
194
194
  # {
195
195
  # voice_connector_group_id: "NonEmptyString", # required
196
- # e164_phone_numbers: ["E164PhoneNumber"],
196
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
197
197
  # force_associate: false,
198
198
  # }
199
199
  #
@@ -241,7 +241,7 @@ module Aws::Chime
241
241
  #
242
242
  # {
243
243
  # voice_connector_id: "NonEmptyString", # required
244
- # e164_phone_numbers: ["E164PhoneNumber"],
244
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
245
245
  # force_associate: false,
246
246
  # }
247
247
  #
@@ -1013,10 +1013,11 @@ module Aws::Chime
1013
1013
  # @!attribute [rw] media_region
1014
1014
  # The Region in which to create the meeting. Default: `us-east-1`.
1015
1015
  #
1016
- # Available values: `ap-northeast-1`, `ap-southeast-1`,
1017
- # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1018
- # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1019
- # `us-east-2`, `us-west-1`, `us-west-2`.
1016
+ # Available values: `af-south-1`, `ap-northeast-1`, `ap-northeast-2`,
1017
+ # `ap-south-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
1018
+ # `eu-central-1`, `eu-north-1`, `eu-south-1`, `eu-west-1`,
1019
+ # `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`, `us-east-2`,
1020
+ # `us-west-1`, `us-west-2`.
1020
1021
  # @return [String]
1021
1022
  #
1022
1023
  # @!attribute [rw] tags
@@ -1104,10 +1105,11 @@ module Aws::Chime
1104
1105
  # @!attribute [rw] media_region
1105
1106
  # The Region in which to create the meeting. Default: `us-east-1`.
1106
1107
  #
1107
- # Available values: `ap-northeast-1`, `ap-southeast-1`,
1108
- # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1109
- # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1110
- # `us-east-2`, `us-west-1`, `us-west-2`.
1108
+ # Available values: `af-south-1`, `ap-northeast-1`, `ap-northeast-2`,
1109
+ # `ap-south-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
1110
+ # `eu-central-1`, `eu-north-1`, `eu-south-1`, `eu-west-1`,
1111
+ # `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`, `us-east-2`,
1112
+ # `us-west-1`, `us-west-2`.
1111
1113
  # @return [String]
1112
1114
  #
1113
1115
  # @!attribute [rw] tags
@@ -1539,6 +1541,43 @@ module Aws::Chime
1539
1541
  include Aws::Structure
1540
1542
  end
1541
1543
 
1544
+ # The Dialed Number Identification Service (DNIS) emergency calling
1545
+ # configuration details associated with an Amazon Chime Voice
1546
+ # Connector's emergency calling configuration.
1547
+ #
1548
+ # @note When making an API call, you may pass DNISEmergencyCallingConfiguration
1549
+ # data as a hash:
1550
+ #
1551
+ # {
1552
+ # emergency_phone_number: "E164PhoneNumber", # required
1553
+ # test_phone_number: "E164PhoneNumber",
1554
+ # calling_country: "Alpha2CountryCode", # required
1555
+ # }
1556
+ #
1557
+ # @!attribute [rw] emergency_phone_number
1558
+ # The DNIS phone number to route emergency calls to, in E.164 format.
1559
+ # @return [String]
1560
+ #
1561
+ # @!attribute [rw] test_phone_number
1562
+ # The DNIS phone number to route test emergency calls to, in E.164
1563
+ # format.
1564
+ # @return [String]
1565
+ #
1566
+ # @!attribute [rw] calling_country
1567
+ # The country from which emergency calls are allowed, in ISO 3166-1
1568
+ # alpha-2 format.
1569
+ # @return [String]
1570
+ #
1571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DNISEmergencyCallingConfiguration AWS API Documentation
1572
+ #
1573
+ class DNISEmergencyCallingConfiguration < Struct.new(
1574
+ :emergency_phone_number,
1575
+ :test_phone_number,
1576
+ :calling_country)
1577
+ SENSITIVE = [:emergency_phone_number, :test_phone_number]
1578
+ include Aws::Structure
1579
+ end
1580
+
1542
1581
  # @note When making an API call, you may pass DeleteAccountRequest
1543
1582
  # data as a hash:
1544
1583
  #
@@ -1731,6 +1770,25 @@ module Aws::Chime
1731
1770
  include Aws::Structure
1732
1771
  end
1733
1772
 
1773
+ # @note When making an API call, you may pass DeleteVoiceConnectorEmergencyCallingConfigurationRequest
1774
+ # data as a hash:
1775
+ #
1776
+ # {
1777
+ # voice_connector_id: "NonEmptyString", # required
1778
+ # }
1779
+ #
1780
+ # @!attribute [rw] voice_connector_id
1781
+ # The Amazon Chime Voice Connector ID.
1782
+ # @return [String]
1783
+ #
1784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfigurationRequest AWS API Documentation
1785
+ #
1786
+ class DeleteVoiceConnectorEmergencyCallingConfigurationRequest < Struct.new(
1787
+ :voice_connector_id)
1788
+ SENSITIVE = []
1789
+ include Aws::Structure
1790
+ end
1791
+
1734
1792
  # @note When making an API call, you may pass DeleteVoiceConnectorGroupRequest
1735
1793
  # data as a hash:
1736
1794
  #
@@ -1831,7 +1889,7 @@ module Aws::Chime
1831
1889
  #
1832
1890
  # {
1833
1891
  # voice_connector_id: "NonEmptyString", # required
1834
- # usernames: ["SensitiveString"],
1892
+ # usernames: ["SensitiveString"], # required
1835
1893
  # }
1836
1894
  #
1837
1895
  # @!attribute [rw] voice_connector_id
@@ -1905,7 +1963,7 @@ module Aws::Chime
1905
1963
  #
1906
1964
  # {
1907
1965
  # voice_connector_group_id: "NonEmptyString", # required
1908
- # e164_phone_numbers: ["E164PhoneNumber"],
1966
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1909
1967
  # }
1910
1968
  #
1911
1969
  # @!attribute [rw] voice_connector_group_id
@@ -1944,7 +2002,7 @@ module Aws::Chime
1944
2002
  #
1945
2003
  # {
1946
2004
  # voice_connector_id: "NonEmptyString", # required
1947
- # e164_phone_numbers: ["E164PhoneNumber"],
2005
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1948
2006
  # }
1949
2007
  #
1950
2008
  # @!attribute [rw] voice_connector_id
@@ -2007,6 +2065,35 @@ module Aws::Chime
2007
2065
  #
2008
2066
  class DisassociateSigninDelegateGroupsFromAccountResponse < Aws::EmptyStructure; end
2009
2067
 
2068
+ # The emergency calling configuration details associated with an Amazon
2069
+ # Chime Voice Connector.
2070
+ #
2071
+ # @note When making an API call, you may pass EmergencyCallingConfiguration
2072
+ # data as a hash:
2073
+ #
2074
+ # {
2075
+ # dnis: [
2076
+ # {
2077
+ # emergency_phone_number: "E164PhoneNumber", # required
2078
+ # test_phone_number: "E164PhoneNumber",
2079
+ # calling_country: "Alpha2CountryCode", # required
2080
+ # },
2081
+ # ],
2082
+ # }
2083
+ #
2084
+ # @!attribute [rw] dnis
2085
+ # The Dialed Number Identification Service (DNIS) emergency calling
2086
+ # configuration details.
2087
+ # @return [Array<Types::DNISEmergencyCallingConfiguration>]
2088
+ #
2089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/EmergencyCallingConfiguration AWS API Documentation
2090
+ #
2091
+ class EmergencyCallingConfiguration < Struct.new(
2092
+ :dnis)
2093
+ SENSITIVE = []
2094
+ include Aws::Structure
2095
+ end
2096
+
2010
2097
  # The configuration that allows a bot to receive outgoing events. Can be
2011
2098
  # either an HTTPS endpoint or a Lambda function ARN.
2012
2099
  #
@@ -2564,6 +2651,37 @@ module Aws::Chime
2564
2651
  include Aws::Structure
2565
2652
  end
2566
2653
 
2654
+ # @note When making an API call, you may pass GetVoiceConnectorEmergencyCallingConfigurationRequest
2655
+ # data as a hash:
2656
+ #
2657
+ # {
2658
+ # voice_connector_id: "NonEmptyString", # required
2659
+ # }
2660
+ #
2661
+ # @!attribute [rw] voice_connector_id
2662
+ # The Amazon Chime Voice Connector ID.
2663
+ # @return [String]
2664
+ #
2665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfigurationRequest AWS API Documentation
2666
+ #
2667
+ class GetVoiceConnectorEmergencyCallingConfigurationRequest < Struct.new(
2668
+ :voice_connector_id)
2669
+ SENSITIVE = []
2670
+ include Aws::Structure
2671
+ end
2672
+
2673
+ # @!attribute [rw] emergency_calling_configuration
2674
+ # The emergency calling configuration details.
2675
+ # @return [Types::EmergencyCallingConfiguration]
2676
+ #
2677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfigurationResponse AWS API Documentation
2678
+ #
2679
+ class GetVoiceConnectorEmergencyCallingConfigurationResponse < Struct.new(
2680
+ :emergency_calling_configuration)
2681
+ SENSITIVE = []
2682
+ include Aws::Structure
2683
+ end
2684
+
2567
2685
  # @note When making an API call, you may pass GetVoiceConnectorGroupRequest
2568
2686
  # data as a hash:
2569
2687
  #
@@ -3738,10 +3856,10 @@ module Aws::Chime
3738
3856
  #
3739
3857
  # @!attribute [rw] media_region
3740
3858
  # The Region in which to create the meeting. Available values:
3741
- # `ap-northeast-1`, `ap-southeast-1`, `ap-southeast-2`,
3742
- # `ca-central-1`, `eu-central-1`, `eu-north-1`, `eu-west-1`,
3743
- # `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`, `us-east-2`,
3744
- # `us-west-1`, `us-west-2`.
3859
+ # `af-south-1`, `ap-northeast-1`, `ap-northeast-2`, `ap-south-1`,
3860
+ # `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`, `eu-central-1`,
3861
+ # `eu-north-1`, `eu-south-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`,
3862
+ # `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`.
3745
3863
  # @return [String]
3746
3864
  #
3747
3865
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Meeting AWS API Documentation
@@ -4432,6 +4550,51 @@ module Aws::Chime
4432
4550
  include Aws::Structure
4433
4551
  end
4434
4552
 
4553
+ # @note When making an API call, you may pass PutVoiceConnectorEmergencyCallingConfigurationRequest
4554
+ # data as a hash:
4555
+ #
4556
+ # {
4557
+ # voice_connector_id: "NonEmptyString", # required
4558
+ # emergency_calling_configuration: { # required
4559
+ # dnis: [
4560
+ # {
4561
+ # emergency_phone_number: "E164PhoneNumber", # required
4562
+ # test_phone_number: "E164PhoneNumber",
4563
+ # calling_country: "Alpha2CountryCode", # required
4564
+ # },
4565
+ # ],
4566
+ # },
4567
+ # }
4568
+ #
4569
+ # @!attribute [rw] voice_connector_id
4570
+ # The Amazon Chime Voice Connector ID.
4571
+ # @return [String]
4572
+ #
4573
+ # @!attribute [rw] emergency_calling_configuration
4574
+ # The emergency calling configuration details.
4575
+ # @return [Types::EmergencyCallingConfiguration]
4576
+ #
4577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfigurationRequest AWS API Documentation
4578
+ #
4579
+ class PutVoiceConnectorEmergencyCallingConfigurationRequest < Struct.new(
4580
+ :voice_connector_id,
4581
+ :emergency_calling_configuration)
4582
+ SENSITIVE = []
4583
+ include Aws::Structure
4584
+ end
4585
+
4586
+ # @!attribute [rw] emergency_calling_configuration
4587
+ # The emergency calling configuration details.
4588
+ # @return [Types::EmergencyCallingConfiguration]
4589
+ #
4590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfigurationResponse AWS API Documentation
4591
+ #
4592
+ class PutVoiceConnectorEmergencyCallingConfigurationResponse < Struct.new(
4593
+ :emergency_calling_configuration)
4594
+ SENSITIVE = []
4595
+ include Aws::Structure
4596
+ end
4597
+
4435
4598
  # @note When making an API call, you may pass PutVoiceConnectorLoggingConfigurationRequest
4436
4599
  # data as a hash:
4437
4600
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-chime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement