pub struct DeleteVpnConnectionRoute { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteVpnConnectionRoute
.
Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
Implementations§
source§impl DeleteVpnConnectionRoute
impl DeleteVpnConnectionRoute
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteVpnConnectionRoute, AwsResponseRetryClassifier>, SdkError<DeleteVpnConnectionRouteError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteVpnConnectionRoute, AwsResponseRetryClassifier>, SdkError<DeleteVpnConnectionRouteError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteVpnConnectionRouteOutput, SdkError<DeleteVpnConnectionRouteError>>
pub async fn send(
self
) -> Result<DeleteVpnConnectionRouteOutput, SdkError<DeleteVpnConnectionRouteError>>
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, which can be set when configuring the client.
sourcepub fn destination_cidr_block(self, input: impl Into<String>) -> Self
pub fn destination_cidr_block(self, input: impl Into<String>) -> Self
The CIDR block associated with the local subnet of the customer network.
sourcepub fn set_destination_cidr_block(self, input: Option<String>) -> Self
pub fn set_destination_cidr_block(self, input: Option<String>) -> Self
The CIDR block associated with the local subnet of the customer network.
sourcepub fn vpn_connection_id(self, input: impl Into<String>) -> Self
pub fn vpn_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPN connection.
sourcepub fn set_vpn_connection_id(self, input: Option<String>) -> Self
pub fn set_vpn_connection_id(self, input: Option<String>) -> Self
The ID of the VPN connection.
Trait Implementations§
source§impl Clone for DeleteVpnConnectionRoute
impl Clone for DeleteVpnConnectionRoute
source§fn clone(&self) -> DeleteVpnConnectionRoute
fn clone(&self) -> DeleteVpnConnectionRoute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more