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