Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a hosted connection on an interconnect.
Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the given interconnect.
See: AWS API Reference for AllocateConnectionOnInterconnect.
- allocateConnectionOnInterconnect :: Text -> Text -> Text -> Text -> Int -> AllocateConnectionOnInterconnect
- data AllocateConnectionOnInterconnect
- acoiBandwidth :: Lens' AllocateConnectionOnInterconnect Text
- acoiConnectionName :: Lens' AllocateConnectionOnInterconnect Text
- acoiOwnerAccount :: Lens' AllocateConnectionOnInterconnect Text
- acoiInterconnectId :: Lens' AllocateConnectionOnInterconnect Text
- acoiVlan :: Lens' AllocateConnectionOnInterconnect Int
- connection :: Connection
- data Connection
- cVlan :: Lens' Connection (Maybe Int)
- cLocation :: Lens' Connection (Maybe Text)
- cConnectionId :: Lens' Connection (Maybe Text)
- cConnectionName :: Lens' Connection (Maybe Text)
- cPartnerName :: Lens' Connection (Maybe Text)
- cBandwidth :: Lens' Connection (Maybe Text)
- cRegion :: Lens' Connection (Maybe Text)
- cOwnerAccount :: Lens' Connection (Maybe Text)
- cConnectionState :: Lens' Connection (Maybe ConnectionState)
Creating a Request
allocateConnectionOnInterconnect Source
Creates a value of AllocateConnectionOnInterconnect
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AllocateConnectionOnInterconnect Source
Container for the parameters to the AllocateConnectionOnInterconnect operation.
See: allocateConnectionOnInterconnect
smart constructor.
Request Lenses
acoiBandwidth :: Lens' AllocateConnectionOnInterconnect Text Source
Bandwidth of the connection.
Example: "500Mbps"
Default: None
acoiConnectionName :: Lens' AllocateConnectionOnInterconnect Text Source
Name of the provisioned connection.
Example: "500M Connection to AWS"
Default: None
acoiOwnerAccount :: Lens' AllocateConnectionOnInterconnect Text Source
Numeric account Id of the customer for whom the connection will be provisioned.
Example: 123443215678
Default: None
acoiInterconnectId :: Lens' AllocateConnectionOnInterconnect Text Source
ID of the interconnect on which the connection will be provisioned.
Example: dxcon-456abc78
Default: None
acoiVlan :: Lens' AllocateConnectionOnInterconnect Int Source
The dedicated VLAN provisioned to the 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:
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
cConnectionId :: Lens' Connection (Maybe Text) Source
Undocumented member.
cConnectionName :: Lens' Connection (Maybe Text) Source
Undocumented member.
cPartnerName :: 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
Undocumented member.
cConnectionState :: Lens' Connection (Maybe ConnectionState) Source
Undocumented member.