paws.compute (version 0.1.0)

ec2_disassociate_client_vpn_target_network: Disassociates a target network from the specified Client VPN endpoint

Description

Disassociates a target network from the specified Client VPN endpoint. When you disassociate the last target network from a Client VPN, the following happens:

Usage

ec2_disassociate_client_vpn_target_network(ClientVpnEndpointId,
  AssociationId, DryRun)

Arguments

ClientVpnEndpointId

[required] The ID of the Client VPN endpoint from which to disassociate the target network.

AssociationId

[required] The ID of the target network association.

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.

Request syntax

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

Details

  • The route that was automatically added for the VPC is deleted

  • All active client connections are terminated

  • New client connections are disallowed

  • The Client VPN endpoint's status changes to pending-associate