Struct aws_sdk_ec2::client::fluent_builders::AssociateVpcCidrBlock [−][src]
pub struct AssociateVpcCidrBlock<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateVpcCidrBlock
.
Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR block from an IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP). The IPv6 CIDR block size is fixed at /56.
You must specify one of the following in the request: an IPv4 CIDR block, an IPv6 pool, or an Amazon-provided IPv6 CIDR block.
For more information about associating CIDR blocks with your VPC and applicable restrictions, see VPC and subnet sizing in the Amazon Virtual Private Cloud User Guide.
Implementations
impl<C, M, R> AssociateVpcCidrBlock<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateVpcCidrBlock<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateVpcCidrBlockOutput, SdkError<AssociateVpcCidrBlockError>> where
R::Policy: SmithyRetryPolicy<AssociateVpcCidrBlockInputOperationOutputAlias, AssociateVpcCidrBlockOutput, AssociateVpcCidrBlockError, AssociateVpcCidrBlockInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateVpcCidrBlockOutput, SdkError<AssociateVpcCidrBlockError>> where
R::Policy: SmithyRetryPolicy<AssociateVpcCidrBlockInputOperationOutputAlias, AssociateVpcCidrBlockOutput, AssociateVpcCidrBlockError, AssociateVpcCidrBlockInputOperationRetryAlias>,
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.
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
An IPv4 CIDR block to associate with the VPC.
An IPv4 CIDR block to associate with the VPC.
The ID of the VPC.
The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location.
You must set AmazonProvidedIpv6CidrBlock
to true
to use this parameter.
You can have one IPv6 CIDR block association per network border group.
The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location.
You must set AmazonProvidedIpv6CidrBlock
to true
to use this parameter.
You can have one IPv6 CIDR block association per network border group.
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool
in the request.
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool
in the request.
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssociateVpcCidrBlock<C, M, R>
impl<C, M, R> Send for AssociateVpcCidrBlock<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateVpcCidrBlock<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateVpcCidrBlock<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssociateVpcCidrBlock<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