Returns the list of Direct Connect locations in the current AWS region. These are the locations that may be selected when calling CreateConnection or CreateInterconnect.
 Declaration Syntax
 Declaration Syntax| C# | 
DescribeLocationsResponse DescribeLocations( DescribeLocationsRequest describeLocationsRequest )
 Parameters
 Parameters- describeLocationsRequest (DescribeLocationsRequest)
- Container for the necessary parameters to execute the DescribeLocations service method on AmazonDirectConnect.
 Return Value
 Return ValueThe response from the DescribeLocations service method, as returned by AmazonDirectConnect.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| DirectConnectServerException | |
| DirectConnectClientException |