Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TerminateClientVpnConnectionsCommand

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.

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);
see

TerminateClientVpnConnectionsCommandInput for command's input shape.

see

TerminateClientVpnConnectionsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: TerminateClientVpnConnectionsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions