Skip to content

BatchDetectTargetedSentimentResponse

Source code in docs_src/capo_comprehend/types/batch_detect_targeted_sentiment_response.py
class BatchDetectTargetedSentimentResponse(TypedDict, closed=True):
    result_list: "capo_comprehend.types.list_of_detect_targeted_sentiment_result.ListOfDetectTargetedSentimentResult"
    """<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>List of errors that the operation can return.</p>"""

error_list instance-attribute

error_list: BatchItemErrorList

List of errors that the operation can return.

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.