@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)
Amazonivschat
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.
createChatToken
in interface Amazonivschat
public CreateLoggingConfigurationResult createLoggingConfiguration(CreateLoggingConfigurationRequest request)
Amazonivschat
Creates a logging configuration that allows clients to store and record sent messages.
createLoggingConfiguration
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 DeleteLoggingConfigurationResult deleteLoggingConfiguration(DeleteLoggingConfigurationRequest request)
Amazonivschat
Deletes the specified logging configuration.
deleteLoggingConfiguration
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 GetLoggingConfigurationResult getLoggingConfiguration(GetLoggingConfigurationRequest request)
Amazonivschat
Gets the specified logging configuration.
getLoggingConfiguration
in interface Amazonivschat
public GetRoomResult getRoom(GetRoomRequest request)
Amazonivschat
Gets the specified room.
getRoom
in interface Amazonivschat
public ListLoggingConfigurationsResult listLoggingConfigurations(ListLoggingConfigurationsRequest request)
Amazonivschat
Gets summary information about all your logging configurations in the AWS region where the API request is processed.
listLoggingConfigurations
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 UpdateLoggingConfigurationResult updateLoggingConfiguration(UpdateLoggingConfigurationRequest request)
Amazonivschat
Updates a specified logging configuration.
updateLoggingConfiguration
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.