AssociateHostedConnection
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 AWS as it is being migrated.
Note
Intended for use by Direct Connect Partners only.
Request Syntax
{
"connectionId": "string",
"parentConnectionId": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- connectionId
-
The ID of the hosted connection.
Type: String
Required: Yes
- parentConnectionId
-
The ID of the interconnect or the LAG.
Type: String
Required: Yes
Response Syntax
{
"awsDevice": "string",
"awsDeviceV2": "string",
"awsLogicalDeviceId": "string",
"bandwidth": "string",
"connectionId": "string",
"connectionName": "string",
"connectionState": "string",
"encryptionMode": "string",
"hasLogicalRedundancy": "string",
"jumboFrameCapable": boolean,
"lagId": "string",
"loaIssueTime": number,
"location": "string",
"macSecCapable": boolean,
"macSecKeys": [
{
"ckn": "string",
"secretARN": "string",
"startOn": "string",
"state": "string"
}
],
"ownerAccount": "string",
"partnerInterconnectMacSecCapable": boolean,
"partnerName": "string",
"portEncryptionStatus": "string",
"prefixPoolSizeIpv4": number,
"prefixPoolSizeIpv6": number,
"prefixPoolUnallocatedCountIpv4": number,
"prefixPoolUnallocatedCountIpv6": number,
"providerName": "string",
"rateLimiterStatus": {
"inUse": number,
"maxAllowed": number,
"remaining": number,
"totalBandwidth": "string"
},
"region": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"vlan": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- awsDevice
-
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: String
- awsDeviceV2
-
The Direct Connect endpoint that terminates the physical connection.
Type: String
- awsLogicalDeviceId
-
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
Type: String
- bandwidth
-
The bandwidth of the connection.
Type: String
- connectionId
-
The ID of the connection.
Type: String
- connectionName
-
The name of the connection.
Type: String
- connectionState
-
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.
-