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 |
Creates a hosted connection on an interconnect or a link aggregation group (LAG).
Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect or LAG.
- allocateHostedConnection :: Text -> Text -> Text -> Text -> Int -> AllocateHostedConnection
- data AllocateHostedConnection
- ahcConnectionId :: Lens' AllocateHostedConnection Text
- ahcOwnerAccount :: Lens' AllocateHostedConnection Text
- ahcBandwidth :: Lens' AllocateHostedConnection Text
- ahcConnectionName :: Lens' AllocateHostedConnection Text
- ahcVlan :: Lens' AllocateHostedConnection Int
- 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
allocateHostedConnection Source #
Creates a value of AllocateHostedConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ahcConnectionId
- The ID of the interconnect or LAG on which the connection will be provisioned. Example: dxcon-456abc78 or dxlag-abc123 Default: NoneahcOwnerAccount
- The numeric account ID of the customer for whom the connection will be provisioned. Example: 123443215678 Default: NoneahcBandwidth
- The bandwidth of the connection. Example:500Mbps
Default: None Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500MbpsahcConnectionName
- The name of the provisioned connection. Example: "500M Connection to AWS
" Default: NoneahcVlan
- The dedicated VLAN provisioned to the hosted connection. Example: 101 Default: None
data AllocateHostedConnection Source #
Container for the parameters to theHostedConnection operation.
See: allocateHostedConnection
smart constructor.
Request Lenses
ahcConnectionId :: Lens' AllocateHostedConnection Text Source #
The ID of the interconnect or LAG on which the connection will be provisioned. Example: dxcon-456abc78 or dxlag-abc123 Default: None
ahcOwnerAccount :: Lens' AllocateHostedConnection Text Source #
The numeric account ID of the customer for whom the connection will be provisioned. Example: 123443215678 Default: None
ahcBandwidth :: Lens' AllocateHostedConnection Text Source #
The bandwidth of the connection. Example: 500Mbps
Default: None Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps
ahcConnectionName :: Lens' AllocateHostedConnection Text Source #
The name of the provisioned connection. Example: "500M Connection to AWS
" Default: None
ahcVlan :: Lens' AllocateHostedConnection Int Source #
The dedicated VLAN provisioned to the hosted connection. Example: 101 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.