revoke_client_vpn_ingress
async
¶
revoke_client_vpn_ingress(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
client_vpn_endpoint_id: Optional[ClientVpnEndpointId] = None,
target_network_cidr: Optional[String] = None,
access_group_id: Optional[String] = None,
revoke_all_groups: Optional[Boolean] = None,
dry_run: Optional[Boolean] = None,
) -> RevokeClientVpnIngressResult
Removes an ingress authorization rule from a Client VPN endpoint.
Parameters:
-
client_vpn_endpoint_id(Optional[ClientVpnEndpointId], default:None) –The ID of the Client VPN endpoint with which the authorization rule is associated.
-
target_network_cidr(Optional[String], default:None) –The IPv4 address range, in CIDR notation, of the network for which access is being removed.
-
access_group_id(Optional[String], default:None) –The ID of the Active Directory group for which to revoke access.
-
revoke_all_groups(Optional[Boolean], default:None) –Indicates whether access should be revoked for all groups for a single
TargetNetworkCidrthat earlier authorized ingress for all groups usingAuthorizeAllGroups. This does not impact other authorization rules that allowed ingress to the sameTargetNetworkCidrwith a specificAccessGroupId. -
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
59246 59247 59248 59249 59250 59251 59252 59253 59254 59255 59256 59257 59258 59259 59260 59261 59262 59263 59264 59265 59266 59267 59268 59269 59270 59271 59272 59273 59274 59275 59276 59277 59278 59279 59280 59281 59282 59283 59284 59285 59286 59287 59288 59289 59290 59291 59292 59293 59294 59295 59296 59297 59298 59299 59300 59301 59302 59303 59304 59305 59306 59307 | |