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 |
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.
- disassociateConnectionFromLag :: Text -> Text -> DisassociateConnectionFromLag
- data DisassociateConnectionFromLag
- dcflConnectionId :: Lens' DisassociateConnectionFromLag Text
- dcflLagId :: Lens' DisassociateConnectionFromLag 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
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: NonedcflLagId
- 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.
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 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.