// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeVpnConnections`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`filters(Filter)`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters.</p> <ul> <li> <p><code>customer-gateway-configuration</code> - The configuration information for the customer gateway.</p></li> <li> <p><code>customer-gateway-id</code> - The ID of a customer gateway associated with the VPN connection.</p></li> <li> <p><code>state</code> - The state of the VPN connection (<code>pending</code> | <code>available</code> | <code>deleting</code> | <code>deleted</code>).</p></li> <li> <p><code>option.static-routes-only</code> - Indicates whether the connection has static routes only. Used for devices that do not support Border Gateway Protocol (BGP).</p></li> <li> <p><code>route.destination-cidr-block</code> - The destination CIDR block. This corresponds to the subnet used in a customer data center.</p></li> <li> <p><code>bgp-asn</code> - The BGP Autonomous System Number (ASN) associated with a BGP device.</p></li> <li> <p><code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value. </key></p></li> <li> <p><code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p></li> <li> <p><code>type</code> - The type of VPN connection. Currently the only supported type is <code>ipsec.1</code>.</p></li> <li> <p><code>vpn-connection-id</code> - The ID of the VPN connection.</p></li> <li> <p><code>vpn-gateway-id</code> - The ID of a virtual private gateway associated with the VPN connection.</p></li> <li> <p><code>transit-gateway-id</code> - The ID of a transit gateway associated with the VPN connection.</p></li> </ul><br>
/// - [`vpn_connection_ids(impl Into<String>)`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::vpn_connection_ids) / [`set_vpn_connection_ids(Option<Vec::<String>>)`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::set_vpn_connection_ids):<br>required: **false**<br><p>One or more VPN connection IDs.</p> <p>Default: Describes your VPN connections.</p><br>
/// - [`dry_run(bool)`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::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>
/// - On success, responds with [`DescribeVpnConnectionsOutput`](crate::operation::describe_vpn_connections::DescribeVpnConnectionsOutput) with field(s):
/// - [`vpn_connections(Option<Vec::<VpnConnection>>)`](crate::operation::describe_vpn_connections::DescribeVpnConnectionsOutput::vpn_connections): <p>Information about one or more VPN connections.</p>
/// - On failure, responds with [`SdkError<DescribeVpnConnectionsError>`](crate::operation::describe_vpn_connections::DescribeVpnConnectionsError)
pub fn describe_vpn_connections(&self) -> crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder {
crate::operation::describe_vpn_connections::builders::DescribeVpnConnectionsFluentBuilder::new(self.handle.clone())
}
}