aws_sdk_docdbelastic/client/
stop_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 [`StopCluster`](crate::operation::stop_cluster::builders::StopClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::stop_cluster::builders::StopClusterFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::stop_cluster::builders::StopClusterFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The ARN identifier of the elastic cluster.</p><br>
7    /// - On success, responds with [`StopClusterOutput`](crate::operation::stop_cluster::StopClusterOutput) with field(s):
8    ///   - [`cluster(Option<Cluster>)`](crate::operation::stop_cluster::StopClusterOutput::cluster): <p>Returns information about a specific elastic cluster.</p>
9    /// - On failure, responds with [`SdkError<StopClusterError>`](crate::operation::stop_cluster::StopClusterError)
10    pub fn stop_cluster(&self) -> crate::operation::stop_cluster::builders::StopClusterFluentBuilder {
11        crate::operation::stop_cluster::builders::StopClusterFluentBuilder::new(self.handle.clone())
12    }
13}