pub enum CreateSnapshotError {
CacheClusterNotFoundFault(String),
InvalidCacheClusterStateFault(String),
InvalidParameterCombination(String),
InvalidParameterValue(String),
InvalidReplicationGroupStateFault(String),
ReplicationGroupNotFoundFault(String),
SnapshotAlreadyExistsFault(String),
SnapshotFeatureNotSupportedFault(String),
SnapshotQuotaExceededFault(String),
}
Expand description
Errors returned by CreateSnapshot
Variants§
CacheClusterNotFoundFault(String)
The requested cluster ID does not refer to an existing cluster.
InvalidCacheClusterStateFault(String)
The requested cluster is not in the available
state.
InvalidParameterCombination(String)
Two or more incompatible parameters were specified.
InvalidParameterValue(String)
The value for a parameter is invalid.
InvalidReplicationGroupStateFault(String)
The requested replication group is not in the available
state.
ReplicationGroupNotFoundFault(String)
The specified replication group does not exist.
SnapshotAlreadyExistsFault(String)
You already have a snapshot with the given name.
SnapshotFeatureNotSupportedFault(String)
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(String)
The request cannot be processed because it would exceed the maximum number of snapshots.
Implementations§
Source§impl CreateSnapshotError
impl CreateSnapshotError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateSnapshotError>
Trait Implementations§
Source§impl Debug for CreateSnapshotError
impl Debug for CreateSnapshotError
Source§impl Display for CreateSnapshotError
impl Display for CreateSnapshotError
Source§impl Error for CreateSnapshotError
impl Error for CreateSnapshotError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CreateSnapshotError
impl PartialEq for CreateSnapshotError
impl StructuralPartialEq for CreateSnapshotError
Auto Trait Implementations§
impl Freeze for CreateSnapshotError
impl RefUnwindSafe for CreateSnapshotError
impl Send for CreateSnapshotError
impl Sync for CreateSnapshotError
impl Unpin for CreateSnapshotError
impl UnwindSafe for CreateSnapshotError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more