Skip to main content

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

Index

Properties

Properties

handler

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

Type declaration

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

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

      Returns Promisable<Try<NoInfer<InferFromParser<Result, unknown>>>>

schema

schema: { payload?: Payload; result?: Result }

Type declaration

  • optionalpayload?: Payload
  • optionalresult?: Result
Page Options