aws_sdk_opsworkscm/client/
update_server_engine_attributes.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 [`UpdateServerEngineAttributes`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`server_name(impl Into<String>)`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::server_name) / [`set_server_name(Option<String>)`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::set_server_name):<br>required: **true**<br><p>The name of the server to update.</p><br>
7    ///   - [`attribute_name(impl Into<String>)`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::attribute_name) / [`set_attribute_name(Option<String>)`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::set_attribute_name):<br>required: **true**<br><p>The name of the engine attribute to update.</p><br>
8    ///   - [`attribute_value(impl Into<String>)`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::attribute_value) / [`set_attribute_value(Option<String>)`](crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::set_attribute_value):<br>required: **false**<br><p>The value to set for the attribute.</p><br>
9    /// - On success, responds with [`UpdateServerEngineAttributesOutput`](crate::operation::update_server_engine_attributes::UpdateServerEngineAttributesOutput) with field(s):
10    ///   - [`server(Option<Server>)`](crate::operation::update_server_engine_attributes::UpdateServerEngineAttributesOutput::server): <p>Contains the response to an <code>UpdateServerEngineAttributes</code> request.</p>
11    /// - On failure, responds with [`SdkError<UpdateServerEngineAttributesError>`](crate::operation::update_server_engine_attributes::UpdateServerEngineAttributesError)
12    pub fn update_server_engine_attributes(
13        &self,
14    ) -> crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder {
15        crate::operation::update_server_engine_attributes::builders::UpdateServerEngineAttributesFluentBuilder::new(self.handle.clone())
16    }
17}