API Reference
    Preparing search index...
    • Parse the record according to the schema and event type passed.

      If the passed schema is already an extended schema, use the schema directly to parse the record.

      Parts of the parser integration within BatchProcessor rely on Zod for schema transformations, however some other parts also support other Standard Schema-compatible libraries.

      Parameters

      • record: EventSourceDataClassTypes

        The record to be parsed

      • eventType: "SQS" | "KinesisDataStreams" | "DynamoDBStreams"

        The type of event to process

      • logger: Pick<GenericLogger, "debug" | "warn" | "error">

        A logger instance for logging

      • parserConfig: BatchProcessorConfig

        The parser configuration options

      Returns Promise<EventSourceDataClassTypes>