| 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.Textract.Types.Warning
Description
Documentation
A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).
See: newWarning smart constructor.
Constructors
| Warning' | |
Instances
| FromJSON Warning Source # | |
| Generic Warning Source # | |
| Read Warning Source # | |
| Show Warning Source # | |
| NFData Warning Source # | |
Defined in Amazonka.Textract.Types.Warning | |
| Eq Warning Source # | |
| Hashable Warning Source # | |
Defined in Amazonka.Textract.Types.Warning | |
| type Rep Warning Source # | |
Defined in Amazonka.Textract.Types.Warning type Rep Warning = D1 ('MetaData "Warning" "Amazonka.Textract.Types.Warning" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Warning'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])))) | |
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:errorCode:Warning', warning_errorCode - The error code for the warning.
$sel:pages:Warning', warning_pages - A list of the pages that the warning applies to.