1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ResetAddressAttribute`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`allocation_id(impl Into<String>)`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::allocation_id) / [`set_allocation_id(Option<String>)`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::set_allocation_id): <p>[EC2-VPC] The allocation ID.</p>
    ///   - [`attribute(AddressAttributeName)`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::attribute) / [`set_attribute(Option<AddressAttributeName>)`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::set_attribute): <p>The attribute of the IP address.</p>
    ///   - [`dry_run(bool)`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::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 [`ResetAddressAttributeOutput`](crate::operation::reset_address_attribute::ResetAddressAttributeOutput) with field(s):
    ///   - [`address(Option<AddressAttribute>)`](crate::operation::reset_address_attribute::ResetAddressAttributeOutput::address): <p>Information about the IP address.</p>
    /// - On failure, responds with [`SdkError<ResetAddressAttributeError>`](crate::operation::reset_address_attribute::ResetAddressAttributeError)
    pub fn reset_address_attribute(
        &self,
    ) -> crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder
    {
        crate::operation::reset_address_attribute::builders::ResetAddressAttributeFluentBuilder::new(
            self.handle.clone(),
        )
    }
}