aws_sdk_kafka/client/
update_cluster_configuration.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 [`UpdateClusterConfiguration`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p><br>
7    ///   - [`configuration_info(ConfigurationInfo)`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::configuration_info) / [`set_configuration_info(Option<ConfigurationInfo>)`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::set_configuration_info):<br>required: **true**<br><p>Represents the configuration that you want MSK to use for the brokers in a cluster.</p><br>
8    ///   - [`current_version(impl Into<String>)`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::current_version) / [`set_current_version(Option<String>)`](crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::set_current_version):<br>required: **true**<br><p>The version of the cluster that needs to be updated.</p><br>
9    /// - On success, responds with [`UpdateClusterConfigurationOutput`](crate::operation::update_cluster_configuration::UpdateClusterConfigurationOutput) with field(s):
10    ///   - [`cluster_arn(Option<String>)`](crate::operation::update_cluster_configuration::UpdateClusterConfigurationOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the cluster.</p>
11    ///   - [`cluster_operation_arn(Option<String>)`](crate::operation::update_cluster_configuration::UpdateClusterConfigurationOutput::cluster_operation_arn): <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
12    /// - On failure, responds with [`SdkError<UpdateClusterConfigurationError>`](crate::operation::update_cluster_configuration::UpdateClusterConfigurationError)
13    pub fn update_cluster_configuration(&self) -> crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder {
14        crate::operation::update_cluster_configuration::builders::UpdateClusterConfigurationFluentBuilder::new(self.handle.clone())
15    }
16}