1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UnassignPrivateIpAddresses`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_interface_id(impl Into<String>)`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::network_interface_id) / [`set_network_interface_id(Option<String>)`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::set_network_interface_id):<br>required: **true**<br><p>The ID of the network interface.</p><br>
    ///   - [`private_ip_addresses(impl Into<String>)`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::private_ip_addresses) / [`set_private_ip_addresses(Option<Vec::<String>>)`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::set_private_ip_addresses):<br>required: **false**<br><p>The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.</p><br>
    ///   - [`ipv4_prefixes(impl Into<String>)`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::ipv4_prefixes) / [`set_ipv4_prefixes(Option<Vec::<String>>)`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::set_ipv4_prefixes):<br>required: **false**<br><p>The IPv4 prefixes to unassign from the network interface.</p><br>
    /// - On success, responds with [`UnassignPrivateIpAddressesOutput`](crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesOutput)
    /// - On failure, responds with [`SdkError<UnassignPrivateIpAddressesError>`](crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError)
    pub fn unassign_private_ip_addresses(
        &self,
    ) -> crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder {
        crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::new(self.handle.clone())
    }
}