Skip to content

BatchItemError

Source code in docs_src/capo_comprehend/types/batch_item_error.py
class BatchItemError(TypedDict, closed=True):
    index: NotRequired["capo_comprehend.types.integer.Integer"]
    """<p>The zero-based index of the document in the input list.</p>"""
    error_code: NotRequired["capo_comprehend.types.string.String"]
    """<p>The numeric error code of the error.</p>"""
    error_message: NotRequired["capo_comprehend.types.string.String"]
    """<p>A text description of the error.</p>"""

error_code instance-attribute

error_code: NotRequired[String]

The numeric error code of the error.

error_message instance-attribute

error_message: NotRequired[String]

A text description of the error.

index instance-attribute

index: NotRequired[Integer]

The zero-based index of the document in the input list.