• Higher level function to handle batch event processing

    Parameters

    • event: {
          Records: BaseRecord[];
      }

      Lambda's original event

      • Records: BaseRecord[]
    • recordHandler: CallableFunction

      Callable function to process each record from the batch

    • processor: BasePartialBatchProcessor

      Batch processor to handle partial failure cases

    • Optional options: BatchProcessingOptions

      Batch processing options

    Returns Promise<PartialItemFailureResponse>

    Lambda Partial Batch Response