aws-sdk-docdbelastic 1.78.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 [`GetCluster`](crate::operation::get_cluster::builders::GetClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::get_cluster::builders::GetClusterFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::get_cluster::builders::GetClusterFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The ARN identifier of the elastic cluster.</p><br>
    /// - On success, responds with [`GetClusterOutput`](crate::operation::get_cluster::GetClusterOutput) with field(s):
    ///   - [`cluster(Option<Cluster>)`](crate::operation::get_cluster::GetClusterOutput::cluster): <p>Returns information about a specific elastic cluster.</p>
    /// - On failure, responds with [`SdkError<GetClusterError>`](crate::operation::get_cluster::GetClusterError)
    pub fn get_cluster(&self) -> crate::operation::get_cluster::builders::GetClusterFluentBuilder {
        crate::operation::get_cluster::builders::GetClusterFluentBuilder::new(self.handle.clone())
    }
}