#[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(Unhandled),
}
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(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.