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.DeleteLag

Contents

Description

Deletes a link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections.

Synopsis

Creating a Request

deleteLag #

Arguments

:: Text

dLagId

-> DeleteLag 

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

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

  • dLagId - The ID of the LAG to delete. Example: dxlag-abc123 Default: None

data DeleteLag #

Container for the parameters to the DeleteLag operation.

See: deleteLag smart constructor.

Instances
Eq DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Data DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Methods

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

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

toConstr :: DeleteLag -> Constr #

dataTypeOf :: DeleteLag -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Show DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Generic DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Associated Types

type Rep DeleteLag :: Type -> Type #

Hashable DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

ToJSON DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

AWSRequest DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Associated Types

type Rs DeleteLag :: Type #

ToHeaders DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Methods

toHeaders :: DeleteLag -> [Header] #

ToPath DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

ToQuery DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

NFData DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Methods

rnf :: DeleteLag -> () #

type Rep DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

type Rep DeleteLag = D1 (MetaData "DeleteLag" "Network.AWS.DirectConnect.DeleteLag" "amazonka-directconnect-1.6.1-BYxp3TU0eV1AtKckuIjZGd" True) (C1 (MetaCons "DeleteLag'" PrefixI True) (S1 (MetaSel (Just "_dLagId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteLag # 
Instance details

Defined in Network.AWS.DirectConnect.DeleteLag

Request Lenses

dLagId :: Lens' DeleteLag Text #

The ID of the LAG to delete. Example: dxlag-abc123 Default: None

Destructuring the Response

lag :: Lag #

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

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

  • lagLagId - Undocumented member.
  • lagConnectionsBandwidth - The individual bandwidth of the physical connections bundled by the LAG. Available values: 1Gbps, 10Gbps
  • lagMinimumLinks - The minimum number of physical connections that must be operational for the LAG itself to be operational. If the number of operational connections drops below this setting, the LAG state changes to down . This value can help to ensure that a LAG is not overutilized if a significant number of its bundled connections go down.
  • lagLagName - The name of the LAG.
  • lagLocation - Undocumented member.
  • lagConnections - A list of connections bundled by this LAG.
  • lagAwsDevice - The AWS Direct Connection endpoint that hosts the LAG.
  • lagAllowsHostedConnections - Indicates whether the LAG can host other connections.
  • lagNumberOfConnections - The number of physical connections bundled by the LAG, up to a maximum of 10.
  • lagLagState - Undocumented member.
  • lagOwnerAccount - The owner of the LAG.
  • lagRegion - Undocumented member.

data Lag #

Describes a link aggregation group (LAG). A LAG is a connection that uses the Link Aggregation Control Protocol (LACP) to logically aggregate a bundle of physical connections. Like an interconnect, it can host other connections. All connections in a LAG must terminate on the same physical AWS Direct Connect endpoint, and must be the same bandwidth.

See: lag smart constructor.

Instances
Eq Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Methods

(==) :: Lag -> Lag -> Bool #

(/=) :: Lag -> Lag -> Bool #

Data Lag # 
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) -> Lag -> c Lag #

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

toConstr :: Lag -> Constr #

dataTypeOf :: Lag -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Show Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Methods

showsPrec :: Int -> Lag -> ShowS #

show :: Lag -> String #

showList :: [Lag] -> ShowS #

Generic Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Associated Types

type Rep Lag :: Type -> Type #

Methods

from :: Lag -> Rep Lag x #

to :: Rep Lag x -> Lag #

Hashable Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Methods

hashWithSalt :: Int -> Lag -> Int #

hash :: Lag -> Int #

FromJSON Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

NFData Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

Methods

rnf :: Lag -> () #

type Rep Lag # 
Instance details

Defined in Network.AWS.DirectConnect.Types.Product

type Rep Lag = D1 (MetaData "Lag" "Network.AWS.DirectConnect.Types.Product" "amazonka-directconnect-1.6.1-BYxp3TU0eV1AtKckuIjZGd" False) (C1 (MetaCons "Lag'" PrefixI True) (((S1 (MetaSel (Just "_lagLagId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lagConnectionsBandwidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lagMinimumLinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_lagLagName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lagLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lagConnections") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Connection]))))) :*: ((S1 (MetaSel (Just "_lagAwsDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lagAllowsHostedConnections") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_lagNumberOfConnections") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_lagLagState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LagState)) :*: (S1 (MetaSel (Just "_lagOwnerAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lagRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

Response Lenses

lagLagId :: Lens' Lag (Maybe Text) #

Undocumented member.

lagConnectionsBandwidth :: Lens' Lag (Maybe Text) #

The individual bandwidth of the physical connections bundled by the LAG. Available values: 1Gbps, 10Gbps

lagMinimumLinks :: Lens' Lag (Maybe Int) #

The minimum number of physical connections that must be operational for the LAG itself to be operational. If the number of operational connections drops below this setting, the LAG state changes to down . This value can help to ensure that a LAG is not overutilized if a significant number of its bundled connections go down.

lagLagName :: Lens' Lag (Maybe Text) #

The name of the LAG.

lagLocation :: Lens' Lag (Maybe Text) #

Undocumented member.

lagConnections :: Lens' Lag [Connection] #

A list of connections bundled by this LAG.

lagAwsDevice :: Lens' Lag (Maybe Text) #

The AWS Direct Connection endpoint that hosts the LAG.

lagAllowsHostedConnections :: Lens' Lag (Maybe Bool) #

Indicates whether the LAG can host other connections.

lagNumberOfConnections :: Lens' Lag (Maybe Int) #

The number of physical connections bundled by the LAG, up to a maximum of 10.

lagLagState :: Lens' Lag (Maybe LagState) #

Undocumented member.

lagOwnerAccount :: Lens' Lag (Maybe Text) #

The owner of the LAG.

lagRegion :: Lens' Lag (Maybe Text) #

Undocumented member.