pub enum GetDocumentTextDetectionError {
AccessDenied(String),
InternalServerError(String),
InvalidJobId(String),
InvalidParameter(String),
ProvisionedThroughputExceeded(String),
Throttling(String),
}Expand description
Errors returned by GetDocumentTextDetection
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§
Trait Implementations§
Source§impl Error for GetDocumentTextDetectionError
impl Error for GetDocumentTextDetectionError
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 GetDocumentTextDetectionError
impl PartialEq for GetDocumentTextDetectionError
Source§fn eq(&self, other: &GetDocumentTextDetectionError) -> bool
fn eq(&self, other: &GetDocumentTextDetectionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetDocumentTextDetectionError
Auto Trait Implementations§
impl Freeze for GetDocumentTextDetectionError
impl RefUnwindSafe for GetDocumentTextDetectionError
impl Send for GetDocumentTextDetectionError
impl Sync for GetDocumentTextDetectionError
impl Unpin for GetDocumentTextDetectionError
impl UnwindSafe for GetDocumentTextDetectionError
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