AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Lists the Direct Connect locations in the current Amazon Web Services Region. These are the locations that can be selected when calling CreateConnection or CreateInterconnect.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeLocationsAsync.
Namespace: Amazon.DirectConnect
Assembly: AWSSDK.DirectConnect.dll
Version: 3.x.y.z
public abstract DescribeLocationsResponse DescribeLocations( DescribeLocationsRequest request )
Container for the necessary parameters to execute the DescribeLocations service method.
Exception | Condition |
---|---|
DirectConnectClientException | One or more parameters are not valid. |
DirectConnectServerException | A server-side error occurred. |
.NET Framework:
Supported in: 4.5 and newer, 3.5