aws_sdk_ec2/client/unassign_private_ip_addresses.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 [`UnassignPrivateIpAddresses`](crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`UnassignPrivateIpAddressesOutput`](crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesOutput)
10 /// - On failure, responds with [`SdkError<UnassignPrivateIpAddressesError>`](crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError)
11 pub fn unassign_private_ip_addresses(
12 &self,
13 ) -> crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder {
14 crate::operation::unassign_private_ip_addresses::builders::UnassignPrivateIpAddressesFluentBuilder::new(self.handle.clone())
15 }
16}