aws-sdk-chime 1.30.0 → 1.36.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: f226b7c38a902a3a1c379f40e2284c17419e5fd714e645c4b56b231b152b47b7
4
- data.tar.gz: '08b0817f9d56273edd549d6df8634208fa82b8bc06c577baaddd955bc195d9c8'
3
+ metadata.gz: d4640bb2ed73869bd81224b71ad62452f292fd8281502a84e7e803794e3eb4a5
4
+ data.tar.gz: 4fd5c90ef5b82eca3d6ccd9d276db18ffce8e1a9a7607d595c966ad084d90090
5
5
  SHA512:
6
- metadata.gz: 38e68ff614aa292b5f49dc16f9b75339ccf35f45fea9290d8a6a6fd5664e0dd9dc686329346c099cb1dbba8f1418853f78835d685f6fe60e2c62966a7814b820
7
- data.tar.gz: bb52e6557a15a669c2ea30794f8e9c68206311c476ebe2a232d2bca59135a8bc2bdc9101ed05ab483c7c1d7f53863ffbedf1d527d13e922204b59fd35578e16d
6
+ metadata.gz: f78bae4d708ebdc7651b45d2d9a9a07efd0bdca58ddd5a0c7858fe6fe94af69fac15c0df32ff12c0f6d7bf37f1372a56c2f469efaeb77bb3592b3eb5c718c205
7
+ data.tar.gz: 192d2e59e6072156dbb32cbd9fe680989e422121c4187bf294734910ae18b5afd97411a47ed3143adb8302e3eba04508521c320f6f2124633288f2ea1168265f
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-chime/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::Chime
47
50
 
48
- GEM_VERSION = '1.30.0'
51
+ GEM_VERSION = '1.36.0'
49
52
 
50
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -83,13 +85,28 @@ module Aws::Chime
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
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
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::Chime
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # 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.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -346,7 +363,7 @@ module Aws::Chime
346
363
  # @option params [required, String] :voice_connector_id
347
364
  # The Amazon Chime Voice Connector ID.
348
365
  #
349
- # @option params [Array<String>] :e164_phone_numbers
366
+ # @option params [required, Array<String>] :e164_phone_numbers
350
367
  # List of phone numbers, in E.164 format.
351
368
  #
352
369
  # @option params [Boolean] :force_associate
@@ -363,7 +380,7 @@ module Aws::Chime
363
380
  #
364
381
  # resp = client.associate_phone_numbers_with_voice_connector({
365
382
  # voice_connector_id: "NonEmptyString", # required
366
- # e164_phone_numbers: ["E164PhoneNumber"],
383
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
367
384
  # force_associate: false,
368
385
  # })
369
386
  #
@@ -371,7 +388,7 @@ module Aws::Chime
371
388
  #
372
389
  # resp.phone_number_errors #=> Array
373
390
  # resp.phone_number_errors[0].phone_number_id #=> String
374
- # 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"
375
392
  # resp.phone_number_errors[0].error_message #=> String
376
393
  #
377
394
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector AWS API Documentation
@@ -389,7 +406,7 @@ module Aws::Chime
389
406
  # @option params [required, String] :voice_connector_group_id
390
407
  # The Amazon Chime Voice Connector group ID.
391
408
  #
392
- # @option params [Array<String>] :e164_phone_numbers
409
+ # @option params [required, Array<String>] :e164_phone_numbers
393
410
  # List of phone numbers, in E.164 format.
394
411
  #
395
412
  # @option params [Boolean] :force_associate
@@ -406,7 +423,7 @@ module Aws::Chime
406
423
  #
407
424
  # resp = client.associate_phone_numbers_with_voice_connector_group({
408
425
  # voice_connector_group_id: "NonEmptyString", # required
409
- # e164_phone_numbers: ["E164PhoneNumber"],
426
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
410
427
  # force_associate: false,
411
428
  # })
412
429
  #
@@ -414,7 +431,7 @@ module Aws::Chime
414
431
  #
415
432
  # resp.phone_number_errors #=> Array
416
433
  # resp.phone_number_errors[0].phone_number_id #=> String
417
- # 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"
418
435
  # resp.phone_number_errors[0].error_message #=> String
419
436
  #
420
437
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup AWS API Documentation
@@ -548,7 +565,7 @@ module Aws::Chime
548
565
  #
549
566
  # resp.errors #=> Array
550
567
  # resp.errors[0].member_id #=> String
551
- # 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"
552
569
  # resp.errors[0].error_message #=> String
553
570
  #
554
571
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership AWS API Documentation
@@ -584,7 +601,7 @@ module Aws::Chime
584
601
  #
585
602
  # resp.phone_number_errors #=> Array
586
603
  # resp.phone_number_errors[0].phone_number_id #=> String
587
- # 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"
588
605
  # resp.phone_number_errors[0].error_message #=> String
589
606
  #
590
607
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber AWS API Documentation
@@ -639,7 +656,7 @@ module Aws::Chime
639
656
  #
640
657
  # resp.user_errors #=> Array
641
658
  # resp.user_errors[0].user_id #=> String
642
- # 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"
643
660
  # resp.user_errors[0].error_message #=> String
644
661
  #
645
662
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser AWS API Documentation
@@ -686,7 +703,7 @@ module Aws::Chime
686
703
  #
687
704
  # resp.user_errors #=> Array
688
705
  # resp.user_errors[0].user_id #=> String
689
- # 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"
690
707
  # resp.user_errors[0].error_message #=> String
691
708
  #
692
709
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser AWS API Documentation
@@ -734,7 +751,7 @@ module Aws::Chime
734
751
  #
735
752
  # resp.phone_number_errors #=> Array
736
753
  # resp.phone_number_errors[0].phone_number_id #=> String
737
- # 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"
738
755
  # resp.phone_number_errors[0].error_message #=> String
739
756
  #
740
757
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber AWS API Documentation
@@ -781,7 +798,7 @@ module Aws::Chime
781
798
  #
782
799
  # resp.user_errors #=> Array
783
800
  # resp.user_errors[0].user_id #=> String
784
- # 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"
785
802
  # resp.user_errors[0].error_message #=> String
786
803
  #
787
804
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser AWS API Documentation
@@ -959,10 +976,11 @@ module Aws::Chime
959
976
  # @option params [String] :media_region
960
977
  # The Region in which to create the meeting. Default: `us-east-1`.
961
978
  #
962
- # Available values: `ap-northeast-1`, `ap-southeast-1`,
963
- # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
964
- # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
965
- # `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`.
966
984
  #
967
985
  # @option params [Array<Types::Tag>] :tags
968
986
  # The tag key-value pairs.
@@ -1043,10 +1061,11 @@ module Aws::Chime
1043
1061
  # @option params [String] :media_region
1044
1062
  # The Region in which to create the meeting. Default: `us-east-1`.
1045
1063
  #
1046
- # Available values: `ap-northeast-1`, `ap-southeast-1`,
1047
- # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1048
- # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1049
- # `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`.
1050
1069
  #
1051
1070
  # @option params [Array<Types::Tag>] :tags
1052
1071
  # The tag key-value pairs.
@@ -1755,6 +1774,29 @@ module Aws::Chime
1755
1774
  req.send_request(options)
1756
1775
  end
1757
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
+
1758
1800
  # Deletes the specified Amazon Chime Voice Connector group. Any
1759
1801
  # `VoiceConnectorItems` and phone numbers associated with the group must
1760
1802
  # be removed before it can be deleted.
@@ -1782,6 +1824,12 @@ module Aws::Chime
1782
1824
  # Deletes the origination settings for the specified Amazon Chime Voice
1783
1825
  # Connector.
1784
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
+ #
1785
1833
  # @option params [required, String] :voice_connector_id
1786
1834
  # The Amazon Chime Voice Connector ID.
1787
1835
  #
@@ -1851,6 +1899,12 @@ module Aws::Chime
1851
1899
  # Deletes the termination settings for the specified Amazon Chime Voice
1852
1900
  # Connector.
1853
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
+ #
1854
1908
  # @option params [required, String] :voice_connector_id
1855
1909
  # The Amazon Chime Voice Connector ID.
1856
1910
  #
@@ -1877,7 +1931,7 @@ module Aws::Chime
1877
1931
  # @option params [required, String] :voice_connector_id
1878
1932
  # The Amazon Chime Voice Connector ID.
1879
1933
  #
1880
- # @option params [Array<String>] :usernames
1934
+ # @option params [required, Array<String>] :usernames
1881
1935
  # The RFC2617 compliant username associated with the SIP credentials, in
1882
1936
  # US-ASCII format.
1883
1937
  #
@@ -1887,7 +1941,7 @@ module Aws::Chime
1887
1941
  #
1888
1942
  # resp = client.delete_voice_connector_termination_credentials({
1889
1943
  # voice_connector_id: "NonEmptyString", # required
1890
- # usernames: ["SensitiveString"],
1944
+ # usernames: ["SensitiveString"], # required
1891
1945
  # })
1892
1946
  #
1893
1947
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials AWS API Documentation
@@ -1932,7 +1986,7 @@ module Aws::Chime
1932
1986
  # @option params [required, String] :voice_connector_id
1933
1987
  # The Amazon Chime Voice Connector ID.
1934
1988
  #
1935
- # @option params [Array<String>] :e164_phone_numbers
1989
+ # @option params [required, Array<String>] :e164_phone_numbers
1936
1990
  # List of phone numbers, in E.164 format.
1937
1991
  #
1938
1992
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1943,14 +1997,14 @@ module Aws::Chime
1943
1997
  #
1944
1998
  # resp = client.disassociate_phone_numbers_from_voice_connector({
1945
1999
  # voice_connector_id: "NonEmptyString", # required
1946
- # e164_phone_numbers: ["E164PhoneNumber"],
2000
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1947
2001
  # })
1948
2002
  #
1949
2003
  # @example Response structure
1950
2004
  #
1951
2005
  # resp.phone_number_errors #=> Array
1952
2006
  # resp.phone_number_errors[0].phone_number_id #=> String
1953
- # 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"
1954
2008
  # resp.phone_number_errors[0].error_message #=> String
1955
2009
  #
1956
2010
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector AWS API Documentation
@@ -1968,7 +2022,7 @@ module Aws::Chime
1968
2022
  # @option params [required, String] :voice_connector_group_id
1969
2023
  # The Amazon Chime Voice Connector group ID.
1970
2024
  #
1971
- # @option params [Array<String>] :e164_phone_numbers
2025
+ # @option params [required, Array<String>] :e164_phone_numbers
1972
2026
  # List of phone numbers, in E.164 format.
1973
2027
  #
1974
2028
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1979,14 +2033,14 @@ module Aws::Chime
1979
2033
  #
1980
2034
  # resp = client.disassociate_phone_numbers_from_voice_connector_group({
1981
2035
  # voice_connector_group_id: "NonEmptyString", # required
1982
- # e164_phone_numbers: ["E164PhoneNumber"],
2036
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1983
2037
  # })
1984
2038
  #
1985
2039
  # @example Response structure
1986
2040
  #
1987
2041
  # resp.phone_number_errors #=> Array
1988
2042
  # resp.phone_number_errors[0].phone_number_id #=> String
1989
- # 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"
1990
2044
  # resp.phone_number_errors[0].error_message #=> String
1991
2045
  #
1992
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup AWS API Documentation
@@ -2632,6 +2686,38 @@ module Aws::Chime
2632
2686
  req.send_request(options)
2633
2687
  end
2634
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
+
2635
2721
  # Retrieves details for the specified Amazon Chime Voice Connector
2636
2722
  # group, such as timestamps, name, and associated `VoiceConnectorItems`.
2637
2723
  #
@@ -3810,6 +3896,53 @@ module Aws::Chime
3810
3896
  req.send_request(options)
3811
3897
  end
3812
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
+
3813
3946
  # Adds a logging configuration for the specified Amazon Chime Voice
3814
3947
  # Connector. The logging configuration specifies whether SIP message
3815
3948
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -3849,6 +3982,12 @@ module Aws::Chime
3849
3982
  # Adds origination settings for the specified Amazon Chime Voice
3850
3983
  # Connector.
3851
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
+ #
3852
3991
  # @option params [required, String] :voice_connector_id
3853
3992
  # The Amazon Chime Voice Connector ID.
3854
3993
  #
@@ -3995,6 +4134,12 @@ module Aws::Chime
3995
4134
  # Adds termination settings for the specified Amazon Chime Voice
3996
4135
  # Connector.
3997
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
+ #
3998
4143
  # @option params [required, String] :voice_connector_id
3999
4144
  # The Amazon Chime Voice Connector ID.
4000
4145
  #
@@ -5099,7 +5244,7 @@ module Aws::Chime
5099
5244
  params: params,
5100
5245
  config: config)
5101
5246
  context[:gem_name] = 'aws-sdk-chime'
5102
- context[:gem_version] = '1.30.0'
5247
+ context[:gem_version] = '1.36.0'
5103
5248
  Seahorse::Client::Request.new(handlers, context)
5104
5249
  end
5105
5250