EC2.Client.
disassociate_client_vpn_target_network
(**kwargs)¶Disassociates a target network from the specified Client VPN endpoint. When you disassociate the last target network from a Client VPN, the following happens:
pending-associate
See also: AWS API Documentation
Request Syntax
response = client.disassociate_client_vpn_target_network(
ClientVpnEndpointId='string',
AssociationId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the Client VPN endpoint from which to disassociate the target network.
[REQUIRED]
The ID of the target network association.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'AssociationId': 'string',
'Status': {
'Code': 'associating'|'associated'|'association-failed'|'disassociating'|'disassociated',
'Message': 'string'
}
}
Response Structure
(dict) --
AssociationId (string) --
The ID of the target network association.
Status (dict) --
The current state of the target network association.
Code (string) --
The state of the target network association.
Message (string) --
A message about the status of the target network association, if applicable.