#[non_exhaustive]pub struct DeleteDbClusterInput {
pub db_cluster_identifier: Option<String>,
pub skip_final_snapshot: Option<bool>,
pub final_db_snapshot_identifier: Option<String>,
pub delete_automated_backups: Option<bool>,
}Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_cluster_identifier: Option<String>The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match an existing DBClusterIdentifier.
skip_final_snapshot: Option<bool>Specifies whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted. If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. By default, this parameter is disabled.
You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is disabled.
final_db_snapshot_identifier: Option<String>The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is disabled.
Specifying this parameter and also skipping the creation of a final DB cluster snapshot with the SkipFinalShapshot parameter results in an error.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
delete_automated_backups: Option<bool>Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.
Implementations§
source§impl DeleteDbClusterInput
impl DeleteDbClusterInput
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match an existing DBClusterIdentifier.
sourcepub fn skip_final_snapshot(&self) -> Option<bool>
pub fn skip_final_snapshot(&self) -> Option<bool>
Specifies whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted. If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. By default, this parameter is disabled.
You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is disabled.
sourcepub fn final_db_snapshot_identifier(&self) -> Option<&str>
pub fn final_db_snapshot_identifier(&self) -> Option<&str>
The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is disabled.
Specifying this parameter and also skipping the creation of a final DB cluster snapshot with the SkipFinalShapshot parameter results in an error.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
sourcepub fn delete_automated_backups(&self) -> Option<bool>
pub fn delete_automated_backups(&self) -> Option<bool>
Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.
source§impl DeleteDbClusterInput
impl DeleteDbClusterInput
sourcepub fn builder() -> DeleteDbClusterInputBuilder
pub fn builder() -> DeleteDbClusterInputBuilder
Creates a new builder-style object to manufacture DeleteDbClusterInput.
Trait Implementations§
source§impl Clone for DeleteDbClusterInput
impl Clone for DeleteDbClusterInput
source§fn clone(&self) -> DeleteDbClusterInput
fn clone(&self) -> DeleteDbClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteDbClusterInput
impl Debug for DeleteDbClusterInput
source§impl PartialEq for DeleteDbClusterInput
impl PartialEq for DeleteDbClusterInput
source§fn eq(&self, other: &DeleteDbClusterInput) -> bool
fn eq(&self, other: &DeleteDbClusterInput) -> bool
self and other values to be equal, and is used
by ==.