Struct aws_sdk_ec2::input::DeleteCoipCidrInput
source · #[non_exhaustive]pub struct DeleteCoipCidrInput { /* private fields */ }
Implementations§
source§impl DeleteCoipCidrInput
impl DeleteCoipCidrInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteCoipCidr, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteCoipCidr, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteCoipCidr
>
Examples found in repository?
src/client.rs (line 25987)
25973 25974 25975 25976 25977 25978 25979 25980 25981 25982 25983 25984 25985 25986 25987 25988 25989 25990 25991 25992 25993 25994 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 26008 26009 26010 26011 26012 26013 26014 26015
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteCoipCidr,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteCoipCidrError>,
> {
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::DeleteCoipCidrOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteCoipCidrError>,
> {
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 DeleteCoipCidrInput
.
source§impl DeleteCoipCidrInput
impl DeleteCoipCidrInput
sourcepub fn coip_pool_id(&self) -> Option<&str>
pub fn coip_pool_id(&self) -> Option<&str>
The ID of the customer-owned address pool.
Trait Implementations§
source§impl Clone for DeleteCoipCidrInput
impl Clone for DeleteCoipCidrInput
source§fn clone(&self) -> DeleteCoipCidrInput
fn clone(&self) -> DeleteCoipCidrInput
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