New API Documentation - Developer Preview Available
We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Creates a connection between a customer network and a specific Direct Connect location.
A connection 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.
You can automatically add the new connection to a link aggregation group (LAG) by
specifying a LAG ID in the request. This ensures that the new connection is allocated on the
same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint,
the request fails and no connection is created.
Example
Use a bare-bones client and the command you need to make an API call.
Creates a connection between a customer network and a specific Direct Connect location.
A connection 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.
To find the locations for your Region, use DescribeLocations.
You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateConnectionCommandInput
Returns
CreateConnectionCommandOutput
See
input
shape.response
shape.config
shape.Throws
DirectConnectClientException (client fault)
One or more parameters are not valid.
Throws
DirectConnectServerException (server fault)
A server-side error occurred.
Throws
DuplicateTagKeysException (client fault)
A tag key was specified more than once.
Throws
TooManyTagsException (client fault)
You have reached the limit on the number of tags that can be assigned.
Throws
DirectConnectServiceException
Base exception class for all service exceptions from DirectConnect service.