CmdID / aws / aws ivschat
aws ivschat delete-message
Sends an event to a specific room which directs clients to delete a specific message; that is, unrender it from view and delete it from the client’s chat history. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To delete messages from a specified room
The following delete-message example sends an even to the specified room, which directs clients to delete the specified message: that is, unrender it from view and delete it from the client's chat history.
aws ivschat delete-message --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" --id "ABC123def456" --reason "Message contains profanity"Identify--room-identifierIdentifier of the room where the message should be deleted.--idID of the message to be deleted.--reasonReason for deleting the message.Its output
{
"id": "12345689012"
}For more information, see Getting Started with Amazon IVS Chat in the Amazon Interactive Video Service User Guide.
Options
--idID of the message to be deleted.--reasonReason for deleting the message.--room-identifierIdentifier of the room where the message should be deleted.