Struct aws_sdk_comprehend::error::InvalidRequestException
source · #[non_exhaustive]pub struct InvalidRequestException { /* private fields */ }Expand description
The request is invalid.
Implementations§
source§impl InvalidRequestException
impl InvalidRequestException
pub fn reason(&self) -> Option<&InvalidRequestReason>
sourcepub fn detail(&self) -> Option<&InvalidRequestDetail>
pub fn detail(&self) -> Option<&InvalidRequestDetail>
Provides additional detail about why the request failed:
-
Document size is too large - Check the size of your file and resubmit the request.
-
Document type is not supported - Check the file type and resubmit the request.
-
Too many pages in the document - Check the number of pages in your file and resubmit the request.
-
Access denied to Amazon Textract - Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
source§impl InvalidRequestException
impl InvalidRequestException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InvalidRequestException.
Trait Implementations§
source§impl Clone for InvalidRequestException
impl Clone for InvalidRequestException
source§fn clone(&self) -> InvalidRequestException
fn clone(&self) -> InvalidRequestException
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InvalidRequestException
impl Debug for InvalidRequestException
source§impl Display for InvalidRequestException
impl Display for InvalidRequestException
source§impl Error for InvalidRequestException
impl Error for InvalidRequestException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<InvalidRequestException> for InvalidRequestException
impl PartialEq<InvalidRequestException> for InvalidRequestException
source§fn eq(&self, other: &InvalidRequestException) -> bool
fn eq(&self, other: &InvalidRequestException) -> bool
This method tests for
self and other values to be equal, and is used
by ==.