Enum rusoto_textract::DetectDocumentTextError [−][src]
pub enum DetectDocumentTextError { AccessDenied(String), BadDocument(String), DocumentTooLarge(String), InternalServerError(String), InvalidParameter(String), InvalidS3Object(String), ProvisionedThroughputExceeded(String), Throttling(String), UnsupportedDocument(String), }
Expand description
Errors returned by DetectDocumentText
Variants
AccessDenied(String)
You aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.
BadDocument(String)
Amazon Textract isn't able to read the document. For more information on the document limits in Amazon Textract, see limits.
DocumentTooLarge(String)
The document can't be processed because it's too large. The maximum document size for synchronous operations 10 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.
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. for more information, Configure Access to Amazon S3 For troubleshooting information, see Troubleshooting Amazon S3
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.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DetectDocumentTextError
impl Send for DetectDocumentTextError
impl Sync for DetectDocumentTextError
impl Unpin for DetectDocumentTextError
impl UnwindSafe for DetectDocumentTextError