Chime / Client / create_room
create_room#
- Chime.Client.create_room(**kwargs)#
Creates a chat room for the specified Amazon Chime Enterprise account.
See also: AWS API Documentation
Request Syntax
response = client.create_room( AccountId='string', Name='string', ClientRequestToken='string' )
- Parameters:
AccountId (string) –
[REQUIRED]
The Amazon Chime account ID.
Name (string) –
[REQUIRED]
The room name.
ClientRequestToken (string) –
The idempotency token for the request.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'Room': { 'RoomId': 'string', 'Name': 'string', 'AccountId': 'string', 'CreatedBy': 'string', 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) –
Room (dict) –
The room details.
RoomId (string) –
The room ID.
Name (string) –
The room name.
AccountId (string) –
The Amazon Chime account ID.
CreatedBy (string) –
The identifier of the room creator.
CreatedTimestamp (datetime) –
The room creation timestamp, in ISO 8601 format.
UpdatedTimestamp (datetime) –
The room update timestamp, in ISO 8601 format.
Exceptions