describe_vpc_endpoints
async
¶
describe_vpc_endpoints(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
vpc_endpoint_ids: Optional[VpcEndpointIdList] = None,
filters: Optional[FilterList] = None,
max_results: Optional[Integer] = None,
next_token: Optional[String] = None,
) -> DescribeVpcEndpointsResult
Describes your VPC endpoints. The default is to describe all your VPC endpoints. Alternatively, you can specify specific VPC endpoint IDs or filter the results to include only the VPC endpoints that match specific criteria.
Parameters:
-
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. -
vpc_endpoint_ids(Optional[VpcEndpointIdList], default:None) –The IDs of the VPC endpoints.
-
filters(Optional[FilterList], default:None) –The filters.
-
ip-address-type- The IP address type (ipv4|ipv6). -
service-name- The name of the service. -
service-region- The Region of the service. -
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id- The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id- The ID of the endpoint. -
vpc-endpoint-state- The state of the endpoint (pendingAcceptance|pending|available|deleting|deleted|rejected|failed). -
vpc-endpoint-type- The type of VPC endpoint (Interface|Gateway|GatewayLoadBalancer|Resource|ServiceNetwork|Tunnel).
-
-
max_results(Optional[Integer], default:None) –The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
-
next_token(Optional[String], default:None) –The token for the next set of items to return. (You received this token from a prior call.)
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
37805 37806 37807 37808 37809 37810 37811 37812 37813 37814 37815 37816 37817 37818 37819 37820 37821 37822 37823 37824 37825 37826 37827 37828 37829 37830 37831 37832 37833 37834 37835 37836 37837 37838 37839 37840 37841 37842 37843 37844 37845 37846 37847 37848 37849 37850 37851 37852 37853 37854 37855 37856 37857 37858 37859 37860 37861 37862 37863 37864 37865 37866 | |