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.
2544 2545 2546 2547 2548 2549 |
# File 'lib/aws-sdk-comprehend/types.rb', line 2544 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.
2544 2545 2546 2547 2548 2549 |
# File 'lib/aws-sdk-comprehend/types.rb', line 2544 class DetectSentimentRequest < Struct.new( :text, :language_code) SENSITIVE = [:text] include Aws::Structure end |