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 a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated.
Synopsis
- associateHostedConnection :: Text -> Text -> AssociateHostedConnection
- data AssociateHostedConnection
- assConnectionId :: Lens' AssociateHostedConnection Text
- assParentConnectionId :: Lens' AssociateHostedConnection 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
associateHostedConnection Source #
Creates a value of AssociateHostedConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
assConnectionId
- The ID of the hosted connection. Example: dxcon-abc123 Default: NoneassParentConnectionId
- The ID of the interconnect or the LAG. Example: dxcon-abc123 or dxlag-abc123 Default: None
data AssociateHostedConnection Source #
Container for the parameters to the AssociateHostedConnection operation.
See: associateHostedConnection
smart constructor.
Instances
Request Lenses
assConnectionId :: Lens' AssociateHostedConnection Text Source #
The ID of the hosted connection. Example: dxcon-abc123 Default: None
assParentConnectionId :: Lens' AssociateHostedConnection Text Source #
The ID of the interconnect or the LAG. Example: dxcon-abc123 or 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.
Instances
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.