aws-sdk-chime 1.15.0 → 1.16.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 +4 -4
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +439 -12
- data/lib/aws-sdk-chime/client_api.rb +302 -0
- data/lib/aws-sdk-chime/types.rb +580 -5
- 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: d0ec55df10c50792ebc94f9f8059d7f0a8dce6ed
|
4
|
+
data.tar.gz: 74bded06d476dcc6bee9c6e8658bf605cebc040b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ee11fdf7b27282636c805da2c8d80fef6faa8e93bafcaf5f353c9a41cb80831e35e6d8eaa0c7e94578ce0e32ce1b2906e44870b54a782e3ebd8578661ad49a
|
7
|
+
data.tar.gz: 6b968c061178e5e761a9354f5acdecc2ecc57c1e2a583e75953b38346ab40a467eaa9d708867e0a98c1f083ca03a42ef85a438a14748cd7115380affb9a2e4f2
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -370,6 +370,52 @@ module Aws::Chime
|
|
370
370
|
req.send_request(options)
|
371
371
|
end
|
372
372
|
|
373
|
+
# Adds up to 50 members to a chat room. Members can be either users or
|
374
|
+
# bots. The member role designates whether the member is a chat room
|
375
|
+
# administrator or a general chat room member.
|
376
|
+
#
|
377
|
+
# @option params [required, String] :account_id
|
378
|
+
# The Amazon Chime account ID.
|
379
|
+
#
|
380
|
+
# @option params [required, String] :room_id
|
381
|
+
# The room ID.
|
382
|
+
#
|
383
|
+
# @option params [required, Array<Types::MembershipItem>] :membership_item_list
|
384
|
+
# The list of membership items.
|
385
|
+
#
|
386
|
+
# @return [Types::BatchCreateRoomMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
387
|
+
#
|
388
|
+
# * {Types::BatchCreateRoomMembershipResponse#errors #errors} => Array<Types::MemberError>
|
389
|
+
#
|
390
|
+
# @example Request syntax with placeholder values
|
391
|
+
#
|
392
|
+
# resp = client.batch_create_room_membership({
|
393
|
+
# account_id: "NonEmptyString", # required
|
394
|
+
# room_id: "NonEmptyString", # required
|
395
|
+
# membership_item_list: [ # required
|
396
|
+
# {
|
397
|
+
# member_id: "NonEmptyString",
|
398
|
+
# role: "Administrator", # accepts Administrator, Member
|
399
|
+
# },
|
400
|
+
# ],
|
401
|
+
# })
|
402
|
+
#
|
403
|
+
# @example Response structure
|
404
|
+
#
|
405
|
+
# resp.errors #=> Array
|
406
|
+
# resp.errors[0].member_id #=> String
|
407
|
+
# resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
|
408
|
+
# resp.errors[0].error_message #=> String
|
409
|
+
#
|
410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership AWS API Documentation
|
411
|
+
#
|
412
|
+
# @overload batch_create_room_membership(params = {})
|
413
|
+
# @param [Hash] params ({})
|
414
|
+
def batch_create_room_membership(params = {}, options = {})
|
415
|
+
req = build_request(:batch_create_room_membership, params)
|
416
|
+
req.send_request(options)
|
417
|
+
end
|
418
|
+
|
373
419
|
# Moves phone numbers into the **Deletion queue**. Phone numbers must be
|
374
420
|
# disassociated from any users or Amazon Chime Voice Connectors before
|
375
421
|
# they can be deleted.
|
@@ -727,6 +773,100 @@ module Aws::Chime
|
|
727
773
|
req.send_request(options)
|
728
774
|
end
|
729
775
|
|
776
|
+
# Creates a chat room for the specified Amazon Chime account.
|
777
|
+
#
|
778
|
+
# @option params [required, String] :account_id
|
779
|
+
# The Amazon Chime account ID.
|
780
|
+
#
|
781
|
+
# @option params [required, String] :name
|
782
|
+
# The room name.
|
783
|
+
#
|
784
|
+
# @option params [String] :client_request_token
|
785
|
+
# The idempotency token for the request.
|
786
|
+
#
|
787
|
+
# **A suitable default value is auto-generated.** You should normally
|
788
|
+
# not need to pass this option.**
|
789
|
+
#
|
790
|
+
# @return [Types::CreateRoomResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
791
|
+
#
|
792
|
+
# * {Types::CreateRoomResponse#room #room} => Types::Room
|
793
|
+
#
|
794
|
+
# @example Request syntax with placeholder values
|
795
|
+
#
|
796
|
+
# resp = client.create_room({
|
797
|
+
# account_id: "NonEmptyString", # required
|
798
|
+
# name: "SensitiveString", # required
|
799
|
+
# client_request_token: "ClientRequestToken",
|
800
|
+
# })
|
801
|
+
#
|
802
|
+
# @example Response structure
|
803
|
+
#
|
804
|
+
# resp.room.room_id #=> String
|
805
|
+
# resp.room.name #=> String
|
806
|
+
# resp.room.account_id #=> String
|
807
|
+
# resp.room.created_by #=> String
|
808
|
+
# resp.room.created_timestamp #=> Time
|
809
|
+
# resp.room.updated_timestamp #=> Time
|
810
|
+
#
|
811
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom AWS API Documentation
|
812
|
+
#
|
813
|
+
# @overload create_room(params = {})
|
814
|
+
# @param [Hash] params ({})
|
815
|
+
def create_room(params = {}, options = {})
|
816
|
+
req = build_request(:create_room, params)
|
817
|
+
req.send_request(options)
|
818
|
+
end
|
819
|
+
|
820
|
+
# Adds a member to a chat room. A member can be either a user or a bot.
|
821
|
+
# The member role designates whether the member is a chat room
|
822
|
+
# administrator or a general chat room member.
|
823
|
+
#
|
824
|
+
# @option params [required, String] :account_id
|
825
|
+
# The Amazon Chime account ID.
|
826
|
+
#
|
827
|
+
# @option params [required, String] :room_id
|
828
|
+
# The room ID.
|
829
|
+
#
|
830
|
+
# @option params [required, String] :member_id
|
831
|
+
# The Amazon Chime member ID (user ID or bot ID).
|
832
|
+
#
|
833
|
+
# @option params [String] :role
|
834
|
+
# The role of the member.
|
835
|
+
#
|
836
|
+
# @return [Types::CreateRoomMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
837
|
+
#
|
838
|
+
# * {Types::CreateRoomMembershipResponse#room_membership #room_membership} => Types::RoomMembership
|
839
|
+
#
|
840
|
+
# @example Request syntax with placeholder values
|
841
|
+
#
|
842
|
+
# resp = client.create_room_membership({
|
843
|
+
# account_id: "NonEmptyString", # required
|
844
|
+
# room_id: "NonEmptyString", # required
|
845
|
+
# member_id: "NonEmptyString", # required
|
846
|
+
# role: "Administrator", # accepts Administrator, Member
|
847
|
+
# })
|
848
|
+
#
|
849
|
+
# @example Response structure
|
850
|
+
#
|
851
|
+
# resp.room_membership.room_id #=> String
|
852
|
+
# resp.room_membership.member.member_id #=> String
|
853
|
+
# resp.room_membership.member.member_type #=> String, one of "User", "Bot", "Webhook"
|
854
|
+
# resp.room_membership.member.email #=> String
|
855
|
+
# resp.room_membership.member.full_name #=> String
|
856
|
+
# resp.room_membership.member.account_id #=> String
|
857
|
+
# resp.room_membership.role #=> String, one of "Administrator", "Member"
|
858
|
+
# resp.room_membership.invited_by #=> String
|
859
|
+
# resp.room_membership.updated_timestamp #=> Time
|
860
|
+
#
|
861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership AWS API Documentation
|
862
|
+
#
|
863
|
+
# @overload create_room_membership(params = {})
|
864
|
+
# @param [Hash] params ({})
|
865
|
+
def create_room_membership(params = {}, options = {})
|
866
|
+
req = build_request(:create_room_membership, params)
|
867
|
+
req.send_request(options)
|
868
|
+
end
|
869
|
+
|
730
870
|
# Creates an Amazon Chime Voice Connector under the administrator's AWS
|
731
871
|
# account. You can choose to create an Amazon Chime Voice Connector in a
|
732
872
|
# specific AWS Region.
|
@@ -917,6 +1057,62 @@ module Aws::Chime
|
|
917
1057
|
req.send_request(options)
|
918
1058
|
end
|
919
1059
|
|
1060
|
+
# Deletes a chat room.
|
1061
|
+
#
|
1062
|
+
# @option params [required, String] :account_id
|
1063
|
+
# The Amazon Chime account ID.
|
1064
|
+
#
|
1065
|
+
# @option params [required, String] :room_id
|
1066
|
+
# The chat room ID.
|
1067
|
+
#
|
1068
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1069
|
+
#
|
1070
|
+
# @example Request syntax with placeholder values
|
1071
|
+
#
|
1072
|
+
# resp = client.delete_room({
|
1073
|
+
# account_id: "NonEmptyString", # required
|
1074
|
+
# room_id: "NonEmptyString", # required
|
1075
|
+
# })
|
1076
|
+
#
|
1077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom AWS API Documentation
|
1078
|
+
#
|
1079
|
+
# @overload delete_room(params = {})
|
1080
|
+
# @param [Hash] params ({})
|
1081
|
+
def delete_room(params = {}, options = {})
|
1082
|
+
req = build_request(:delete_room, params)
|
1083
|
+
req.send_request(options)
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# Removes a member from a chat room.
|
1087
|
+
#
|
1088
|
+
# @option params [required, String] :account_id
|
1089
|
+
# The Amazon Chime account ID.
|
1090
|
+
#
|
1091
|
+
# @option params [required, String] :room_id
|
1092
|
+
# The room ID.
|
1093
|
+
#
|
1094
|
+
# @option params [required, String] :member_id
|
1095
|
+
# The member ID (user ID or bot ID).
|
1096
|
+
#
|
1097
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1098
|
+
#
|
1099
|
+
# @example Request syntax with placeholder values
|
1100
|
+
#
|
1101
|
+
# resp = client.delete_room_membership({
|
1102
|
+
# account_id: "NonEmptyString", # required
|
1103
|
+
# room_id: "NonEmptyString", # required
|
1104
|
+
# member_id: "NonEmptyString", # required
|
1105
|
+
# })
|
1106
|
+
#
|
1107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership AWS API Documentation
|
1108
|
+
#
|
1109
|
+
# @overload delete_room_membership(params = {})
|
1110
|
+
# @param [Hash] params ({})
|
1111
|
+
def delete_room_membership(params = {}, options = {})
|
1112
|
+
req = build_request(:delete_room_membership, params)
|
1113
|
+
req.send_request(options)
|
1114
|
+
end
|
1115
|
+
|
920
1116
|
# Deletes the specified Amazon Chime Voice Connector. Any phone numbers
|
921
1117
|
# associated with the Amazon Chime Voice Connector must be disassociated
|
922
1118
|
# from it before it can be deleted.
|
@@ -1439,6 +1635,43 @@ module Aws::Chime
|
|
1439
1635
|
req.send_request(options)
|
1440
1636
|
end
|
1441
1637
|
|
1638
|
+
# Retrieves room details, such as name.
|
1639
|
+
#
|
1640
|
+
# @option params [required, String] :account_id
|
1641
|
+
# The Amazon Chime account ID.
|
1642
|
+
#
|
1643
|
+
# @option params [required, String] :room_id
|
1644
|
+
# The room ID.
|
1645
|
+
#
|
1646
|
+
# @return [Types::GetRoomResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1647
|
+
#
|
1648
|
+
# * {Types::GetRoomResponse#room #room} => Types::Room
|
1649
|
+
#
|
1650
|
+
# @example Request syntax with placeholder values
|
1651
|
+
#
|
1652
|
+
# resp = client.get_room({
|
1653
|
+
# account_id: "NonEmptyString", # required
|
1654
|
+
# room_id: "NonEmptyString", # required
|
1655
|
+
# })
|
1656
|
+
#
|
1657
|
+
# @example Response structure
|
1658
|
+
#
|
1659
|
+
# resp.room.room_id #=> String
|
1660
|
+
# resp.room.name #=> String
|
1661
|
+
# resp.room.account_id #=> String
|
1662
|
+
# resp.room.created_by #=> String
|
1663
|
+
# resp.room.created_timestamp #=> Time
|
1664
|
+
# resp.room.updated_timestamp #=> Time
|
1665
|
+
#
|
1666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom AWS API Documentation
|
1667
|
+
#
|
1668
|
+
# @overload get_room(params = {})
|
1669
|
+
# @param [Hash] params ({})
|
1670
|
+
def get_room(params = {}, options = {})
|
1671
|
+
req = build_request(:get_room, params)
|
1672
|
+
req.send_request(options)
|
1673
|
+
end
|
1674
|
+
|
1442
1675
|
# Retrieves details for the specified user ID, such as primary email
|
1443
1676
|
# address, license type, and personal meeting PIN.
|
1444
1677
|
#
|
@@ -1657,8 +1890,8 @@ module Aws::Chime
|
|
1657
1890
|
|
1658
1891
|
# Retrieves the streaming configuration details for the specified Amazon
|
1659
1892
|
# Chime Voice Connector. Shows whether media streaming is enabled for
|
1660
|
-
# sending to Amazon Kinesis
|
1661
|
-
# Amazon Kinesis data
|
1893
|
+
# sending to Amazon Kinesis. It also shows the retention period, in
|
1894
|
+
# hours, for the Amazon Kinesis data.
|
1662
1895
|
#
|
1663
1896
|
# @option params [required, String] :voice_connector_id
|
1664
1897
|
# The Amazon Chime Voice Connector ID.
|
@@ -1753,15 +1986,15 @@ module Aws::Chime
|
|
1753
1986
|
req.send_request(options)
|
1754
1987
|
end
|
1755
1988
|
|
1756
|
-
# Sends email
|
1757
|
-
#
|
1758
|
-
#
|
1989
|
+
# Sends email to a maximum of 50 users, inviting them to the specified
|
1990
|
+
# Amazon Chime `Team` account. Only `Team` account types are currently
|
1991
|
+
# supported for this action.
|
1759
1992
|
#
|
1760
1993
|
# @option params [required, String] :account_id
|
1761
1994
|
# The Amazon Chime account ID.
|
1762
1995
|
#
|
1763
1996
|
# @option params [required, Array<String>] :user_email_list
|
1764
|
-
# The user email addresses to which to send the
|
1997
|
+
# The user email addresses to which to send the email invitation.
|
1765
1998
|
#
|
1766
1999
|
# @return [Types::InviteUsersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1767
2000
|
#
|
@@ -1852,8 +2085,8 @@ module Aws::Chime
|
|
1852
2085
|
# The Amazon Chime account ID.
|
1853
2086
|
#
|
1854
2087
|
# @option params [Integer] :max_results
|
1855
|
-
# The maximum number of results to return in a single call.
|
1856
|
-
# 10.
|
2088
|
+
# The maximum number of results to return in a single call. The default
|
2089
|
+
# is 10.
|
1857
2090
|
#
|
1858
2091
|
# @option params [String] :next_token
|
1859
2092
|
# The token to use to retrieve the next page of results.
|
@@ -2009,6 +2242,108 @@ module Aws::Chime
|
|
2009
2242
|
req.send_request(options)
|
2010
2243
|
end
|
2011
2244
|
|
2245
|
+
# Lists the membership details for the specified room, such as member
|
2246
|
+
# IDs, member email addresses, and member names.
|
2247
|
+
#
|
2248
|
+
# @option params [required, String] :account_id
|
2249
|
+
# The Amazon Chime account ID.
|
2250
|
+
#
|
2251
|
+
# @option params [required, String] :room_id
|
2252
|
+
# The room ID.
|
2253
|
+
#
|
2254
|
+
# @option params [Integer] :max_results
|
2255
|
+
# The maximum number of results to return in a single call.
|
2256
|
+
#
|
2257
|
+
# @option params [String] :next_token
|
2258
|
+
# The token to use to retrieve the next page of results.
|
2259
|
+
#
|
2260
|
+
# @return [Types::ListRoomMembershipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2261
|
+
#
|
2262
|
+
# * {Types::ListRoomMembershipsResponse#room_memberships #room_memberships} => Array<Types::RoomMembership>
|
2263
|
+
# * {Types::ListRoomMembershipsResponse#next_token #next_token} => String
|
2264
|
+
#
|
2265
|
+
# @example Request syntax with placeholder values
|
2266
|
+
#
|
2267
|
+
# resp = client.list_room_memberships({
|
2268
|
+
# account_id: "NonEmptyString", # required
|
2269
|
+
# room_id: "NonEmptyString", # required
|
2270
|
+
# max_results: 1,
|
2271
|
+
# next_token: "String",
|
2272
|
+
# })
|
2273
|
+
#
|
2274
|
+
# @example Response structure
|
2275
|
+
#
|
2276
|
+
# resp.room_memberships #=> Array
|
2277
|
+
# resp.room_memberships[0].room_id #=> String
|
2278
|
+
# resp.room_memberships[0].member.member_id #=> String
|
2279
|
+
# resp.room_memberships[0].member.member_type #=> String, one of "User", "Bot", "Webhook"
|
2280
|
+
# resp.room_memberships[0].member.email #=> String
|
2281
|
+
# resp.room_memberships[0].member.full_name #=> String
|
2282
|
+
# resp.room_memberships[0].member.account_id #=> String
|
2283
|
+
# resp.room_memberships[0].role #=> String, one of "Administrator", "Member"
|
2284
|
+
# resp.room_memberships[0].invited_by #=> String
|
2285
|
+
# resp.room_memberships[0].updated_timestamp #=> Time
|
2286
|
+
# resp.next_token #=> String
|
2287
|
+
#
|
2288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships AWS API Documentation
|
2289
|
+
#
|
2290
|
+
# @overload list_room_memberships(params = {})
|
2291
|
+
# @param [Hash] params ({})
|
2292
|
+
def list_room_memberships(params = {}, options = {})
|
2293
|
+
req = build_request(:list_room_memberships, params)
|
2294
|
+
req.send_request(options)
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
# Lists the room details for the specified Amazon Chime account.
|
2298
|
+
# Optionally, filter the results by a member ID (user ID or bot ID) to
|
2299
|
+
# see a list of rooms that the member belongs to.
|
2300
|
+
#
|
2301
|
+
# @option params [required, String] :account_id
|
2302
|
+
# The Amazon Chime account ID.
|
2303
|
+
#
|
2304
|
+
# @option params [String] :member_id
|
2305
|
+
# The member ID (user ID or bot ID).
|
2306
|
+
#
|
2307
|
+
# @option params [Integer] :max_results
|
2308
|
+
# The maximum number of results to return in a single call.
|
2309
|
+
#
|
2310
|
+
# @option params [String] :next_token
|
2311
|
+
# The token to use to retrieve the next page of results.
|
2312
|
+
#
|
2313
|
+
# @return [Types::ListRoomsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2314
|
+
#
|
2315
|
+
# * {Types::ListRoomsResponse#rooms #rooms} => Array<Types::Room>
|
2316
|
+
# * {Types::ListRoomsResponse#next_token #next_token} => String
|
2317
|
+
#
|
2318
|
+
# @example Request syntax with placeholder values
|
2319
|
+
#
|
2320
|
+
# resp = client.list_rooms({
|
2321
|
+
# account_id: "NonEmptyString", # required
|
2322
|
+
# member_id: "String",
|
2323
|
+
# max_results: 1,
|
2324
|
+
# next_token: "String",
|
2325
|
+
# })
|
2326
|
+
#
|
2327
|
+
# @example Response structure
|
2328
|
+
#
|
2329
|
+
# resp.rooms #=> Array
|
2330
|
+
# resp.rooms[0].room_id #=> String
|
2331
|
+
# resp.rooms[0].name #=> String
|
2332
|
+
# resp.rooms[0].account_id #=> String
|
2333
|
+
# resp.rooms[0].created_by #=> String
|
2334
|
+
# resp.rooms[0].created_timestamp #=> Time
|
2335
|
+
# resp.rooms[0].updated_timestamp #=> Time
|
2336
|
+
# resp.next_token #=> String
|
2337
|
+
#
|
2338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms AWS API Documentation
|
2339
|
+
#
|
2340
|
+
# @overload list_rooms(params = {})
|
2341
|
+
# @param [Hash] params ({})
|
2342
|
+
def list_rooms(params = {}, options = {})
|
2343
|
+
req = build_request(:list_rooms, params)
|
2344
|
+
req.send_request(options)
|
2345
|
+
end
|
2346
|
+
|
2012
2347
|
# Lists the users that belong to the specified Amazon Chime account. You
|
2013
2348
|
# can specify an email address to list only the user that the email
|
2014
2349
|
# address belongs to.
|
@@ -2338,8 +2673,8 @@ module Aws::Chime
|
|
2338
2673
|
|
2339
2674
|
# Adds a streaming configuration for the specified Amazon Chime Voice
|
2340
2675
|
# Connector. The streaming configuration specifies whether media
|
2341
|
-
# streaming is enabled for sending to Amazon Kinesis
|
2342
|
-
# retention period for the Amazon Kinesis data
|
2676
|
+
# streaming is enabled for sending to Amazon Kinesis. It also sets the
|
2677
|
+
# retention period, in hours, for the Amazon Kinesis data.
|
2343
2678
|
#
|
2344
2679
|
# @option params [required, String] :voice_connector_id
|
2345
2680
|
# The Amazon Chime Voice Connector ID.
|
@@ -2858,7 +3193,7 @@ module Aws::Chime
|
|
2858
3193
|
# Updates the phone number settings for the administrator's AWS
|
2859
3194
|
# account, such as the default outbound calling name. You can update the
|
2860
3195
|
# default outbound calling name once every seven days. Outbound calling
|
2861
|
-
# names can take up to 72 hours to
|
3196
|
+
# names can take up to 72 hours to update.
|
2862
3197
|
#
|
2863
3198
|
# @option params [required, String] :calling_name
|
2864
3199
|
# The default outbound calling name for the account.
|
@@ -2880,6 +3215,98 @@ module Aws::Chime
|
|
2880
3215
|
req.send_request(options)
|
2881
3216
|
end
|
2882
3217
|
|
3218
|
+
# Updates room details, such as the room name.
|
3219
|
+
#
|
3220
|
+
# @option params [required, String] :account_id
|
3221
|
+
# The Amazon Chime account ID.
|
3222
|
+
#
|
3223
|
+
# @option params [required, String] :room_id
|
3224
|
+
# The room ID.
|
3225
|
+
#
|
3226
|
+
# @option params [String] :name
|
3227
|
+
# The room name.
|
3228
|
+
#
|
3229
|
+
# @return [Types::UpdateRoomResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3230
|
+
#
|
3231
|
+
# * {Types::UpdateRoomResponse#room #room} => Types::Room
|
3232
|
+
#
|
3233
|
+
# @example Request syntax with placeholder values
|
3234
|
+
#
|
3235
|
+
# resp = client.update_room({
|
3236
|
+
# account_id: "NonEmptyString", # required
|
3237
|
+
# room_id: "NonEmptyString", # required
|
3238
|
+
# name: "SensitiveString",
|
3239
|
+
# })
|
3240
|
+
#
|
3241
|
+
# @example Response structure
|
3242
|
+
#
|
3243
|
+
# resp.room.room_id #=> String
|
3244
|
+
# resp.room.name #=> String
|
3245
|
+
# resp.room.account_id #=> String
|
3246
|
+
# resp.room.created_by #=> String
|
3247
|
+
# resp.room.created_timestamp #=> Time
|
3248
|
+
# resp.room.updated_timestamp #=> Time
|
3249
|
+
#
|
3250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom AWS API Documentation
|
3251
|
+
#
|
3252
|
+
# @overload update_room(params = {})
|
3253
|
+
# @param [Hash] params ({})
|
3254
|
+
def update_room(params = {}, options = {})
|
3255
|
+
req = build_request(:update_room, params)
|
3256
|
+
req.send_request(options)
|
3257
|
+
end
|
3258
|
+
|
3259
|
+
# Updates room membership details, such as member role. The member role
|
3260
|
+
# designates whether the member is a chat room administrator or a
|
3261
|
+
# general chat room member. Member role can only be updated for user
|
3262
|
+
# IDs.
|
3263
|
+
#
|
3264
|
+
# @option params [required, String] :account_id
|
3265
|
+
# The Amazon Chime account ID.
|
3266
|
+
#
|
3267
|
+
# @option params [required, String] :room_id
|
3268
|
+
# The room ID.
|
3269
|
+
#
|
3270
|
+
# @option params [required, String] :member_id
|
3271
|
+
# The member ID.
|
3272
|
+
#
|
3273
|
+
# @option params [String] :role
|
3274
|
+
# The role of the member.
|
3275
|
+
#
|
3276
|
+
# @return [Types::UpdateRoomMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3277
|
+
#
|
3278
|
+
# * {Types::UpdateRoomMembershipResponse#room_membership #room_membership} => Types::RoomMembership
|
3279
|
+
#
|
3280
|
+
# @example Request syntax with placeholder values
|
3281
|
+
#
|
3282
|
+
# resp = client.update_room_membership({
|
3283
|
+
# account_id: "NonEmptyString", # required
|
3284
|
+
# room_id: "NonEmptyString", # required
|
3285
|
+
# member_id: "NonEmptyString", # required
|
3286
|
+
# role: "Administrator", # accepts Administrator, Member
|
3287
|
+
# })
|
3288
|
+
#
|
3289
|
+
# @example Response structure
|
3290
|
+
#
|
3291
|
+
# resp.room_membership.room_id #=> String
|
3292
|
+
# resp.room_membership.member.member_id #=> String
|
3293
|
+
# resp.room_membership.member.member_type #=> String, one of "User", "Bot", "Webhook"
|
3294
|
+
# resp.room_membership.member.email #=> String
|
3295
|
+
# resp.room_membership.member.full_name #=> String
|
3296
|
+
# resp.room_membership.member.account_id #=> String
|
3297
|
+
# resp.room_membership.role #=> String, one of "Administrator", "Member"
|
3298
|
+
# resp.room_membership.invited_by #=> String
|
3299
|
+
# resp.room_membership.updated_timestamp #=> Time
|
3300
|
+
#
|
3301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership AWS API Documentation
|
3302
|
+
#
|
3303
|
+
# @overload update_room_membership(params = {})
|
3304
|
+
# @param [Hash] params ({})
|
3305
|
+
def update_room_membership(params = {}, options = {})
|
3306
|
+
req = build_request(:update_room_membership, params)
|
3307
|
+
req.send_request(options)
|
3308
|
+
end
|
3309
|
+
|
2883
3310
|
# Updates user details for a specified user ID. Currently, only
|
2884
3311
|
# `LicenseType` updates are supported for this action.
|
2885
3312
|
#
|
@@ -3069,7 +3496,7 @@ module Aws::Chime
|
|
3069
3496
|
params: params,
|
3070
3497
|
config: config)
|
3071
3498
|
context[:gem_name] = 'aws-sdk-chime'
|
3072
|
-
context[:gem_version] = '1.
|
3499
|
+
context[:gem_version] = '1.16.0'
|
3073
3500
|
Seahorse::Client::Request.new(handlers, context)
|
3074
3501
|
end
|
3075
3502
|
|