amazonka-directconnect-1.4.4: 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.AllocateConnectionOnInterconnect

Contents

Description

Creates a hosted connection on an interconnect.

Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect.

This is intended for use by AWS Direct Connect partners only.

Synopsis

Creating a Request

data AllocateConnectionOnInterconnect Source #

Container for the parameters to the AllocateConnectionOnInterconnect operation.

See: allocateConnectionOnInterconnect smart constructor.

Instances

Eq AllocateConnectionOnInterconnect Source # 
Data AllocateConnectionOnInterconnect Source # 

Methods

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

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

toConstr :: AllocateConnectionOnInterconnect -> Constr #

dataTypeOf :: AllocateConnectionOnInterconnect -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AllocateConnectionOnInterconnect Source # 
Show AllocateConnectionOnInterconnect Source # 
Generic AllocateConnectionOnInterconnect Source # 
Hashable AllocateConnectionOnInterconnect Source # 
NFData AllocateConnectionOnInterconnect Source # 
AWSRequest AllocateConnectionOnInterconnect Source # 
ToPath AllocateConnectionOnInterconnect Source # 
ToHeaders AllocateConnectionOnInterconnect Source # 
ToQuery AllocateConnectionOnInterconnect Source # 
ToJSON AllocateConnectionOnInterconnect Source # 
type Rep AllocateConnectionOnInterconnect Source # 
type Rep AllocateConnectionOnInterconnect = D1 (MetaData "AllocateConnectionOnInterconnect" "Network.AWS.DirectConnect.AllocateConnectionOnInterconnect" "amazonka-directconnect-1.4.4-3p3ZMojRm44IpENaNivQIl" False) (C1 (MetaCons "AllocateConnectionOnInterconnect'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_acoiBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_acoiConnectionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_acoiOwnerAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_acoiInterconnectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_acoiVlan") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))
type Rs AllocateConnectionOnInterconnect Source # 

Request Lenses

acoiBandwidth :: Lens' AllocateConnectionOnInterconnect Text Source #

Bandwidth of the connection.

Example: "500Mbps"

Default: None

Values: 50M, 100M, 200M, 300M, 400M, or 500M

acoiConnectionName :: Lens' AllocateConnectionOnInterconnect Text Source #

Name of the provisioned connection.

Example: "500M Connection to AWS"

Default: None

acoiOwnerAccount :: Lens' AllocateConnectionOnInterconnect Text Source #

Numeric account Id of the customer for whom the connection will be provisioned.

Example: 123443215678

Default: None

acoiInterconnectId :: Lens' AllocateConnectionOnInterconnect Text Source #

ID of the interconnect on which the connection will be provisioned.

Example: dxcon-456abc78

Default: None

acoiVlan :: Lens' AllocateConnectionOnInterconnect Int Source #

The dedicated VLAN provisioned to the connection.

Example: 101

Default: None

Destructuring the Response

connection :: Connection Source #

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:

data Connection Source #

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

See: connection smart constructor.

Instances

Eq Connection Source # 
Data Connection Source # 

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 Source # 
Show Connection Source # 
Generic Connection Source # 

Associated Types

type Rep Connection :: * -> * #

Hashable Connection Source # 
NFData Connection Source # 

Methods

rnf :: Connection -> () #

FromJSON Connection Source # 

Methods

parseJSON :: Value -> Parser Connection #

type Rep Connection Source # 

Response Lenses

cVlan :: Lens' Connection (Maybe Int) Source #

Undocumented member.

cLocation :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cConnectionId :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cLoaIssueTime :: Lens' Connection (Maybe UTCTime) Source #

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

cPartnerName :: Lens' Connection (Maybe Text) Source #

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

cConnectionName :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cBandwidth :: Lens' Connection (Maybe Text) Source #

Bandwidth of the connection.

Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)

Default: None

cOwnerAccount :: Lens' Connection (Maybe Text) Source #

The AWS account that will own the new connection.

cRegion :: Lens' Connection (Maybe Text) Source #

Undocumented member.