Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

DescribeVpcEndpointConnections

Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

DryRun

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 is UnauthorizedOperation.

Type: Boolean

Required: No

Filter.N

One or more filters.

  • service-id - The ID of the service.

  • vpc-endpoint-owner - The AWS account number of the owner of the endpoint.

  • vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

  • vpc-endpoint-id - The ID of the endpoint.

Type: Array of Filter objects

Required: No

MaxResults

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned.

Type: Integer

Required: No

NextToken

The token to retrieve the next page of results.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

nextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

requestId

The ID of the request.

Type: String

vpcEndpointConnectionSet

Information about one or more VPC endpoint connections.

Type: Array of VpcEndpointConnection objects

Errors

For information about the errors that are common to all actions, see Common Client Errors.

Example

Example

This example describes all the VPC endpoint connections for all of your services.

Sample Request

https://ec2.amazonaws.com/?Action=DescribeVpcEndpointConnections
&AUTHPARAMS

Sample Response

<DescribeVpcEndpointConnectionsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
    <requestId>ed2d237f-426b-4927-981b-980example</requestId>
    <vpcEndpointConnectionSet>
        <item>
            <vpcEndpointOwner>123456789012</vpcEndpointOwner>
            <creationTimestamp>2017-10-19T12:36:10.939Z</creationTimestamp>
            <vpcEndpointState>available</vpcEndpointState>
            <serviceId>vpce-svc-0127881c0d25a3123</serviceId>
            <vpcEndpointId>vpce-09bce00dc3edcc329</vpcEndpointId>
        </item>
        <item>
            <vpcEndpointOwner>112233445566</vpcEndpointOwner>
            <creationTimestamp>2017-10-18T12:14:41.892Z</creationTimestamp>
            <vpcEndpointState>rejected</vpcEndpointState>
            <serviceId>vpce-svc-0435c4480f65e3abc</serviceId>
            <vpcEndpointId>vpce-051a4ba136c8a12d8</vpcEndpointId>
        </item>
        <item>
            <vpcEndpointOwner>123123123123</vpcEndpointOwner>
            <creationTimestamp>2017-10-18T13:25:07.739Z</creationTimestamp>
            <vpcEndpointState>pendingAcceptance</vpcEndpointState>
            <serviceId>vpce-svc-01f406f3e99f8a123</serviceId>
            <vpcEndpointId>vpce-09593ee8e85835659</vpcEndpointId>
        </item>
    </vpcEndpointConnectionSet>
</DescribeVpcEndpointConnectionsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: