aws-sdk-docdbelastic 1.103.0

AWS SDK for Amazon DocumentDB Elastic Clusters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteClusterSnapshot`](crate::operation::delete_cluster_snapshot::builders::DeleteClusterSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`snapshot_arn(impl Into<String>)`](crate::operation::delete_cluster_snapshot::builders::DeleteClusterSnapshotFluentBuilder::snapshot_arn) / [`set_snapshot_arn(Option<String>)`](crate::operation::delete_cluster_snapshot::builders::DeleteClusterSnapshotFluentBuilder::set_snapshot_arn):<br>required: **true**<br><p>The ARN identifier of the elastic cluster snapshot that is to be deleted.</p><br>
    /// - On success, responds with [`DeleteClusterSnapshotOutput`](crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotOutput) with field(s):
    ///   - [`snapshot(Option<ClusterSnapshot>)`](crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotOutput::snapshot): <p>Returns information about the newly deleted elastic cluster snapshot.</p>
    /// - On failure, responds with [`SdkError<DeleteClusterSnapshotError>`](crate::operation::delete_cluster_snapshot::DeleteClusterSnapshotError)
    pub fn delete_cluster_snapshot(&self) -> crate::operation::delete_cluster_snapshot::builders::DeleteClusterSnapshotFluentBuilder {
        crate::operation::delete_cluster_snapshot::builders::DeleteClusterSnapshotFluentBuilder::new(self.handle.clone())
    }
}