aws_sdk_ec2/client/
disassociate_address.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 [`DisassociateAddress`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`association_id(impl Into<String>)`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::set_association_id):<br>required: **false**<br><p>The association ID. This parameter is required.</p><br>
7    ///   - [`public_ip(impl Into<String>)`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::public_ip) / [`set_public_ip(Option<String>)`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::set_public_ip):<br>required: **false**<br><p>Deprecated.</p><br>
8    ///   - [`dry_run(bool)`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::set_dry_run):<br>required: **false**<br><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><br>
9    /// - On success, responds with [`DisassociateAddressOutput`](crate::operation::disassociate_address::DisassociateAddressOutput)
10    /// - On failure, responds with [`SdkError<DisassociateAddressError>`](crate::operation::disassociate_address::DisassociateAddressError)
11    pub fn disassociate_address(&self) -> crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder {
12        crate::operation::disassociate_address::builders::DisassociateAddressFluentBuilder::new(self.handle.clone())
13    }
14}