Copyright | (c) 2013-2015 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 |
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.
See: AWS API Reference for DescribeLocations.
Creating a Request
describeLocations :: DescribeLocations Source
Creates a value of DescribeLocations
with the minimum fields required to make a request.
data DescribeLocations Source
See: describeLocations
smart constructor.
Destructuring the Response
describeLocationsResponse Source
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:
data DescribeLocationsResponse Source
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] Source
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
dlrsResponseStatus :: Lens' DescribeLocationsResponse Int Source
The response status code.