v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484423422.2 KB

Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents.

For more information about targeted sentiment, see Targeted sentiment.

post/#X-Amz-Target=Comprehend_20171127.BatchDetectTargetedSentiment

Headers

X-Amz-Target'Comprehend_20171127.BatchDetectTargetedSentiment' required

Request body

TextListCustomerInputString[] required

A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.

LanguageCode'en' | 'es' | 'fr' | 'de' | 'it' | 'pt' | 'ar' | 'hi' | 'ja' | 'ko' | 'zh' | 'zh-TW' required

The language of the input documents. Currently, English is the only supported language.

Response

Success