1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifyAddressAttribute`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`allocation_id(impl Into<String>)`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::allocation_id) / [`set_allocation_id(Option<String>)`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::set_allocation_id): <p>[EC2-VPC] The allocation ID.</p>
    ///   - [`domain_name(impl Into<String>)`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::set_domain_name): <p>The domain name to modify for the IP address.</p>
    ///   - [`dry_run(bool)`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::set_dry_run): <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
    /// - On success, responds with [`ModifyAddressAttributeOutput`](crate::operation::modify_address_attribute::ModifyAddressAttributeOutput) with field(s):
    ///   - [`address(Option<AddressAttribute>)`](crate::operation::modify_address_attribute::ModifyAddressAttributeOutput::address): <p>Information about the Elastic IP address.</p>
    /// - On failure, responds with [`SdkError<ModifyAddressAttributeError>`](crate::operation::modify_address_attribute::ModifyAddressAttributeError)
    pub fn modify_address_attribute(
        &self,
    ) -> crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder
    {
        crate::operation::modify_address_attribute::builders::ModifyAddressAttributeFluentBuilder::new(self.handle.clone())
    }
}