libZSservicesZSamazonka-textractZSamazonka-textract
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.Textract.Types.Warning

Description

 
Synopsis

Documentation

data Warning Source #

A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).

See: newWarning smart constructor.

Constructors

Warning' 

Fields

Instances

Instances details
Eq Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Methods

(==) :: Warning -> Warning -> Bool #

(/=) :: Warning -> Warning -> Bool #

Read Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Show Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Generic Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Associated Types

type Rep Warning :: Type -> Type #

Methods

from :: Warning -> Rep Warning x #

to :: Rep Warning x -> Warning #

NFData Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Methods

rnf :: Warning -> () #

Hashable Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Methods

hashWithSalt :: Int -> Warning -> Int #

hash :: Warning -> Int #

FromJSON Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

type Rep Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

type Rep Warning = D1 ('MetaData "Warning" "Amazonka.Textract.Types.Warning" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "Warning'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newWarning :: Warning Source #

Create a value of Warning 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:pages:Warning', warning_pages - A list of the pages that the warning applies to.

$sel:errorCode:Warning', warning_errorCode - The error code for the warning.

warning_pages :: Lens' Warning (Maybe [Natural]) Source #

A list of the pages that the warning applies to.

warning_errorCode :: Lens' Warning (Maybe Text) Source #

The error code for the warning.