pub enum AnalyzeDocumentError {
AccessDenied(String),
BadDocument(String),
DocumentTooLarge(String),
HumanLoopQuotaExceeded(String),
InternalServerError(String),
InvalidParameter(String),
InvalidS3Object(String),
ProvisionedThroughputExceeded(String),
Throttling(String),
UnsupportedDocument(String),
}Expand description
Errors returned by AnalyzeDocument
Variants§
AccessDenied(String)
You aren't authorized to perform the action.
BadDocument(String)
Amazon Textract isn't able to read the document.
DocumentTooLarge(String)
The document can't be processed because it's too large. The maximum document size for synchronous operations 5 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.
HumanLoopQuotaExceeded(String)
Indicates you have exceeded the maximum number of active human in the loop workflows available
InternalServerError(String)
Amazon Textract experienced a service issue. Try your call again.
InvalidParameter(String)
An input parameter violated a constraint. For example, in synchronous operations, an InvalidParameterException exception occurs when neither of the S3Object or Bytes values are supplied in the Document request parameter. Validate your parameter before calling the API operation again.
InvalidS3Object(String)
Amazon Textract is unable to access the S3 object that's specified in the request.
ProvisionedThroughputExceeded(String)
The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Textract.
Throttling(String)
Amazon Textract is temporarily unable to process the request. Try your call again.
UnsupportedDocument(String)
The format of the input document isn't supported. Documents for synchronous operations can be in PNG or JPEG format. Documents for asynchronous operations can also be in PDF format.