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'
)
[REQUIRED]
The Amazon Chime account ID.
[REQUIRED]
The room name.
The idempotency token for the request.
This field is autopopulated if not provided.
dict
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
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.ResourceLimitExceededException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException