#[non_exhaustive]
pub enum CreateCacheClusterErrorKind {
Show 15 variants
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault),
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault),
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault),
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault),
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault),
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault),
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault),
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateCacheCluster
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault)
You already have a cluster with the given identifier.
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault)
The requested cache parameter group name does not refer to an existing cache parameter group.
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault)
The requested cache security group name does not refer to an existing cache security group.
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault)
The requested cache subnet group name does not refer to an existing cache subnet group.
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)
The request cannot be processed because it would exceed the allowed number of clusters per customer.
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault)
The requested cache node type is not available in the specified Availability Zone. For more information, see InsufficientCacheClusterCapacity in the ElastiCache User Guide.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault)
The requested replication group is not in the available
state.
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
The VPC network is in an invalid state.
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault)
The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)
The request cannot be processed because it would exceed the allowed number of cache nodes per customer.
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)
The specified replication group does not exist.
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded)
The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 50.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateCacheClusterErrorKind
impl Send for CreateCacheClusterErrorKind
impl Sync for CreateCacheClusterErrorKind
impl Unpin for CreateCacheClusterErrorKind
impl !UnwindSafe for CreateCacheClusterErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more