amazonka-directconnect-1.6.0: 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 Source #

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 Source #

Container for the parameters to the DeleteLag operation.

See: deleteLag smart constructor.

Instances

Eq DeleteLag Source # 
Data DeleteLag Source # 

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

Associated Types

type Rep DeleteLag :: * -> * #

Hashable DeleteLag Source # 
ToJSON DeleteLag Source # 
NFData DeleteLag Source # 

Methods

rnf :: DeleteLag -> () #

AWSRequest DeleteLag Source # 
ToHeaders DeleteLag Source # 

Methods

toHeaders :: DeleteLag -> [Header] #

ToPath DeleteLag Source # 
ToQuery DeleteLag Source # 
type Rep DeleteLag Source # 
type Rep DeleteLag = D1 * (MetaData "DeleteLag" "Network.AWS.DirectConnect.DeleteLag" "amazonka-directconnect-1.6.0-3Ds8OcMuONt5kWQC5zsRrM" True) (C1 * (MetaCons "DeleteLag'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dLagId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteLag Source # 

Request Lenses

dLagId :: Lens' DeleteLag Text Source #

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

Destructuring the Response

lag :: Lag Source #

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 Source #

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 Source # 

Methods

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

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

Data Lag Source # 

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 Source # 
Show Lag Source # 

Methods

showsPrec :: Int -> Lag -> ShowS #

show :: Lag -> String #

showList :: [Lag] -> ShowS #

Generic Lag Source # 

Associated Types

type Rep Lag :: * -> * #

Methods

from :: Lag -> Rep Lag x #

to :: Rep Lag x -> Lag #

Hashable Lag Source # 

Methods

hashWithSalt :: Int -> Lag -> Int #

hash :: Lag -> Int #

FromJSON Lag Source # 
NFData Lag Source # 

Methods

rnf :: Lag -> () #

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

Response Lenses

lagLagId :: Lens' Lag (Maybe Text) Source #

Undocumented member.

lagConnectionsBandwidth :: Lens' Lag (Maybe Text) Source #

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

lagMinimumLinks :: Lens' Lag (Maybe Int) Source #

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) Source #

The name of the LAG.

lagLocation :: Lens' Lag (Maybe Text) Source #

Undocumented member.

lagConnections :: Lens' Lag [Connection] Source #

A list of connections bundled by this LAG.

lagAwsDevice :: Lens' Lag (Maybe Text) Source #

The AWS Direct Connection endpoint that hosts the LAG.

lagAllowsHostedConnections :: Lens' Lag (Maybe Bool) Source #

Indicates whether the LAG can host other connections.

lagNumberOfConnections :: Lens' Lag (Maybe Int) Source #

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

lagLagState :: Lens' Lag (Maybe LagState) Source #

Undocumented member.

lagOwnerAccount :: Lens' Lag (Maybe Text) Source #

The owner of the LAG.

lagRegion :: Lens' Lag (Maybe Text) Source #

Undocumented member.