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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The numeric error code of the error.

Returns:

  • (String)

    The numeric error code of the error.

#error_messageString

A text description of the error.

Returns:

  • (String)

    A text description of the error.

#indexInteger

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

Returns:

  • (Integer)

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