Skip to main content

kinesisHandler

Callable

  • kinesisHandler<D, Configuration, Service, Profile, Payload>(definition: D & KinesisHandler<Configuration, Service, Profile, Payload, MaybeGenericParser>, __namedParameters?: { _kernel?: <Configuration, Service, Profile, Payload>(handler: KinesisHandler<Configuration, Service, Profile, Payload, MaybeGenericParser>, events: KinesisDataStreamRecord[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<KinesisStreamBatchResponse | void>> }): D & EventHandlerFn<Configuration, Service, Profile>

  • Type parameters

    • D
    • Configuration = undefined
    • Service: undefined | DefaultServices = undefined
    • Profile: MaybeGenericParser = undefined
    • Payload: MaybeGenericParser = undefined

    Parameters

    • definition: D & KinesisHandler<Configuration, Service, Profile, Payload, MaybeGenericParser>
    • __namedParameters: { _kernel?: <Configuration, Service, Profile, Payload>(handler: KinesisHandler<Configuration, Service, Profile, Payload, MaybeGenericParser>, events: KinesisDataStreamRecord[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<KinesisStreamBatchResponse | void>> } = {}
      • optional_kernel: <Configuration, Service, Profile, Payload>(handler: KinesisHandler<Configuration, Service, Profile, Payload, MaybeGenericParser>, events: KinesisDataStreamRecord[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<KinesisStreamBatchResponse | void>> = handleKinesisEvent

    Returns D & EventHandlerFn<Configuration, Service, Profile>