Function: awsLambdaRequestHandler()
awsLambdaRequestHandler<
TRouter
,TEvent
,TResult
>(opts
): (event
,context
) =>Promise
<TResult
>
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, TRouter > |
TEvent extends APIGatewayEvent |
TResult extends APIGatewayProxyResult | APIGatewayProxyStructuredResultV2 |
Parameters
Parameter | Type |
---|---|
opts | AWSLambdaOptions < TRouter , TEvent > |
Returns
(
event
,context
):Promise
<TResult
>Parameters
Parameter Type event
TEvent
context
APIGWContext
Returns
Promise
<TResult
>
Source
packages/server/src/adapters/aws-lambda/index.ts:103
Generated using TypeDoc and typedoc-plugin-markdown