Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.DirectConnect.DescribeLocations
Description
Returns the list of AWS Direct Connect locations in the current AWS region. These are the locations that may be selected when calling CreateConnection or CreateInterconnect.
Creating a Request
describeLocations :: DescribeLocations #
Creates a value of DescribeLocations
with the minimum fields required to make a request.
data DescribeLocations #
See: describeLocations
smart constructor.
Instances
Destructuring the Response
Arguments
:: Int | |
-> DescribeLocationsResponse |
Creates a value of DescribeLocationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlrsLocations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.dlrsResponseStatus
- -- | The response status code.
data DescribeLocationsResponse #
A location is a network facility where AWS Direct Connect routers are available to be connected. Generally, these are colocation hubs where many network providers have equipment, and where cross connects can be delivered. Locations include a name and facility code, and must be provided when creating a connection.
See: describeLocationsResponse
smart constructor.
Response Lenses
dlrsLocations :: Lens' DescribeLocationsResponse [Location] #
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
dlrsResponseStatus :: Lens' DescribeLocationsResponse Int #
- - | The response status code.