Skip to main content

sqsGroupHandler

Callable

  • sqsGroupHandler<D, Configuration, Service, Profile, Payload>(definition: D & SQSGroupHandler<Configuration, Service, Profile, Payload>, __namedParameters?: { _kernel?: <Configuration, Service, Profile, Payload>(handler: SQSGroupHandler<Configuration, Service, Profile, Payload>, events: SqsRecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<SQSBatchResponse | void> }): D & EventHandlerFn<Configuration, Service, Profile>

  • Type parameters

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

    Parameters

    • definition: D & SQSGroupHandler<Configuration, Service, Profile, Payload>
    • __namedParameters: { _kernel?: <Configuration, Service, Profile, Payload>(handler: SQSGroupHandler<Configuration, Service, Profile, Payload>, events: SqsRecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<SQSBatchResponse | void> } = {}
      • optional_kernel: <Configuration, Service, Profile, Payload>(handler: SQSGroupHandler<Configuration, Service, Profile, Payload>, events: SqsRecordSchema[], context: LambdaContext<Configuration, Service, Profile>) => Promise<SQSBatchResponse | void> = handleSQSMessageGroup

    Returns D & EventHandlerFn<Configuration, Service, Profile>