aws_sdk_ec2/client/
unassign_ipv6_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 [`UnassignIpv6Addresses`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ipv6_prefixes(impl Into<String>)`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::ipv6_prefixes) / [`set_ipv6_prefixes(Option<Vec::<String>>)`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::set_ipv6_prefixes):<br>required: **false**<br><p>The IPv6 prefixes to unassign from the network interface.</p><br>
7    ///   - [`network_interface_id(impl Into<String>)`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::network_interface_id) / [`set_network_interface_id(Option<String>)`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::set_network_interface_id):<br>required: **true**<br><p>The ID of the network interface.</p><br>
8    ///   - [`ipv6_addresses(impl Into<String>)`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::ipv6_addresses) / [`set_ipv6_addresses(Option<Vec::<String>>)`](crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::set_ipv6_addresses):<br>required: **false**<br><p>The IPv6 addresses to unassign from the network interface.</p><br>
9    /// - On success, responds with [`UnassignIpv6AddressesOutput`](crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesOutput) with field(s):
10    ///   - [`network_interface_id(Option<String>)`](crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesOutput::network_interface_id): <p>The ID of the network interface.</p>
11    ///   - [`unassigned_ipv6_addresses(Option<Vec::<String>>)`](crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesOutput::unassigned_ipv6_addresses): <p>The IPv6 addresses that have been unassigned from the network interface.</p>
12    ///   - [`unassigned_ipv6_prefixes(Option<Vec::<String>>)`](crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesOutput::unassigned_ipv6_prefixes): <p>The IPv6 prefixes that have been unassigned from the network interface.</p>
13    /// - On failure, responds with [`SdkError<UnassignIpv6AddressesError>`](crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError)
14    pub fn unassign_ipv6_addresses(&self) -> crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder {
15        crate::operation::unassign_ipv6_addresses::builders::UnassignIpv6AddressesFluentBuilder::new(self.handle.clone())
16    }
17}