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 new connection between the customer network and a specific AWS Direct Connect location.
A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions.
See: AWS API Reference for CreateConnection.
- createConnection :: Text -> Text -> Text -> CreateConnection
- data CreateConnection
- ccLocation :: Lens' CreateConnection Text
- ccBandwidth :: Lens' CreateConnection Text
- ccConnectionName :: Lens' CreateConnection Text
- 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
Creates a value of CreateConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateConnection Source
Container for the parameters to the CreateConnection operation.
See: createConnection
smart constructor.
Request Lenses
ccLocation :: Lens' CreateConnection Text Source
Undocumented member.
ccBandwidth :: Lens' CreateConnection Text Source
Undocumented member.
ccConnectionName :: Lens' CreateConnection Text Source
Undocumented member.
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.