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