Skip to content

BatchDetectSyntaxResponse

Source code in docs_src/capo_comprehend/types/batch_detect_syntax_response.py
class BatchDetectSyntaxResponse(TypedDict, closed=True):
    result_list: (
        "capo_comprehend.types.list_of_detect_syntax_result.ListOfDetectSyntaxResult"
    )
    """<p>A list of objects containing the results of the operation. The results are sorted in ascending order by the <code>Index</code> field and match the order of the documents in the input list. If all of the documents contain an error, the <code>ResultList</code> is empty.</p>"""
    error_list: "capo_comprehend.types.batch_item_error_list.BatchItemErrorList"
    """<p>A list containing one object for each document that contained an error. The results are sorted in ascending order by the <code>Index</code> field and match the order of the documents in the input list. If there are no errors in the batch, the <code>ErrorList</code> is empty.</p>"""

error_list instance-attribute

error_list: BatchItemErrorList

A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.

result_list instance-attribute

A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.