describe_client_vpn_connections
¶
describe_client_vpn_connections(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
23410 23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 23425 23426 23427 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 23457 23458 23459 23460 23461 23462 23463 23464 23465 23466 23467 23468 23469 23470 23471 23472 | |