Amazon Cloud WAN Cloud Wan Vpc Attachments API
The Cloud Wan Vpc Attachments API from Amazon Cloud WAN — 2 operation(s) for cloud wan vpc attachments.
The Cloud Wan Vpc Attachments API from Amazon Cloud WAN — 2 operation(s) for cloud wan vpc 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-vpc-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 Vpc 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:
/vpc-attachments:
post:
operationId: CreateVpcAttachment
summary: Create Vpc Attachment
description: Creates a VPC attachment on an edge location of a core network.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateVpcAttachmentResponse'
'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 a core network for the VPC attachment.
VpcArn:
type: string
description: The ARN of the VPC.
SubnetArns:
type: array
items:
type: string
description: The subnet ARN of the VPC attachment.
Options:
$ref: '#/components/schemas/VpcOptions'
RoutingPolicyLabel:
type: string
description: The routing policy label to apply to the VPC attachment for traffic routing decisions.
NatGatewaySupport:
type: string
enum:
- ENABLE
- DISABLE
description: Specifies whether to enable NAT gateway support on the VPC 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.
NatGatewayRules:
type: array
items:
$ref: '#/components/schemas/NatRuleRequest'
description: The NAT rules for the VPC attachment, up to 50 rules.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The key-value tags associated with the request.
ClientToken:
type: string
description: The client token associated with the request.
required:
- CoreNetworkId
- VpcArn
- SubnetArns
tags:
- Vpc Attachments
/vpc-attachments/{AttachmentId}:
get:
operationId: GetVpcAttachment
summary: Get Vpc Attachment
description: Returns information about a VPC attachment.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetVpcAttachmentResponse'
'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 attachment.
tags:
- Vpc Attachments
patch:
operationId: UpdateVpcAttachment
summary: Update Vpc Attachment
description: Updates a VPC attachment.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateVpcAttachmentResponse'
'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 attachment.
requestBody:
content:
application/json:
schema:
type: object
properties:
AddSubnetArns:
type: array
items:
type: string
description: Adds a subnet ARN to the VPC attachment.
RemoveSubnetArns:
type: array
items:
type: string
description: Removes a subnet ARN from the attachment.
Options:
$ref: '#/components/schemas/VpcOptions'
tags:
- Vpc 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
CreateVpcAttachmentResponse:
type: object
properties:
VpcAttachment:
$ref: '#/components/schemas/VpcAttachment'
GetVpcAttachmentResponse:
type: object
properties:
VpcAttachment:
$ref: '#/components/schemas/VpcAttachment'
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
UpdateVpcAttachmentResponse:
type: object
properties:
VpcAttachment:
$ref: '#/components/schemas/VpcAttachment'
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
VpcAttachment:
type: object
properties:
Attachment:
$ref: '#/components/schemas/Attachment'
SubnetArns:
type: array
items:
type: string
description: The subnet ARNs.
Options:
$ref: '#/components/schemas/VpcOptions'
VpcOptions:
type: object
properties:
Ipv6Support:
type: boolean
description: Indicates whether IPv6 is supported.
ApplianceModeSupport:
type: boolean
description: Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination
use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false.
DnsSupport:
type: boolean
description: Indicates whether DNS is supported.
SecurityGroupReferencingSupport:
type: boolean
description: Indicates whether security group referencing is enabled for this VPC attachment. The default is true.
However, at the core network policy-level the default is set to false.
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)