aws_sdk_kafka/client/get_compatible_kafka_versions.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 [`GetCompatibleKafkaVersions`](crate::operation::get_compatible_kafka_versions::builders::GetCompatibleKafkaVersionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_arn(impl Into<String>)`](crate::operation::get_compatible_kafka_versions::builders::GetCompatibleKafkaVersionsFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::get_compatible_kafka_versions::builders::GetCompatibleKafkaVersionsFluentBuilder::set_cluster_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the cluster check.</p><br>
7 /// - On success, responds with [`GetCompatibleKafkaVersionsOutput`](crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsOutput) with field(s):
8 /// - [`compatible_kafka_versions(Option<Vec::<CompatibleKafkaVersion>>)`](crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsOutput::compatible_kafka_versions): <p>A list of CompatibleKafkaVersion objects.</p>
9 /// - On failure, responds with [`SdkError<GetCompatibleKafkaVersionsError>`](crate::operation::get_compatible_kafka_versions::GetCompatibleKafkaVersionsError)
10 pub fn get_compatible_kafka_versions(
11 &self,
12 ) -> crate::operation::get_compatible_kafka_versions::builders::GetCompatibleKafkaVersionsFluentBuilder {
13 crate::operation::get_compatible_kafka_versions::builders::GetCompatibleKafkaVersionsFluentBuilder::new(self.handle.clone())
14 }
15}