amazonka-directconnect-1.4.3: Amazon Direct Connect SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 Source #

Creates a value of DescribeLocations with the minimum fields required to make a request.

data DescribeLocations Source #

See: describeLocations smart constructor.

Instances

Eq DescribeLocations Source # 
Data DescribeLocations Source # 

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 Source # 
Show DescribeLocations Source # 
Generic DescribeLocations Source # 
Hashable DescribeLocations Source # 
ToJSON DescribeLocations Source # 
NFData DescribeLocations Source # 

Methods

rnf :: DescribeLocations -> () #

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

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.

Instances

Eq DescribeLocationsResponse Source # 
Data DescribeLocationsResponse Source # 

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 Source # 
Show DescribeLocationsResponse Source # 
Generic DescribeLocationsResponse Source # 
NFData DescribeLocationsResponse Source # 
type Rep DescribeLocationsResponse Source # 
type Rep DescribeLocationsResponse = D1 (MetaData "DescribeLocationsResponse" "Network.AWS.DirectConnect.DescribeLocations" "amazonka-directconnect-1.4.3-Luu658MgcOaKoRqeMFuG2Y" False) (C1 (MetaCons "DescribeLocationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dlrsLocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Location]))) (S1 (MetaSel (Just Symbol "_dlrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dlrsLocations :: Lens' DescribeLocationsResponse [Location] Source #

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