#[non_exhaustive]pub struct DeleteSubnetCidrReservationInput { /* private fields */ }
Implementations§
source§impl DeleteSubnetCidrReservationInput
impl DeleteSubnetCidrReservationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteSubnetCidrReservation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteSubnetCidrReservation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteSubnetCidrReservation
>
Examples found in repository?
src/client.rs (line 29602)
29588 29589 29590 29591 29592 29593 29594 29595 29596 29597 29598 29599 29600 29601 29602 29603 29604 29605 29606 29607 29608 29609 29610 29611 29612 29613 29614 29615 29616 29617 29618 29619 29620 29621 29622 29623 29624 29625 29626 29627 29628 29629 29630
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteSubnetCidrReservation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteSubnetCidrReservationError>,
> {
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::DeleteSubnetCidrReservationOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteSubnetCidrReservationError>,
> {
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 DeleteSubnetCidrReservationInput
.
source§impl DeleteSubnetCidrReservationInput
impl DeleteSubnetCidrReservationInput
sourcepub fn subnet_cidr_reservation_id(&self) -> Option<&str>
pub fn subnet_cidr_reservation_id(&self) -> Option<&str>
The ID of the subnet CIDR reservation.
Trait Implementations§
source§impl Clone for DeleteSubnetCidrReservationInput
impl Clone for DeleteSubnetCidrReservationInput
source§fn clone(&self) -> DeleteSubnetCidrReservationInput
fn clone(&self) -> DeleteSubnetCidrReservationInput
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