Learn R Programming

paws.compute (version 0.7.0)

ec2_terminate_client_vpn_connections: Terminates active Client VPN endpoint connections

Description

Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user.

See https://www.paws-r-sdk.com/docs/ec2_terminate_client_vpn_connections/ for full documentation.

Usage

ec2_terminate_client_vpn_connections(
  ClientVpnEndpointId,
  ConnectionId = NULL,
  Username = NULL,
  DryRun = NULL
)

Arguments

ClientVpnEndpointId

[required] The ID of the Client VPN endpoint to which the client is connected.

ConnectionId

The ID of the client connection to be terminated.

Username

The name of the user who initiated the connection. Use this option to terminate all active connections for the specified user. This option can only be used if the user has established up to five connections.

DryRun

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 is UnauthorizedOperation.