Struct rusoto_rds::DeleteDBInstanceMessage
source · [−]pub struct DeleteDBInstanceMessage {
pub db_instance_identifier: String,
pub delete_automated_backups: Option<bool>,
pub final_db_snapshot_identifier: Option<String>,
pub skip_final_snapshot: Option<bool>,
}
Expand description
Fields
db_instance_identifier: String
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match the name of an existing DB instance.
delete_automated_backups: Option<bool>
A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted.
final_db_snapshot_identifier: Option<String>
The DBSnapshotIdentifier
of the new DBSnapshot
created when the SkipFinalSnapshot
parameter is disabled.
Specifying this parameter and also specifying to skip final DB snapshot creation in SkipFinalShapshot results in an error.
Constraints:
-
Must be 1 to 255 letters or numbers.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
-
Can't be specified when deleting a read replica.
skip_final_snapshot: Option<bool>
A value that indicates whether to skip the creation of a final DB snapshot before the DB instance is deleted. If skip is specified, no DB snapshot is created. If skip isn't specified, a DB snapshot is created before the DB instance is deleted. By default, skip isn't specified, and the DB snapshot is created.
When a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when skip is specified.
Specify skip when deleting a read replica.
The FinalDBSnapshotIdentifier parameter must be specified if skip isn't specified.
Trait Implementations
sourceimpl Clone for DeleteDBInstanceMessage
impl Clone for DeleteDBInstanceMessage
sourcefn clone(&self) -> DeleteDBInstanceMessage
fn clone(&self) -> DeleteDBInstanceMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeleteDBInstanceMessage
impl Debug for DeleteDBInstanceMessage
sourceimpl Default for DeleteDBInstanceMessage
impl Default for DeleteDBInstanceMessage
sourcefn default() -> DeleteDBInstanceMessage
fn default() -> DeleteDBInstanceMessage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DeleteDBInstanceMessage> for DeleteDBInstanceMessage
impl PartialEq<DeleteDBInstanceMessage> for DeleteDBInstanceMessage
sourcefn eq(&self, other: &DeleteDBInstanceMessage) -> bool
fn eq(&self, other: &DeleteDBInstanceMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteDBInstanceMessage) -> bool
fn ne(&self, other: &DeleteDBInstanceMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeleteDBInstanceMessage
Auto Trait Implementations
impl RefUnwindSafe for DeleteDBInstanceMessage
impl Send for DeleteDBInstanceMessage
impl Sync for DeleteDBInstanceMessage
impl Unpin for DeleteDBInstanceMessage
impl UnwindSafe for DeleteDBInstanceMessage
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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