Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).
See: newWarning
smart constructor.
Instances
Eq Warning Source # | |
Read Warning Source # | |
Show Warning Source # | |
Generic Warning Source # | |
NFData Warning Source # | |
Defined in Amazonka.Textract.Types.Warning | |
Hashable Warning Source # | |
Defined in Amazonka.Textract.Types.Warning | |
FromJSON Warning Source # | |
type Rep Warning Source # | |
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.