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 |
Documentation
data ErrorsListItem Source #
Text extraction encountered one or more page-level errors in the input document.
The ErrorCode
contains one of the following values:
- TEXTRACT_BAD_PAGE - Amazon Textract cannot read the page. For more information about page limits in Amazon Textract, see Page Quotas in Amazon Textract.
- TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED - The number of requests exceeded your throughput limit. For more information about throughput quotas in Amazon Textract, see Default quotas in Amazon Textract.
- PAGE_CHARACTERS_EXCEEDED - Too many text characters on the page (10,000 characters maximum).
- PAGE_SIZE_EXCEEDED - The maximum page size is 10 MB.
- INTERNAL_SERVER_ERROR - The request encountered a service issue. Try the API request again.
See: newErrorsListItem
smart constructor.
ErrorsListItem' | |
|
Instances
newErrorsListItem :: ErrorsListItem Source #
Create a value of ErrorsListItem
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:ErrorsListItem'
, errorsListItem_errorCode
- Error code for the cause of the error.
$sel:errorMessage:ErrorsListItem'
, errorsListItem_errorMessage
- Text message explaining the reason for the error.
$sel:page:ErrorsListItem'
, errorsListItem_page
- Page number where the error occurred.
errorsListItem_errorCode :: Lens' ErrorsListItem (Maybe PageBasedErrorCode) Source #
Error code for the cause of the error.
errorsListItem_errorMessage :: Lens' ErrorsListItem (Maybe Text) Source #
Text message explaining the reason for the error.
errorsListItem_page :: Lens' ErrorsListItem (Maybe Int) Source #
Page number where the error occurred.