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.AssociateHostedConnection 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.AssociateHostedConnection'
paths:
/#X-Amz-Target=OvertureService.AssociateHostedConnection:
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: AssociateHostedConnection
description:
Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to Amazon Web Services as it is being migrated.
Intended for use by Direct Connect Partners only.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Connection'
'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/AssociateHostedConnectionRequest'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- OvertureService.AssociateHostedConnection
tags:
- '#X Amz Target=OvertureService.AssociateHostedConnection'
components:
schemas:
MacSecKey:
type: object
properties:
secretARN:
allOf:
- $ref: '#/components/schemas/SecretARN'
- description: The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
ckn:
allOf:
- $ref: '#/components/schemas/Ckn'
- description: The Connection Key Name (CKN) for the MAC Security secret key.
state:
allOf:
- $ref: '#/components/schemas/State'
- description: 'The state of the MAC Security (MACsec) secret key.
The possible values are:
-
associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG.
-
associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG.
-
disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG
-
disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
'
startOn:
allOf:
- $ref: '#/components/schemas/StartOnDate'
- description: The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
description: Information about the MAC Security (MACsec) secret key.
State:
type: string
Ckn:
type: string
ConnectionState:
type: string
enum:
- ordering
- requested
- pending
- available
- down
- deleting
- deleted
- rejected
- unknown
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.
Bandwidth:
type: string
DirectConnectServerException: {}
TagList:
type: array
items:
$ref: '#/components/schemas/Tag'
minItems: 1
HasLogicalRedundancy:
type: string
enum:
- unknown
- true
- false
LagId:
type: string
VLAN:
type: integer
SecretARN:
type: string
JumboFrameCapable:
type: boolean
AwsDevice:
type: string
deprecated: true
ConnectionName:
type: string
LoaIssueTime:
type: string
format: date-time
TagKey:
type: string
pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
minLength: 1
maxLength: 128
EncryptionMode:
type: string
ConnectionId:
type: string
LocationCode:
type: string
AssociateHostedConnectionRequest:
type: object
required:
- connectionId
- parentConnectionId
title: AssociateHostedConnectionRequest
properties:
connectionId:
allOf:
- $ref: '#/components/schemas/ConnectionId'
- description: The ID of the hosted connection.
parentConnectionId:
allOf:
- $ref: '#/components/schemas/ConnectionId'
- description: The ID of the interconnect or the LAG.
ProviderName:
type: string
OwnerAccount:
type: string
PortEncryptionStatus:
type: string
PartnerName:
type: string
StartOnDate:
type: string
AwsLogicalDeviceId:
type: string
Region:
type: string
TagValue:
type: string
pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
minLength: 0
maxLength: 256
DirectConnectClientException: {}
MacSecCapable:
type: boolean
Connection:
type: object
properties:
ownerAccount:
allOf:
- $ref: '#/components/schemas/OwnerAccount'
- description: The ID of the Amazon Web Services account that owns the connection.
connectionId:
allOf:
- $ref: '#/components/schemas/ConnectionId'
- description: The ID of the connection.
connectionName:
allOf:
- $ref: '#/components/schemas/ConnectionName'
- description: The name of the connection.
connectionState:
allOf:
- $ref: '#/components/schemas/ConnectionState'
- description: 'The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
-
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
-
pending: The connection has been approved and is being initialized.
-
available: The network link is up and the connection is ready for use.
-
down: The network link is down.
-
deleting: The connection is being deleted.
-
deleted: The connection has been deleted.
-
rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.
-
unknown: The state of the connection is not available.
'
region:
allOf:
- $ref: '#/components/schemas/Region'
- description: The Amazon Web Services Region where the connection is located.
location:
allOf:
- $ref: '#/components/schemas/LocationCode'
- description: The location of the connection.
bandwidth:
allOf:
- $ref: '#/components/schemas/Bandwidth'
- description: The bandwidth of the connection.
vlan:
allOf:
- $ref: '#/components/schemas/VLAN'
- description: The ID of the VLAN.
partnerName:
allOf:
- $ref: '#/components/schemas/PartnerName'
- description: The name of the Direct Connect service provider associated with the connection.
loaIssueTime:
allOf:
- $ref: '#/components/schemas/LoaIssueTime'
- description: The time of the most recent call to DescribeLoa for this connection.
lagId:
allOf:
- $ref: '#/components/schemas/LagId'
- description: The ID of the LAG.
awsDevice:
allOf:
- $ref: '#/components/schemas/AwsDevice'
- description: The Direct Connect endpoint on which the physical connection terminates.
jumboFrameCapable:
allOf:
- $ref: '#/components/schemas/JumboFrameCapable'
- description: Indicates whether jumbo frames (9001 MTU) are supported.
awsDeviceV2:
allOf:
- $ref: '#/components/schemas/AwsDeviceV2'
- description: The Direct Connect endpoint that terminates the physical connection.
awsLogicalDeviceId:
allOf:
- $ref: '#/components/schemas/AwsLogicalDeviceId'
- description: The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
hasLogicalRedundancy:
allOf:
- $ref: '#/components/schemas/HasLogicalRedundancy'
- description: Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
tags:
allOf:
- $ref: '#/components/schemas/TagList'
- description: The tags associated with the connection.
providerName:
allOf:
- $ref: '#/components/schemas/ProviderName'
- description: The name of the service provider associated with the connection.
macSecCapable:
allOf:
- $ref: '#/components/schemas/MacSecCapable'
- description: Indicates whether the connection supports MAC Security (MACsec).
portEncryptionStatus:
allOf:
- $ref: '#/components/schemas/PortEncryptionStatus'
- description: The MAC Security (MACsec) port link status of the connection.
The valid values are Encryption Up, which means that there is an active Connection Key Name, or Encryption Down.
encryptionMode:
allOf:
- $ref: '#/components/schemas/EncryptionMode'
- description: The MAC Security (MACsec) connection encryption mode.
The valid values are no_encrypt, should_encrypt, and must_encrypt.
macSecKeys:
allOf:
- $ref: '#/components/schemas/MacSecKeyList'
- description: The MAC Security (MACsec) security keys associated with the connection.
description: Information about an Direct Connect connection.
MacSecKeyList:
type: array
items:
$ref: '#/components/schemas/MacSecKey'
AwsDeviceV2:
type: string
parameters:
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
in: header
schema:
type: string
required: false
X-Amz-Content-Sha256:
name: X-Amz-Content-Sha256
in: header
schema:
type: string
required: false
X-Amz-Date:
name: X-Amz-Date
in: header
schema:
type: string
required: false
X-Amz-Security-Token:
name: X-Amz-Security-Token
in: header
schema:
type: string
required: false
X-Amz-Credential:
name: X-Amz-Credential
in: header
schema:
type: string
required: false
X-Amz-Algorithm:
name: X-Amz-Algorithm
in: header
schema:
type: string
required: false
securitySchemes:
hmac:
type: apiKey
name: Authorization
in: header
description: Amazon Signature authorization v4
x-amazon-apigateway-authtype: awsSigv4
externalDocs:
description: Amazon Web Services documentation
url: https://docs.aws.amazon.com/directconnect/
x-hasEquivalentPaths: true