Ivschat
import { Ivschat } from "https://aws-api.deno.dev/v0.4/services/ivschat.ts?docs=full";
§Constructors
§Methods
Creates an encrypted token that is used by a chat participant to establish an individual WebSocket chat connection to a room. When the token is used to connect to chat, the connection is valid for the session duration specified in the request. The token becomes invalid at the token-expiration timestamp included in the response.
Use the capabilities
field to permit an end user to send messages or moderate a room.
The attributes
field securely attaches structured data to the chat session; the data is included within each message sent by the end user and received by other participants in the room.
Common use cases for attributes include passing end-user profile data like an icon, display name, colors, badges, and other display features.
Encryption keys are owned by Amazon IVS Chat and never used directly by your application.
Creates a logging configuration that allows clients to store and record sent messages.
Deletes the specified logging configuration.
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.
This event’s EventName
is aws:DELETE_MESSAGE
.
This replicates the DeleteMessage WebSocket operation in the Amazon IVS Chat Messaging API.
Disconnects all connections using a specified user ID from a room. This replicates the DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.
Gets the specified logging configuration.
Gets summary information about all your logging configurations in the AWS region where the API request is processed.
Gets summary information about all your rooms in the AWS region where the API request is processed.
Results are sorted in descending order of updateTime
.
Gets information about AWS tags for the specified ARN.
Sends an event to a room. Use this within your application’s business logic to send events to clients of a room; e.g., to notify clients to change the way the chat UI is rendered.
Updates a specified logging configuration.