Struct aws_sdk_ec2::input::DeleteVpnConnectionRouteInput
source · #[non_exhaustive]pub struct DeleteVpnConnectionRouteInput { /* private fields */ }
Expand description
Contains the parameters for DeleteVpnConnectionRoute.
Implementations§
source§impl DeleteVpnConnectionRouteInput
impl DeleteVpnConnectionRouteInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteVpnConnectionRoute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteVpnConnectionRoute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteVpnConnectionRoute
>
Examples found in repository?
src/client.rs (line 31807)
31793 31794 31795 31796 31797 31798 31799 31800 31801 31802 31803 31804 31805 31806 31807 31808 31809 31810 31811 31812 31813 31814 31815 31816 31817 31818 31819 31820 31821 31822 31823 31824 31825 31826 31827 31828 31829 31830 31831 31832 31833 31834 31835
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteVpnConnectionRoute,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteVpnConnectionRouteError>,
> {
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::DeleteVpnConnectionRouteOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteVpnConnectionRouteError>,
> {
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 DeleteVpnConnectionRouteInput
.
source§impl DeleteVpnConnectionRouteInput
impl DeleteVpnConnectionRouteInput
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The CIDR block associated with the local subnet of the customer network.
sourcepub fn vpn_connection_id(&self) -> Option<&str>
pub fn vpn_connection_id(&self) -> Option<&str>
The ID of the VPN connection.
Trait Implementations§
source§impl Clone for DeleteVpnConnectionRouteInput
impl Clone for DeleteVpnConnectionRouteInput
source§fn clone(&self) -> DeleteVpnConnectionRouteInput
fn clone(&self) -> DeleteVpnConnectionRouteInput
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