Struct aws_sdk_ec2::input::DeletePublicIpv4PoolInput
source · #[non_exhaustive]pub struct DeletePublicIpv4PoolInput { /* private fields */ }
Implementations§
source§impl DeletePublicIpv4PoolInput
impl DeletePublicIpv4PoolInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeletePublicIpv4Pool, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeletePublicIpv4Pool, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeletePublicIpv4Pool
>
Examples found in repository?
src/client.rs (line 28877)
28863 28864 28865 28866 28867 28868 28869 28870 28871 28872 28873 28874 28875 28876 28877 28878 28879 28880 28881 28882 28883 28884 28885 28886 28887 28888 28889 28890 28891 28892 28893 28894 28895 28896 28897 28898 28899 28900 28901 28902 28903 28904 28905
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeletePublicIpv4Pool,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeletePublicIpv4PoolError>,
> {
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::DeletePublicIpv4PoolOutput,
aws_smithy_http::result::SdkError<crate::error::DeletePublicIpv4PoolError>,
> {
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 DeletePublicIpv4PoolInput
.
source§impl DeletePublicIpv4PoolInput
impl DeletePublicIpv4PoolInput
Trait Implementations§
source§impl Clone for DeletePublicIpv4PoolInput
impl Clone for DeletePublicIpv4PoolInput
source§fn clone(&self) -> DeletePublicIpv4PoolInput
fn clone(&self) -> DeletePublicIpv4PoolInput
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