aws_sdk_ec2/client/assign_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 [`AssignIpv6Addresses`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`ipv6_prefix_count(i32)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::ipv6_prefix_count) / [`set_ipv6_prefix_count(Option<i32>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::set_ipv6_prefix_count):<br>required: **false**<br><p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the <code>Ipv6Prefixes</code> option.</p><br>
7 /// - [`ipv6_prefixes(impl Into<String>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::ipv6_prefixes) / [`set_ipv6_prefixes(Option<Vec::<String>>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::set_ipv6_prefixes):<br>required: **false**<br><p>One or more IPv6 prefixes assigned to the network interface. You can't use this option if you use the <code>Ipv6PrefixCount</code> option.</p><br>
8 /// - [`network_interface_id(impl Into<String>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::network_interface_id) / [`set_network_interface_id(Option<String>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::set_network_interface_id):<br>required: **true**<br><p>The ID of the network interface.</p><br>
9 /// - [`ipv6_addresses(impl Into<String>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::ipv6_addresses) / [`set_ipv6_addresses(Option<Vec::<String>>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::set_ipv6_addresses):<br>required: **false**<br><p>The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.</p><br>
10 /// - [`ipv6_address_count(i32)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::ipv6_address_count) / [`set_ipv6_address_count(Option<i32>)`](crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::set_ipv6_address_count):<br>required: **false**<br><p>The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.</p><br>
11 /// - On success, responds with [`AssignIpv6AddressesOutput`](crate::operation::assign_ipv6_addresses::AssignIpv6AddressesOutput) with field(s):
12 /// - [`assigned_ipv6_addresses(Option<Vec::<String>>)`](crate::operation::assign_ipv6_addresses::AssignIpv6AddressesOutput::assigned_ipv6_addresses): <p>The new IPv6 addresses assigned to the network interface. Existing IPv6 addresses that were assigned to the network interface before the request are not included.</p>
13 /// - [`assigned_ipv6_prefixes(Option<Vec::<String>>)`](crate::operation::assign_ipv6_addresses::AssignIpv6AddressesOutput::assigned_ipv6_prefixes): <p>The IPv6 prefixes that are assigned to the network interface.</p>
14 /// - [`network_interface_id(Option<String>)`](crate::operation::assign_ipv6_addresses::AssignIpv6AddressesOutput::network_interface_id): <p>The ID of the network interface.</p>
15 /// - On failure, responds with [`SdkError<AssignIpv6AddressesError>`](crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError)
16 pub fn assign_ipv6_addresses(&self) -> crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder {
17 crate::operation::assign_ipv6_addresses::builders::AssignIpv6AddressesFluentBuilder::new(self.handle.clone())
18 }
19}