#[non_exhaustive]pub struct DeprovisionPublicIpv4PoolCidrInput { /* private fields */ }
Implementations§
source§impl DeprovisionPublicIpv4PoolCidrInput
impl DeprovisionPublicIpv4PoolCidrInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeprovisionPublicIpv4PoolCidr, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeprovisionPublicIpv4PoolCidr, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeprovisionPublicIpv4PoolCidr
>
Examples found in repository?
src/client.rs (line 32159)
32145 32146 32147 32148 32149 32150 32151 32152 32153 32154 32155 32156 32157 32158 32159 32160 32161 32162 32163 32164 32165 32166 32167 32168 32169 32170 32171 32172 32173 32174 32175 32176 32177 32178 32179 32180 32181 32182 32183 32184 32185 32186 32187
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeprovisionPublicIpv4PoolCidr,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeprovisionPublicIpv4PoolCidrError>,
> {
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::DeprovisionPublicIpv4PoolCidrOutput,
aws_smithy_http::result::SdkError<crate::error::DeprovisionPublicIpv4PoolCidrError>,
> {
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 DeprovisionPublicIpv4PoolCidrInput
.
source§impl DeprovisionPublicIpv4PoolCidrInput
impl DeprovisionPublicIpv4PoolCidrInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Trait Implementations§
source§impl Clone for DeprovisionPublicIpv4PoolCidrInput
impl Clone for DeprovisionPublicIpv4PoolCidrInput
source§fn clone(&self) -> DeprovisionPublicIpv4PoolCidrInput
fn clone(&self) -> DeprovisionPublicIpv4PoolCidrInput
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