- restApiAuthorizer<Configuration, Service, Profile, Path, Query, Headers, Context, Security, D>(definition: D & RequestAuthorizerHandler<Configuration, Service, Profile, Path, Query, Headers, Context, Security, rest>, __namedParameters?: { _kernel?: <Handler>(handler: Handler, event: APIGatewayRequestAuthorizerEventV2Schema | APIGatewayRequestAuthorizerEventSchema, context: LambdaContext<unknown, unknown, unknown>) => Promise<Try<APIGatewayIAMAuthorizerResult | APIGatewaySimpleAuthorizerResult>> }): D & EventHandlerFn<Configuration, Service, Profile>
Type parameters
- Configuration
- Service: undefined | DefaultServices
- Profile
- Path
- Query
- Headers
- Context
- Security: SecuritySchemes
- D
Parameters
definition: D & RequestAuthorizerHandler<Configuration, Service, Profile, Path, Query, Headers, Context, Security, rest>
__namedParameters: { _kernel?: <Handler>(handler: Handler, event: APIGatewayRequestAuthorizerEventV2Schema | APIGatewayRequestAuthorizerEventSchema, context: LambdaContext<unknown, unknown, unknown>) => Promise<Try<APIGatewayIAMAuthorizerResult | APIGatewaySimpleAuthorizerResult>> } = {}
Returns D & EventHandlerFn<Configuration, Service, Profile>