amazonka-directconnect-1.6.1: 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.DisassociateConnectionFromLag

Contents

Description

Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect partner is automatically converted to an interconnect.

If disassociating the connection will cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.

Synopsis

Creating a Request

disassociateConnectionFromLag Source #

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

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

  • dcflConnectionId - The ID of the connection to disassociate from the LAG. Example: dxcon-abc123 Default: None
  • dcflLagId - The ID of the LAG. Example: dxlag-abc123 Default: None

data DisassociateConnectionFromLag Source #

Container for the parameters to the DisassociateConnectionFromLag operation.

See: disassociateConnectionFromLag smart constructor.

Instances
Eq DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Data DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Methods

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

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

toConstr :: DisassociateConnectionFromLag -> Constr #

dataTypeOf :: DisassociateConnectionFromLag -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Show DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Generic DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Associated Types

type Rep DisassociateConnectionFromLag :: Type -> Type #

Hashable DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

ToJSON DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

AWSRequest DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Associated Types

type Rs DisassociateConnectionFromLag :: Type #

ToHeaders DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

ToPath DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

ToQuery DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

NFData DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

type Rep DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

type Rep DisassociateConnectionFromLag = D1 (MetaData "DisassociateConnectionFromLag" "Network.AWS.DirectConnect.DisassociateConnectionFromLag" "amazonka-directconnect-1.6.1-Jjw4CKEcom3TDRFDWXGnu" False) (C1 (MetaCons "DisassociateConnectionFromLag'" PrefixI True) (S1 (MetaSel (Just "_dcflConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dcflLagId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DisassociateConnectionFromLag Source # 
Instance details

Defined in Network.AWS.DirectConnect.DisassociateConnectionFromLag

Request Lenses

dcflConnectionId :: Lens' DisassociateConnectionFromLag Text Source #

The ID of the connection to disassociate from the LAG. Example: dxcon-abc123 Default: None

dcflLagId :: Lens' DisassociateConnectionFromLag Text Source #

The ID of the LAG. Example: dxlag-abc123 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 # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Data Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

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 # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Show Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Generic Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Associated Types

type Rep Connection :: Type -> Type #

Hashable Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

FromJSON Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

NFData Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Methods

rnf :: Connection -> () #

type Rep Connection Source # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

type Rep Connection = D1 (MetaData "Connection" "Network.AWS.DirectConnect.Types.Product" "amazonka-directconnect-1.6.1-Jjw4CKEcom3TDRFDWXGnu" False) (C1 (MetaCons "Connection'" PrefixI True) (((S1 (MetaSel (Just "_cLagId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cVlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_cLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cAwsDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cLoaIssueTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 (MetaSel (Just "_cPartnerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cConnectionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cOwnerAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.