Struct aws_sdk_cloudcontrol::error::GetResourceError [−][src]
#[non_exhaustive]pub struct GetResourceError {
pub kind: GetResourceErrorKind,
// some fields omitted
}
Expand description
Error type for the GetResource
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: GetResourceErrorKind
Kind of error that occurred.
Implementations
Creates a new GetResourceError
.
Creates the GetResourceError::Unhandled
variant from any error type.
Creates the GetResourceError::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 GetResourceErrorKind::AlreadyExistsException
.
Returns true
if the error kind is GetResourceErrorKind::GeneralServiceException
.
Returns true
if the error kind is GetResourceErrorKind::HandlerFailureException
.
Returns true
if the error kind is GetResourceErrorKind::HandlerInternalFailureException
.
Returns true
if the error kind is GetResourceErrorKind::InvalidCredentialsException
.
Returns true
if the error kind is GetResourceErrorKind::InvalidRequestException
.
Returns true
if the error kind is GetResourceErrorKind::NetworkFailureException
.
Returns true
if the error kind is GetResourceErrorKind::NotStabilizedException
.
Returns true
if the error kind is GetResourceErrorKind::NotUpdatableException
.
Returns true
if the error kind is GetResourceErrorKind::PrivateTypeException
.
Returns true
if the error kind is GetResourceErrorKind::ResourceConflictException
.
Returns true
if the error kind is GetResourceErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is GetResourceErrorKind::ServiceInternalErrorException
.
Returns true
if the error kind is GetResourceErrorKind::ServiceLimitExceededException
.
Returns true
if the error kind is GetResourceErrorKind::ThrottlingException
.
Returns true
if the error kind is GetResourceErrorKind::TypeNotFoundException
.
Returns true
if the error kind is GetResourceErrorKind::UnsupportedActionException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetResourceError
impl Send for GetResourceError
impl Sync for GetResourceError
impl Unpin for GetResourceError
impl !UnwindSafe for GetResourceError
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