Struct aws_sdk_ec2::input::DeleteLocalGatewayRouteInput
source · #[non_exhaustive]pub struct DeleteLocalGatewayRouteInput { /* private fields */ }
Implementations§
source§impl DeleteLocalGatewayRouteInput
impl DeleteLocalGatewayRouteInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteLocalGatewayRoute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteLocalGatewayRoute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteLocalGatewayRoute
>
Examples found in repository?
src/client.rs (line 27499)
27485 27486 27487 27488 27489 27490 27491 27492 27493 27494 27495 27496 27497 27498 27499 27500 27501 27502 27503 27504 27505 27506 27507 27508 27509 27510 27511 27512 27513 27514 27515 27516 27517 27518 27519 27520 27521 27522 27523 27524 27525 27526 27527
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteLocalGatewayRoute,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteLocalGatewayRouteError>,
> {
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::DeleteLocalGatewayRouteOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteLocalGatewayRouteError>,
> {
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 DeleteLocalGatewayRouteInput
.
source§impl DeleteLocalGatewayRouteInput
impl DeleteLocalGatewayRouteInput
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The CIDR range for the route. This must match the CIDR for the route exactly.
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
Trait Implementations§
source§impl Clone for DeleteLocalGatewayRouteInput
impl Clone for DeleteLocalGatewayRouteInput
source§fn clone(&self) -> DeleteLocalGatewayRouteInput
fn clone(&self) -> DeleteLocalGatewayRouteInput
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