Skip to content

Deletes the specified Client VPN endpoint

Description

Deletes the specified Client VPN endpoint. You must disassociate all target networks before you can delete a Client VPN endpoint.

Usage

ec2_delete_client_vpn_endpoint(ClientVpnEndpointId, DryRun)

Arguments

  • ClientVpnEndpointId

    [required] The ID of the Client VPN to be deleted.

  • 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.

Value

A list with the following syntax:

list(
  Status = list(
    Code = "pending-associate"|"available"|"deleting"|"deleted"|"pending",
    Message = "string"
  )
)

Request syntax

svc$delete_client_vpn_endpoint(
  ClientVpnEndpointId = "string",
  DryRun = TRUE|FALSE
)