Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data DescribeLocations = DescribeLocations' {
- newDescribeLocations :: DescribeLocations
- data DescribeLocationsResponse = DescribeLocationsResponse' {
- locations :: Maybe [Location]
- httpStatus :: Int
- newDescribeLocationsResponse :: Int -> DescribeLocationsResponse
- describeLocationsResponse_locations :: Lens' DescribeLocationsResponse (Maybe [Location])
- describeLocationsResponse_httpStatus :: Lens' DescribeLocationsResponse Int
Creating a Request
data DescribeLocations Source #
See: newDescribeLocations
smart constructor.
Instances
newDescribeLocations :: DescribeLocations Source #
Create a value of DescribeLocations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeLocationsResponse Source #
See: newDescribeLocationsResponse
smart constructor.
DescribeLocationsResponse' | |
|
Instances
newDescribeLocationsResponse Source #
Create a value of DescribeLocationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locations:DescribeLocationsResponse'
, describeLocationsResponse_locations
- The locations.
$sel:httpStatus:DescribeLocationsResponse'
, describeLocationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeLocationsResponse_locations :: Lens' DescribeLocationsResponse (Maybe [Location]) Source #
The locations.
describeLocationsResponse_httpStatus :: Lens' DescribeLocationsResponse Int Source #
The response's http status code.