The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

interface BatchDetectSentimentItemResult {
    Index?: number;
    Sentiment?: SentimentType;
    SentimentScore?: SentimentScore;
}

Properties

Index?: number

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

Sentiment?: SentimentType

The sentiment detected in the document.

SentimentScore?: SentimentScore

The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.