pub enum ModifyCurrentDBClusterCapacityError {
DBClusterNotFoundFault(String),
InvalidDBClusterCapacityFault(String),
InvalidDBClusterStateFault(String),
}
Expand description
Errors returned by ModifyCurrentDBClusterCapacity
Variants§
DBClusterNotFoundFault(String)
DBClusterIdentifier
doesn't refer to an existing DB cluster.
InvalidDBClusterCapacityFault(String)
Capacity
isn't a valid Aurora Serverless DB cluster capacity. Valid capacity values are 2
, 4
, 8
, 16
, 32
, 64
, 128
, and 256
.
InvalidDBClusterStateFault(String)
The requested operation can't be performed while the cluster is in this state.
Implementations§
Trait Implementations§
Source§impl Error for ModifyCurrentDBClusterCapacityError
impl Error for ModifyCurrentDBClusterCapacityError
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 ModifyCurrentDBClusterCapacityError
impl PartialEq for ModifyCurrentDBClusterCapacityError
Source§fn eq(&self, other: &ModifyCurrentDBClusterCapacityError) -> bool
fn eq(&self, other: &ModifyCurrentDBClusterCapacityError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModifyCurrentDBClusterCapacityError
Auto Trait Implementations§
impl Freeze for ModifyCurrentDBClusterCapacityError
impl RefUnwindSafe for ModifyCurrentDBClusterCapacityError
impl Send for ModifyCurrentDBClusterCapacityError
impl Sync for ModifyCurrentDBClusterCapacityError
impl Unpin for ModifyCurrentDBClusterCapacityError
impl UnwindSafe for ModifyCurrentDBClusterCapacityError
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