@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonivschat extends Object implements Amazonivschat
Amazonivschat
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateChatTokenResult |
createChatToken(CreateChatTokenRequest request)
Creates an encrypted token that is used to establish an individual WebSocket connection to a room.
|
CreateRoomResult |
createRoom(CreateRoomRequest request)
Creates a room that allows clients to connect and pass messages.
|
DeleteMessageResult |
deleteMessage(DeleteMessageRequest request)
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.
|
DeleteRoomResult |
deleteRoom(DeleteRoomRequest request)
Deletes the specified room.
|
DisconnectUserResult |
disconnectUser(DisconnectUserRequest request)
Disconnects all connections using a specified user ID from a room.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetRoomResult |
getRoom(GetRoomRequest request)
Gets the specified room.
|
ListRoomsResult |
listRooms(ListRoomsRequest request)
Gets summary information about all your rooms in the AWS region where the API request is processed.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Gets information about AWS tags for the specified ARN.
|
SendEventResult |
sendEvent(SendEventRequest request)
Sends an event to a room.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds or updates tags for the AWS resource with the specified ARN.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from the resource with the specified ARN.
|
UpdateRoomResult |
updateRoom(UpdateRoomRequest request)
Updates a room’s configuration.
|
public CreateChatTokenResult createChatToken(CreateChatTokenRequest request)
Amazonivschat
Creates an encrypted token that is used to establish an individual WebSocket connection to a room. The token is valid for one minute, and a connection (session) established with the token is valid for the specified duration.
Encryption keys are owned by Amazon IVS Chat and never used directly by your application.
createChatToken
in interface Amazonivschat
public CreateRoomResult createRoom(CreateRoomRequest request)
Amazonivschat
Creates a room that allows clients to connect and pass messages.
createRoom
in interface Amazonivschat
public DeleteMessageResult deleteMessage(DeleteMessageRequest request)
Amazonivschat
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.
deleteMessage
in interface Amazonivschat
public DeleteRoomResult deleteRoom(DeleteRoomRequest request)
Amazonivschat
Deletes the specified room.
deleteRoom
in interface Amazonivschat
public DisconnectUserResult disconnectUser(DisconnectUserRequest request)
Amazonivschat
Disconnects all connections using a specified user ID from a room. This replicates the DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.
disconnectUser
in interface Amazonivschat
public GetRoomResult getRoom(GetRoomRequest request)
Amazonivschat
Gets the specified room.
getRoom
in interface Amazonivschat
public ListRoomsResult listRooms(ListRoomsRequest request)
Amazonivschat
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
.
listRooms
in interface Amazonivschat
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Amazonivschat
Gets information about AWS tags for the specified ARN.
listTagsForResource
in interface Amazonivschat
public SendEventResult sendEvent(SendEventRequest request)
Amazonivschat
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.
sendEvent
in interface Amazonivschat
public TagResourceResult tagResource(TagResourceRequest request)
Amazonivschat
Adds or updates tags for the AWS resource with the specified ARN.
tagResource
in interface Amazonivschat
public UntagResourceResult untagResource(UntagResourceRequest request)
Amazonivschat
Removes tags from the resource with the specified ARN.
untagResource
in interface Amazonivschat
public UpdateRoomResult updateRoom(UpdateRoomRequest request)
Amazonivschat
Updates a room’s configuration.
updateRoom
in interface Amazonivschat
public void shutdown()
Amazonivschat
shutdown
in interface Amazonivschat
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Amazonivschat
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface Amazonivschat
request
- The originally executed request.