Disassociates a target network from the specified Client VPN endpoint. When you disassociate the last target network from a Client VPN, the following happens:
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
ec2_disassociate_client_vpn_target_network(ClientVpnEndpointId,
AssociationId, DryRun)
A list with the following syntax:
list(
AssociationId = "string",
Status = list(
Code = "associating"|"associated"|"association-failed"|"disassociating"|"disassociated",
Message = "string"
)
)
[required] The ID of the Client VPN endpoint from which to disassociate the target network.
[required] The ID of the target network association.
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
.
svc$disassociate_client_vpn_target_network(
ClientVpnEndpointId = "string",
AssociationId = "string",
DryRun = TRUE|FALSE
)