pub struct DisassociateVpcCidrBlock { /* private fields */ }
Expand description
Fluent builder constructing a request to DisassociateVpcCidrBlock
.
Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using DescribeVpcs
. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.
You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).
Implementations§
source§impl DisassociateVpcCidrBlock
impl DisassociateVpcCidrBlock
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateVpcCidrBlock, AwsResponseRetryClassifier>, SdkError<DisassociateVpcCidrBlockError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateVpcCidrBlock, AwsResponseRetryClassifier>, SdkError<DisassociateVpcCidrBlockError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DisassociateVpcCidrBlockOutput, SdkError<DisassociateVpcCidrBlockError>>
pub async fn send(
self
) -> Result<DisassociateVpcCidrBlockOutput, SdkError<DisassociateVpcCidrBlockError>>
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.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The association ID for the CIDR block.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The association ID for the CIDR block.
Trait Implementations§
source§impl Clone for DisassociateVpcCidrBlock
impl Clone for DisassociateVpcCidrBlock
source§fn clone(&self) -> DisassociateVpcCidrBlock
fn clone(&self) -> DisassociateVpcCidrBlock
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more