DirectConnect.Client.
describe_locations
()¶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.
See also: AWS API Documentation
Request Syntax
response = client.describe_locations()
{
'locations': [
{
'locationCode': 'string',
'locationName': 'string',
'region': 'string',
'availablePortSpeeds': [
'string',
],
'availableProviders': [
'string',
],
'availableMacSecPortSpeeds': [
'string',
]
},
]
}
Response Structure
The locations.
Information about an Direct Connect location.
The code for the location.
The name of the location. This includes the name of the colocation partner and the physical site of the building.
The Amazon Web Services Region for the location.
The available port speeds for the location.
The name of the service provider for the location.
The available MAC Security (MACsec) port speeds for the location.
Exceptions
DirectConnect.Client.exceptions.DirectConnectServerException
DirectConnect.Client.exceptions.DirectConnectClientException