amazonka-directconnect-1.6.0: Amazon Direct Connect SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DirectConnect.DescribeLocations

Contents

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 .

Synopsis

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

Eq DescribeLocations # 
Data DescribeLocations # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeLocations -> c DescribeLocations #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeLocations #

toConstr :: DescribeLocations -> Constr #

dataTypeOf :: DescribeLocations -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeLocations) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeLocations) #

gmapT :: (forall b. Data b => b -> b) -> DescribeLocations -> DescribeLocations #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLocations -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLocations -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeLocations -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeLocations -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeLocations -> m DescribeLocations #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLocations -> m DescribeLocations #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLocations -> m DescribeLocations #

Read DescribeLocations # 
Show DescribeLocations # 
Generic DescribeLocations # 
Hashable DescribeLocations # 
ToJSON DescribeLocations # 
NFData DescribeLocations # 

Methods

rnf :: DescribeLocations -> () #

AWSRequest DescribeLocations # 
ToHeaders DescribeLocations # 
ToPath DescribeLocations # 
ToQuery DescribeLocations # 
type Rep DescribeLocations # 
type Rep DescribeLocations = D1 * (MetaData "DescribeLocations" "Network.AWS.DirectConnect.DescribeLocations" "amazonka-directconnect-1.6.0-1iHBIYuuv8NGkO6PD7WukU" False) (C1 * (MetaCons "DescribeLocations'" PrefixI False) (U1 *))
type Rs DescribeLocations # 

Destructuring the Response

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:

  • dlsrsLocations - A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
  • dlsrsResponseStatus - -- | 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.

Instances

Eq DescribeLocationsResponse # 
Data DescribeLocationsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeLocationsResponse -> c DescribeLocationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeLocationsResponse #

toConstr :: DescribeLocationsResponse -> Constr #

dataTypeOf :: DescribeLocationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeLocationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeLocationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeLocationsResponse -> DescribeLocationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLocationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLocationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeLocationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeLocationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeLocationsResponse -> m DescribeLocationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLocationsResponse -> m DescribeLocationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLocationsResponse -> m DescribeLocationsResponse #

Read DescribeLocationsResponse # 
Show DescribeLocationsResponse # 
Generic DescribeLocationsResponse # 
NFData DescribeLocationsResponse # 
type Rep DescribeLocationsResponse # 
type Rep DescribeLocationsResponse = D1 * (MetaData "DescribeLocationsResponse" "Network.AWS.DirectConnect.DescribeLocations" "amazonka-directconnect-1.6.0-1iHBIYuuv8NGkO6PD7WukU" False) (C1 * (MetaCons "DescribeLocationsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dlsrsLocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Location]))) (S1 * (MetaSel (Just Symbol "_dlsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

dlsrsLocations :: Lens' DescribeLocationsResponse [Location] #

A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.

dlsrsResponseStatus :: Lens' DescribeLocationsResponse Int #

  • - | The response status code.