aws_sdk_ec2/client/get_vpn_tunnel_replacement_status.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetVpnTunnelReplacementStatus`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`vpn_connection_id(impl Into<String>)`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::vpn_connection_id) / [`set_vpn_connection_id(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::set_vpn_connection_id):<br>required: **true**<br><p>The ID of the Site-to-Site VPN connection.</p><br>
7 /// - [`vpn_tunnel_outside_ip_address(impl Into<String>)`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::vpn_tunnel_outside_ip_address) / [`set_vpn_tunnel_outside_ip_address(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::set_vpn_tunnel_outside_ip_address):<br>required: **true**<br><p>The external IP address of the VPN tunnel.</p><br>
8 /// - [`dry_run(bool)`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
9 /// - On success, responds with [`GetVpnTunnelReplacementStatusOutput`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput) with field(s):
10 /// - [`vpn_connection_id(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput::vpn_connection_id): <p>The ID of the Site-to-Site VPN connection.</p>
11 /// - [`transit_gateway_id(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput::transit_gateway_id): <p>The ID of the transit gateway associated with the VPN connection.</p>
12 /// - [`customer_gateway_id(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput::customer_gateway_id): <p>The ID of the customer gateway.</p>
13 /// - [`vpn_gateway_id(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput::vpn_gateway_id): <p>The ID of the virtual private gateway.</p>
14 /// - [`vpn_tunnel_outside_ip_address(Option<String>)`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput::vpn_tunnel_outside_ip_address): <p>The external IP address of the VPN tunnel.</p>
15 /// - [`maintenance_details(Option<MaintenanceDetails>)`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusOutput::maintenance_details): <p>Get details of pending tunnel endpoint maintenance.</p>
16 /// - On failure, responds with [`SdkError<GetVpnTunnelReplacementStatusError>`](crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError)
17 pub fn get_vpn_tunnel_replacement_status(
18 &self,
19 ) -> crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder {
20 crate::operation::get_vpn_tunnel_replacement_status::builders::GetVpnTunnelReplacementStatusFluentBuilder::new(self.handle.clone())
21 }
22}