#[non_exhaustive]pub struct ProvisionPublicIpv4PoolCidrInput { /* private fields */ }
Implementations§
source§impl ProvisionPublicIpv4PoolCidrInput
impl ProvisionPublicIpv4PoolCidrInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ProvisionPublicIpv4PoolCidr, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ProvisionPublicIpv4PoolCidr, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ProvisionPublicIpv4PoolCidr
>
Examples found in repository?
src/client.rs (line 71375)
71361 71362 71363 71364 71365 71366 71367 71368 71369 71370 71371 71372 71373 71374 71375 71376 71377 71378 71379 71380 71381 71382 71383 71384 71385 71386 71387 71388 71389 71390 71391 71392 71393 71394 71395 71396 71397 71398 71399 71400 71401 71402 71403
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ProvisionPublicIpv4PoolCidr,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ProvisionPublicIpv4PoolCidrError>,
> {
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::ProvisionPublicIpv4PoolCidrOutput,
aws_smithy_http::result::SdkError<crate::error::ProvisionPublicIpv4PoolCidrError>,
> {
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 ProvisionPublicIpv4PoolCidrInput
.
source§impl ProvisionPublicIpv4PoolCidrInput
impl ProvisionPublicIpv4PoolCidrInput
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
.
sourcepub fn ipam_pool_id(&self) -> Option<&str>
pub fn ipam_pool_id(&self) -> Option<&str>
The ID of the IPAM pool you would like to use to allocate this CIDR.
sourcepub fn pool_id(&self) -> Option<&str>
pub fn pool_id(&self) -> Option<&str>
The ID of the public IPv4 pool you would like to use for this CIDR.
sourcepub fn netmask_length(&self) -> Option<i32>
pub fn netmask_length(&self) -> Option<i32>
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
Trait Implementations§
source§impl Clone for ProvisionPublicIpv4PoolCidrInput
impl Clone for ProvisionPublicIpv4PoolCidrInput
source§fn clone(&self) -> ProvisionPublicIpv4PoolCidrInput
fn clone(&self) -> ProvisionPublicIpv4PoolCidrInput
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