You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Comprehend::Types::BatchDetectSentimentResponse

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#error_listArray<Types::BatchItemError>

A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.

Returns:



283
284
285
286
287
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 283

class BatchDetectSentimentResponse < Struct.new(
  :result_list,
  :error_list)
  include Aws::Structure
end

#result_listArray<Types::BatchDetectSentimentItemResult>

A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.



283
284
285
286
287
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 283

class BatchDetectSentimentResponse < Struct.new(
  :result_list,
  :error_list)
  include Aws::Structure
end