Amazon EC2 Ec2 Transit Gateway Client Vpn Attachment API

The Ec2 Transit Gateway Client Vpn Attachment API from Amazon EC2 — 3 operation(s) for ec2 transit gateway client vpn attachment.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 3

POST /?Action=AcceptTransitGatewayClientVpnAttachment Accept Transit Gateway Client Vpn Attachment #
POST /?Action=DeleteTransitGatewayClientVpnAttachment Delete Transit Gateway Client Vpn Attachment #
POST /?Action=RejectTransitGatewayClientVpnAttachment Reject Transit Gateway Client Vpn Attachment #

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-transit-gateway-client-vpn-attachment-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-ec2-transit-gateway-client-vpn-attachment-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Elastic Compute Cloud Transit Gateway Client Vpn Attachment 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: []
paths:
  /?Action=AcceptTransitGatewayClientVpnAttachment:
    post:
      operationId: AcceptTransitGatewayClientVpnAttachment
      summary: Accept Transit Gateway Client Vpn Attachment
      description: Accepts a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner must
        accept the attachment request before the Client VPN endpoint can route traffic through the Transit Gateway.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AcceptTransitGatewayClientVpnAttachmentResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: AcceptTransitGatewayClientVpnAttachment
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/AcceptTransitGatewayClientVpnAttachmentRequest'
      tags:
      - Transit Gateway Client Vpn Attachment
  /?Action=DeleteTransitGatewayClientVpnAttachment:
    post:
      operationId: DeleteTransitGatewayClientVpnAttachment
      summary: Delete Transit Gateway Client Vpn Attachment
      description: Deletes a Transit Gateway attachment for a Client VPN endpoint. The Transit Gateway owner can delete the
        attachment to remove the association between the Client VPN endpoint and the Transit Gateway.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteTransitGatewayClientVpnAttachmentResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteTransitGatewayClientVpnAttachment
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/DeleteTransitGatewayClientVpnAttachmentRequest'
      tags:
      - Transit Gateway Client Vpn Attachment
  /?Action=RejectTransitGatewayClientVpnAttachment:
    post:
      operationId: RejectTransitGatewayClientVpnAttachment
      summary: Reject Transit Gateway Client Vpn Attachment
      description: Rejects a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner can reject
        the attachment request to prevent the Client VPN endpoint from routing traffic through the Transit Gateway.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/RejectTransitGatewayClientVpnAttachmentResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: RejectTransitGatewayClientVpnAttachment
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/RejectTransitGatewayClientVpnAttachmentRequest'
      tags:
      - Transit Gateway Client Vpn Attachment
components:
  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
  schemas:
    AcceptTransitGatewayClientVpnAttachmentRequest:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The ID of the Transit Gateway attachment.
        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.
      required:
      - TransitGatewayAttachmentId
    AcceptTransitGatewayClientVpnAttachmentResult:
      type: object
      properties:
        TransitGatewayClientVpnAttachment:
          $ref: '#/components/schemas/TransitGatewayClientVpnAttachment'
    DeleteTransitGatewayClientVpnAttachmentRequest:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The ID of the Transit Gateway attachment.
        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.
      required:
      - TransitGatewayAttachmentId
    DeleteTransitGatewayClientVpnAttachmentResult:
      type: object
      properties:
        TransitGatewayClientVpnAttachment:
          $ref: '#/components/schemas/TransitGatewayClientVpnAttachment'
    RejectTransitGatewayClientVpnAttachmentRequest:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The ID of the Transit Gateway attachment.
        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.
      required:
      - TransitGatewayAttachmentId
    RejectTransitGatewayClientVpnAttachmentResult:
      type: object
      properties:
        TransitGatewayClientVpnAttachment:
          $ref: '#/components/schemas/TransitGatewayClientVpnAttachment'
    TransitGatewayClientVpnAttachment:
      type: object
      properties:
        TransitGatewayAttachmentId:
          type: string
          description: The ID of the Transit Gateway attachment.
        TransitGatewayId:
          type: string
          description: The ID of the Transit Gateway.
        ClientVpnEndpointId:
          type: string
          description: The ID of the Client VPN endpoint.
        ClientVpnOwnerId:
          type: string
          description: The ID of the Amazon Web Services account that owns the Client VPN endpoint.
        State:
          type: string
          enum:
          - pending-acceptance
          - pending
          - rejected
          - available
          - deleting
          - deleted
          description: The state of the Transit Gateway attachment.
        CreationTime:
          type: string
          description: The date and time the Transit Gateway attachment was created.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/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)