pub enum AddRoleToDBInstanceError {
DBInstanceNotFoundFault(String),
DBInstanceRoleAlreadyExistsFault(String),
DBInstanceRoleQuotaExceededFault(String),
InvalidDBInstanceStateFault(String),
}
Expand description
Errors returned by AddRoleToDBInstance
Variants§
DBInstanceNotFoundFault(String)
DBInstanceIdentifier
doesn't refer to an existing DB instance.
DBInstanceRoleAlreadyExistsFault(String)
The specified RoleArn
or FeatureName
value is already associated with the DB instance.
DBInstanceRoleQuotaExceededFault(String)
You can't associate any more AWS Identity and Access Management (IAM) roles with the DB instance because the quota has been reached.
InvalidDBInstanceStateFault(String)
The DB instance isn't in a valid state.
Implementations§
Source§impl AddRoleToDBInstanceError
impl AddRoleToDBInstanceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<AddRoleToDBInstanceError>
Trait Implementations§
Source§impl Debug for AddRoleToDBInstanceError
impl Debug for AddRoleToDBInstanceError
Source§impl Display for AddRoleToDBInstanceError
impl Display for AddRoleToDBInstanceError
Source§impl Error for AddRoleToDBInstanceError
impl Error for AddRoleToDBInstanceError
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 AddRoleToDBInstanceError
impl PartialEq for AddRoleToDBInstanceError
impl StructuralPartialEq for AddRoleToDBInstanceError
Auto Trait Implementations§
impl Freeze for AddRoleToDBInstanceError
impl RefUnwindSafe for AddRoleToDBInstanceError
impl Send for AddRoleToDBInstanceError
impl Sync for AddRoleToDBInstanceError
impl Unpin for AddRoleToDBInstanceError
impl UnwindSafe for AddRoleToDBInstanceError
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