Struct aws_sdk_elasticache::error::DecreaseReplicaCountError
source ·
[−]#[non_exhaustive]pub struct DecreaseReplicaCountError {
pub kind: DecreaseReplicaCountErrorKind,
// some fields omitted
}
Expand description
Error type for the DecreaseReplicaCount
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: DecreaseReplicaCountErrorKind
Kind of error that occurred.
Implementations
Creates a new DecreaseReplicaCountError
.
Creates the DecreaseReplicaCountError::Unhandled
variant from any error type.
Creates the DecreaseReplicaCountError::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 DecreaseReplicaCountErrorKind::ClusterQuotaForCustomerExceededFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::InsufficientCacheClusterCapacityFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::InvalidCacheClusterStateFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::InvalidParameterCombinationException
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::InvalidParameterValueException
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::InvalidReplicationGroupStateFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::InvalidVpcNetworkStateFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::NodeGroupsPerReplicationGroupQuotaExceededFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::NodeQuotaForCustomerExceededFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::NoOperationFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::ReplicationGroupNotFoundFault
.
Returns true
if the error kind is DecreaseReplicaCountErrorKind::ServiceLinkedRoleNotFoundFault
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DecreaseReplicaCountError
impl Send for DecreaseReplicaCountError
impl Sync for DecreaseReplicaCountError
impl Unpin for DecreaseReplicaCountError
impl !UnwindSafe for DecreaseReplicaCountError
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