#[non_exhaustive]
pub enum CreateSnapshotErrorKind {
CacheClusterNotFoundFault(CacheClusterNotFoundFault),
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault),
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault),
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault),
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault),
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateSnapshot
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CacheClusterNotFoundFault(CacheClusterNotFoundFault)
The requested cluster ID does not refer to an existing cluster.
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault)
The requested cluster is not in the available
state.
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.
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)
The specified replication group does not exist.
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault)
You already have a snapshot with the given name.
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault)
You attempted one of the following operations:
-
Creating a snapshot of a Redis cluster running on a
cache.t1.micro
cache node. -
Creating a snapshot of a cluster that is running Memcached rather than Redis.
Neither of these are supported by ElastiCache.
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
The request cannot be processed because it would exceed the maximum number of snapshots.
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.