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 |
Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS will be interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can reassociate a connection that's currently associated with a different LAG; however, if removing the connection will cause the original LAG to fall below its setting for minimum number of operational connections, the request fails.
Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG.
For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.
- associateConnectionWithLag :: Text -> Text -> AssociateConnectionWithLag
- data AssociateConnectionWithLag
- acwlConnectionId :: Lens' AssociateConnectionWithLag Text
- acwlLagId :: Lens' AssociateConnectionWithLag Text
- connection :: Connection
- data Connection
- cLagId :: Lens' Connection (Maybe Text)
- cVlan :: Lens' Connection (Maybe Int)
- cLocation :: Lens' Connection (Maybe Text)
- cAwsDevice :: Lens' Connection (Maybe Text)
- cConnectionId :: Lens' Connection (Maybe Text)
- cLoaIssueTime :: Lens' Connection (Maybe UTCTime)
- cPartnerName :: Lens' Connection (Maybe Text)
- cConnectionName :: Lens' Connection (Maybe Text)
- cBandwidth :: Lens' Connection (Maybe Text)
- cOwnerAccount :: Lens' Connection (Maybe Text)
- cRegion :: Lens' Connection (Maybe Text)
- cConnectionState :: Lens' Connection (Maybe ConnectionState)
Creating a Request
associateConnectionWithLag Source #
Creates a value of AssociateConnectionWithLag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acwlConnectionId
- The ID of the connection. Example: dxcon-abc123 Default: NoneacwlLagId
- The ID of the LAG with which to associate the connection. Example: dxlag-abc123 Default: None
data AssociateConnectionWithLag Source #
Container for the parameters to the AssociateConnectionWithLag operation.
See: associateConnectionWithLag
smart constructor.
Request Lenses
acwlConnectionId :: Lens' AssociateConnectionWithLag Text Source #
The ID of the connection. Example: dxcon-abc123 Default: None
acwlLagId :: Lens' AssociateConnectionWithLag Text Source #
The ID of the LAG with which to associate the connection. 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 toDescribeLoa
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: NonecOwnerAccount
- 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.
Response Lenses
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.
cConnectionState :: Lens' Connection (Maybe ConnectionState) Source #
Undocumented member.