describe_client_vpn_connections
async
¶
describe_client_vpn_connections(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
client_vpn_endpoint_id: Optional[ClientVpnEndpointId] = None,
filters: Optional[FilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[DescribeClientVpnConnectionsMaxResults] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeClientVpnConnectionsResult
Describes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint.
Parameters:
-
client_vpn_endpoint_id(Optional[ClientVpnEndpointId], default:None) –The ID of the Client VPN endpoint.
-
filters(Optional[FilterList], default:None) –One or more filters. Filter names and values are case-sensitive.
-
connection-id- The ID of the connection. -
username- For Active Directory client authentication, the user name of the client who established the client connection.
-
-
next_token(Optional[NextToken], default:None) –The token to retrieve the next page of results.
-
max_results(Optional[DescribeClientVpnConnectionsMaxResults], default:None) –The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
-
dry_run(Optional[Boolean], default:None) –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
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
23738 23739 23740 23741 23742 23743 23744 23745 23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 23768 23769 23770 23771 23772 23773 23774 23775 23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 | |