aws-sdk-chime 1.29.1 → 1.35.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: d5fd6ecd1f2506de4612fa22b2bc605dbc8b938d0ad9cbcd168cc2695c0bf530
4
- data.tar.gz: 241fecfb9a4e0d8eae3bbe7a9a154b20b62499b2d3ce4fc56caf536ff6cc359b
3
+ metadata.gz: b62285b6e09327b16a5b1c10322d3c4bf0324c3c5ef2928dcf18816a1b2b5c50
4
+ data.tar.gz: 3702610bb60da5cd2ab97d918ae466b92a09b9ee5fdc1b70c7adf1651732f13f
5
5
  SHA512:
6
- metadata.gz: 6a4e620ad7210d602b03e01549af50dd542cfcff1223b8b8fd4e98006bdfc9f79975731bb55d5a8f286bfe5038fab94032ec47f91f938715825de9cd83edca2b
7
- data.tar.gz: 2e87ca23f0d4d81232a41d095f0000875e3692cfd706ba456613fadab9b5f09efc3c152729f4316a5e4bd643b505390904bbbb1243edb40af9c7b11bbbda03cf
6
+ metadata.gz: 8df1f65fab0e9c9085412c8f1df70f57fee3b066f0eb722c7971d63e4bc6fbe5034b51988d7b3b4620819ff7e55e95118d3239c3cb052ae9d82e1611c54a56e8
7
+ data.tar.gz: 4a8bb47af8a45d6c8dda1f3bde8acc306a7695597c08eb0ace765c63d41f8f2cbf36808e266f408cf727124bbaf838e7344b708a5f51ac4101e54714148cb541
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-chime/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Chime
47
49
 
48
- GEM_VERSION = '1.29.1'
50
+ GEM_VERSION = '1.35.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:
@@ -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
@@ -933,13 +950,15 @@ module Aws::Chime
933
950
  end
934
951
 
935
952
  # Creates a new Amazon Chime SDK meeting in the specified media Region
936
- # with no initial attendees. For more information about the Amazon Chime
937
- # SDK, see [Using the Amazon Chime SDK][1] in the *Amazon Chime
938
- # Developer Guide*.
953
+ # with no initial attendees. For more information about specifying media
954
+ # Regions, see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime
955
+ # Developer Guide*. For more information about the Amazon Chime SDK, see
956
+ # [Using the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
939
957
  #
940
958
  #
941
959
  #
942
- # [1]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
960
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
961
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
943
962
  #
944
963
  # @option params [required, String] :client_request_token
945
964
  # The unique identifier for the client request. Use a different token
@@ -955,10 +974,13 @@ module Aws::Chime
955
974
  # Reserved.
956
975
  #
957
976
  # @option params [String] :media_region
958
- # The Region in which to create the meeting. Available values:
959
- # `ap-northeast-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
960
- # `eu-central-1`, `eu-north-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`,
961
- # `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`.
977
+ # The Region in which to create the meeting. Default: `us-east-1`.
978
+ #
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`.
962
984
  #
963
985
  # @option params [Array<Types::Tag>] :tags
964
986
  # The tag key-value pairs.
@@ -1012,6 +1034,117 @@ module Aws::Chime
1012
1034
  req.send_request(options)
1013
1035
  end
1014
1036
 
1037
+ # Creates a new Amazon Chime SDK meeting in the specified media Region,
1038
+ # with attendees. For more information about specifying media Regions,
1039
+ # see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime Developer
1040
+ # Guide*. For more information about the Amazon Chime SDK, see [Using
1041
+ # the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
1042
+ #
1043
+ #
1044
+ #
1045
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
1046
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
1047
+ #
1048
+ # @option params [required, String] :client_request_token
1049
+ # The unique identifier for the client request. Use a different token
1050
+ # for different meetings.
1051
+ #
1052
+ # **A suitable default value is auto-generated.** You should normally
1053
+ # not need to pass this option.**
1054
+ #
1055
+ # @option params [String] :external_meeting_id
1056
+ # The external meeting ID.
1057
+ #
1058
+ # @option params [String] :meeting_host_id
1059
+ # Reserved.
1060
+ #
1061
+ # @option params [String] :media_region
1062
+ # The Region in which to create the meeting. Default: `us-east-1`.
1063
+ #
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`.
1069
+ #
1070
+ # @option params [Array<Types::Tag>] :tags
1071
+ # The tag key-value pairs.
1072
+ #
1073
+ # @option params [Types::MeetingNotificationConfiguration] :notifications_configuration
1074
+ # The configuration for resource targets to receive notifications when
1075
+ # Amazon Chime SDK meeting and attendee events occur. The Amazon Chime
1076
+ # SDK supports resource targets located in the US East (N. Virginia) AWS
1077
+ # Region (`us-east-1`).
1078
+ #
1079
+ # @option params [Array<Types::CreateAttendeeRequestItem>] :attendees
1080
+ # The request containing the attendees to create.
1081
+ #
1082
+ # @return [Types::CreateMeetingWithAttendeesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1083
+ #
1084
+ # * {Types::CreateMeetingWithAttendeesResponse#meeting #meeting} => Types::Meeting
1085
+ # * {Types::CreateMeetingWithAttendeesResponse#attendees #attendees} => Array&lt;Types::Attendee&gt;
1086
+ # * {Types::CreateMeetingWithAttendeesResponse#errors #errors} => Array&lt;Types::CreateAttendeeError&gt;
1087
+ #
1088
+ # @example Request syntax with placeholder values
1089
+ #
1090
+ # resp = client.create_meeting_with_attendees({
1091
+ # client_request_token: "ClientRequestToken", # required
1092
+ # external_meeting_id: "ExternalMeetingIdType",
1093
+ # meeting_host_id: "ExternalUserIdType",
1094
+ # media_region: "String",
1095
+ # tags: [
1096
+ # {
1097
+ # key: "TagKey", # required
1098
+ # value: "TagValue", # required
1099
+ # },
1100
+ # ],
1101
+ # notifications_configuration: {
1102
+ # sns_topic_arn: "Arn",
1103
+ # sqs_queue_arn: "Arn",
1104
+ # },
1105
+ # attendees: [
1106
+ # {
1107
+ # external_user_id: "ExternalUserIdType", # required
1108
+ # tags: [
1109
+ # {
1110
+ # key: "TagKey", # required
1111
+ # value: "TagValue", # required
1112
+ # },
1113
+ # ],
1114
+ # },
1115
+ # ],
1116
+ # })
1117
+ #
1118
+ # @example Response structure
1119
+ #
1120
+ # resp.meeting.meeting_id #=> String
1121
+ # resp.meeting.external_meeting_id #=> String
1122
+ # resp.meeting.media_placement.audio_host_url #=> String
1123
+ # resp.meeting.media_placement.audio_fallback_url #=> String
1124
+ # resp.meeting.media_placement.screen_data_url #=> String
1125
+ # resp.meeting.media_placement.screen_sharing_url #=> String
1126
+ # resp.meeting.media_placement.screen_viewing_url #=> String
1127
+ # resp.meeting.media_placement.signaling_url #=> String
1128
+ # resp.meeting.media_placement.turn_control_url #=> String
1129
+ # resp.meeting.media_region #=> String
1130
+ # resp.attendees #=> Array
1131
+ # resp.attendees[0].external_user_id #=> String
1132
+ # resp.attendees[0].attendee_id #=> String
1133
+ # resp.attendees[0].join_token #=> String
1134
+ # resp.errors #=> Array
1135
+ # resp.errors[0].external_user_id #=> String
1136
+ # resp.errors[0].error_code #=> String
1137
+ # resp.errors[0].error_message #=> String
1138
+ #
1139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees AWS API Documentation
1140
+ #
1141
+ # @overload create_meeting_with_attendees(params = {})
1142
+ # @param [Hash] params ({})
1143
+ def create_meeting_with_attendees(params = {}, options = {})
1144
+ req = build_request(:create_meeting_with_attendees, params)
1145
+ req.send_request(options)
1146
+ end
1147
+
1015
1148
  # Creates an order for phone numbers to be provisioned. Choose from
1016
1149
  # Amazon Chime Business Calling and Amazon Chime Voice Connector product
1017
1150
  # types. For toll-free numbers, you must use the Amazon Chime Voice
@@ -1641,6 +1774,29 @@ module Aws::Chime
1641
1774
  req.send_request(options)
1642
1775
  end
1643
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
+
1644
1800
  # Deletes the specified Amazon Chime Voice Connector group. Any
1645
1801
  # `VoiceConnectorItems` and phone numbers associated with the group must
1646
1802
  # be removed before it can be deleted.
@@ -1668,6 +1824,12 @@ module Aws::Chime
1668
1824
  # Deletes the origination settings for the specified Amazon Chime Voice
1669
1825
  # Connector.
1670
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
+ #
1671
1833
  # @option params [required, String] :voice_connector_id
1672
1834
  # The Amazon Chime Voice Connector ID.
1673
1835
  #
@@ -1737,6 +1899,12 @@ module Aws::Chime
1737
1899
  # Deletes the termination settings for the specified Amazon Chime Voice
1738
1900
  # Connector.
1739
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
+ #
1740
1908
  # @option params [required, String] :voice_connector_id
1741
1909
  # The Amazon Chime Voice Connector ID.
1742
1910
  #
@@ -1763,7 +1931,7 @@ module Aws::Chime
1763
1931
  # @option params [required, String] :voice_connector_id
1764
1932
  # The Amazon Chime Voice Connector ID.
1765
1933
  #
1766
- # @option params [Array<String>] :usernames
1934
+ # @option params [required, Array<String>] :usernames
1767
1935
  # The RFC2617 compliant username associated with the SIP credentials, in
1768
1936
  # US-ASCII format.
1769
1937
  #
@@ -1773,7 +1941,7 @@ module Aws::Chime
1773
1941
  #
1774
1942
  # resp = client.delete_voice_connector_termination_credentials({
1775
1943
  # voice_connector_id: "NonEmptyString", # required
1776
- # usernames: ["SensitiveString"],
1944
+ # usernames: ["SensitiveString"], # required
1777
1945
  # })
1778
1946
  #
1779
1947
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials AWS API Documentation
@@ -1818,7 +1986,7 @@ module Aws::Chime
1818
1986
  # @option params [required, String] :voice_connector_id
1819
1987
  # The Amazon Chime Voice Connector ID.
1820
1988
  #
1821
- # @option params [Array<String>] :e164_phone_numbers
1989
+ # @option params [required, Array<String>] :e164_phone_numbers
1822
1990
  # List of phone numbers, in E.164 format.
1823
1991
  #
1824
1992
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1829,14 +1997,14 @@ module Aws::Chime
1829
1997
  #
1830
1998
  # resp = client.disassociate_phone_numbers_from_voice_connector({
1831
1999
  # voice_connector_id: "NonEmptyString", # required
1832
- # e164_phone_numbers: ["E164PhoneNumber"],
2000
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1833
2001
  # })
1834
2002
  #
1835
2003
  # @example Response structure
1836
2004
  #
1837
2005
  # resp.phone_number_errors #=> Array
1838
2006
  # resp.phone_number_errors[0].phone_number_id #=> String
1839
- # 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"
1840
2008
  # resp.phone_number_errors[0].error_message #=> String
1841
2009
  #
1842
2010
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector AWS API Documentation
@@ -1854,7 +2022,7 @@ module Aws::Chime
1854
2022
  # @option params [required, String] :voice_connector_group_id
1855
2023
  # The Amazon Chime Voice Connector group ID.
1856
2024
  #
1857
- # @option params [Array<String>] :e164_phone_numbers
2025
+ # @option params [required, Array<String>] :e164_phone_numbers
1858
2026
  # List of phone numbers, in E.164 format.
1859
2027
  #
1860
2028
  # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1865,14 +2033,14 @@ module Aws::Chime
1865
2033
  #
1866
2034
  # resp = client.disassociate_phone_numbers_from_voice_connector_group({
1867
2035
  # voice_connector_group_id: "NonEmptyString", # required
1868
- # e164_phone_numbers: ["E164PhoneNumber"],
2036
+ # e164_phone_numbers: ["E164PhoneNumber"], # required
1869
2037
  # })
1870
2038
  #
1871
2039
  # @example Response structure
1872
2040
  #
1873
2041
  # resp.phone_number_errors #=> Array
1874
2042
  # resp.phone_number_errors[0].phone_number_id #=> String
1875
- # 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"
1876
2044
  # resp.phone_number_errors[0].error_message #=> String
1877
2045
  #
1878
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup AWS API Documentation
@@ -2518,6 +2686,38 @@ module Aws::Chime
2518
2686
  req.send_request(options)
2519
2687
  end
2520
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
+
2521
2721
  # Retrieves details for the specified Amazon Chime Voice Connector
2522
2722
  # group, such as timestamps, name, and associated `VoiceConnectorItems`.
2523
2723
  #
@@ -3696,6 +3896,53 @@ module Aws::Chime
3696
3896
  req.send_request(options)
3697
3897
  end
3698
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
+
3699
3946
  # Adds a logging configuration for the specified Amazon Chime Voice
3700
3947
  # Connector. The logging configuration specifies whether SIP message
3701
3948
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -3735,6 +3982,12 @@ module Aws::Chime
3735
3982
  # Adds origination settings for the specified Amazon Chime Voice
3736
3983
  # Connector.
3737
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
+ #
3738
3991
  # @option params [required, String] :voice_connector_id
3739
3992
  # The Amazon Chime Voice Connector ID.
3740
3993
  #
@@ -3881,6 +4134,12 @@ module Aws::Chime
3881
4134
  # Adds termination settings for the specified Amazon Chime Voice
3882
4135
  # Connector.
3883
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
+ #
3884
4143
  # @option params [required, String] :voice_connector_id
3885
4144
  # The Amazon Chime Voice Connector ID.
3886
4145
  #
@@ -4985,7 +5244,7 @@ module Aws::Chime
4985
5244
  params: params,
4986
5245
  config: config)
4987
5246
  context[:gem_name] = 'aws-sdk-chime'
4988
- context[:gem_version] = '1.29.1'
5247
+ context[:gem_version] = '1.35.0'
4989
5248
  Seahorse::Client::Request.new(handlers, context)
4990
5249
  end
4991
5250