Skip to main content

kinesisHandler

Callable

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

  • Type parameters

    Parameters

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

    Returns D & EventHandlerFn<Configuration, Service, Profile>