aws_sdk_kafka/client/describe_cluster_v2.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 [`DescribeClusterV2`](crate::operation::describe_cluster_v2::builders::DescribeClusterV2FluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_arn(impl Into<String>)`](crate::operation::describe_cluster_v2::builders::DescribeClusterV2FluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::describe_cluster_v2::builders::DescribeClusterV2FluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p><br>
7 /// - On success, responds with [`DescribeClusterV2Output`](crate::operation::describe_cluster_v2::DescribeClusterV2Output) with field(s):
8 /// - [`cluster_info(Option<Cluster>)`](crate::operation::describe_cluster_v2::DescribeClusterV2Output::cluster_info): <p>The cluster information.</p>
9 /// - On failure, responds with [`SdkError<DescribeClusterV2Error>`](crate::operation::describe_cluster_v2::DescribeClusterV2Error)
10 pub fn describe_cluster_v2(&self) -> crate::operation::describe_cluster_v2::builders::DescribeClusterV2FluentBuilder {
11 crate::operation::describe_cluster_v2::builders::DescribeClusterV2FluentBuilder::new(self.handle.clone())
12 }
13}