aws-sdk-ec2 1.221.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetActiveVpnTunnelStatus`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`vpn_connection_id(impl Into<String>)`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::vpn_connection_id) / [`set_vpn_connection_id(Option<String>)`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::set_vpn_connection_id):<br>required: **true**<br><p>The ID of the VPN connection for which to retrieve the active tunnel status.</p><br>
    ///   - [`vpn_tunnel_outside_ip_address(impl Into<String>)`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::vpn_tunnel_outside_ip_address) / [`set_vpn_tunnel_outside_ip_address(Option<String>)`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::set_vpn_tunnel_outside_ip_address):<br>required: **true**<br><p>The external IP address of the VPN tunnel for which to retrieve the active status.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request.</p><br>
    /// - On success, responds with [`GetActiveVpnTunnelStatusOutput`](crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusOutput) with field(s):
    ///   - [`active_vpn_tunnel_status(Option<ActiveVpnTunnelStatus>)`](crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusOutput::active_vpn_tunnel_status): <p>Information about the current security configuration of the VPN tunnel.</p>
    /// - On failure, responds with [`SdkError<GetActiveVpnTunnelStatusError>`](crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError)
    pub fn get_active_vpn_tunnel_status(&self) -> crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder {
        crate::operation::get_active_vpn_tunnel_status::builders::GetActiveVpnTunnelStatusFluentBuilder::new(self.handle.clone())
    }
}