pub enum GetDocumentAnalysisError {
AccessDenied(String),
InternalServerError(String),
InvalidJobId(String),
InvalidParameter(String),
ProvisionedThroughputExceeded(String),
Throttling(String),
}Expand description
Errors returned by GetDocumentAnalysis
Variants§
AccessDenied(String)
You aren't authorized to perform the action.
InternalServerError(String)
Amazon Textract experienced a service issue. Try your call again.
InvalidJobId(String)
An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis.
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.
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.
Implementations§
Source§impl GetDocumentAnalysisError
impl GetDocumentAnalysisError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetDocumentAnalysisError>
Trait Implementations§
Source§impl Debug for GetDocumentAnalysisError
impl Debug for GetDocumentAnalysisError
Source§impl Display for GetDocumentAnalysisError
impl Display for GetDocumentAnalysisError
Source§impl Error for GetDocumentAnalysisError
impl Error for GetDocumentAnalysisError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for GetDocumentAnalysisError
impl PartialEq for GetDocumentAnalysisError
impl StructuralPartialEq for GetDocumentAnalysisError
Auto Trait Implementations§
impl Freeze for GetDocumentAnalysisError
impl RefUnwindSafe for GetDocumentAnalysisError
impl Send for GetDocumentAnalysisError
impl Sync for GetDocumentAnalysisError
impl Unpin for GetDocumentAnalysisError
impl UnwindSafe for GetDocumentAnalysisError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more