aws_sdk_eks/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    ///   - [`name(impl Into<String>)`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::set_name):<br>required: **true**<br><p>The name of your cluster.</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>The full description of your specified 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}