Struct aws_sdk_ec2::input::DeleteClientVpnRouteInput
source · #[non_exhaustive]pub struct DeleteClientVpnRouteInput { /* private fields */ }
Implementations§
source§impl DeleteClientVpnRouteInput
impl DeleteClientVpnRouteInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteClientVpnRoute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteClientVpnRoute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteClientVpnRoute
>
Examples found in repository?
src/client.rs (line 25875)
25861 25862 25863 25864 25865 25866 25867 25868 25869 25870 25871 25872 25873 25874 25875 25876 25877 25878 25879 25880 25881 25882 25883 25884 25885 25886 25887 25888 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteClientVpnRoute,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteClientVpnRouteError>,
> {
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::DeleteClientVpnRouteOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteClientVpnRouteError>,
> {
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 DeleteClientVpnRouteInput
.
source§impl DeleteClientVpnRouteInput
impl DeleteClientVpnRouteInput
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint from which the route is to be deleted.
sourcepub fn target_vpc_subnet_id(&self) -> Option<&str>
pub fn target_vpc_subnet_id(&self) -> Option<&str>
The ID of the target subnet used by the route.
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, of the route to be deleted.
Trait Implementations§
source§impl Clone for DeleteClientVpnRouteInput
impl Clone for DeleteClientVpnRouteInput
source§fn clone(&self) -> DeleteClientVpnRouteInput
fn clone(&self) -> DeleteClientVpnRouteInput
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