Struct aws_sdk_macie2::error::ListClassificationJobsError
source · [−]#[non_exhaustive]pub struct ListClassificationJobsError {
pub kind: ListClassificationJobsErrorKind,
/* private fields */
}
Expand description
Error type for the ListClassificationJobs
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: ListClassificationJobsErrorKind
Kind of error that occurred.
Implementations
Creates a new ListClassificationJobsError
.
Creates the ListClassificationJobsError::Unhandled
variant from any error type.
Creates the ListClassificationJobsError::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 ListClassificationJobsErrorKind::AccessDeniedException
.
Returns true
if the error kind is ListClassificationJobsErrorKind::ConflictException
.
Returns true
if the error kind is ListClassificationJobsErrorKind::InternalServerException
.
Returns true
if the error kind is ListClassificationJobsErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is ListClassificationJobsErrorKind::ServiceQuotaExceededException
.
Returns true
if the error kind is ListClassificationJobsErrorKind::ThrottlingException
.
Returns true
if the error kind is ListClassificationJobsErrorKind::ValidationException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListClassificationJobsError
impl Send for ListClassificationJobsError
impl Sync for ListClassificationJobsError
impl Unpin for ListClassificationJobsError
impl !UnwindSafe for ListClassificationJobsError
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