disconnect_user
(**kwargs)¶Disconnects all connections using a specified user ID from a room. This replicates the DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.
See also: AWS API Documentation
Request Syntax
response = client.disconnect_user(
reason='string',
roomIdentifier='string',
userId='string'
)
[REQUIRED]
Identifier of the room from which the user's clients should be disconnected. Currently this must be an ARN.
[REQUIRED]
ID of the user (connection) to disconnect from the room.
dict
Response Syntax
{}
Response Structure
Exceptions
ivschat.Client.exceptions.ThrottlingException
ivschat.Client.exceptions.AccessDeniedException
ivschat.Client.exceptions.ResourceNotFoundException
ivschat.Client.exceptions.PendingVerification
ivschat.Client.exceptions.ValidationException