Namespace: apigateway

Type Aliases

PostToConnectionContext

Ƭ PostToConnectionContext: Pick<APIGatewayProxyEvent["requestContext"], "domainName" | "stage">

Functions

postToConnection

postToConnection(params, requestContext): Promise<APIGatewayManagementAPI.PostToConnectionCommandOutput | void>

Sends the provided data to the specified connection.

Parameters

Name Type
params PostToConnectionCommandInput
requestContext PostToConnectionContext

Returns

Promise<APIGatewayManagementAPI.PostToConnectionCommandOutput | void>