The output of DetectSentimentCommand.

interface DetectSentimentCommandOutput {
    $metadata: ResponseMetadata;
    Sentiment?: string;
    SentimentScore?: SentimentScore;
}

Hierarchy (view full)

Properties

$metadata: ResponseMetadata

Metadata pertaining to this request.

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.