post_to_connection
(**kwargs)¶Sends the provided data to the specified connection.
See also: AWS API Documentation
Request Syntax
response = client.post_to_connection(
Data=b'bytes'|file,
ConnectionId='string'
)
[REQUIRED]
The data to be sent to the client specified by its connection id.
[REQUIRED]
The identifier of the connection that a specific client is using.
None
Exceptions
ApiGatewayManagementApi.Client.exceptions.GoneException
ApiGatewayManagementApi.Client.exceptions.LimitExceededException
ApiGatewayManagementApi.Client.exceptions.PayloadTooLargeException
ApiGatewayManagementApi.Client.exceptions.ForbiddenException