aws_sdk_opsworks/client/update_elastic_ip.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 [`UpdateElasticIp`](crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`elastic_ip(impl Into<String>)`](crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder::elastic_ip) / [`set_elastic_ip(Option<String>)`](crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder::set_elastic_ip):<br>required: **true**<br><p>The IP address for which you want to update the name.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder::set_name):<br>required: **false**<br><p>The new name, which can be a maximum of 32 characters.</p><br>
8 /// - On success, responds with [`UpdateElasticIpOutput`](crate::operation::update_elastic_ip::UpdateElasticIpOutput)
9 /// - On failure, responds with [`SdkError<UpdateElasticIpError>`](crate::operation::update_elastic_ip::UpdateElasticIpError)
10 pub fn update_elastic_ip(&self) -> crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder {
11 crate::operation::update_elastic_ip::builders::UpdateElasticIpFluentBuilder::new(self.handle.clone())
12 }
13}