[][src]Enum rusoto_textract::AnalyzeDocumentError

pub enum AnalyzeDocumentError {
    AccessDenied(String),
    BadDocument(String),
    DocumentTooLarge(String),
    HumanLoopQuotaExceeded(String),
    InternalServerError(String),
    InvalidParameter(String),
    InvalidS3Object(String),
    ProvisionedThroughputExceeded(String),
    Throttling(String),
    UnsupportedDocument(String),
}

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.

Implementations

impl AnalyzeDocumentError[src]

Trait Implementations

impl Debug for AnalyzeDocumentError[src]

impl Display for AnalyzeDocumentError[src]

impl Error for AnalyzeDocumentError[src]

impl PartialEq<AnalyzeDocumentError> for AnalyzeDocumentError[src]

impl StructuralPartialEq for AnalyzeDocumentError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.