Class: Aws::Comprehend::Types::DetectSentimentResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sentimentString

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

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2596

class DetectSentimentResponse < Struct.new(
  :sentiment,
  :sentiment_score)
  SENSITIVE = []
  include Aws::Structure
end

#sentiment_scoreTypes::SentimentScore

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



2596
2597
2598
2599
2600
2601
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2596

class DetectSentimentResponse < Struct.new(
  :sentiment,
  :sentiment_score)
  SENSITIVE = []
  include Aws::Structure
end