To get information about DirectLink locations, use the describe-locations command following this syntax:
This command contains the following attributes that you need to specify:
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.