describe_vpc_endpoints
¶
describe_vpc_endpoints(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
37313 37314 37315 37316 37317 37318 37319 37320 37321 37322 37323 37324 37325 37326 37327 37328 37329 37330 37331 37332 37333 37334 37335 37336 37337 37338 37339 37340 37341 37342 37343 37344 37345 37346 37347 37348 37349 37350 37351 37352 37353 37354 37355 37356 37357 37358 37359 37360 37361 37362 37363 37364 37365 37366 37367 37368 37369 37370 37371 37372 37373 | |