API Reference
    Preparing search index...
    • Converts a handler response to an API Gateway proxy result. Handles APIGatewayProxyResult, Response objects, and plain objects.

      Parameters

      • response: HandlerResponse

        The handler response (APIGatewayProxyResult, Response, or plain object)

      • statusCode: HttpStatusCode = HttpStatusCodes.OK

        The response status code to return

      Returns Promise<APIGatewayProxyResult>

      An API Gateway proxy result