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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


491
492
493
494
495
496
497
# File 'lib/aws-sdk-comprehend/types.rb', line 491

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

#error_messageString

A text description of the error.

Returns:

  • (String)


491
492
493
494
495
496
497
# File 'lib/aws-sdk-comprehend/types.rb', line 491

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)


491
492
493
494
495
496
497
# File 'lib/aws-sdk-comprehend/types.rb', line 491

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