Skip to main content

s3Handler

Callable

  • s3Handler<D, Configuration, Service, Profile>(definition: D & S3Handler<Configuration, Service, Profile>, __namedParameters?: { _kernel?: <Configuration, Service, Profile>(handler: S3Handler<Configuration, Service, Profile>, events: S3RecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> }): D & EventHandlerFn<Configuration, Service, Profile>

  • Type parameters

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

    Parameters

    • definition: D & S3Handler<Configuration, Service, Profile>
    • __namedParameters: { _kernel?: <Configuration, Service, Profile>(handler: S3Handler<Configuration, Service, Profile>, events: S3RecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> } = {}
      • optional_kernel: <Configuration, Service, Profile>(handler: S3Handler<Configuration, Service, Profile>, events: S3RecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> = handleS3Event

    Returns D & EventHandlerFn<Configuration, Service, Profile>