CmdID / aws / aws ivschat
aws ivschat create-room
Creates a room that allows clients to connect and pass messages. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To create a room
The following create-room example creates a new room.
aws ivschat create-room --name "test-room-1" --logging-configuration-identifiers "arn:aws:ivschat:us-west-2:123456789012:logging-configuration/ABcdef34ghIJ" --maximum-message-length 256 --maximum-message-rate-per-second 5Identify--nameRoom name.--logging-configuration-identifiersArray of logging-configuration identifiers attached to the room.--maximum-message-lengthMaximum number of characters in a single message.--maximum-message-rate-per-secondMaximum number of messages per second that can be sent to the room (by all clients).Its output
{
"arn": "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6",
"id": "g1H2I3j4k5L6",
"createTime": "2022-03-16T04:44:09+00:00",
"loggingConfigurationIdentifiers": ["arn:aws:ivschat:us-west-2:123456789012:logging-configuration/ABcdef34ghIJ"],
"maximumMessageLength": 256,
"maximumMessageRatePerSecond": 5,
"name": "test-room-1",
"tags": {},
"updateTime": "2022-03-16T07:22:09+00:00"
}For more information, see Step 2: Create a Chat Room in the Amazon Interactive Video Service User Guide.
Options
--logging-configuration-identifiersArray of logging-configuration identifiers attached to the room.--maximum-message-lengthMaximum number of characters in a single message.--maximum-message-rate-per-secondMaximum number of messages per second that can be sent to the room (by all clients).--message-review-handlerConfiguration information for optional review of messages.--nameRoom name.--tagsTags to attach to the resource.