Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates the attributes of a link aggregation group (LAG).
You can update the following attributes:
- The name of the LAG.
- The value for the minimum number of connections that must be operational for the LAG itself to be operational.
When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value, and the number of operational connections falls below the specified value, the LAG will automatically go down to avoid overutilization of the remaining connections. Adjusting this value should be done with care as it could force the LAG down if the value is set higher than the current number of operational connections.
Synopsis
- updateLag :: Text -> UpdateLag
- data UpdateLag
- ulMinimumLinks :: Lens' UpdateLag (Maybe Int)
- ulLagName :: Lens' UpdateLag (Maybe Text)
- ulLagId :: Lens' UpdateLag Text
- lag :: Lag
- data Lag
- lagLagId :: Lens' Lag (Maybe Text)
- lagConnectionsBandwidth :: Lens' Lag (Maybe Text)
- lagMinimumLinks :: Lens' Lag (Maybe Int)
- lagLagName :: Lens' Lag (Maybe Text)
- lagLocation :: Lens' Lag (Maybe Text)
- lagConnections :: Lens' Lag [Connection]
- lagAwsDevice :: Lens' Lag (Maybe Text)
- lagAllowsHostedConnections :: Lens' Lag (Maybe Bool)
- lagNumberOfConnections :: Lens' Lag (Maybe Int)
- lagLagState :: Lens' Lag (Maybe LagState)
- lagOwnerAccount :: Lens' Lag (Maybe Text)
- lagRegion :: Lens' Lag (Maybe Text)
Creating a Request
Creates a value of UpdateLag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ulMinimumLinks
- The minimum number of physical connections that must be operational for the LAG itself to be operational. Default: NoneulLagName
- The name for the LAG. Example: "3x10G LAG to AWS
" Default: NoneulLagId
- The ID of the LAG to update. Example: dxlag-abc123 Default: None
Container for the parameters to the UpdateLag operation.
See: updateLag
smart constructor.
Instances
Request Lenses
ulMinimumLinks :: Lens' UpdateLag (Maybe Int) Source #
The minimum number of physical connections that must be operational for the LAG itself to be operational. Default: None
ulLagName :: Lens' UpdateLag (Maybe Text) Source #
The name for the LAG. Example: "3x10G LAG to AWS
" Default: None
ulLagId :: Lens' UpdateLag Text Source #
The ID of the LAG to update. Example: dxlag-abc123 Default: None
Destructuring the Response
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, 10GbpslagMinimumLinks
- 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 todown
. 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.
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
Response Lenses
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.
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.