Class: Aws::Comprehend::Types::BatchDetectTargetedSentimentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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. Currently, English is the only supported language.

Returns:

  • (String)


446
447
448
449
450
451
# File 'lib/aws-sdk-comprehend/types.rb', line 446

class BatchDetectTargetedSentimentRequest < 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>)


446
447
448
449
450
451
# File 'lib/aws-sdk-comprehend/types.rb', line 446

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