Struct aws_sdk_ec2::client::fluent_builders::AssignIpv6Addresses [−][src]
pub struct AssignIpv6Addresses<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssignIpv6Addresses
.
Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute Cloud User Guide.
You must specify either the IPv6 addresses or the IPv6 address count in the request.
You can optionally use Prefix Delegation on the network interface. You must specify either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
Implementations
impl<C, M, R> AssignIpv6Addresses<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssignIpv6Addresses<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssignIpv6AddressesOutput, SdkError<AssignIpv6AddressesError>> where
R::Policy: SmithyRetryPolicy<AssignIpv6AddressesInputOperationOutputAlias, AssignIpv6AddressesOutput, AssignIpv6AddressesError, AssignIpv6AddressesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssignIpv6AddressesOutput, SdkError<AssignIpv6AddressesError>> where
R::Policy: SmithyRetryPolicy<AssignIpv6AddressesInputOperationOutputAlias, AssignIpv6AddressesOutput, AssignIpv6AddressesError, AssignIpv6AddressesInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
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.
Appends an item to Ipv6Addresses
.
To override the contents of this collection use set_ipv6_addresses
.
One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the
network interface. You cannot use this option if you use the Ipv6Prefixes
option.
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the
network interface. You cannot use this option if you use the Ipv6Prefixes
option.
Appends an item to Ipv6Prefixes
.
To override the contents of this collection use set_ipv6_prefixes
.
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount
option.
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount
option.
The ID of the network interface.
The ID of the network interface.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssignIpv6Addresses<C, M, R>
impl<C, M, R> Send for AssignIpv6Addresses<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssignIpv6Addresses<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssignIpv6Addresses<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssignIpv6Addresses<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more