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