class Aws::Comprehend::Types::DetectSentimentRequest
@note When making an API call, you may pass DetectSentimentRequest
data as a hash: { text: "CustomerInputString", # required language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW }
@!attribute [rw] text
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters. @return [String]
@!attribute [rw] language_code
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSentimentRequest AWS API Documentation
Constants
- SENSITIVE