Package-level declarations

Types

Link copied to clipboard

Introduction

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

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.

Link copied to clipboard

Creates a logging configuration that allows clients to store and record sent messages.

Link copied to clipboard
inline suspend fun IvschatClient.createRoom(crossinline block: CreateRoomRequest.Builder.() -> Unit): CreateRoomResponse

Creates a room that allows clients to connect and pass messages.

Link copied to clipboard

Deletes the specified logging configuration.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun IvschatClient.deleteRoom(crossinline block: DeleteRoomRequest.Builder.() -> Unit): DeleteRoomResponse

Deletes the specified room.

Link copied to clipboard

Disconnects all connections using a specified user ID from a room. This replicates the DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.

Link copied to clipboard

Gets the specified logging configuration.

Link copied to clipboard
inline suspend fun IvschatClient.getRoom(crossinline block: GetRoomRequest.Builder.() -> Unit): GetRoomResponse

Gets the specified room.

Link copied to clipboard

Gets summary information about all your logging configurations in the AWS region where the API request is processed.

Link copied to clipboard
inline suspend fun IvschatClient.listRooms(crossinline block: ListRoomsRequest.Builder.() -> Unit): ListRoomsResponse

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.

Link copied to clipboard

Gets information about AWS tags for the specified ARN.

Link copied to clipboard
inline suspend fun IvschatClient.sendEvent(crossinline block: SendEventRequest.Builder.() -> Unit): SendEventResponse

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.

Link copied to clipboard
inline suspend fun IvschatClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds or updates tags for the AWS resource with the specified ARN.

Link copied to clipboard

Removes tags from the resource with the specified ARN.

Link copied to clipboard

Updates a specified logging configuration.

Link copied to clipboard
inline suspend fun IvschatClient.updateRoom(crossinline block: UpdateRoomRequest.Builder.() -> Unit): UpdateRoomResponse

Updates a room’s configuration.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.