describe_vpc_endpoint_services
async
¶
describe_vpc_endpoint_services(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
service_names: Optional[ValueStringList] = None,
filters: Optional[FilterList] = None,
max_results: Optional[Integer] = None,
next_token: Optional[String] = None,
service_regions: Optional[ValueStringList] = None,
) -> DescribeVpcEndpointServicesResult
Describes available services to which you can create a VPC endpoint.
When the service provider and the consumer have different accounts in multiple Availability Zones, and the consumer views the VPC endpoint service information, the response only includes the common Availability Zones. For example, when the service provider account uses us-east-1a and us-east-1c and the consumer uses us-east-1a and us-east-1b, the response includes the VPC endpoint services in the common Availability Zone, us-east-1a.
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. -
service_names(Optional[ValueStringList], default:None) –The service names.
-
filters(Optional[FilterList], default:None) –The filters.
-
owner- The ID or alias of the Amazon Web Services account that owns the service. -
service-name- The name of the service. -
service-region- The Region of the service. -
service-type- The type of service (Interface|Gateway|GatewayLoadBalancer). -
supported-ip-address-types- The IP address type (ipv4|ipv6). -
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.
-
-
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.)
-
service_regions(Optional[ValueStringList], default:None) –The service Regions.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
38082 38083 38084 38085 38086 38087 38088 38089 38090 38091 38092 38093 38094 38095 38096 38097 38098 38099 38100 38101 38102 38103 38104 38105 38106 38107 38108 38109 38110 38111 38112 38113 38114 38115 38116 38117 38118 38119 38120 38121 38122 38123 38124 38125 38126 38127 38128 38129 38130 38131 38132 38133 38134 38135 38136 38137 38138 38139 38140 38141 38142 38143 38144 38145 38146 38147 38148 38149 | |