Skip to content

GetDocumentInsightsResponse

Source code in docs_src/capo_textract/types/get_document_insights_response.py
class GetDocumentInsightsResponse(TypedDict, closed=True):
    status: "capo_textract.types.job_status.JobStatus"
    """<p>The current status of the document insights job, indicating whether it is still running, has completed, or has failed. When the job has failed, inspect <code>ErrorType</code> and <code>ErrorMessage</code> for details.</p>"""
    output_configuration: NotRequired[
        "capo_textract.types.output_configuration.OutputConfiguration"
    ]
    """<p>The Amazon S3 location where the analysis results are written.</p>"""
    error_type: NotRequired["capo_textract.types.error_type.ErrorType"]
    """<p>The type of error that caused the job to fail. Present only when the job status is a failure state.</p>"""
    error_message: NotRequired["capo_textract.types.error_message.ErrorMessage"]
    """<p>A human-readable description of the error that caused the job to fail. Present only when the job status is a failure state.</p>"""

error_message instance-attribute

error_message: NotRequired[ErrorMessage]

A human-readable description of the error that caused the job to fail. Present only when the job status is a failure state.

error_type instance-attribute

error_type: NotRequired[ErrorType]

The type of error that caused the job to fail. Present only when the job status is a failure state.

output_configuration instance-attribute

output_configuration: NotRequired[OutputConfiguration]

The Amazon S3 location where the analysis results are written.

status instance-attribute

status: JobStatus

The current status of the document insights job, indicating whether it is still running, has completed, or has failed. When the job has failed, inspect ErrorType and ErrorMessage for details.