Skip to main content

RawEventHandler <Configuration, Service, Profile, Payload, Result>

Index

Properties

Properties

handler

handler: (request: NoInfer<Payload>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<NoInfer<Result>>>

Type declaration

    • (request: NoInfer<Payload>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<NoInfer<Result>>>
    • Parameters

      • request: NoInfer<Payload>
      • context: LambdaContext<Configuration, Service, Profile>

      Returns Promisable<Try<NoInfer<Result>>>

schema

schema: { payload?: Schema<Payload>; result?: Schema<Result> }

Type declaration

  • optionalpayload?: Schema<Payload>
  • optionalresult?: Schema<Result>