aws_sdk_docdb/client/
stop_db_cluster.rs

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 [`StopDBCluster`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`db_cluster_identifier(impl Into<String>)`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::set_db_cluster_identifier):<br>required: **true**<br><p>The identifier of the cluster to stop. Example: <code>docdb-2019-05-28-15-24-52</code></p><br>
    /// - On success, responds with [`StopDbClusterOutput`](crate::operation::stop_db_cluster::StopDbClusterOutput) with field(s):
    ///   - [`db_cluster(Option<DbCluster>)`](crate::operation::stop_db_cluster::StopDbClusterOutput::db_cluster): <p>Detailed information about a cluster.</p>
    /// - On failure, responds with [`SdkError<StopDBClusterError>`](crate::operation::stop_db_cluster::StopDBClusterError)
    pub fn stop_db_cluster(&self) -> crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder {
        crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::new(self.handle.clone())
    }
}