CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

3 in the AWS CLI reference
--idID of the message to be deleted.
--reasonReason for deleting the message.
--room-identifierIdentifier of the room where the message should be deleted.