revoke_client_vpn_ingress
¶
revoke_client_vpn_ingress(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
58427 58428 58429 58430 58431 58432 58433 58434 58435 58436 58437 58438 58439 58440 58441 58442 58443 58444 58445 58446 58447 58448 58449 58450 58451 58452 58453 58454 58455 58456 58457 58458 58459 58460 58461 58462 58463 58464 58465 58466 58467 58468 58469 58470 58471 58472 58473 58474 58475 58476 58477 58478 58479 58480 58481 58482 58483 58484 58485 58486 58487 | |