Struct aws_sdk_textract::error::DetectDocumentTextError [−][src]
#[non_exhaustive]pub struct DetectDocumentTextError {
pub kind: DetectDocumentTextErrorKind,
// some fields omitted
}
Expand description
Error type for the DetectDocumentText
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: DetectDocumentTextErrorKind
Kind of error that occurred.
Implementations
Creates a new DetectDocumentTextError
.
Creates the DetectDocumentTextError::Unhandled
variant from any error type.
Creates the DetectDocumentTextError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is DetectDocumentTextErrorKind::AccessDeniedException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::BadDocumentException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::DocumentTooLargeException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::InternalServerError
.
Returns true
if the error kind is DetectDocumentTextErrorKind::InvalidParameterException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::InvalidS3ObjectException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::ProvisionedThroughputExceededException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::ThrottlingException
.
Returns true
if the error kind is DetectDocumentTextErrorKind::UnsupportedDocumentException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DetectDocumentTextError
impl Send for DetectDocumentTextError
impl Sync for DetectDocumentTextError
impl Unpin for DetectDocumentTextError
impl !UnwindSafe for DetectDocumentTextError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more