Skip to main content

SQSGroupEventHandler <Configuration, Service, Profile, Payload>

Index

Properties

handler

handler: (payload: SQSMessageGroup<InferFromParser<Payload, unknown>>, context: LambdaContext<Configuration, Service, Profile>) => Promisable<Try<NoInfer<void | SQSBatchItemFailure[]>>>

Type declaration

    • (payload: SQSMessageGroup<InferFromParser<Payload, unknown>>, context: LambdaContext<Configuration, Service, Profile>): Promisable<Try<NoInfer<void | SQSBatchItemFailure[]>>>
    • Parameters

      Returns Promisable<Try<NoInfer<void | SQSBatchItemFailure[]>>>

optionalparallelism

parallelism?: number = ```ts 1 ```

The number of message groups to process in parallel.

optionalpayloadType

payloadType?: json | plaintext

schema

schema: { payload?: Payload }

Type declaration

  • optionalpayload?: Payload
Page Options