describe_client_vpn_authorization_rules
async
¶
describe_client_vpn_authorization_rules(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
client_vpn_endpoint_id: Optional[ClientVpnEndpointId] = None,
dry_run: Optional[Boolean] = None,
next_token: Optional[NextToken] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeClientVpnAuthorizationRulesMaxResults] = None,
) -> DescribeClientVpnAuthorizationRulesResult
Describes the authorization rules for a specified Client VPN endpoint.
Parameters:
-
client_vpn_endpoint_id(Optional[ClientVpnEndpointId], default:None) –The ID of the Client VPN endpoint.
-
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. -
next_token(Optional[NextToken], default:None) –The token to retrieve the next page of results.
-
filters(Optional[FilterList], default:None) –One or more filters. Filter names and values are case-sensitive.
-
description- The description of the authorization rule. -
destination-cidr- The CIDR of the network to which the authorization rule applies. -
group-id- The ID of the Active Directory group to which the authorization rule grants access.
-
-
max_results(Optional[DescribeClientVpnAuthorizationRulesMaxResults], default:None) –The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 23673 23674 23675 23676 23677 23678 23679 23680 23681 23682 23683 23684 23685 23686 23687 23688 23689 23690 23691 23692 23693 23694 23695 23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 | |