Getting Information About DirectLink Locations

You can get information about available DirectLink locations. You can then request a connection between one of these locations and your own network.

If you exceed the number of identical requests allowed for a configured time period, the Throttling error message is returned.

This procedure uses AWS CLI only. Information about these resources is also available from Cockpit v1. For more information, see DirectLink User Interface.

To get information about DirectLink locations, use the describe-locations command following this syntax:

Request sample
$ aws directconnect describe-locations \
    --profile YOUR_PROFILE \

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The describe-locations command returns the following elements:

  • locations: Information about one or more locations. This element contains the following information for each location:

    • locationName: The name of the location, indicating its physical site.

    • locationCode: The code of the location, needed to request a connection.

Result sample
    "locations": [
            "locationName": "Telehouse 3 D02",
            "locationCode": "PAR1"

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.