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 [`StopCluster`](crate::operation::stop_cluster::builders::StopClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`StopClusterOutput`](crate::operation::stop_cluster::StopClusterOutput) with field(s):
    ///   - [`cluster(Option<Cluster>)`](crate::operation::stop_cluster::StopClusterOutput::cluster): <p>Returns information about a specific elastic cluster.</p>
    /// - On failure, responds with [`SdkError<StopClusterError>`](crate::operation::stop_cluster::StopClusterError)
    pub fn stop_cluster(&self) -> crate::operation::stop_cluster::builders::StopClusterFluentBuilder {
        crate::operation::stop_cluster::builders::StopClusterFluentBuilder::new(self.handle.clone())
    }
}