Skip to main content

RequestAuthorizerEventHandler <Configuration, Service, Profile, Path, Query, Headers, Context, Security, GV>

Index

Properties

handler

handler: (request: NoInfer<RequestAuthorizerEvent<InferFromParser<Path, undefined>, InferFromParser<Query, undefined>, InferFromParser<Headers, undefined>, Security, GV>>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<AuthorizerReponse<NoInfer<InferFromParser<Context, undefined>>>>>

Type declaration

    • (request: NoInfer<RequestAuthorizerEvent<InferFromParser<Path, undefined>, InferFromParser<Query, undefined>, InferFromParser<Headers, undefined>, Security, GV>>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<AuthorizerReponse<NoInfer<InferFromParser<Context, undefined>>>>>
    • Parameters

      • request: NoInfer<RequestAuthorizerEvent<InferFromParser<Path, undefined>, InferFromParser<Query, undefined>, InferFromParser<Headers, undefined>, Security, GV>>
      • context: LambdaContext<Configuration, Service, Profile>

      Returns Promisable<Try<AuthorizerReponse<NoInfer<InferFromParser<Context, undefined>>>>>

optionalschema

schema?: { context?: Context; headers?: Headers; path?: Path; query?: Query }

Type declaration

  • optionalcontext?: Context
  • optionalheaders?: Headers
  • optionalpath?: Path
  • optionalquery?: Query

optionalsecurity

security?: Security
Page Options