aws_sdk_kafka/client/update_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 [`UpdateConfiguration`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the configuration.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::set_description):<br>required: **false**<br><p>The description of the configuration revision.</p><br>
8 /// - [`server_properties(Blob)`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::server_properties) / [`set_server_properties(Option<Blob>)`](crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::set_server_properties):<br>required: **true**<br><p>Contents of the <filename> server.properties </filename> file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of <filename> server.properties </filename> can be in plaintext.</p><br>
9 /// - On success, responds with [`UpdateConfigurationOutput`](crate::operation::update_configuration::UpdateConfigurationOutput) with field(s):
10 /// - [`arn(Option<String>)`](crate::operation::update_configuration::UpdateConfigurationOutput::arn): <p>The Amazon Resource Name (ARN) of the configuration.</p>
11 /// - [`latest_revision(Option<ConfigurationRevision>)`](crate::operation::update_configuration::UpdateConfigurationOutput::latest_revision): <p>Latest revision of the configuration.</p>
12 /// - On failure, responds with [`SdkError<UpdateConfigurationError>`](crate::operation::update_configuration::UpdateConfigurationError)
13 pub fn update_configuration(&self) -> crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder {
14 crate::operation::update_configuration::builders::UpdateConfigurationFluentBuilder::new(self.handle.clone())
15 }
16}