@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 | Constructor and Description |
|---|---|
protected |
AbstractAmazonivschat() |
| 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)
AmazonivschatCreates 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 Amazonivschatpublic CreateRoomResult createRoom(CreateRoomRequest request)
AmazonivschatCreates a room that allows clients to connect and pass messages.
createRoom in interface Amazonivschatpublic 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 Amazonivschatpublic DeleteRoomResult deleteRoom(DeleteRoomRequest request)
AmazonivschatDeletes the specified room.
deleteRoom in interface Amazonivschatpublic DisconnectUserResult disconnectUser(DisconnectUserRequest request)
AmazonivschatDisconnects 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 Amazonivschatpublic GetRoomResult getRoom(GetRoomRequest request)
AmazonivschatGets the specified room.
getRoom in interface Amazonivschatpublic 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 Amazonivschatpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonivschatGets information about AWS tags for the specified ARN.
listTagsForResource in interface Amazonivschatpublic SendEventResult sendEvent(SendEventRequest request)
AmazonivschatSends 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 Amazonivschatpublic TagResourceResult tagResource(TagResourceRequest request)
AmazonivschatAdds or updates tags for the AWS resource with the specified ARN.
tagResource in interface Amazonivschatpublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonivschatRemoves tags from the resource with the specified ARN.
untagResource in interface Amazonivschatpublic UpdateRoomResult updateRoom(UpdateRoomRequest request)
AmazonivschatUpdates a room’s configuration.
updateRoom in interface Amazonivschatpublic void shutdown()
Amazonivschatshutdown in interface Amazonivschatpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonivschatResponse 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 Amazonivschatrequest - The originally executed request.Copyright © 2022. All rights reserved.