BatchState

Represents the state of a batch of records as it moves through processing. These are generic stages for bookkeeping, which CDK interface devs can assign to processing stages as they see fit. The only significant values are

  • BatchState.PERSISTED Records will be considered recoverably persisted and checkpoints will be acked to the orchestrator.

  • BatchState.COMPLETE All per-batch processing is done. (Post-processing may still occur during close-of-stream). Records are considered PERSISTED (ie, will be acked if not already). If all records are COMPLETE, and end-of-stream has been read, the stream will be considered complete and will be closed.

  • All other values are for bookkeeping convenience only.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.