aws-sdk-chime 1.28.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d755b9e752197b0e834b0e18ee1516b9b745abc6a555972b7681be38504f62b5
4
- data.tar.gz: e02131e3790871859ac2aa09c895ea95c4a25199ea42cba1de6d5b47c7f70665
3
+ metadata.gz: 848a44328321d582ad4e569bd0962f0378b82b2929736b378e34eefed0dc146d
4
+ data.tar.gz: 269673d4b03d4617e7b53c50c23125b2389c8b16f1462992e4b44f75b76ef50d
5
5
  SHA512:
6
- metadata.gz: 9999741ed9765da58507cae790838b95d0737465a2d63967b11b6f7075398f48795dcf68292030387707befa2dcc9cf880957da426287c2769396ab1d8bd2192
7
- data.tar.gz: 162b95a384cf71995d2f1ad19e6406e9a6d8a01d42bfe4c84cb52b59a3bff20846635f1a4a84362de5f712a0b9f976678343399fcf3f7319224d116a1079c7ca
6
+ metadata.gz: 3083fae8b0e654d1c6706a8f4ba25242773e1abe784e4c01bfda62e72b6cf6753c4f9b7d7726754712e258a55658dcc6e25d3cdc1a8928c9af15f6bd80a3f4ad
7
+ data.tar.gz: 96a614694ff1932436dd32928e5be4e5798f2b3add03927ba9f91ea4d83db8a0ed2abc54069c3927eceb602e9c700d072d7497afa75c435a531183f5df6b870d
@@ -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:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-chime/customizations'
45
47
  # @service
46
48
  module Aws::Chime
47
49
 
48
- GEM_VERSION = '1.28.0'
50
+ GEM_VERSION = '1.33.0'
49
51
 
50
52
  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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Chime
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -161,7 +165,7 @@ module Aws::Chime
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -344,7 +348,7 @@ module Aws::Chime
344
348
  # @option params [required, String] :voice_connector_id
345
349
  # The Amazon Chime Voice Connector ID.
346
350
  #
347
- # @option params [Array<String>] :e164_phone_numbers
351
+ # @option params [required, Array<String>] :e164_phone_numbers
348
352
  # List of phone numbers, in E.164 format.
349
353
  #
350
354
  # @option params [Boolean] :force_associate
@@ -361,7 +365,7 @@ module Aws::Chime
361
365
  #
362
366
  # resp = client.associate_phone_numbers_with_voice_connector({
363
367
  # voice_connector_id: "NonEmptyString", # required
364
- # e164_phone_numbers: ["E164PhoneNumber"],
368
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
365
369
  # force_associate: false,
366
370
  # })
367
371
  #
@@ -369,7 +373,7 @@ module Aws::Chime
369
373
  #
370
374
  # resp.phone_number_errors #=> Array
371
375
  # resp.phone_number_errors[0].phone_number_id #=> String
372
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
376
+ # 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"
373
377
  # resp.phone_number_errors[0].error_message #=> String
374
378
  #
375
379
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector AWS API Documentation
@@ -387,7 +391,7 @@ module Aws::Chime
387
391
  # @option params [required, String] :voice_connector_group_id
388
392
  # The Amazon Chime Voice Connector group ID.
389
393
  #
390
- # @option params [Array<String>] :e164_phone_numbers
394
+ # @option params [required, Array<String>] :e164_phone_numbers
391
395
  # List of phone numbers, in E.164 format.
392
396
  #
393
397
  # @option params [Boolean] :force_associate
@@ -404,7 +408,7 @@ module Aws::Chime
404
408
  #
405
409
  # resp = client.associate_phone_numbers_with_voice_connector_group({
406
410
  # voice_connector_group_id: "NonEmptyString", # required
407
- # e164_phone_numbers: ["E164PhoneNumber"],
411
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
408
412
  # force_associate: false,
409
413
  # })
410
414
  #
@@ -412,7 +416,7 @@ module Aws::Chime
412
416
  #
413
417
  # resp.phone_number_errors #=> Array
414
418
  # resp.phone_number_errors[0].phone_number_id #=> String
415
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
419
+ # 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"
416
420
  # resp.phone_number_errors[0].error_message #=> String
417
421
  #
418
422
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup AWS API Documentation
@@ -546,7 +550,7 @@ module Aws::Chime
546
550
  #
547
551
  # resp.errors #=> Array
548
552
  # resp.errors[0].member_id #=> String
549
- # resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
553
+ # resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
550
554
  # resp.errors[0].error_message #=> String
551
555
  #
552
556
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership AWS API Documentation
@@ -582,7 +586,7 @@ module Aws::Chime
582
586
  #
583
587
  # resp.phone_number_errors #=> Array
584
588
  # resp.phone_number_errors[0].phone_number_id #=> String
585
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
589
+ # 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"
586
590
  # resp.phone_number_errors[0].error_message #=> String
587
591
  #
588
592
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber AWS API Documentation
@@ -637,7 +641,7 @@ module Aws::Chime
637
641
  #
638
642
  # resp.user_errors #=> Array
639
643
  # resp.user_errors[0].user_id #=> String
640
- # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
644
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
641
645
  # resp.user_errors[0].error_message #=> String
642
646
  #
643
647
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser AWS API Documentation
@@ -684,7 +688,7 @@ module Aws::Chime
684
688
  #
685
689
  # resp.user_errors #=> Array
686
690
  # resp.user_errors[0].user_id #=> String
687
- # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
691
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
688
692
  # resp.user_errors[0].error_message #=> String
689
693
  #
690
694
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser AWS API Documentation
@@ -732,7 +736,7 @@ module Aws::Chime
732
736
  #
733
737
  # resp.phone_number_errors #=> Array
734
738
  # resp.phone_number_errors[0].phone_number_id #=> String
735
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
739
+ # 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"
736
740
  # resp.phone_number_errors[0].error_message #=> String
737
741
  #
738
742
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber AWS API Documentation
@@ -779,7 +783,7 @@ module Aws::Chime
779
783
  #
780
784
  # resp.user_errors #=> Array
781
785
  # resp.user_errors[0].user_id #=> String
782
- # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
786
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
783
787
  # resp.user_errors[0].error_message #=> String
784
788
  #
785
789
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser AWS API Documentation
@@ -931,13 +935,15 @@ module Aws::Chime
931
935
  end
932
936
 
933
937
  # Creates a new Amazon Chime SDK meeting in the specified media Region
934
- # with no initial attendees. For more information about the Amazon Chime
935
- # SDK, see [Using the Amazon Chime SDK][1] in the *Amazon Chime
936
- # Developer Guide*.
938
+ # with no initial attendees. For more information about specifying media
939
+ # Regions, see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime
940
+ # Developer Guide*. For more information about the Amazon Chime SDK, see
941
+ # [Using the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
937
942
  #
938
943
  #
939
944
  #
940
- # [1]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
945
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
946
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
941
947
  #
942
948
  # @option params [required, String] :client_request_token
943
949
  # The unique identifier for the client request. Use a different token
@@ -953,10 +959,12 @@ module Aws::Chime
953
959
  # Reserved.
954
960
  #
955
961
  # @option params [String] :media_region
956
- # The Region in which to create the meeting. Available values:
957
- # `ap-northeast-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
958
- # `eu-central-1`, `eu-north-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`,
959
- # `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`.
962
+ # The Region in which to create the meeting. Default: `us-east-1`.
963
+ #
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`.
960
968
  #
961
969
  # @option params [Array<Types::Tag>] :tags
962
970
  # The tag key-value pairs.
@@ -1010,6 +1018,116 @@ module Aws::Chime
1010
1018
  req.send_request(options)
1011
1019
  end
1012
1020
 
1021
+ # Creates a new Amazon Chime SDK meeting in the specified media Region,
1022
+ # with attendees. For more information about specifying media Regions,
1023
+ # see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime Developer
1024
+ # Guide*. For more information about the Amazon Chime SDK, see [Using
1025
+ # the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
1026
+ #
1027
+ #
1028
+ #
1029
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
1030
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
1031
+ #
1032
+ # @option params [required, String] :client_request_token
1033
+ # The unique identifier for the client request. Use a different token
1034
+ # for different meetings.
1035
+ #
1036
+ # **A suitable default value is auto-generated.** You should normally
1037
+ # not need to pass this option.**
1038
+ #
1039
+ # @option params [String] :external_meeting_id
1040
+ # The external meeting ID.
1041
+ #
1042
+ # @option params [String] :meeting_host_id
1043
+ # Reserved.
1044
+ #
1045
+ # @option params [String] :media_region
1046
+ # The Region in which to create the meeting. Default: `us-east-1`.
1047
+ #
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`.
1052
+ #
1053
+ # @option params [Array<Types::Tag>] :tags
1054
+ # The tag key-value pairs.
1055
+ #
1056
+ # @option params [Types::MeetingNotificationConfiguration] :notifications_configuration
1057
+ # The configuration for resource targets to receive notifications when
1058
+ # Amazon Chime SDK meeting and attendee events occur. The Amazon Chime
1059
+ # SDK supports resource targets located in the US East (N. Virginia) AWS
1060
+ # Region (`us-east-1`).
1061
+ #
1062
+ # @option params [Array<Types::CreateAttendeeRequestItem>] :attendees
1063
+ # The request containing the attendees to create.
1064
+ #
1065
+ # @return [Types::CreateMeetingWithAttendeesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1066
+ #
1067
+ # * {Types::CreateMeetingWithAttendeesResponse#meeting #meeting} => Types::Meeting
1068
+ # * {Types::CreateMeetingWithAttendeesResponse#attendees #attendees} => Array&lt;Types::Attendee&gt;
1069
+ # * {Types::CreateMeetingWithAttendeesResponse#errors #errors} => Array&lt;Types::CreateAttendeeError&gt;
1070
+ #
1071
+ # @example Request syntax with placeholder values
1072
+ #
1073
+ # resp = client.create_meeting_with_attendees({
1074
+ # client_request_token: "ClientRequestToken", # required
1075
+ # external_meeting_id: "ExternalMeetingIdType",
1076
+ # meeting_host_id: "ExternalUserIdType",
1077
+ # media_region: "String",
1078
+ # tags: [
1079
+ # {
1080
+ # key: "TagKey", # required
1081
+ # value: "TagValue", # required
1082
+ # },
1083
+ # ],
1084
+ # notifications_configuration: {
1085
+ # sns_topic_arn: "Arn",
1086
+ # sqs_queue_arn: "Arn",
1087
+ # },
1088
+ # attendees: [
1089
+ # {
1090
+ # external_user_id: "ExternalUserIdType", # required
1091
+ # tags: [
1092
+ # {
1093
+ # key: "TagKey", # required
1094
+ # value: "TagValue", # required
1095
+ # },
1096
+ # ],
1097
+ # },
1098
+ # ],
1099
+ # })
1100
+ #
1101
+ # @example Response structure
1102
+ #
1103
+ # resp.meeting.meeting_id #=> String
1104
+ # resp.meeting.external_meeting_id #=> String
1105
+ # resp.meeting.media_placement.audio_host_url #=> String
1106
+ # resp.meeting.media_placement.audio_fallback_url #=> String
1107
+ # resp.meeting.media_placement.screen_data_url #=> String
1108
+ # resp.meeting.media_placement.screen_sharing_url #=> String
1109
+ # resp.meeting.media_placement.screen_viewing_url #=> String
1110
+ # resp.meeting.media_placement.signaling_url #=> String
1111
+ # resp.meeting.media_placement.turn_control_url #=> String
1112
+ # resp.meeting.media_region #=> String
1113
+ # resp.attendees #=> Array
1114
+ # resp.attendees[0].external_user_id #=> String
1115
+ # resp.attendees[0].attendee_id #=> String
1116
+ # resp.attendees[0].join_token #=> String
1117
+ # resp.errors #=> Array
1118
+ # resp.errors[0].external_user_id #=> String
1119
+ # resp.errors[0].error_code #=> String
1120
+ # resp.errors[0].error_message #=> String
1121
+ #
1122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees AWS API Documentation
1123
+ #
1124
+ # @overload create_meeting_with_attendees(params = {})
1125
+ # @param [Hash] params ({})
1126
+ def create_meeting_with_attendees(params = {}, options = {})
1127
+ req = build_request(:create_meeting_with_attendees, params)
1128
+ req.send_request(options)
1129
+ end
1130
+
1013
1131
  # Creates an order for phone numbers to be provisioned. Choose from
1014
1132
  # Amazon Chime Business Calling and Amazon Chime Voice Connector product
1015
1133
  # types. For toll-free numbers, you must use the Amazon Chime Voice
@@ -1639,6 +1757,29 @@ module Aws::Chime
1639
1757
  req.send_request(options)
1640
1758
  end
1641
1759
 
1760
+ # Deletes the emergency calling configuration details from the specified
1761
+ # Amazon Chime Voice Connector.
1762
+ #
1763
+ # @option params [required, String] :voice_connector_id
1764
+ # The Amazon Chime Voice Connector ID.
1765
+ #
1766
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1767
+ #
1768
+ # @example Request syntax with placeholder values
1769
+ #
1770
+ # resp = client.delete_voice_connector_emergency_calling_configuration({
1771
+ # voice_connector_id: "NonEmptyString", # required
1772
+ # })
1773
+ #
1774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration AWS API Documentation
1775
+ #
1776
+ # @overload delete_voice_connector_emergency_calling_configuration(params = {})
1777
+ # @param [Hash] params ({})
1778
+ def delete_voice_connector_emergency_calling_configuration(params = {}, options = {})
1779
+ req = build_request(:delete_voice_connector_emergency_calling_configuration, params)
1780
+ req.send_request(options)
1781
+ end
1782
+
1642
1783
  # Deletes the specified Amazon Chime Voice Connector group. Any
1643
1784
  # `VoiceConnectorItems` and phone numbers associated with the group must
1644
1785
  # be removed before it can be deleted.
@@ -1666,6 +1807,12 @@ module Aws::Chime
1666
1807
  # Deletes the origination settings for the specified Amazon Chime Voice
1667
1808
  # Connector.
1668
1809
  #
1810
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
1811
+ # Connector, it must be deleted prior to deleting the origination
1812
+ # settings.
1813
+ #
1814
+ # </note>
1815
+ #
1669
1816
  # @option params [required, String] :voice_connector_id
1670
1817
  # The Amazon Chime Voice Connector ID.
1671
1818
  #
@@ -1735,6 +1882,12 @@ module Aws::Chime
1735
1882
  # Deletes the termination settings for the specified Amazon Chime Voice
1736
1883
  # Connector.
1737
1884
  #
1885
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
1886
+ # Connector, it must be deleted prior to deleting the termination
1887
+ # settings.
1888
+ #
1889
+ # </note>
1890
+ #
1738
1891
  # @option params [required, String] :voice_connector_id
1739
1892
  # The Amazon Chime Voice Connector ID.
1740
1893
  #
@@ -1761,7 +1914,7 @@ module Aws::Chime
1761
1914
  # @option params [required, String] :voice_connector_id
1762
1915
  # The Amazon Chime Voice Connector ID.
1763
1916
  #
1764
- # @option params [Array<String>] :usernames
1917
+ # @option params [required, Array<String>] :usernames
1765
1918
  # The RFC2617 compliant username associated with the SIP credentials, in
1766
1919
  # US-ASCII format.
1767
1920
  #
@@ -1771,7 +1924,7 @@ module Aws::Chime
1771
1924
  #
1772
1925
  # resp = client.delete_voice_connector_termination_credentials({
1773
1926
  # voice_connector_id: "NonEmptyString", # required
1774
- # usernames: ["SensitiveString"],
1927
+ # usernames: ["SensitiveString"], # required
1775
1928
  # })
1776
1929
  #
1777
1930
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials AWS API Documentation
@@ -1816,7 +1969,7 @@ module Aws::Chime
1816
1969
  # @option params [required, String] :voice_connector_id
1817
1970
  # The Amazon Chime Voice Connector ID.
1818
1971
  #
1819
- # @option params [Array<String>] :e164_phone_numbers
1972
+ # @option params [required, Array<String>] :e164_phone_numbers
1820
1973
  # List of phone numbers, in E.164 format.
1821
1974
  #
1822
1975
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1827,14 +1980,14 @@ module Aws::Chime
1827
1980
  #
1828
1981
  # resp = client.disassociate_phone_numbers_from_voice_connector({
1829
1982
  # voice_connector_id: "NonEmptyString", # required
1830
- # e164_phone_numbers: ["E164PhoneNumber"],
1983
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1831
1984
  # })
1832
1985
  #
1833
1986
  # @example Response structure
1834
1987
  #
1835
1988
  # resp.phone_number_errors #=> Array
1836
1989
  # resp.phone_number_errors[0].phone_number_id #=> String
1837
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
1990
+ # 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"
1838
1991
  # resp.phone_number_errors[0].error_message #=> String
1839
1992
  #
1840
1993
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector AWS API Documentation
@@ -1852,7 +2005,7 @@ module Aws::Chime
1852
2005
  # @option params [required, String] :voice_connector_group_id
1853
2006
  # The Amazon Chime Voice Connector group ID.
1854
2007
  #
1855
- # @option params [Array<String>] :e164_phone_numbers
2008
+ # @option params [required, Array<String>] :e164_phone_numbers
1856
2009
  # List of phone numbers, in E.164 format.
1857
2010
  #
1858
2011
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1863,14 +2016,14 @@ module Aws::Chime
1863
2016
  #
1864
2017
  # resp = client.disassociate_phone_numbers_from_voice_connector_group({
1865
2018
  # voice_connector_group_id: "NonEmptyString", # required
1866
- # e164_phone_numbers: ["E164PhoneNumber"],
2019
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1867
2020
  # })
1868
2021
  #
1869
2022
  # @example Response structure
1870
2023
  #
1871
2024
  # resp.phone_number_errors #=> Array
1872
2025
  # resp.phone_number_errors[0].phone_number_id #=> String
1873
- # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
2026
+ # 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"
1874
2027
  # resp.phone_number_errors[0].error_message #=> String
1875
2028
  #
1876
2029
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup AWS API Documentation
@@ -2516,6 +2669,38 @@ module Aws::Chime
2516
2669
  req.send_request(options)
2517
2670
  end
2518
2671
 
2672
+ # Gets the emergency calling configuration details for the specified
2673
+ # Amazon Chime Voice Connector.
2674
+ #
2675
+ # @option params [required, String] :voice_connector_id
2676
+ # The Amazon Chime Voice Connector ID.
2677
+ #
2678
+ # @return [Types::GetVoiceConnectorEmergencyCallingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2679
+ #
2680
+ # * {Types::GetVoiceConnectorEmergencyCallingConfigurationResponse#emergency_calling_configuration #emergency_calling_configuration} => Types::EmergencyCallingConfiguration
2681
+ #
2682
+ # @example Request syntax with placeholder values
2683
+ #
2684
+ # resp = client.get_voice_connector_emergency_calling_configuration({
2685
+ # voice_connector_id: "NonEmptyString", # required
2686
+ # })
2687
+ #
2688
+ # @example Response structure
2689
+ #
2690
+ # resp.emergency_calling_configuration.dnis #=> Array
2691
+ # resp.emergency_calling_configuration.dnis[0].emergency_phone_number #=> String
2692
+ # resp.emergency_calling_configuration.dnis[0].test_phone_number #=> String
2693
+ # resp.emergency_calling_configuration.dnis[0].calling_country #=> String
2694
+ #
2695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfiguration AWS API Documentation
2696
+ #
2697
+ # @overload get_voice_connector_emergency_calling_configuration(params = {})
2698
+ # @param [Hash] params ({})
2699
+ def get_voice_connector_emergency_calling_configuration(params = {}, options = {})
2700
+ req = build_request(:get_voice_connector_emergency_calling_configuration, params)
2701
+ req.send_request(options)
2702
+ end
2703
+
2519
2704
  # Retrieves details for the specified Amazon Chime Voice Connector
2520
2705
  # group, such as timestamps, name, and associated `VoiceConnectorItems`.
2521
2706
  #
@@ -3694,6 +3879,53 @@ module Aws::Chime
3694
3879
  req.send_request(options)
3695
3880
  end
3696
3881
 
3882
+ # Puts emergency calling configuration details to the specified Amazon
3883
+ # Chime Voice Connector, such as emergency phone numbers and calling
3884
+ # countries. Origination and termination settings must be enabled for
3885
+ # the Amazon Chime Voice Connector before emergency calling can be
3886
+ # configured.
3887
+ #
3888
+ # @option params [required, String] :voice_connector_id
3889
+ # The Amazon Chime Voice Connector ID.
3890
+ #
3891
+ # @option params [required, Types::EmergencyCallingConfiguration] :emergency_calling_configuration
3892
+ # The emergency calling configuration details.
3893
+ #
3894
+ # @return [Types::PutVoiceConnectorEmergencyCallingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3895
+ #
3896
+ # * {Types::PutVoiceConnectorEmergencyCallingConfigurationResponse#emergency_calling_configuration #emergency_calling_configuration} => Types::EmergencyCallingConfiguration
3897
+ #
3898
+ # @example Request syntax with placeholder values
3899
+ #
3900
+ # resp = client.put_voice_connector_emergency_calling_configuration({
3901
+ # voice_connector_id: "NonEmptyString", # required
3902
+ # emergency_calling_configuration: { # required
3903
+ # dnis: [
3904
+ # {
3905
+ # emergency_phone_number: "E164PhoneNumber", # required
3906
+ # test_phone_number: "E164PhoneNumber",
3907
+ # calling_country: "Alpha2CountryCode", # required
3908
+ # },
3909
+ # ],
3910
+ # },
3911
+ # })
3912
+ #
3913
+ # @example Response structure
3914
+ #
3915
+ # resp.emergency_calling_configuration.dnis #=> Array
3916
+ # resp.emergency_calling_configuration.dnis[0].emergency_phone_number #=> String
3917
+ # resp.emergency_calling_configuration.dnis[0].test_phone_number #=> String
3918
+ # resp.emergency_calling_configuration.dnis[0].calling_country #=> String
3919
+ #
3920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration AWS API Documentation
3921
+ #
3922
+ # @overload put_voice_connector_emergency_calling_configuration(params = {})
3923
+ # @param [Hash] params ({})
3924
+ def put_voice_connector_emergency_calling_configuration(params = {}, options = {})
3925
+ req = build_request(:put_voice_connector_emergency_calling_configuration, params)
3926
+ req.send_request(options)
3927
+ end
3928
+
3697
3929
  # Adds a logging configuration for the specified Amazon Chime Voice
3698
3930
  # Connector. The logging configuration specifies whether SIP message
3699
3931
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -3733,6 +3965,12 @@ module Aws::Chime
3733
3965
  # Adds origination settings for the specified Amazon Chime Voice
3734
3966
  # Connector.
3735
3967
  #
3968
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
3969
+ # Connector, it must be deleted prior to turning off origination
3970
+ # settings.
3971
+ #
3972
+ # </note>
3973
+ #
3736
3974
  # @option params [required, String] :voice_connector_id
3737
3975
  # The Amazon Chime Voice Connector ID.
3738
3976
  #
@@ -3879,6 +4117,12 @@ module Aws::Chime
3879
4117
  # Adds termination settings for the specified Amazon Chime Voice
3880
4118
  # Connector.
3881
4119
  #
4120
+ # <note markdown="1"> If emergency calling is configured for the Amazon Chime Voice
4121
+ # Connector, it must be deleted prior to turning off termination
4122
+ # settings.
4123
+ #
4124
+ # </note>
4125
+ #
3882
4126
  # @option params [required, String] :voice_connector_id
3883
4127
  # The Amazon Chime Voice Connector ID.
3884
4128
  #
@@ -4983,7 +5227,7 @@ module Aws::Chime
4983
5227
  params: params,
4984
5228
  config: config)
4985
5229
  context[:gem_name] = 'aws-sdk-chime'
4986
- context[:gem_version] = '1.28.0'
5230
+ context[:gem_version] = '1.33.0'
4987
5231
  Seahorse::Client::Request.new(handlers, context)
4988
5232
  end
4989
5233