openapi: 3.0.0 info: version: 2012-10-25 x-release: v4 title: 'AWS Direct Connect #X Amz Target=OvertureService.AcceptDirectConnectGatewayAssociationProposal #X Amz Target=OvertureService.AcceptDirectConnectGatewayAssociationProposal #X Amz Target=OvertureService.AssociateVirtualInterface API' description: Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an Direct Connect router. With this connection in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions. x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: directconnect x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/directconnect-2012-10-25.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://directconnect.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Direct Connect multi-region endpoint - url: https://directconnect.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS Direct Connect multi-region endpoint - url: http://directconnect.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Direct Connect endpoint for China (Beijing) and China (Ningxia) - url: https://directconnect.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS Direct Connect endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=OvertureService.AssociateVirtualInterface' paths: /#X-Amz-Target=OvertureService.AssociateVirtualInterface: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: AssociateVirtualInterface description:
Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to Amazon Web Services is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails.
Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection.
To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG for the association.
responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/VirtualInterface' '480': description: DirectConnectServerException content: application/json: schema: $ref: '#/components/schemas/DirectConnectServerException' '481': description: DirectConnectClientException content: application/json: schema: $ref: '#/components/schemas/DirectConnectClientException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AssociateVirtualInterfaceRequest' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - OvertureService.AssociateVirtualInterface tags: - '#X Amz Target=OvertureService.AssociateVirtualInterface' components: schemas: AssociateVirtualInterfaceRequest: type: object required: - virtualInterfaceId - connectionId title: AssociateVirtualInterfaceRequest properties: virtualInterfaceId: allOf: - $ref: '#/components/schemas/VirtualInterfaceId' - description: The ID of the virtual interface. connectionId: allOf: - $ref: '#/components/schemas/ConnectionId' - description: The ID of the LAG or connection. BGPPeerState: type: string enum: - verifying - pending - available - deleting - deleted BGPAuthKey: type: string Tag: type: object required: - key properties: key: allOf: - $ref: '#/components/schemas/TagKey' - description: The key. value: allOf: - $ref: '#/components/schemas/TagValue' - description: The value. description: Information about a tag. DirectConnectServerException: {} TagList: type: array items: $ref: '#/components/schemas/Tag' minItems: 1 MTU: type: integer VLAN: type: integer VirtualInterfaceName: type: string BGPPeerList: type: array items: $ref: '#/components/schemas/BGPPeer' VirtualInterfaceType: type: string CustomerAddress: type: string JumboFrameCapable: type: boolean VirtualInterfaceState: type: string enum: - confirming - verifying - pending - available - down - deleting - deleted - rejected - unknown BGPPeerId: type: string BGPPeer: type: object properties: bgpPeerId: allOf: - $ref: '#/components/schemas/BGPPeerId' - description: The ID of the BGP peer. asn: allOf: - $ref: '#/components/schemas/ASN' - description: The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. authKey: allOf: - $ref: '#/components/schemas/BGPAuthKey' - description: The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters. addressFamily: allOf: - $ref: '#/components/schemas/AddressFamily' - description: The address family for the BGP peer. amazonAddress: allOf: - $ref: '#/components/schemas/AmazonAddress' - description: The IP address assigned to the Amazon interface. customerAddress: allOf: - $ref: '#/components/schemas/CustomerAddress' - description: The IP address assigned to the customer interface. bgpPeerState: allOf: - $ref: '#/components/schemas/BGPPeerState' - description: 'The state of the BGP peer. The following are the possible values:
verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces.
pending: The BGP peer is created, and remains in this state until it is ready to be established.
available: The BGP peer is ready to be established.
deleting: The BGP peer is being deleted.
deleted: The BGP peer is deleted and cannot be established.
The status of the BGP peer. The following are the possible values:
up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session.
down: The BGP peer is down.
unknown: The BGP peer status is not available.
private and public.
virtualInterfaceName:
allOf:
- $ref: '#/components/schemas/VirtualInterfaceName'
- description: 'The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).'
vlan:
allOf:
- $ref: '#/components/schemas/VLAN'
- description: The ID of the VLAN.
asn:
allOf:
- $ref: '#/components/schemas/ASN'
- description: The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
amazonSideAsn: allOf: - $ref: '#/components/schemas/LongAsn' - description: The autonomous system number (ASN) for the Amazon side of the connection. authKey: allOf: - $ref: '#/components/schemas/BGPAuthKey' - description: The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters. amazonAddress: allOf: - $ref: '#/components/schemas/AmazonAddress' - description: The IP address assigned to the Amazon interface. customerAddress: allOf: - $ref: '#/components/schemas/CustomerAddress' - description: The IP address assigned to the customer interface. addressFamily: allOf: - $ref: '#/components/schemas/AddressFamily' - description: The address family for the BGP peer. virtualInterfaceState: allOf: - $ref: '#/components/schemas/VirtualInterfaceState' - description: 'The state of the virtual interface. The following are the possible values:
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
available: A virtual interface that is able to forward traffic.
down: A virtual interface that is BGP down.
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
deleted: A virtual interface that cannot forward traffic.
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.
unknown: The state of the virtual interface is not available.