Skip to main content

KinesisEventHandler <Configuration, Service, Profile, Payload, Return>

Index

Properties

handler

handler: (request: NoInfer<KinesisEvent<Payload>>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<NoInfer<void | Return>>>

Type declaration

    • (request: NoInfer<KinesisEvent<Payload>>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<NoInfer<void | Return>>>
    • Parameters

      Returns Promisable<Try<NoInfer<void | Return>>>

optionalpayloadType

payloadType?: binary | json | plaintext

schema

schema: { payload?: Schema<Payload> }

Type declaration

  • optionalpayload?: Schema<Payload>