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.
example
Use a bare-bones client and the command you need to make an API call.
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.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, TerminateClientVpnConnectionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, TerminateClientVpnConnectionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new TerminateClientVpnConnectionsCommand(input); const response = await client.send(command);
TerminateClientVpnConnectionsCommandInput for command's
input
shape.TerminateClientVpnConnectionsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.