aws_sdk_docdb/client/
stop_db_cluster.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 [`StopDBCluster`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`StopDbClusterOutput`](crate::operation::stop_db_cluster::StopDbClusterOutput) with field(s):
8    ///   - [`db_cluster(Option<DbCluster>)`](crate::operation::stop_db_cluster::StopDbClusterOutput::db_cluster): <p>Detailed information about a cluster.</p>
9    /// - On failure, responds with [`SdkError<StopDBClusterError>`](crate::operation::stop_db_cluster::StopDBClusterError)
10    pub fn stop_db_cluster(&self) -> crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder {
11        crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::new(self.handle.clone())
12    }
13}