Struct aws_sdk_textract::error::GetDocumentAnalysisError [−][src]
#[non_exhaustive]pub struct GetDocumentAnalysisError {
pub kind: GetDocumentAnalysisErrorKind,
// some fields omitted
}
Expand description
Error type for the GetDocumentAnalysis
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: GetDocumentAnalysisErrorKind
Kind of error that occurred.
Implementations
Creates a new GetDocumentAnalysisError
.
Creates the GetDocumentAnalysisError::Unhandled
variant from any error type.
Creates the GetDocumentAnalysisError::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 GetDocumentAnalysisErrorKind::AccessDeniedException
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::InternalServerError
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::InvalidJobIdException
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::InvalidKmsKeyException
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::InvalidParameterException
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::InvalidS3ObjectException
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::ProvisionedThroughputExceededException
.
Returns true
if the error kind is GetDocumentAnalysisErrorKind::ThrottlingException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetDocumentAnalysisError
impl Send for GetDocumentAnalysisError
impl Sync for GetDocumentAnalysisError
impl Unpin for GetDocumentAnalysisError
impl !UnwindSafe for GetDocumentAnalysisError
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