- restApiHandler<Configuration, Service, Profile, Body, Path, Query, Headers, Result, Security, Authorizer, D>(definition: D & HTTPHandler<Configuration, Service, Profile, Body, Path, Query, Headers, Result, Security, Authorizer, rest>, __namedParameters?: { _kernel?: <Handler>(handler: Handler, event: APIGatewayProxyEventV2Schema | APIGatewayProxyEventSchema, context: LambdaContext<unknown, unknown, unknown>) => Promise<Try<APIGatewayProxyResult | APIGatewayProxyResultV2>> }): D & EventHandlerFn<Configuration, Service, Profile, Result>
Type parameters
- Configuration
- Service: undefined | DefaultServices
- Profile
- Body
- Path
- Query
- Headers
- Result: Responses
- Security: SecurityRequirements
- Authorizer: AuthorizerSchema
- D
Parameters
definition: D & HTTPHandler<Configuration, Service, Profile, Body, Path, Query, Headers, Result, Security, Authorizer, rest>
__namedParameters: { _kernel?: <Handler>(handler: Handler, event: APIGatewayProxyEventV2Schema | APIGatewayProxyEventSchema, context: LambdaContext<unknown, unknown, unknown>) => Promise<Try<APIGatewayProxyResult | APIGatewayProxyResultV2>> } = {}
Returns D & EventHandlerFn<Configuration, Service, Profile, Result>