Copyright | (c) 2013-2017 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 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.
To find the locations for your region, use DescribeLocations
.
You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection will be created.
- createConnection :: Text -> Text -> Text -> CreateConnection
- data CreateConnection
- ccLagId :: Lens' CreateConnection (Maybe Text)
- ccLocation :: Lens' CreateConnection Text
- ccBandwidth :: Lens' CreateConnection Text
- ccConnectionName :: Lens' CreateConnection 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
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:
ccLagId
- Undocumented member.ccLocation
- Undocumented member.ccBandwidth
- Undocumented member.ccConnectionName
- Undocumented member.
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:
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.