Class: Aws::Comprehend::Types::BatchDetectSentimentRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:text_list]

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)


317
318
319
320
321
322
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 317

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

#text_listArray<String>

A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.

Returns:

  • (Array<String>)


317
318
319
320
321
322
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 317

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