Struct aws_sdk_ec2::input::DisassociateVpcCidrBlockInput
source · #[non_exhaustive]pub struct DisassociateVpcCidrBlockInput { /* private fields */ }
Implementations§
source§impl DisassociateVpcCidrBlockInput
impl DisassociateVpcCidrBlockInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateVpcCidrBlock, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateVpcCidrBlock, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateVpcCidrBlock
>
Examples found in repository?
src/client.rs (line 55540)
55526 55527 55528 55529 55530 55531 55532 55533 55534 55535 55536 55537 55538 55539 55540 55541 55542 55543 55544 55545 55546 55547 55548 55549 55550 55551 55552 55553 55554 55555 55556 55557 55558 55559 55560 55561 55562 55563 55564 55565 55566 55567 55568
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateVpcCidrBlock,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisassociateVpcCidrBlockError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DisassociateVpcCidrBlockOutput,
aws_smithy_http::result::SdkError<crate::error::DisassociateVpcCidrBlockError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DisassociateVpcCidrBlockInput
.
source§impl DisassociateVpcCidrBlockInput
impl DisassociateVpcCidrBlockInput
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The association ID for the CIDR block.
Trait Implementations§
source§impl Clone for DisassociateVpcCidrBlockInput
impl Clone for DisassociateVpcCidrBlockInput
source§fn clone(&self) -> DisassociateVpcCidrBlockInput
fn clone(&self) -> DisassociateVpcCidrBlockInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more