Amazon Cloud WAN Cloud Wan Direct Connect Gateway Attachments API
The Cloud Wan Direct Connect Gateway Attachments API from Amazon Cloud WAN — 2 operation(s) for cloud wan direct connect gateway attachments.
The Cloud Wan Direct Connect Gateway Attachments API from Amazon Cloud WAN — 2 operation(s) for cloud wan direct connect gateway attachments.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-cloud-wan:amazon-cloud-wan-direct-connect-gateway-attachments-api"
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.
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: 3.1.0
info:
title: AWS Network Manager Direct Connect Gateway Attachments 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:
/direct-connect-gateway-attachments:
post:
operationId: CreateDirectConnectGatewayAttachment
summary: Create Direct Connect Gateway Attachment
description: Creates an Amazon Web Services Direct Connect gateway attachment
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDirectConnectGatewayAttachmentResponse'
'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'
requestBody:
content:
application/json:
schema:
type: object
properties:
CoreNetworkId:
type: string
description: The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached
to.
DirectConnectGatewayArn:
type: string
description: The ARN of the Direct Connect gateway attachment.
RoutingPolicyLabel:
type: string
description: The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing
decisions.
EdgeLocations:
type: array
items:
type: string
description: One or more core network edge locations that the Direct Connect gateway attachment is associated
with.
NatGatewaySupport:
type: string
enum:
- ENABLE
- DISABLE
description: Specifies whether to enable NAT gateway support on the Direct Connect gateway attachment. To
enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value,
NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
NatSystemRouteSupport:
type: boolean
description: Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's
NAT rules. System routes have a route type of SYSTEM. NAT is applied to traffic whether or not this option
is enabled. The default is true.
NatGatewayRules:
type: array
items:
$ref: '#/components/schemas/NatRuleRequest'
description: The NAT rules for the Direct Connect gateway attachment, up to 50 rules.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The key value tags to apply to the Direct Connect gateway attachment during creation.
ClientToken:
type: string
description: client token
required:
- CoreNetworkId
- DirectConnectGatewayArn
- EdgeLocations
tags:
- Direct Connect Gateway Attachments
/direct-connect-gateway-attachments/{AttachmentId}:
get:
operationId: GetDirectConnectGatewayAttachment
summary: Get Direct Connect Gateway Attachment
description: Returns information about a specific Amazon Web Services Direct Connect gateway attachment.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetDirectConnectGatewayAttachmentResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'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: AttachmentId
in: path
required: true
schema:
type: string
description: The ID of the Direct Connect gateway attachment that you want to see details about.
tags:
- Direct Connect Gateway Attachments
patch:
operationId: UpdateDirectConnectGatewayAttachment
summary: Update Direct Connect Gateway Attachment
description: Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDirectConnectGatewayAttachmentResponse'
'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: AttachmentId
in: path
required: true
schema:
type: string
description: The ID of the Direct Connect gateway attachment for the updated edge locations.
requestBody:
content:
application/json:
schema:
type: object
properties:
EdgeLocations:
type: array
items:
type: string
description: One or more edge locations to update for the Direct Connect gateway attachment. The updated
array of edge locations overwrites the previous array of locations. EdgeLocations is only used for Direct
Connect gateway attachments.
tags:
- Direct Connect Gateway Attachments
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
Attachment:
type: object
properties:
CoreNetworkId:
type: string
description: The ID of a core network.
CoreNetworkArn:
type: string
description: The ARN of a core network.
AttachmentId:
type: string
description: The ID of the attachment.
OwnerAccountId:
type: string
description: The ID of the attachment account owner.
AttachmentType:
type: string
enum:
- CONNECT
- SITE_TO_SITE_VPN
- VPC
- DIRECT_CONNECT_GATEWAY
- TRANSIT_GATEWAY_ROUTE_TABLE
description: The type of attachment.
State:
type: string
enum:
- REJECTED
- PENDING_ATTACHMENT_ACCEPTANCE
- CREATING
- FAILED
- AVAILABLE
- UPDATING
- PENDING_NETWORK_UPDATE
- PENDING_TAG_ACCEPTANCE
- DELETING
description: The state of the attachment.
EdgeLocation:
type: string
description: The Region where the edge is located. This is returned for all attachment types except a Direct Connect
gateway attachment, which instead returns EdgeLocations.
EdgeLocations:
type: array
items:
type: string
description: The edge locations that the Direct Connect gateway is associated with. This is returned only for Direct
Connect gateway attachments. All other attachment types retrun EdgeLocation.
ResourceArn:
type: string
description: The attachment resource ARN.
AttachmentPolicyRuleNumber:
type: integer
description: The policy rule number associated with the attachment.
SegmentName:
type: string
description: The name of the segment attachment.
NetworkFunctionGroupName:
type: string
description: The name of the network function group.
NatGatewaySupport:
type: string
enum:
- ENABLED
- ENABLING
- DISABLED
- DISABLING
- PENDING_ATTACHMENT_ACCEPTANCE
description: The state of NAT gateway support on the attachment. This is returned only to the core network owner
for attachment types that support NAT.
NatSystemRouteSupport:
type: boolean
description: Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's
NAT rules. This is returned only to the core network owner for attachment types that support NAT.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The tags associated with the attachment.
ProposedSegmentChange:
$ref: '#/components/schemas/ProposedSegmentChange'
ProposedNetworkFunctionGroupChange:
$ref: '#/components/schemas/ProposedNetworkFunctionGroupChange'
CreatedAt:
type: string
format: date-time
description: The timestamp when the attachment was created.
UpdatedAt:
type: string
format: date-time
description: The timestamp when the attachment was last updated.
LastModificationErrors:
type: array
items:
$ref: '#/components/schemas/AttachmentError'
description: Describes the error associated with the attachment request.
AttachmentError:
type: object
properties:
Code:
type: string
enum:
- VPC_NOT_FOUND
- SUBNET_NOT_FOUND
- SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE
- SUBNET_NO_FREE_ADDRESSES
- SUBNET_UNSUPPORTED_AVAILABILITY_ZONE
- SUBNET_NO_IPV6_CIDRS
- SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE
- VPN_CONNECTION_NOT_FOUND
- MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED
- DIRECT_CONNECT_GATEWAY_NOT_FOUND
- DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS
- DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF
- VPN_EXISTING_ASSOCIATIONS
- VPN_STATIC_ROUTES_NAT_UNSUPPORTED
- VPC_UNSUPPORTED_FEATURES
- DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS
- CREATION_FAILED
- UPDATE_FAILED
- DELETION_FAILED
description: The error code for the attachment request.
Message:
type: string
description: The message associated with the error code.
ResourceArn:
type: string
description: The ARN of the requested attachment resource.
RequestId:
type: string
description: The ID of the attachment request.
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
CreateDirectConnectGatewayAttachmentResponse:
type: object
properties:
DirectConnectGatewayAttachment:
$ref: '#/components/schemas/DirectConnectGatewayAttachment'
DirectConnectGatewayAttachment:
type: object
properties:
Attachment:
$ref: '#/components/schemas/Attachment'
DirectConnectGatewayArn:
type: string
description: The Direct Connect gateway attachment ARN.
GetDirectConnectGatewayAttachmentResponse:
type: object
properties:
DirectConnectGatewayAttachment:
$ref: '#/components/schemas/DirectConnectGatewayAttachment'
InternalServerException:
type: object
properties:
Message:
type: string
RetryAfterSeconds:
type: integer
description: Indicates when to retry the request.
required:
- Message
NatRuleRequest:
type: object
properties:
RuleNumber:
type: integer
description: The rule number, from 1 to 32766. Each rule number must be unique for the attachment.
MatchSourceCidr:
type: string
description: The IPv4 CIDR block to match against the source address of traffic from the attachment. The CIDR block
can't overlap with the multicast range (224.0.0.0/4).
NatCidr:
type: string
description: The IPv4 CIDR block to translate matching source addresses to. The prefix length must be the same as
the prefix length of MatchSourceCidr. The CIDR block must be within a private (RFC 1918) or shared address space
(RFC 6598) range. The CIDR blocks of the NAT rules of an attachment can't overlap with each other.
required:
- RuleNumber
- MatchSourceCidr
- NatCidr
ProposedNetworkFunctionGroupChange:
type: object
properties:
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The list of proposed changes to the key-value tags associated with the network function group.
AttachmentPolicyRuleNumber:
type: integer
description: The proposed new attachment policy rule number for the network function group.
NetworkFunctionGroupName:
type: string
description: The proposed name change for the network function group name.
ProposedSegmentChange:
type: object
properties:
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The list of key-value tags that changed for the segment.
AttachmentPolicyRuleNumber:
type: integer
description: The rule number in the policy document that applies to this change.
SegmentName:
type: string
description: The name of the segment to change.
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
Tag:
type: object
properties:
Key:
type: string
description: 'The tag key. Constraints: Maximum length of 128 characters.'
Value:
type: string
description: 'The tag value. Constraints: Maximum length of 256 characters.'
ThrottlingException:
type: object
properties:
Message:
type: string
RetryAfterSeconds:
type: integer
description: Indicates when to retry the request.
required:
- Message
UpdateDirectConnectGatewayAttachmentResponse:
type: object
properties:
DirectConnectGatewayAttachment:
$ref: '#/components/schemas/DirectConnectGatewayAttachment'
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)