aws-sdk-chime 1.21.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +368 -18
- data/lib/aws-sdk-chime/client_api.rb +263 -0
- data/lib/aws-sdk-chime/resource.rb +1 -7
- data/lib/aws-sdk-chime/types.rb +414 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef4acb93fc6471fba6d5fccbb67dad77f63d7ad5
|
4
|
+
data.tar.gz: dee3806d638a4fec502176cf987c8b02d03d5a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1bd9597cacf1e554b20deac6738b308f75cb85593db042352fe7d209f9dfedabce09c2221415dc46275463ff76418a316c245ad4ecb2662b0c4281c355a518
|
7
|
+
data.tar.gz: dadaea71af8becb6602f3e05f5591fb430d8d4aa2b24a7aeef418a73762a56a644b2c312d18907b8fe41b64f6ed8bacb3befbfd3df85e32b5d8d0e1223b0c11c
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:chime)
|
|
32
32
|
module Aws::Chime
|
33
33
|
# An API client for Chime. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::Chime::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::Chime
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::Chime
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::Chime
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1020,6 +1023,71 @@ module Aws::Chime
|
|
1020
1023
|
req.send_request(options)
|
1021
1024
|
end
|
1022
1025
|
|
1026
|
+
# @option params [required, String] :voice_connector_id
|
1027
|
+
#
|
1028
|
+
# @option params [required, Array<String>] :participant_phone_numbers
|
1029
|
+
#
|
1030
|
+
# @option params [String] :name
|
1031
|
+
#
|
1032
|
+
# @option params [Integer] :expiry_minutes
|
1033
|
+
#
|
1034
|
+
# @option params [required, Array<String>] :capabilities
|
1035
|
+
#
|
1036
|
+
# @option params [String] :number_selection_behavior
|
1037
|
+
#
|
1038
|
+
# @option params [String] :geo_match_level
|
1039
|
+
#
|
1040
|
+
# @option params [Types::GeoMatchParams] :geo_match_params
|
1041
|
+
#
|
1042
|
+
# @return [Types::CreateProxySessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1043
|
+
#
|
1044
|
+
# * {Types::CreateProxySessionResponse#proxy_session #proxy_session} => Types::ProxySession
|
1045
|
+
#
|
1046
|
+
# @example Request syntax with placeholder values
|
1047
|
+
#
|
1048
|
+
# resp = client.create_proxy_session({
|
1049
|
+
# voice_connector_id: "NonEmptyString128", # required
|
1050
|
+
# participant_phone_numbers: ["E164PhoneNumber"], # required
|
1051
|
+
# name: "ProxySessionNameString",
|
1052
|
+
# expiry_minutes: 1,
|
1053
|
+
# capabilities: ["Voice"], # required, accepts Voice, SMS
|
1054
|
+
# number_selection_behavior: "PreferSticky", # accepts PreferSticky, AvoidSticky
|
1055
|
+
# geo_match_level: "Country", # accepts Country, AreaCode
|
1056
|
+
# geo_match_params: {
|
1057
|
+
# country: "Country", # required
|
1058
|
+
# area_code: "AreaCode", # required
|
1059
|
+
# },
|
1060
|
+
# })
|
1061
|
+
#
|
1062
|
+
# @example Response structure
|
1063
|
+
#
|
1064
|
+
# resp.proxy_session.voice_connector_id #=> String
|
1065
|
+
# resp.proxy_session.proxy_session_id #=> String
|
1066
|
+
# resp.proxy_session.name #=> String
|
1067
|
+
# resp.proxy_session.status #=> String, one of "Open", "InProgress", "Closed"
|
1068
|
+
# resp.proxy_session.expiry_minutes #=> Integer
|
1069
|
+
# resp.proxy_session.capabilities #=> Array
|
1070
|
+
# resp.proxy_session.capabilities[0] #=> String, one of "Voice", "SMS"
|
1071
|
+
# resp.proxy_session.created_timestamp #=> Time
|
1072
|
+
# resp.proxy_session.updated_timestamp #=> Time
|
1073
|
+
# resp.proxy_session.ended_timestamp #=> Time
|
1074
|
+
# resp.proxy_session.participants #=> Array
|
1075
|
+
# resp.proxy_session.participants[0].phone_number #=> String
|
1076
|
+
# resp.proxy_session.participants[0].proxy_phone_number #=> String
|
1077
|
+
# resp.proxy_session.number_selection_behavior #=> String, one of "PreferSticky", "AvoidSticky"
|
1078
|
+
# resp.proxy_session.geo_match_level #=> String, one of "Country", "AreaCode"
|
1079
|
+
# resp.proxy_session.geo_match_params.country #=> String
|
1080
|
+
# resp.proxy_session.geo_match_params.area_code #=> String
|
1081
|
+
#
|
1082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession AWS API Documentation
|
1083
|
+
#
|
1084
|
+
# @overload create_proxy_session(params = {})
|
1085
|
+
# @param [Hash] params ({})
|
1086
|
+
def create_proxy_session(params = {}, options = {})
|
1087
|
+
req = build_request(:create_proxy_session, params)
|
1088
|
+
req.send_request(options)
|
1089
|
+
end
|
1090
|
+
|
1023
1091
|
# Creates a chat room for the specified Amazon Chime Enterprise account.
|
1024
1092
|
#
|
1025
1093
|
# @option params [required, String] :account_id
|
@@ -1421,6 +1489,28 @@ module Aws::Chime
|
|
1421
1489
|
req.send_request(options)
|
1422
1490
|
end
|
1423
1491
|
|
1492
|
+
# @option params [required, String] :voice_connector_id
|
1493
|
+
#
|
1494
|
+
# @option params [required, String] :proxy_session_id
|
1495
|
+
#
|
1496
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1497
|
+
#
|
1498
|
+
# @example Request syntax with placeholder values
|
1499
|
+
#
|
1500
|
+
# resp = client.delete_proxy_session({
|
1501
|
+
# voice_connector_id: "NonEmptyString128", # required
|
1502
|
+
# proxy_session_id: "NonEmptyString128", # required
|
1503
|
+
# })
|
1504
|
+
#
|
1505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession AWS API Documentation
|
1506
|
+
#
|
1507
|
+
# @overload delete_proxy_session(params = {})
|
1508
|
+
# @param [Hash] params ({})
|
1509
|
+
def delete_proxy_session(params = {}, options = {})
|
1510
|
+
req = build_request(:delete_proxy_session, params)
|
1511
|
+
req.send_request(options)
|
1512
|
+
end
|
1513
|
+
|
1424
1514
|
# Deletes a chat room in an Amazon Chime Enterprise account.
|
1425
1515
|
#
|
1426
1516
|
# @option params [required, String] :account_id
|
@@ -1549,6 +1639,25 @@ module Aws::Chime
|
|
1549
1639
|
req.send_request(options)
|
1550
1640
|
end
|
1551
1641
|
|
1642
|
+
# @option params [required, String] :voice_connector_id
|
1643
|
+
#
|
1644
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1645
|
+
#
|
1646
|
+
# @example Request syntax with placeholder values
|
1647
|
+
#
|
1648
|
+
# resp = client.delete_voice_connector_proxy({
|
1649
|
+
# voice_connector_id: "NonEmptyString128", # required
|
1650
|
+
# })
|
1651
|
+
#
|
1652
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy AWS API Documentation
|
1653
|
+
#
|
1654
|
+
# @overload delete_voice_connector_proxy(params = {})
|
1655
|
+
# @param [Hash] params ({})
|
1656
|
+
def delete_voice_connector_proxy(params = {}, options = {})
|
1657
|
+
req = build_request(:delete_voice_connector_proxy, params)
|
1658
|
+
req.send_request(options)
|
1659
|
+
end
|
1660
|
+
|
1552
1661
|
# Deletes the streaming configuration for the specified Amazon Chime
|
1553
1662
|
# Voice Connector.
|
1554
1663
|
#
|
@@ -2111,6 +2220,50 @@ module Aws::Chime
|
|
2111
2220
|
req.send_request(options)
|
2112
2221
|
end
|
2113
2222
|
|
2223
|
+
# @option params [required, String] :voice_connector_id
|
2224
|
+
#
|
2225
|
+
# @option params [required, String] :proxy_session_id
|
2226
|
+
#
|
2227
|
+
# @return [Types::GetProxySessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2228
|
+
#
|
2229
|
+
# * {Types::GetProxySessionResponse#proxy_session #proxy_session} => Types::ProxySession
|
2230
|
+
#
|
2231
|
+
# @example Request syntax with placeholder values
|
2232
|
+
#
|
2233
|
+
# resp = client.get_proxy_session({
|
2234
|
+
# voice_connector_id: "NonEmptyString128", # required
|
2235
|
+
# proxy_session_id: "NonEmptyString128", # required
|
2236
|
+
# })
|
2237
|
+
#
|
2238
|
+
# @example Response structure
|
2239
|
+
#
|
2240
|
+
# resp.proxy_session.voice_connector_id #=> String
|
2241
|
+
# resp.proxy_session.proxy_session_id #=> String
|
2242
|
+
# resp.proxy_session.name #=> String
|
2243
|
+
# resp.proxy_session.status #=> String, one of "Open", "InProgress", "Closed"
|
2244
|
+
# resp.proxy_session.expiry_minutes #=> Integer
|
2245
|
+
# resp.proxy_session.capabilities #=> Array
|
2246
|
+
# resp.proxy_session.capabilities[0] #=> String, one of "Voice", "SMS"
|
2247
|
+
# resp.proxy_session.created_timestamp #=> Time
|
2248
|
+
# resp.proxy_session.updated_timestamp #=> Time
|
2249
|
+
# resp.proxy_session.ended_timestamp #=> Time
|
2250
|
+
# resp.proxy_session.participants #=> Array
|
2251
|
+
# resp.proxy_session.participants[0].phone_number #=> String
|
2252
|
+
# resp.proxy_session.participants[0].proxy_phone_number #=> String
|
2253
|
+
# resp.proxy_session.number_selection_behavior #=> String, one of "PreferSticky", "AvoidSticky"
|
2254
|
+
# resp.proxy_session.geo_match_level #=> String, one of "Country", "AreaCode"
|
2255
|
+
# resp.proxy_session.geo_match_params.country #=> String
|
2256
|
+
# resp.proxy_session.geo_match_params.area_code #=> String
|
2257
|
+
#
|
2258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession AWS API Documentation
|
2259
|
+
#
|
2260
|
+
# @overload get_proxy_session(params = {})
|
2261
|
+
# @param [Hash] params ({})
|
2262
|
+
def get_proxy_session(params = {}, options = {})
|
2263
|
+
req = build_request(:get_proxy_session, params)
|
2264
|
+
req.send_request(options)
|
2265
|
+
end
|
2266
|
+
|
2114
2267
|
# Retrieves room details, such as the room name, for a room in an Amazon
|
2115
2268
|
# Chime Enterprise account.
|
2116
2269
|
#
|
@@ -2368,6 +2521,35 @@ module Aws::Chime
|
|
2368
2521
|
req.send_request(options)
|
2369
2522
|
end
|
2370
2523
|
|
2524
|
+
# @option params [required, String] :voice_connector_id
|
2525
|
+
#
|
2526
|
+
# @return [Types::GetVoiceConnectorProxyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2527
|
+
#
|
2528
|
+
# * {Types::GetVoiceConnectorProxyResponse#proxy #proxy} => Types::Proxy
|
2529
|
+
#
|
2530
|
+
# @example Request syntax with placeholder values
|
2531
|
+
#
|
2532
|
+
# resp = client.get_voice_connector_proxy({
|
2533
|
+
# voice_connector_id: "NonEmptyString128", # required
|
2534
|
+
# })
|
2535
|
+
#
|
2536
|
+
# @example Response structure
|
2537
|
+
#
|
2538
|
+
# resp.proxy.default_session_expiry_minutes #=> Integer
|
2539
|
+
# resp.proxy.disabled #=> Boolean
|
2540
|
+
# resp.proxy.fall_back_phone_number #=> String
|
2541
|
+
# resp.proxy.phone_number_countries #=> Array
|
2542
|
+
# resp.proxy.phone_number_countries[0] #=> String
|
2543
|
+
#
|
2544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy AWS API Documentation
|
2545
|
+
#
|
2546
|
+
# @overload get_voice_connector_proxy(params = {})
|
2547
|
+
# @param [Hash] params ({})
|
2548
|
+
def get_voice_connector_proxy(params = {}, options = {})
|
2549
|
+
req = build_request(:get_voice_connector_proxy, params)
|
2550
|
+
req.send_request(options)
|
2551
|
+
end
|
2552
|
+
|
2371
2553
|
# Retrieves the streaming configuration details for the specified Amazon
|
2372
2554
|
# Chime Voice Connector. Shows whether media streaming is enabled for
|
2373
2555
|
# sending to Amazon Kinesis. It also shows the retention period, in
|
@@ -2531,6 +2713,8 @@ module Aws::Chime
|
|
2531
2713
|
# * {Types::ListAccountsResponse#accounts #accounts} => Array<Types::Account>
|
2532
2714
|
# * {Types::ListAccountsResponse#next_token #next_token} => String
|
2533
2715
|
#
|
2716
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2717
|
+
#
|
2534
2718
|
# @example Request syntax with placeholder values
|
2535
2719
|
#
|
2536
2720
|
# resp = client.list_accounts({
|
@@ -2586,6 +2770,8 @@ module Aws::Chime
|
|
2586
2770
|
# * {Types::ListAttendeesResponse#attendees #attendees} => Array<Types::Attendee>
|
2587
2771
|
# * {Types::ListAttendeesResponse#next_token #next_token} => String
|
2588
2772
|
#
|
2773
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2774
|
+
#
|
2589
2775
|
# @example Request syntax with placeholder values
|
2590
2776
|
#
|
2591
2777
|
# resp = client.list_attendees({
|
@@ -2629,6 +2815,8 @@ module Aws::Chime
|
|
2629
2815
|
# * {Types::ListBotsResponse#bots #bots} => Array<Types::Bot>
|
2630
2816
|
# * {Types::ListBotsResponse#next_token #next_token} => String
|
2631
2817
|
#
|
2818
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2819
|
+
#
|
2632
2820
|
# @example Request syntax with placeholder values
|
2633
2821
|
#
|
2634
2822
|
# resp = client.list_bots({
|
@@ -2679,6 +2867,8 @@ module Aws::Chime
|
|
2679
2867
|
# * {Types::ListMeetingsResponse#meetings #meetings} => Array<Types::Meeting>
|
2680
2868
|
# * {Types::ListMeetingsResponse#next_token #next_token} => String
|
2681
2869
|
#
|
2870
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2871
|
+
#
|
2682
2872
|
# @example Request syntax with placeholder values
|
2683
2873
|
#
|
2684
2874
|
# resp = client.list_meetings({
|
@@ -2723,6 +2913,8 @@ module Aws::Chime
|
|
2723
2913
|
# * {Types::ListPhoneNumberOrdersResponse#phone_number_orders #phone_number_orders} => Array<Types::PhoneNumberOrder>
|
2724
2914
|
# * {Types::ListPhoneNumberOrdersResponse#next_token #next_token} => String
|
2725
2915
|
#
|
2916
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2917
|
+
#
|
2726
2918
|
# @example Request syntax with placeholder values
|
2727
2919
|
#
|
2728
2920
|
# resp = client.list_phone_number_orders({
|
@@ -2779,6 +2971,8 @@ module Aws::Chime
|
|
2779
2971
|
# * {Types::ListPhoneNumbersResponse#phone_numbers #phone_numbers} => Array<Types::PhoneNumber>
|
2780
2972
|
# * {Types::ListPhoneNumbersResponse#next_token #next_token} => String
|
2781
2973
|
#
|
2974
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2975
|
+
#
|
2782
2976
|
# @example Request syntax with placeholder values
|
2783
2977
|
#
|
2784
2978
|
# resp = client.list_phone_numbers({
|
@@ -2824,6 +3018,61 @@ module Aws::Chime
|
|
2824
3018
|
req.send_request(options)
|
2825
3019
|
end
|
2826
3020
|
|
3021
|
+
# @option params [required, String] :voice_connector_id
|
3022
|
+
#
|
3023
|
+
# @option params [String] :status
|
3024
|
+
#
|
3025
|
+
# @option params [String] :next_token
|
3026
|
+
#
|
3027
|
+
# @option params [Integer] :max_results
|
3028
|
+
#
|
3029
|
+
# @return [Types::ListProxySessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3030
|
+
#
|
3031
|
+
# * {Types::ListProxySessionsResponse#proxy_sessions #proxy_sessions} => Array<Types::ProxySession>
|
3032
|
+
# * {Types::ListProxySessionsResponse#next_token #next_token} => String
|
3033
|
+
#
|
3034
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3035
|
+
#
|
3036
|
+
# @example Request syntax with placeholder values
|
3037
|
+
#
|
3038
|
+
# resp = client.list_proxy_sessions({
|
3039
|
+
# voice_connector_id: "NonEmptyString128", # required
|
3040
|
+
# status: "Open", # accepts Open, InProgress, Closed
|
3041
|
+
# next_token: "NextTokenString",
|
3042
|
+
# max_results: 1,
|
3043
|
+
# })
|
3044
|
+
#
|
3045
|
+
# @example Response structure
|
3046
|
+
#
|
3047
|
+
# resp.proxy_sessions #=> Array
|
3048
|
+
# resp.proxy_sessions[0].voice_connector_id #=> String
|
3049
|
+
# resp.proxy_sessions[0].proxy_session_id #=> String
|
3050
|
+
# resp.proxy_sessions[0].name #=> String
|
3051
|
+
# resp.proxy_sessions[0].status #=> String, one of "Open", "InProgress", "Closed"
|
3052
|
+
# resp.proxy_sessions[0].expiry_minutes #=> Integer
|
3053
|
+
# resp.proxy_sessions[0].capabilities #=> Array
|
3054
|
+
# resp.proxy_sessions[0].capabilities[0] #=> String, one of "Voice", "SMS"
|
3055
|
+
# resp.proxy_sessions[0].created_timestamp #=> Time
|
3056
|
+
# resp.proxy_sessions[0].updated_timestamp #=> Time
|
3057
|
+
# resp.proxy_sessions[0].ended_timestamp #=> Time
|
3058
|
+
# resp.proxy_sessions[0].participants #=> Array
|
3059
|
+
# resp.proxy_sessions[0].participants[0].phone_number #=> String
|
3060
|
+
# resp.proxy_sessions[0].participants[0].proxy_phone_number #=> String
|
3061
|
+
# resp.proxy_sessions[0].number_selection_behavior #=> String, one of "PreferSticky", "AvoidSticky"
|
3062
|
+
# resp.proxy_sessions[0].geo_match_level #=> String, one of "Country", "AreaCode"
|
3063
|
+
# resp.proxy_sessions[0].geo_match_params.country #=> String
|
3064
|
+
# resp.proxy_sessions[0].geo_match_params.area_code #=> String
|
3065
|
+
# resp.next_token #=> String
|
3066
|
+
#
|
3067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions AWS API Documentation
|
3068
|
+
#
|
3069
|
+
# @overload list_proxy_sessions(params = {})
|
3070
|
+
# @param [Hash] params ({})
|
3071
|
+
def list_proxy_sessions(params = {}, options = {})
|
3072
|
+
req = build_request(:list_proxy_sessions, params)
|
3073
|
+
req.send_request(options)
|
3074
|
+
end
|
3075
|
+
|
2827
3076
|
# Lists the membership details for the specified room in an Amazon Chime
|
2828
3077
|
# Enterprise account, such as the members' IDs, email addresses, and
|
2829
3078
|
# names.
|
@@ -2845,6 +3094,8 @@ module Aws::Chime
|
|
2845
3094
|
# * {Types::ListRoomMembershipsResponse#room_memberships #room_memberships} => Array<Types::RoomMembership>
|
2846
3095
|
# * {Types::ListRoomMembershipsResponse#next_token #next_token} => String
|
2847
3096
|
#
|
3097
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3098
|
+
#
|
2848
3099
|
# @example Request syntax with placeholder values
|
2849
3100
|
#
|
2850
3101
|
# resp = client.list_room_memberships({
|
@@ -2898,6 +3149,8 @@ module Aws::Chime
|
|
2898
3149
|
# * {Types::ListRoomsResponse#rooms #rooms} => Array<Types::Room>
|
2899
3150
|
# * {Types::ListRoomsResponse#next_token #next_token} => String
|
2900
3151
|
#
|
3152
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3153
|
+
#
|
2901
3154
|
# @example Request syntax with placeholder values
|
2902
3155
|
#
|
2903
3156
|
# resp = client.list_rooms({
|
@@ -2952,6 +3205,8 @@ module Aws::Chime
|
|
2952
3205
|
# * {Types::ListUsersResponse#users #users} => Array<Types::User>
|
2953
3206
|
# * {Types::ListUsersResponse#next_token #next_token} => String
|
2954
3207
|
#
|
3208
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3209
|
+
#
|
2955
3210
|
# @example Request syntax with placeholder values
|
2956
3211
|
#
|
2957
3212
|
# resp = client.list_users({
|
@@ -3004,6 +3259,8 @@ module Aws::Chime
|
|
3004
3259
|
# * {Types::ListVoiceConnectorGroupsResponse#voice_connector_groups #voice_connector_groups} => Array<Types::VoiceConnectorGroup>
|
3005
3260
|
# * {Types::ListVoiceConnectorGroupsResponse#next_token #next_token} => String
|
3006
3261
|
#
|
3262
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3263
|
+
#
|
3007
3264
|
# @example Request syntax with placeholder values
|
3008
3265
|
#
|
3009
3266
|
# resp = client.list_voice_connector_groups({
|
@@ -3076,6 +3333,8 @@ module Aws::Chime
|
|
3076
3333
|
# * {Types::ListVoiceConnectorsResponse#voice_connectors #voice_connectors} => Array<Types::VoiceConnector>
|
3077
3334
|
# * {Types::ListVoiceConnectorsResponse#next_token #next_token} => String
|
3078
3335
|
#
|
3336
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3337
|
+
#
|
3079
3338
|
# @example Request syntax with placeholder values
|
3080
3339
|
#
|
3081
3340
|
# resp = client.list_voice_connectors({
|
@@ -3261,6 +3520,47 @@ module Aws::Chime
|
|
3261
3520
|
req.send_request(options)
|
3262
3521
|
end
|
3263
3522
|
|
3523
|
+
# @option params [required, String] :voice_connector_id
|
3524
|
+
#
|
3525
|
+
# @option params [required, Integer] :default_session_expiry_minutes
|
3526
|
+
#
|
3527
|
+
# @option params [required, Array<String>] :phone_number_pool_countries
|
3528
|
+
#
|
3529
|
+
# @option params [String] :fall_back_phone_number
|
3530
|
+
#
|
3531
|
+
# @option params [Boolean] :disabled
|
3532
|
+
#
|
3533
|
+
# @return [Types::PutVoiceConnectorProxyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3534
|
+
#
|
3535
|
+
# * {Types::PutVoiceConnectorProxyResponse#proxy #proxy} => Types::Proxy
|
3536
|
+
#
|
3537
|
+
# @example Request syntax with placeholder values
|
3538
|
+
#
|
3539
|
+
# resp = client.put_voice_connector_proxy({
|
3540
|
+
# voice_connector_id: "NonEmptyString128", # required
|
3541
|
+
# default_session_expiry_minutes: 1, # required
|
3542
|
+
# phone_number_pool_countries: ["Country"], # required
|
3543
|
+
# fall_back_phone_number: "E164PhoneNumber",
|
3544
|
+
# disabled: false,
|
3545
|
+
# })
|
3546
|
+
#
|
3547
|
+
# @example Response structure
|
3548
|
+
#
|
3549
|
+
# resp.proxy.default_session_expiry_minutes #=> Integer
|
3550
|
+
# resp.proxy.disabled #=> Boolean
|
3551
|
+
# resp.proxy.fall_back_phone_number #=> String
|
3552
|
+
# resp.proxy.phone_number_countries #=> Array
|
3553
|
+
# resp.proxy.phone_number_countries[0] #=> String
|
3554
|
+
#
|
3555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy AWS API Documentation
|
3556
|
+
#
|
3557
|
+
# @overload put_voice_connector_proxy(params = {})
|
3558
|
+
# @param [Hash] params ({})
|
3559
|
+
def put_voice_connector_proxy(params = {}, options = {})
|
3560
|
+
req = build_request(:put_voice_connector_proxy, params)
|
3561
|
+
req.send_request(options)
|
3562
|
+
end
|
3563
|
+
|
3264
3564
|
# Adds a streaming configuration for the specified Amazon Chime Voice
|
3265
3565
|
# Connector. The streaming configuration specifies whether media
|
3266
3566
|
# streaming is enabled for sending to Amazon Kinesis. It also sets the
|
@@ -3810,6 +4110,56 @@ module Aws::Chime
|
|
3810
4110
|
req.send_request(options)
|
3811
4111
|
end
|
3812
4112
|
|
4113
|
+
# @option params [required, String] :voice_connector_id
|
4114
|
+
#
|
4115
|
+
# @option params [required, String] :proxy_session_id
|
4116
|
+
#
|
4117
|
+
# @option params [required, Array<String>] :capabilities
|
4118
|
+
#
|
4119
|
+
# @option params [Integer] :expiry_minutes
|
4120
|
+
#
|
4121
|
+
# @return [Types::UpdateProxySessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4122
|
+
#
|
4123
|
+
# * {Types::UpdateProxySessionResponse#proxy_session #proxy_session} => Types::ProxySession
|
4124
|
+
#
|
4125
|
+
# @example Request syntax with placeholder values
|
4126
|
+
#
|
4127
|
+
# resp = client.update_proxy_session({
|
4128
|
+
# voice_connector_id: "NonEmptyString128", # required
|
4129
|
+
# proxy_session_id: "NonEmptyString128", # required
|
4130
|
+
# capabilities: ["Voice"], # required, accepts Voice, SMS
|
4131
|
+
# expiry_minutes: 1,
|
4132
|
+
# })
|
4133
|
+
#
|
4134
|
+
# @example Response structure
|
4135
|
+
#
|
4136
|
+
# resp.proxy_session.voice_connector_id #=> String
|
4137
|
+
# resp.proxy_session.proxy_session_id #=> String
|
4138
|
+
# resp.proxy_session.name #=> String
|
4139
|
+
# resp.proxy_session.status #=> String, one of "Open", "InProgress", "Closed"
|
4140
|
+
# resp.proxy_session.expiry_minutes #=> Integer
|
4141
|
+
# resp.proxy_session.capabilities #=> Array
|
4142
|
+
# resp.proxy_session.capabilities[0] #=> String, one of "Voice", "SMS"
|
4143
|
+
# resp.proxy_session.created_timestamp #=> Time
|
4144
|
+
# resp.proxy_session.updated_timestamp #=> Time
|
4145
|
+
# resp.proxy_session.ended_timestamp #=> Time
|
4146
|
+
# resp.proxy_session.participants #=> Array
|
4147
|
+
# resp.proxy_session.participants[0].phone_number #=> String
|
4148
|
+
# resp.proxy_session.participants[0].proxy_phone_number #=> String
|
4149
|
+
# resp.proxy_session.number_selection_behavior #=> String, one of "PreferSticky", "AvoidSticky"
|
4150
|
+
# resp.proxy_session.geo_match_level #=> String, one of "Country", "AreaCode"
|
4151
|
+
# resp.proxy_session.geo_match_params.country #=> String
|
4152
|
+
# resp.proxy_session.geo_match_params.area_code #=> String
|
4153
|
+
#
|
4154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession AWS API Documentation
|
4155
|
+
#
|
4156
|
+
# @overload update_proxy_session(params = {})
|
4157
|
+
# @param [Hash] params ({})
|
4158
|
+
def update_proxy_session(params = {}, options = {})
|
4159
|
+
req = build_request(:update_proxy_session, params)
|
4160
|
+
req.send_request(options)
|
4161
|
+
end
|
4162
|
+
|
3813
4163
|
# Updates room details, such as the room name, for a room in an Amazon
|
3814
4164
|
# Chime Enterprise account.
|
3815
4165
|
#
|
@@ -4106,7 +4456,7 @@ module Aws::Chime
|
|
4106
4456
|
params: params,
|
4107
4457
|
config: config)
|
4108
4458
|
context[:gem_name] = 'aws-sdk-chime'
|
4109
|
-
context[:gem_version] = '1.
|
4459
|
+
context[:gem_version] = '1.22.0'
|
4110
4460
|
Seahorse::Client::Request.new(handlers, context)
|
4111
4461
|
end
|
4112
4462
|
|