aws_sdk_emr/client/describe_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 [`DescribeCluster`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_id(impl Into<String>)`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The identifier of the cluster to describe.</p><br>
7 /// - On success, responds with [`DescribeClusterOutput`](crate::operation::describe_cluster::DescribeClusterOutput) with field(s):
8 /// - [`cluster(Option<Cluster>)`](crate::operation::describe_cluster::DescribeClusterOutput::cluster): <p>This output contains the details for the requested cluster.</p>
9 /// - On failure, responds with [`SdkError<DescribeClusterError>`](crate::operation::describe_cluster::DescribeClusterError)
10 pub fn describe_cluster(&self) -> crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder {
11 crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::new(self.handle.clone())
12 }
13}