Struct aws_sdk_docdb::input::DeleteDbClusterInput
source · [−]#[non_exhaustive]pub struct DeleteDbClusterInput {
pub db_cluster_identifier: Option<String>,
pub skip_final_snapshot: bool,
pub final_db_snapshot_identifier: Option<String>,
}Expand description
Represents the input to DeleteDBCluster.
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 cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier.
skip_final_snapshot: bool Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.
Default: false
final_db_snapshot_identifier: Option<String> The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot is set to false.
Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.
Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Implementations
sourceimpl DeleteDbClusterInput
impl DeleteDbClusterInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDBCluster, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDBCluster, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteDBCluster>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteDbClusterInput
sourceimpl DeleteDbClusterInput
impl DeleteDbClusterInput
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier.
sourcepub fn skip_final_snapshot(&self) -> bool
pub fn skip_final_snapshot(&self) -> bool
Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.
Default: false
sourcepub fn final_db_snapshot_identifier(&self) -> Option<&str>
pub fn final_db_snapshot_identifier(&self) -> Option<&str>
The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot is set to false.
Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.
Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Trait Implementations
sourceimpl Clone for DeleteDbClusterInput
impl Clone for DeleteDbClusterInput
sourcefn clone(&self) -> DeleteDbClusterInput
fn clone(&self) -> DeleteDbClusterInput
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 DeleteDbClusterInput
impl Debug for DeleteDbClusterInput
sourceimpl PartialEq<DeleteDbClusterInput> for DeleteDbClusterInput
impl PartialEq<DeleteDbClusterInput> for DeleteDbClusterInput
sourcefn eq(&self, other: &DeleteDbClusterInput) -> bool
fn eq(&self, other: &DeleteDbClusterInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DeleteDbClusterInput) -> bool
fn ne(&self, other: &DeleteDbClusterInput) -> bool
This method tests for !=.
impl StructuralPartialEq for DeleteDbClusterInput
Auto Trait Implementations
impl RefUnwindSafe for DeleteDbClusterInput
impl Send for DeleteDbClusterInput
impl Sync for DeleteDbClusterInput
impl Unpin for DeleteDbClusterInput
impl UnwindSafe for DeleteDbClusterInput
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