Class: Aws::Comprehend::Types::BatchItemError

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

Overview

Describes an error that occurred while processing a document in a batch. The operation returns on BatchItemError object for each document that contained an error.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The numeric error code of the error.

Returns:

  • (String)


396
397
398
399
400
401
402
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 396

class BatchItemError < Struct.new(
  :index,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

A text description of the error.

Returns:

  • (String)


396
397
398
399
400
401
402
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 396

class BatchItemError < Struct.new(
  :index,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#indexInteger

The zero-based index of the document in the input list.

Returns:

  • (Integer)


396
397
398
399
400
401
402
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 396

class BatchItemError < Struct.new(
  :index,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end