describe_client_vpn_routes
¶
describe_client_vpn_routes(
*,
config_overrides: Optional[EC2ClientConfig] = None,
client_vpn_endpoint_id: Optional[ClientVpnEndpointId] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeClientVpnRoutesMaxResults] = None,
next_token: Optional[NextToken] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeClientVpnRoutesResult
Describes the routes for the specified Client VPN endpoint.
Parameters:
-
client_vpn_endpoint_id(Optional[ClientVpnEndpointId], default:None) –The ID of the Client VPN endpoint.
-
filters(Optional[FilterList], default:None) –One or more filters. Filter names and values are case-sensitive.
-
destination-cidr- The CIDR of the route destination. -
origin- How the route was associated with the Client VPN endpoint (associate|add-route). -
target-subnet- The ID of the subnet through which traffic is routed.
-
-
max_results(Optional[DescribeClientVpnRoutesMaxResults], 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.
-
next_token(Optional[NextToken], default:None) –The token to retrieve the next page of results.
-
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
23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 23610 23611 23612 23613 23614 23615 23616 23617 23618 23619 23620 23621 23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 23633 23634 23635 23636 23637 23638 23639 23640 23641 23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 | |