Struct aws_sdk_ec2::client::fluent_builders::WithdrawByoipCidr
source · pub struct WithdrawByoipCidr { /* private fields */ }
Expand description
Fluent builder constructing a request to WithdrawByoipCidr
.
Stops advertising an address range that is provisioned as an address pool.
You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.
It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because of BGP propagation delays.
Implementations§
source§impl WithdrawByoipCidr
impl WithdrawByoipCidr
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<WithdrawByoipCidr, AwsResponseRetryClassifier>, SdkError<WithdrawByoipCidrError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<WithdrawByoipCidr, AwsResponseRetryClassifier>, SdkError<WithdrawByoipCidrError>>
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<WithdrawByoipCidrOutput, SdkError<WithdrawByoipCidrError>>
pub async fn send(
self
) -> Result<WithdrawByoipCidrOutput, SdkError<WithdrawByoipCidrError>>
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 dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Trait Implementations§
source§impl Clone for WithdrawByoipCidr
impl Clone for WithdrawByoipCidr
source§fn clone(&self) -> WithdrawByoipCidr
fn clone(&self) -> WithdrawByoipCidr
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more