libZSservicesZSamazonka-comprehendZSamazonka-comprehend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Comprehend.Types.BatchItemError

Description

 
Synopsis

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' 

Fields

Instances

Instances details
Eq BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Read BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Show BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Generic BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Associated Types

type Rep BatchItemError :: Type -> Type #

NFData BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Methods

rnf :: BatchItemError -> () #

Hashable BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

FromJSON BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

type Rep BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

type Rep BatchItemError = D1 ('MetaData "BatchItemError" "Amazonka.Comprehend.Types.BatchItemError" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchItemError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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.