aws_sdk_docdb/client/
delete_db_cluster_snapshot.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteDBClusterSnapshot`](crate::operation::delete_db_cluster_snapshot::builders::DeleteDBClusterSnapshotFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`db_cluster_snapshot_identifier(impl Into<String>)`](crate::operation::delete_db_cluster_snapshot::builders::DeleteDBClusterSnapshotFluentBuilder::db_cluster_snapshot_identifier) / [`set_db_cluster_snapshot_identifier(Option<String>)`](crate::operation::delete_db_cluster_snapshot::builders::DeleteDBClusterSnapshotFluentBuilder::set_db_cluster_snapshot_identifier):<br>required: **true**<br><p>The identifier of the cluster snapshot to delete.</p> <p>Constraints: Must be the name of an existing cluster snapshot in the <code>available</code> state.</p><br>
7    /// - On success, responds with [`DeleteDbClusterSnapshotOutput`](crate::operation::delete_db_cluster_snapshot::DeleteDbClusterSnapshotOutput) with field(s):
8    ///   - [`db_cluster_snapshot(Option<DbClusterSnapshot>)`](crate::operation::delete_db_cluster_snapshot::DeleteDbClusterSnapshotOutput::db_cluster_snapshot): <p>Detailed information about a cluster snapshot.</p>
9    /// - On failure, responds with [`SdkError<DeleteDBClusterSnapshotError>`](crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError)
10    pub fn delete_db_cluster_snapshot(&self) -> crate::operation::delete_db_cluster_snapshot::builders::DeleteDBClusterSnapshotFluentBuilder {
11        crate::operation::delete_db_cluster_snapshot::builders::DeleteDBClusterSnapshotFluentBuilder::new(self.handle.clone())
12    }
13}