1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::create_vpn_connection::_create_vpn_connection_output::CreateVpnConnectionOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::create_vpn_connection::_create_vpn_connection_input::CreateVpnConnectionInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::create_vpn_connection::_create_vpn_connection_output::CreateVpnConnectionOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::create_vpn_connection::builders::CreateVpnConnectionInputBuilder {
|
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::create_vpn_connection::CreateVpnConnectionOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::create_vpn_connection::CreateVpnConnectionError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.create_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 `CreateVpnConnection`.
|
24 24 | ///
|
25 25 | /// <p>Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway. The supported connection type is <code>ipsec.1</code>.</p>
|
26 26 | /// <p>The response includes information that you need to give to your network administrator to configure your customer gateway.</p><important>
|
27 27 | /// <p>We strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway device.</p>
|
28 28 | /// </important>
|
29 29 | /// <p>If you decide to shut down your VPN connection for any reason and later create a new VPN connection, you must reconfigure your customer gateway with the new information returned from this call.</p>
|
30 30 | /// <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
|
31 31 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
|
32 32 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
33 33 | pub struct CreateVpnConnectionFluentBuilder {
|
34 34 | handle: ::std::sync::Arc<crate::client::Handle>,
|
35 35 | inner: crate::operation::create_vpn_connection::builders::CreateVpnConnectionInputBuilder,
|