[][src]Enum rusoto_textract::StartDocumentAnalysisError

pub enum StartDocumentAnalysisError {
    AccessDenied(String),
    BadDocument(String),
    DocumentTooLarge(String),
    IdempotentParameterMismatch(String),
    InternalServerError(String),
    InvalidParameter(String),
    InvalidS3Object(String),
    LimitExceeded(String),
    ProvisionedThroughputExceeded(String),
    Throttling(String),
    UnsupportedDocument(String),
}

Errors returned by StartDocumentAnalysis

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.

IdempotentParameterMismatch(String)

A ClientRequestToken input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.

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.

LimitExceeded(String)

An Amazon Textract service limit was exceeded. For example, if you start too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, for example) raise a LimitExceededException exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Textract service limit.

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 StartDocumentAnalysisError[src]

Trait Implementations

impl Debug for StartDocumentAnalysisError[src]

impl Display for StartDocumentAnalysisError[src]

impl Error for StartDocumentAnalysisError[src]

impl PartialEq<StartDocumentAnalysisError> for StartDocumentAnalysisError[src]

impl StructuralPartialEq for StartDocumentAnalysisError[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.