amazonka-directconnect-1.4.5: 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.CreateConnection

Contents

Description

Creates a new connection between the customer network and a specific AWS Direct Connect location.

A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions.

Synopsis

Creating a Request

createConnection #

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

Use one of the following lenses to modify other fields as desired:

data CreateConnection #

Container for the parameters to the CreateConnection operation.

See: createConnection smart constructor.

Instances

Eq CreateConnection # 
Data CreateConnection # 

Methods

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

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

toConstr :: CreateConnection -> Constr #

dataTypeOf :: CreateConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateConnection # 
Show CreateConnection # 
Generic CreateConnection # 
Hashable CreateConnection # 
ToJSON CreateConnection # 
NFData CreateConnection # 

Methods

rnf :: CreateConnection -> () #

AWSRequest CreateConnection # 
ToQuery CreateConnection # 
ToPath CreateConnection # 
ToHeaders CreateConnection # 
type Rep CreateConnection # 
type Rep CreateConnection = D1 (MetaData "CreateConnection" "Network.AWS.DirectConnect.CreateConnection" "amazonka-directconnect-1.4.5-IbNREyQ8doJBFaOycQ36ke" False) (C1 (MetaCons "CreateConnection'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ccBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ccConnectionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateConnection # 

Request Lenses

ccLocation :: Lens' CreateConnection Text #

Undocumented member.

ccBandwidth :: Lens' CreateConnection Text #

Undocumented member.

Destructuring the Response

connection :: Connection #

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

Use one of the following lenses to modify other fields as desired:

  • cVlan - Undocumented member.
  • cLocation - Undocumented member.
  • cConnectionId - Undocumented member.
  • cLoaIssueTime - The time of the most recent call to DescribeConnectionLoa for this Connection.
  • cPartnerName - The name of the AWS Direct Connect service provider associated with the connection.
  • cConnectionName - Undocumented member.
  • cBandwidth - Bandwidth of the connection. Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections) Default: None
  • cOwnerAccount - The AWS account that will own the new connection.
  • cRegion - Undocumented member.
  • cConnectionState - Undocumented member.

data Connection #

A connection represents the physical network connection between the AWS Direct Connect location and the customer.

See: connection smart constructor.

Instances

Eq Connection # 
Data Connection # 

Methods

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

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

toConstr :: Connection -> Constr #

dataTypeOf :: Connection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Connection # 
Show Connection # 
Generic Connection # 

Associated Types

type Rep Connection :: * -> * #

Hashable Connection # 
FromJSON Connection # 
NFData Connection # 

Methods

rnf :: Connection -> () #

type Rep Connection # 

Response Lenses

cVlan :: Lens' Connection (Maybe Int) #

Undocumented member.

cLocation :: Lens' Connection (Maybe Text) #

Undocumented member.

cConnectionId :: Lens' Connection (Maybe Text) #

Undocumented member.

cLoaIssueTime :: Lens' Connection (Maybe UTCTime) #

The time of the most recent call to DescribeConnectionLoa for this Connection.

cPartnerName :: Lens' Connection (Maybe Text) #

The name of the AWS Direct Connect service provider associated with the connection.

cConnectionName :: Lens' Connection (Maybe Text) #

Undocumented member.

cBandwidth :: Lens' Connection (Maybe Text) #

Bandwidth of the connection. Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections) Default: None

cOwnerAccount :: Lens' Connection (Maybe Text) #

The AWS account that will own the new connection.

cRegion :: Lens' Connection (Maybe Text) #

Undocumented member.