CmdID / aws / aws ivschat
aws ivschat send-event
Sends an event to a room. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To send an event to a room
The following send-event example sends the given event to the specified room.
aws ivschat send-event --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" --event-name "SystemMessage" --attributes "msgType"="user-notification","msgText"="This chat room will close in 15 minutes."Identify--room-identifierIdentifier of the room to which the event will be sent.--event-nameApplication-defined name of the event to send to clients.--attributesApplication-defined metadata to attach to the event sent to clients.Its output
{
"id": "12345689012"
}For more information, see Getting Started with Amazon IVS Chat in the Amazon Interactive Video Service User Guide.
Options
--attributesApplication-defined metadata to attach to the event sent to clients.--event-nameApplication-defined name of the event to send to clients.--room-identifierIdentifier of the room to which the event will be sent.