#[non_exhaustive]
pub enum ModifyDBInstanceErrorKind {
Show 14 variants
AuthorizationNotFoundFault(AuthorizationNotFoundFault),
CertificateNotFoundFault(CertificateNotFoundFault),
DbInstanceAlreadyExistsFault(DbInstanceAlreadyExistsFault),
DbInstanceNotFoundFault(DbInstanceNotFoundFault),
DbParameterGroupNotFoundFault(DbParameterGroupNotFoundFault),
DbSecurityGroupNotFoundFault(DbSecurityGroupNotFoundFault),
DbUpgradeDependencyFailureFault(DbUpgradeDependencyFailureFault),
InsufficientDbInstanceCapacityFault(InsufficientDbInstanceCapacityFault),
InvalidDbInstanceStateFault(InvalidDbInstanceStateFault),
InvalidDbSecurityGroupStateFault(InvalidDbSecurityGroupStateFault),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
StorageQuotaExceededFault(StorageQuotaExceededFault),
StorageTypeNotSupportedFault(StorageTypeNotSupportedFault),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the ModifyDBInstance
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AuthorizationNotFoundFault(AuthorizationNotFoundFault)
The specified CIDR IP or Amazon EC2 security group isn't authorized for the specified security group.
Amazon DocumentDB also might not be authorized to perform necessary actions on your behalf using IAM.
CertificateNotFoundFault(CertificateNotFoundFault)
CertificateIdentifier
doesn't refer to an existing certificate.
DbInstanceAlreadyExistsFault(DbInstanceAlreadyExistsFault)
You already have a instance with the given identifier.
DbInstanceNotFoundFault(DbInstanceNotFoundFault)
DBInstanceIdentifier
doesn't refer to an existing instance.
DbParameterGroupNotFoundFault(DbParameterGroupNotFoundFault)
DBParameterGroupName
doesn't refer to an existing parameter group.
DbSecurityGroupNotFoundFault(DbSecurityGroupNotFoundFault)
DBSecurityGroupName
doesn't refer to an existing security group.
DbUpgradeDependencyFailureFault(DbUpgradeDependencyFailureFault)
The upgrade failed because a resource that the depends on can't be modified.
InsufficientDbInstanceCapacityFault(InsufficientDbInstanceCapacityFault)
The specified instance class isn't available in the specified Availability Zone.
InvalidDbInstanceStateFault(InvalidDbInstanceStateFault)
The specified instance isn't in the available state.
InvalidDbSecurityGroupStateFault(InvalidDbSecurityGroupStateFault)
The state of the security group doesn't allow deletion.
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
The subnet group doesn't cover all Availability Zones after it is created because of changes that were made.
StorageQuotaExceededFault(StorageQuotaExceededFault)
The request would cause you to exceed the allowed amount of storage available across all instances.
StorageTypeNotSupportedFault(StorageTypeNotSupportedFault)
Storage of the specified StorageType
can't be associated with the DB instance.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ModifyDBInstanceErrorKind
impl Send for ModifyDBInstanceErrorKind
impl Sync for ModifyDBInstanceErrorKind
impl Unpin for ModifyDBInstanceErrorKind
impl !UnwindSafe for ModifyDBInstanceErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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