pub enum RestoreDBInstanceFromDBSnapshotError {
Show 20 variants
AuthorizationNotFoundFault(String),
BackupPolicyNotFoundFault(String),
DBInstanceAlreadyExistsFault(String),
DBParameterGroupNotFoundFault(String),
DBSecurityGroupNotFoundFault(String),
DBSnapshotNotFoundFault(String),
DBSubnetGroupDoesNotCoverEnoughAZs(String),
DBSubnetGroupNotFoundFault(String),
DomainNotFoundFault(String),
InstanceQuotaExceededFault(String),
InsufficientDBInstanceCapacityFault(String),
InvalidDBSnapshotStateFault(String),
InvalidRestoreFault(String),
InvalidSubnet(String),
InvalidVPCNetworkStateFault(String),
KMSKeyNotAccessibleFault(String),
OptionGroupNotFoundFault(String),
ProvisionedIopsNotAvailableInAZFault(String),
StorageQuotaExceededFault(String),
StorageTypeNotSupportedFault(String),
}
Expand description
Errors returned by RestoreDBInstanceFromDBSnapshot
Variants
AuthorizationNotFoundFault(String)
The specified CIDR IP range or Amazon EC2 security group might not be authorized for the specified DB security group.
Or, RDS might not be authorized to perform necessary actions using IAM on your behalf.
BackupPolicyNotFoundFault(String)
DBInstanceAlreadyExistsFault(String)
The user already has a DB instance with the given identifier.
DBParameterGroupNotFoundFault(String)
DBParameterGroupName
doesn't refer to an existing DB parameter group.
DBSecurityGroupNotFoundFault(String)
DBSecurityGroupName
doesn't refer to an existing DB security group.
DBSnapshotNotFoundFault(String)
DBSnapshotIdentifier
doesn't refer to an existing DB snapshot.
DBSubnetGroupDoesNotCoverEnoughAZs(String)
Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
DBSubnetGroupNotFoundFault(String)
DBSubnetGroupName
doesn't refer to an existing DB subnet group.
DomainNotFoundFault(String)
Domain
doesn't refer to an existing Active Directory domain.
InstanceQuotaExceededFault(String)
The request would result in the user exceeding the allowed number of DB instances.
InsufficientDBInstanceCapacityFault(String)
The specified DB instance class isn't available in the specified Availability Zone.
InvalidDBSnapshotStateFault(String)
The state of the DB snapshot doesn't allow deletion.
InvalidRestoreFault(String)
Cannot restore from VPC backup to non-VPC DB instance.
InvalidSubnet(String)
The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
InvalidVPCNetworkStateFault(String)
The DB subnet group doesn't cover all Availability Zones after it's created because of users' change.
KMSKeyNotAccessibleFault(String)
An error occurred accessing an Amazon Web Services KMS key.
OptionGroupNotFoundFault(String)
The specified option group could not be found.
ProvisionedIopsNotAvailableInAZFault(String)
Provisioned IOPS not available in the specified Availability Zone.
StorageQuotaExceededFault(String)
The request would result in the user exceeding the allowed amount of storage available across all DB instances.
StorageTypeNotSupportedFault(String)
Storage of the StorageType
specified can't be associated with the DB instance.
Implementations
Trait Implementations
sourceimpl Error for RestoreDBInstanceFromDBSnapshotError
impl Error for RestoreDBInstanceFromDBSnapshotError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<RestoreDBInstanceFromDBSnapshotError> for RestoreDBInstanceFromDBSnapshotError
impl PartialEq<RestoreDBInstanceFromDBSnapshotError> for RestoreDBInstanceFromDBSnapshotError
sourcefn eq(&self, other: &RestoreDBInstanceFromDBSnapshotError) -> bool
fn eq(&self, other: &RestoreDBInstanceFromDBSnapshotError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RestoreDBInstanceFromDBSnapshotError) -> bool
fn ne(&self, other: &RestoreDBInstanceFromDBSnapshotError) -> bool
This method tests for !=
.
impl StructuralPartialEq for RestoreDBInstanceFromDBSnapshotError
Auto Trait Implementations
impl RefUnwindSafe for RestoreDBInstanceFromDBSnapshotError
impl Send for RestoreDBInstanceFromDBSnapshotError
impl Sync for RestoreDBInstanceFromDBSnapshotError
impl Unpin for RestoreDBInstanceFromDBSnapshotError
impl UnwindSafe for RestoreDBInstanceFromDBSnapshotError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more