#[non_exhaustive]pub struct DisassociateSubnetCidrBlockInput { /* private fields */ }
Implementations§
source§impl DisassociateSubnetCidrBlockInput
impl DisassociateSubnetCidrBlockInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateSubnetCidrBlock, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateSubnetCidrBlock, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateSubnetCidrBlock
>
Examples found in repository?
src/client.rs (line 55020)
55006 55007 55008 55009 55010 55011 55012 55013 55014 55015 55016 55017 55018 55019 55020 55021 55022 55023 55024 55025 55026 55027 55028 55029 55030 55031 55032 55033 55034 55035 55036 55037 55038 55039 55040 55041 55042 55043 55044 55045 55046 55047 55048
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateSubnetCidrBlock,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisassociateSubnetCidrBlockError>,
> {
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::DisassociateSubnetCidrBlockOutput,
aws_smithy_http::result::SdkError<crate::error::DisassociateSubnetCidrBlockError>,
> {
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 DisassociateSubnetCidrBlockInput
.
source§impl DisassociateSubnetCidrBlockInput
impl DisassociateSubnetCidrBlockInput
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 DisassociateSubnetCidrBlockInput
impl Clone for DisassociateSubnetCidrBlockInput
source§fn clone(&self) -> DisassociateSubnetCidrBlockInput
fn clone(&self) -> DisassociateSubnetCidrBlockInput
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