Amazon Cloud WAN Cloud Wan Customer Gateway Associations API

The Cloud Wan Customer Gateway Associations API from Amazon Cloud WAN — 2 operation(s) for cloud wan customer gateway associations.

GitHub OpenAPI

Operations 3

POST /global-networks/{GlobalNetworkId}/customer-gateway-associations Associate Customer Gateway #
GET /global-networks/{GlobalNetworkId}/customer-gateway-associations Get Customer Gateway Associations #
DELETE /global-networks/{GlobalNetworkId}/customer-gateway-associations/{CustomerGatewayArn} Disassociate Customer Gateway #

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-cloud-wan:amazon-cloud-wan-customer-gateway-associations-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-cloud-wan-customer-gateway-associations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Network Manager Customer Gateway Associations API
  version: '2019-07-05'
  description: Generated from AWS's published Smithy model for AWS Network Manager. 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://networkmanager.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /global-networks/{GlobalNetworkId}/customer-gateway-associations:
    post:
      operationId: AssociateCustomerGateway
      summary: Associate Customer Gateway
      description: Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must
        be associated with the specified device. You can only associate customer gateways that are connected to a VPN attachment
        on a transit gateway or core network registered in your global network. When you register a transit gateway or core
        network, customer gateways that are connected to the transit gateway are automatically included in the global network.
        To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter
        by transit-gateway-id. You cannot associate a customer gateway with more than one device and link.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssociateCustomerGatewayResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: GlobalNetworkId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the global network.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                CustomerGatewayArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of the customer gateway.
                DeviceId:
                  type: string
                  description: The ID of the device.
                LinkId:
                  type: string
                  description: The ID of the link.
              required:
              - CustomerGatewayArn
              - DeviceId
      tags:
      - Customer Gateway Associations
    get:
      operationId: GetCustomerGatewayAssociations
      summary: Get Customer Gateway Associations
      description: Gets the association information for customer gateways that are associated with devices and links in your
        global network.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCustomerGatewayAssociationsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: GlobalNetworkId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the global network.
      - name: customerGatewayArns
        in: query
        schema:
          type: array
          items:
            type: string
        description: One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next page of results.
      tags:
      - Customer Gateway Associations
  /global-networks/{GlobalNetworkId}/customer-gateway-associations/{CustomerGatewayArn}:
    delete:
      operationId: DisassociateCustomerGateway
      summary: Disassociate Customer Gateway
      description: Disassociates a customer gateway from a device and a link.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisassociateCustomerGatewayResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: GlobalNetworkId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the global network.
      - name: CustomerGatewayArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the customer gateway.
      tags:
      - Customer Gateway Associations
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: networkmanager
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    AssociateCustomerGatewayResponse:
      type: object
      properties:
        CustomerGatewayAssociation:
          $ref: '#/components/schemas/CustomerGatewayAssociation'
    ConflictException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: The ID of the resource.
        ResourceType:
          type: string
          description: The resource type.
      required:
      - Message
      - ResourceId
      - ResourceType
    CustomerGatewayAssociation:
      type: object
      properties:
        CustomerGatewayArn:
          type: string
          description: The Amazon Resource Name (ARN) of the customer gateway.
        GlobalNetworkId:
          type: string
          description: The ID of the global network.
        DeviceId:
          type: string
          description: The ID of the device.
        LinkId:
          type: string
          description: The ID of the link.
        State:
          type: string
          enum:
          - PENDING
          - AVAILABLE
          - DELETING
          - DELETED
          description: The association state.
    DisassociateCustomerGatewayResponse:
      type: object
      properties:
        CustomerGatewayAssociation:
          $ref: '#/components/schemas/CustomerGatewayAssociation'
    GetCustomerGatewayAssociationsResponse:
      type: object
      properties:
        CustomerGatewayAssociations:
          type: array
          items:
            $ref: '#/components/schemas/CustomerGatewayAssociation'
          description: The customer gateway associations.
        NextToken:
          type: string
          description: The token for the next page of results.
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
        RetryAfterSeconds:
          type: integer
          description: Indicates when to retry the request.
      required:
      - Message
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: The ID of the resource.
        ResourceType:
          type: string
          description: The resource type.
        Context:
          type: object
          additionalProperties:
            type: string
          description: The specified resource could not be found.
      required:
      - Message
      - ResourceId
      - ResourceType
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        ResourceId:
          type: string
          description: The ID of the resource.
        ResourceType:
          type: string
          description: The resource type.
        LimitCode:
          type: string
          description: The limit code.
        ServiceCode:
          type: string
          description: The service code.
      required:
      - Message
      - LimitCode
      - ServiceCode
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
        RetryAfterSeconds:
          type: integer
          description: Indicates when to retry the request.
      required:
      - Message
    ValidationException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - UnknownOperation
          - CannotParse
          - FieldValidationFailed
          - Other
          description: The reason for the error.
        Fields:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The fields that caused the error, if applicable.
      required:
      - Message
    ValidationExceptionField:
      type: object
      properties:
        Name:
          type: string
          description: The name of the field.
        Message:
          type: string
          description: The message for the field.
      required:
      - Name
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/networkmanager/service/2019-07-05/networkmanager-2019-07-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)