interface DetectSentimentResponse {
    Sentiment?: string;
    SentimentScore?: SentimentScore;
}

Hierarchy (view full)

Properties

Sentiment?: string

The inferred sentiment that Amazon Comprehend has the highest level of confidence in.

SentimentScore?: SentimentScore

An object that lists the sentiments, and their corresponding confidence levels.