Class: Aws::Comprehend::Types::DetectSentimentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::DetectSentimentRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-comprehend/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:text]
Instance Attribute Summary collapse
-
#language_code ⇒ String
The language of the input documents.
-
#text ⇒ String
A UTF-8 text string.
Instance Attribute Details
#language_code ⇒ String
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.
2556 2557 2558 2559 2560 2561 |
# File 'lib/aws-sdk-comprehend/types.rb', line 2556 class DetectSentimentRequest < Struct.new( :text, :language_code) SENSITIVE = [:text] include Aws::Structure end |
#text ⇒ String
A UTF-8 text string. The maximum string size is 5 KB.
2556 2557 2558 2559 2560 2561 |
# File 'lib/aws-sdk-comprehend/types.rb', line 2556 class DetectSentimentRequest < Struct.new( :text, :language_code) SENSITIVE = [:text] include Aws::Structure end |