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.
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 |
#text ⇒ String
A UTF-8 text string. The maximum string size is 5 KB.
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 |