Struct aws_sdk_ec2::input::DeleteCoipPoolInput
source · #[non_exhaustive]pub struct DeleteCoipPoolInput { /* private fields */ }
Implementations§
source§impl DeleteCoipPoolInput
impl DeleteCoipPoolInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteCoipPool, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteCoipPool, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteCoipPool
>
Examples found in repository?
src/client.rs (line 26080)
26066 26067 26068 26069 26070 26071 26072 26073 26074 26075 26076 26077 26078 26079 26080 26081 26082 26083 26084 26085 26086 26087 26088 26089 26090 26091 26092 26093 26094 26095 26096 26097 26098 26099 26100 26101 26102 26103 26104 26105 26106 26107 26108
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteCoipPool,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteCoipPoolError>,
> {
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::DeleteCoipPoolOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteCoipPoolError>,
> {
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 DeleteCoipPoolInput
.
source§impl DeleteCoipPoolInput
impl DeleteCoipPoolInput
sourcepub fn coip_pool_id(&self) -> Option<&str>
pub fn coip_pool_id(&self) -> Option<&str>
The ID of the CoIP pool that you want to delete.
Trait Implementations§
source§impl Clone for DeleteCoipPoolInput
impl Clone for DeleteCoipPoolInput
source§fn clone(&self) -> DeleteCoipPoolInput
fn clone(&self) -> DeleteCoipPoolInput
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