Class: Aws::Comprehend::Types::DetectSentimentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

Returns:

  • (String)


2577
2578
2579
2580
2581
2582
# File 'lib/aws-sdk-comprehend/types.rb', line 2577

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

#textString

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

Returns:

  • (String)


2577
2578
2579
2580
2581
2582
# File 'lib/aws-sdk-comprehend/types.rb', line 2577

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