1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::delete_vpn_connection::_delete_vpn_connection_output::DeleteVpnConnectionOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::delete_vpn_connection::_delete_vpn_connection_input::DeleteVpnConnectionInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::delete_vpn_connection::_delete_vpn_connection_output::DeleteVpnConnectionOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::delete_vpn_connection::builders::DeleteVpnConnectionInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::delete_vpn_connection::DeleteVpnConnectionOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::delete_vpn_connection::DeleteVpnConnectionError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.delete_vpn_connection();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DeleteVpnConnection`.
|
24 24 | ///
|
25 25 | /// <p>Deletes the specified VPN connection.</p>
|
26 26 | /// <p>If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. If you believe that the tunnel credentials for your VPN connection have been compromised, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private gateway. If you create a new VPN connection, you must reconfigure the customer gateway device using the new configuration information returned with the new VPN connection ID.</p>
|
27 27 | /// <p>For certificate-based authentication, delete all Certificate Manager (ACM) private certificates used for the Amazon Web Services-side tunnel endpoints for the VPN connection before deleting the VPN connection.</p>
|
28 28 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
29 29 | pub struct DeleteVpnConnectionFluentBuilder {
|
30 30 | handle: ::std::sync::Arc<crate::client::Handle>,
|
31 31 | inner: crate::operation::delete_vpn_connection::builders::DeleteVpnConnectionInputBuilder,
|
32 32 | config_override: ::std::option::Option<crate::config::Builder>,
|
33 33 | }
|
34 34 | impl
|
35 35 | crate::client::customize::internal::CustomizableSend<
|