amazonka-directconnect-1.5.0: Amazon Direct Connect SDK.

Copyright(c) 2013-2017 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.AllocateHostedConnection

Contents

Description

Creates a hosted connection on an interconnect or a link aggregation group (LAG).

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

Synopsis

Creating a Request

allocateHostedConnection Source #

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

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

  • ahcConnectionId - The ID of the interconnect or LAG on which the connection will be provisioned. Example: dxcon-456abc78 or dxlag-abc123 Default: None
  • ahcOwnerAccount - The numeric account ID of the customer for whom the connection will be provisioned. Example: 123443215678 Default: None
  • ahcBandwidth - The bandwidth of the connection. Example: 500Mbps Default: None Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps
  • ahcConnectionName - The name of the provisioned connection. Example: "500M Connection to AWS " Default: None
  • ahcVlan - The dedicated VLAN provisioned to the hosted connection. Example: 101 Default: None

data AllocateHostedConnection Source #

Container for the parameters to theHostedConnection operation.

See: allocateHostedConnection smart constructor.

Instances

Eq AllocateHostedConnection Source # 
Data AllocateHostedConnection Source # 

Methods

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

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

toConstr :: AllocateHostedConnection -> Constr #

dataTypeOf :: AllocateHostedConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AllocateHostedConnection Source # 
Show AllocateHostedConnection Source # 
Generic AllocateHostedConnection Source # 
Hashable AllocateHostedConnection Source # 
ToJSON AllocateHostedConnection Source # 
NFData AllocateHostedConnection Source # 
AWSRequest AllocateHostedConnection Source # 
ToQuery AllocateHostedConnection Source # 
ToPath AllocateHostedConnection Source # 
ToHeaders AllocateHostedConnection Source # 
type Rep AllocateHostedConnection Source # 
type Rep AllocateHostedConnection = D1 (MetaData "AllocateHostedConnection" "Network.AWS.DirectConnect.AllocateHostedConnection" "amazonka-directconnect-1.5.0-FuyMg4sTg24L6HyEmXEioA" False) (C1 (MetaCons "AllocateHostedConnection'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ahcConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ahcOwnerAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ahcBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ahcConnectionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ahcVlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))
type Rs AllocateHostedConnection Source # 

Request Lenses

ahcConnectionId :: Lens' AllocateHostedConnection Text Source #

The ID of the interconnect or LAG on which the connection will be provisioned. Example: dxcon-456abc78 or dxlag-abc123 Default: None

ahcOwnerAccount :: Lens' AllocateHostedConnection Text Source #

The numeric account ID of the customer for whom the connection will be provisioned. Example: 123443215678 Default: None

ahcBandwidth :: Lens' AllocateHostedConnection Text Source #

The bandwidth of the connection. Example: 500Mbps Default: None Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps

ahcConnectionName :: Lens' AllocateHostedConnection Text Source #

The name of the provisioned connection. Example: "500M Connection to AWS " Default: None

ahcVlan :: Lens' AllocateHostedConnection Int Source #

The dedicated VLAN provisioned to the hosted 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:

  • cLagId - Undocumented member.
  • cVlan - Undocumented member.
  • cLocation - Undocumented member.
  • cAwsDevice - The Direct Connection endpoint which the physical connection terminates on.
  • cConnectionId - Undocumented member.
  • cLoaIssueTime - The time of the most recent call to DescribeLoa 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 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 # 
FromJSON Connection Source # 
NFData Connection Source # 

Methods

rnf :: Connection -> () #

type Rep Connection Source # 
type Rep Connection = D1 (MetaData "Connection" "Network.AWS.DirectConnect.Types.Product" "amazonka-directconnect-1.5.0-FuyMg4sTg24L6HyEmXEioA" False) (C1 (MetaCons "Connection'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cLagId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cVlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_cAwsDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cLoaIssueTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cPartnerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cConnectionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_cOwnerAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cConnectionState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConnectionState))))))))

Response Lenses

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

Undocumented member.

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

Undocumented member.

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

Undocumented member.

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

The Direct Connection endpoint which the physical connection terminates on.

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

Undocumented member.

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

The time of the most recent call to DescribeLoa 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.