aws-sdk-docdbelastic 0.3.1

AWS SDK for Amazon DocumentDB Elastic Clusters
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateClusterSnapshot`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_cluster_arn): <p>The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.</p>
    ///   - [`snapshot_name(impl Into<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::snapshot_name) / [`set_snapshot_name(Option<String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_snapshot_name): <p>The name of the Elastic DocumentDB snapshot.</p>
    ///   - [`tags(HashMap<String, String>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::set_tags): <p>The tags to be assigned to the new Elastic DocumentDB snapshot.</p>
    /// - On success, responds with [`CreateClusterSnapshotOutput`](crate::operation::create_cluster_snapshot::CreateClusterSnapshotOutput) with field(s):
    ///   - [`snapshot(Option<ClusterSnapshot>)`](crate::operation::create_cluster_snapshot::CreateClusterSnapshotOutput::snapshot): <p>Returns information about the new Elastic DocumentDB snapshot.</p>
    /// - On failure, responds with [`SdkError<CreateClusterSnapshotError>`](crate::operation::create_cluster_snapshot::CreateClusterSnapshotError)
    pub fn create_cluster_snapshot(
        &self,
    ) -> crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder
    {
        crate::operation::create_cluster_snapshot::builders::CreateClusterSnapshotFluentBuilder::new(
            self.handle.clone(),
        )
    }
}