EC2.Client.
revoke_client_vpn_ingress
(**kwargs)¶Removes an ingress authorization rule from a Client VPN endpoint.
See also: AWS API Documentation
Request Syntax
response = client.revoke_client_vpn_ingress(
ClientVpnEndpointId='string',
TargetNetworkCidr='string',
AccessGroupId='string',
RevokeAllGroups=True|False,
DryRun=True|False
)
[REQUIRED]
The ID of the Client VPN endpoint with which the authorization rule is associated.
[REQUIRED]
The IPv4 address range, in CIDR notation, of the network for which access is being removed.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'Status': {
'Code': 'authorizing'|'active'|'failed'|'revoking',
'Message': 'string'
}
}
Response Structure
(dict) --
Status (dict) --
The current state of the authorization rule.
Code (string) --
The state of the authorization rule.
Message (string) --
A message about the status of the authorization rule, if applicable.