Amazon EC2 Ec2 Vpc Endpoint Connection API

The Ec2 Vpc Endpoint Connection API from Amazon EC2 — 3 operation(s) for ec2 vpc endpoint connection.

Business capability
IT Infrastructure Management BC-600.50

Operations 3

POST /?Action=AcceptVpcEndpointConnections Accept Vpc Endpoint Connections #
POST /?Action=DescribeVpcEndpointConnections Describe Vpc Endpoint Connections #
POST /?Action=RejectVpcEndpointConnections Reject Vpc Endpoint Connections #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-ec2:amazon-ec2-vpc-endpoint-connection-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-ec2-vpc-endpoint-connection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Elastic Compute Cloud Vpc Endpoint Connection API
  version: '2016-11-15'
  description: Generated from AWS's published Smithy model for Amazon Elastic Compute Cloud. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://ec2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Vpc Endpoint Connection
paths:
  /?Action=AcceptVpcEndpointConnections:
    post:
      operationId: AcceptVpcEndpointConnections
      summary: Accept Vpc Endpoint Connections
      description: Accepts connection requests to your VPC endpoint service.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AcceptVpcEndpointConnectionsResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: AcceptVpcEndpointConnections
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/AcceptVpcEndpointConnectionsRequest'
      tags:
      - Vpc Endpoint Connection
  /?Action=DescribeVpcEndpointConnections:
    post:
      operationId: DescribeVpcEndpointConnections
      summary: Describe Vpc Endpoint Connections
      description: Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DescribeVpcEndpointConnectionsResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeVpcEndpointConnections
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/DescribeVpcEndpointConnectionsRequest'
      tags:
      - Vpc Endpoint Connection
  /?Action=RejectVpcEndpointConnections:
    post:
      operationId: RejectVpcEndpointConnections
      summary: Reject Vpc Endpoint Connections
      description: Rejects VPC endpoint connection requests to your VPC endpoint service.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/RejectVpcEndpointConnectionsResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: RejectVpcEndpointConnections
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/RejectVpcEndpointConnectionsRequest'
      tags:
      - Vpc Endpoint Connection
components:
  schemas:
    AcceptVpcEndpointConnectionsResult:
      type: object
      properties:
        Unsuccessful:
          type: array
          items:
            $ref: '#/components/schemas/UnsuccessfulItem'
          description: Information about the interface endpoints that were not accepted, if applicable.
    AcceptVpcEndpointConnectionsRequest:
      type: object
      properties:
        DryRun:
          type: boolean
          description: 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.
        ServiceId:
          type: string
          description: The ID of the VPC endpoint service.
        VpcEndpointIds:
          type: array
          items:
            type: string
          description: The IDs of the interface VPC endpoints.
      required:
      - ServiceId
      - VpcEndpointIds
    DescribeVpcEndpointConnectionsResult:
      type: object
      properties:
        VpcEndpointConnections:
          type: array
          items:
            $ref: '#/components/schemas/VpcEndpointConnection'
          description: Information about the VPC endpoint connections.
        NextToken:
          type: string
          description: The token to use to retrieve the next page of results. This value is null when there are no more results to return.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: 'The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.'
        Value:
          type: string
          description: 'The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.'
    VpcEndpointConnection:
      type: object
      properties:
        ServiceId:
          type: string
          description: The ID of the service to which the endpoint is connected.
        VpcEndpointId:
          type: string
          description: The ID of the VPC endpoint.
        VpcEndpointOwner:
          type: string
          description: The ID of the Amazon Web Services account that owns the VPC endpoint.
        VpcEndpointState:
          type: string
          enum:
          - PendingAcceptance
          - Pending
          - Available
          - Deleting
          - Deleted
          - Rejected
          - Failed
          - Expired
          - Partial
          description: The state of the VPC endpoint.
        CreationTimestamp:
          type: string
          format: date-time
          description: The date and time that the VPC endpoint was created.
        DnsEntries:
          type: array
          items:
            $ref: '#/components/schemas/DnsEntry'
          description: The DNS entries for the VPC endpoint.
        NetworkLoadBalancerArns:
          type: array
          items:
            type: string
          description: The Amazon Resource Names (ARNs) of the network load balancers for the service.
        GatewayLoadBalancerArns:
          type: array
          items:
            type: string
          description: The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
        IpAddressType:
          type: string
          enum:
          - ipv4
          - dualstack
          - ipv6
          description: The IP address type for the endpoint.
        VpcEndpointConnectionId:
          type: string
          description: The ID of the VPC endpoint connection.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags.
        VpcEndpointRegion:
          type: string
          description: The Region of the endpoint.
        PayerResponsibilities:
          type: array
          items:
            $ref: '#/components/schemas/PayerResponsibilityEntry'
          description: The payer responsibility settings for the endpoint.
    RejectVpcEndpointConnectionsResult:
      type: object
      properties:
        Unsuccessful:
          type: array
          items:
            $ref: '#/components/schemas/UnsuccessfulItem'
          description: Information about the endpoints that were not rejected, if applicable.
    UnsuccessfulItemError:
      type: object
      properties:
        Code:
          type: string
          description: The error code.
        Message:
          type: string
          description: The error message accompanying the error code.
    DescribeVpcEndpointConnectionsRequest:
      type: object
      properties:
        DryRun:
          type: boolean
          description: 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.
        Filters:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
          description: The filters. ip-address-type - The IP address type (ipv4 | ipv6). service-id - The ID of the service. vpc-endpoint-owner - The ID of the Amazon Web Services account ID that owns the endpoint. vpc-endpoint-region - The Region of the endpoint or cross-region to find endpoints for other Regions. vpc-endpoint-state - The state of the endpoint (pendingAcceptance | pending | available | deleting | deleted | rejected | failed). vpc-endpoint-id - The ID of the endpoint.
        MaxResults:
          type: integer
          description: 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 1,000; if MaxResults is given a value larger than 1,000, only 1,000 results are returned.
        NextToken:
          type: string
          description: The token to retrieve the next page of results.
    RejectVpcEndpointConnectionsRequest:
      type: object
      properties:
        DryRun:
          type: boolean
          description: 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.
        ServiceId:
          type: string
          description: The ID of the service.
        VpcEndpointIds:
          type: array
          items:
            type: string
          description: The IDs of the VPC endpoints.
      required:
      - ServiceId
      - VpcEndpointIds
    UnsuccessfulItem:
      type: object
      properties:
        Error:
          $ref: '#/components/schemas/UnsuccessfulItemError'
        ResourceId:
          type: string
          description: The ID of the resource.
    PayerResponsibilityEntry:
      type: object
      properties:
        Scope:
          type: string
          enum:
          - vpc-endpoint-charges
          - resource-gateway-charges
          description: The scope of usage/charges.
        PayerResponsibilityType:
          type: string
          enum:
          - vpc-endpoint-account
          - resource-gateway-account
          - vpc-endpoint-service-account
          description: The Amazon Web Services account to which the usage is charged.
    DnsEntry:
      type: object
      properties:
        DnsName:
          type: string
          description: The DNS name.
        HostedZoneId:
          type: string
          description: The ID of the private hosted zone.
    Filter:
      type: object
      properties:
        Name:
          type: string
          description: The name of the filter. Filter names are case-sensitive.
        Values:
          type: array
          items:
            type: string
          description: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: ec2
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/ec2/service/2016-11-15/ec2-2016-11-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)