Enum aws_sdk_elasticache::error::CreateSnapshotErrorKind [−][src]
#[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.
Tuple Fields of CacheClusterNotFoundFault
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault)
The requested cluster is not in the available
state.
Tuple Fields of InvalidCacheClusterStateFault
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
Tuple Fields of InvalidParameterCombinationException
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
Tuple Fields of InvalidParameterValueException
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault)
The requested replication group is not in the available
state.
Tuple Fields of InvalidReplicationGroupStateFault
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)
The specified replication group does not exist.
Tuple Fields of ReplicationGroupNotFoundFault
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault)
You already have a snapshot with the given name.
Tuple Fields of SnapshotAlreadyExistsFault
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.
Tuple Fields of SnapshotFeatureNotSupportedFault
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
The request cannot be processed because it would exceed the maximum number of snapshots.
Tuple Fields of SnapshotQuotaExceededFault
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.
Tuple Fields of TagQuotaPerResourceExceeded
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateSnapshotErrorKind
impl Send for CreateSnapshotErrorKind
impl Sync for CreateSnapshotErrorKind
impl Unpin for CreateSnapshotErrorKind
impl !UnwindSafe for CreateSnapshotErrorKind
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