| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Comprehend.Types.BatchItemError
Description
Documentation
data BatchItemError Source #
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.
See: newBatchItemError smart constructor.
Constructors
| BatchItemError' | |
Instances
newBatchItemError :: BatchItemError Source #
Create a value of BatchItemError with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:BatchItemError', batchItemError_errorCode - The numeric error code of the error.
$sel:errorMessage:BatchItemError', batchItemError_errorMessage - A text description of the error.
$sel:index:BatchItemError', batchItemError_index - The zero-based index of the document in the input list.
batchItemError_errorCode :: Lens' BatchItemError (Maybe Text) Source #
The numeric error code of the error.
batchItemError_errorMessage :: Lens' BatchItemError (Maybe Text) Source #
A text description of the error.
batchItemError_index :: Lens' BatchItemError (Maybe Int) Source #
The zero-based index of the document in the input list.