#[non_exhaustive]pub struct StartDocumentTextDetectionError {
pub kind: StartDocumentTextDetectionErrorKind,
/* private fields */
}
Expand description
Error type for the StartDocumentTextDetection
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: StartDocumentTextDetectionErrorKind
Kind of error that occurred.
Implementations
Creates a new StartDocumentTextDetectionError
.
Creates the StartDocumentTextDetectionError::Unhandled
variant from any error type.
Creates the StartDocumentTextDetectionError::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 StartDocumentTextDetectionErrorKind::AccessDeniedException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::BadDocumentException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::DocumentTooLargeException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::IdempotentParameterMismatchException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::InternalServerError
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::InvalidKmsKeyException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::InvalidParameterException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::InvalidS3ObjectException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::LimitExceededException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::ProvisionedThroughputExceededException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::ThrottlingException
.
Returns true
if the error kind is StartDocumentTextDetectionErrorKind::UnsupportedDocumentException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StartDocumentTextDetectionError
impl Send for StartDocumentTextDetectionError
impl Sync for StartDocumentTextDetectionError
impl Unpin for StartDocumentTextDetectionError
impl !UnwindSafe for StartDocumentTextDetectionError
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