@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 by a chat participant to establish an individual WebSocket chat
connection to a room.
|
CreateLoggingConfigurationResult |
createLoggingConfiguration(CreateLoggingConfigurationRequest request)
Creates a logging configuration that allows clients to store and record sent messages.
|
CreateRoomResult |
createRoom(CreateRoomRequest request)
Creates a room that allows clients to connect and pass messages.
|
DeleteLoggingConfigurationResult |
deleteLoggingConfiguration(DeleteLoggingConfigurationRequest request)
Deletes the specified logging configuration.
|
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.
|
GetLoggingConfigurationResult |
getLoggingConfiguration(GetLoggingConfigurationRequest request)
Gets the specified logging configuration.
|
GetRoomResult |
getRoom(GetRoomRequest request)
Gets the specified room.
|
ListLoggingConfigurationsResult |
listLoggingConfigurations(ListLoggingConfigurationsRequest request)
Gets summary information about all your logging configurations in the AWS region where the API request is
processed.
|
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.
|
UpdateLoggingConfigurationResult |
updateLoggingConfiguration(UpdateLoggingConfigurationRequest request)
Updates a specified logging configuration.
|
UpdateRoomResult |
updateRoom(UpdateRoomRequest request)
Updates a room’s configuration.
|
public CreateChatTokenResult createChatToken(CreateChatTokenRequest request)
AmazonivschatCreates 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.
createChatToken in interface Amazonivschatpublic CreateLoggingConfigurationResult createLoggingConfiguration(CreateLoggingConfigurationRequest request)
AmazonivschatCreates a logging configuration that allows clients to store and record sent messages.
createLoggingConfiguration in interface Amazonivschatpublic CreateRoomResult createRoom(CreateRoomRequest request)
AmazonivschatCreates a room that allows clients to connect and pass messages.
createRoom in interface Amazonivschatpublic DeleteLoggingConfigurationResult deleteLoggingConfiguration(DeleteLoggingConfigurationRequest request)
AmazonivschatDeletes the specified logging configuration.
deleteLoggingConfiguration 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 GetLoggingConfigurationResult getLoggingConfiguration(GetLoggingConfigurationRequest request)
AmazonivschatGets the specified logging configuration.
getLoggingConfiguration in interface Amazonivschatpublic GetRoomResult getRoom(GetRoomRequest request)
AmazonivschatGets the specified room.
getRoom in interface Amazonivschatpublic ListLoggingConfigurationsResult listLoggingConfigurations(ListLoggingConfigurationsRequest request)
AmazonivschatGets summary information about all your logging configurations in the AWS region where the API request is processed.
listLoggingConfigurations 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 UpdateLoggingConfigurationResult updateLoggingConfiguration(UpdateLoggingConfigurationRequest request)
AmazonivschatUpdates a specified logging configuration.
updateLoggingConfiguration 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.