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

Class: Aws::Comprehend::Types::BatchDetectDominantLanguageResponse

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:



68
69
70
71
72
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 68

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

#result_listArray<Types::BatchDetectDominantLanguageItemResult>

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.



68
69
70
71
72
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 68

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