1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::assign_private_ip_addresses::_assign_private_ip_addresses_output::AssignPrivateIpAddressesOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::assign_private_ip_addresses::_assign_private_ip_addresses_input::AssignPrivateIpAddressesInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::assign_private_ip_addresses::_assign_private_ip_addresses_output::AssignPrivateIpAddressesOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::assign_private_ip_addresses::builders::AssignPrivateIpAddressesInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.assign_private_ip_addresses();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `AssignPrivateIpAddresses`.
|
24 24 | ///
|
25 25 | /// <p>Assigns the specified secondary private IP addresses to the specified network interface.</p>
|
26 26 | /// <p>You can specify specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned from the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
27 27 | /// <p>When you move a secondary private IP address to another network interface, any Elastic IP address that is associated with the IP address is also moved.</p>
|
28 28 | /// <p>Remapping an IP address is an asynchronous operation. When you move an IP address from one network interface to another, check <code>network/interfaces/macs/mac/local-ipv4s</code> in the instance metadata to confirm that the remapping is complete.</p>
|
29 29 | /// <p>You must specify either the IP addresses or the IP address count in the request.</p>
|
30 30 | /// <p>You can optionally use Prefix Delegation on the network interface. You must specify either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html"> Assigning prefixes to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
31 31 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
32 32 | pub struct AssignPrivateIpAddressesFluentBuilder {
|
33 33 | handle: ::std::sync::Arc<crate::client::Handle>,
|
34 34 | inner: crate::operation::assign_private_ip_addresses::builders::AssignPrivateIpAddressesInputBuilder,
|
35 35 | config_override: ::std::option::Option<crate::config::Builder>,
|