**To create a chat token** The following ``create-chat-token`` example creates an encrypted chat token that is used to establish an individual WebSocket connection to a room. The token is valid for one minute, and a connection (session) established with the token is valid for the specified duration. :: aws ivschat create-chat-token \ --roomIdentifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6", \ --userId" "11231234" \ --capabilities "SEND_MESSAGE", \ --sessionDurationInMinutes" 30 Output:: { "token": "ACEGmnoq#1rstu2...BDFH3vxwy!4hlm!#5", "sessionExpirationTime": "2022-03-16T04:44:09+00:00" "state": "CREATING", "tokenExpirationTime": "2022-03-16T03:45:09+00:00" } For more information, see `Step 3: Authenticate and Authorize Chat Clients <https://docs.aws.amazon.com/ivs/latest/userguide/getting-started-chat.html>`__ in the *Amazon Interactive Video Service User Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
create-chat-token.rst | File | 995 B | 0644 |
|
create-logging-configuration.rst | File | 1.13 KB | 0644 |
|
create-room.rst | File | 1.02 KB | 0644 |
|
delete-logging-configuration.rst | File | 561 B | 0644 |
|
delete-message.rst | File | 718 B | 0644 |
|
delete-room.rst | File | 538 B | 0644 |
|
disconnect-user.rst | File | 661 B | 0644 |
|
get-logging-configuration.rst | File | 1.05 KB | 0644 |
|
get-room.rst | File | 918 B | 0644 |
|
list-logging-configurations.rst | File | 1.34 KB | 0644 |
|
list-rooms.rst | File | 1.2 KB | 0644 |
|
list-tags-for-resource.rst | File | 600 B | 0644 |
|
send-event.rst | File | 669 B | 0644 |
|
tag-resource.rst | File | 622 B | 0644 |
|
untag-resource.rst | File | 603 B | 0644 |
|
update-logging-configuration.rst | File | 1.14 KB | 0644 |
|
update-room.rst | File | 1.17 KB | 0644 |
|