Class: Aws::Comprehend::Types::DetectTargetedSentimentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

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

Returns:

  • (String)


2654
2655
2656
2657
2658
2659
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2654

class DetectTargetedSentimentRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = [:text]
  include Aws::Structure
end

#textString

A UTF-8 text string. The maximum string length is 5 KB.

Returns:

  • (String)


2654
2655
2656
2657
2658
2659
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2654

class DetectTargetedSentimentRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = [:text]
  include Aws::Structure
end