describe_client_vpn_target_networks
async
¶
describe_client_vpn_target_networks(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
client_vpn_endpoint_id: Optional[ClientVpnEndpointId] = None,
association_ids: Optional[ValueStringList] = None,
max_results: Optional[DescribeClientVpnTargetNetworksMaxResults] = None,
next_token: Optional[NextToken] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeClientVpnTargetNetworksResult
Describes the target networks associated with the specified Client VPN endpoint.
Parameters:
-
client_vpn_endpoint_id(Optional[ClientVpnEndpointId], default:None) –The ID of the Client VPN endpoint.
-
association_ids(Optional[ValueStringList], default:None) –The IDs of the target network associations.
-
max_results(Optional[DescribeClientVpnTargetNetworksMaxResults], 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.
-
filters(Optional[FilterList], default:None) –One or more filters. Filter names and values are case-sensitive.
-
association-id- The ID of the association. -
target-network-id- The ID of the subnet specified as the target network. -
vpc-id- The ID of the VPC in which the target network is located.
-
-
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
24028 24029 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 24051 24052 24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 | |