#[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(Box<dyn Error + Send + Sync + 'static>),
}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.microcache 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(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code