Copyright | (c) 2013-2021 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 |
Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.
An interconnect is a connection that is capable of hosting other connections. The Direct Connect Partner can use an interconnect to provide Direct Connect hosted connections to customers through their own network services. Like a standard connection, an interconnect links the partner's network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect router.
You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created.
For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.
Intended for use by Direct Connect Partners only.
Synopsis
- data CreateInterconnect = CreateInterconnect' {}
- newCreateInterconnect :: Text -> Text -> Text -> CreateInterconnect
- createInterconnect_lagId :: Lens' CreateInterconnect (Maybe Text)
- createInterconnect_providerName :: Lens' CreateInterconnect (Maybe Text)
- createInterconnect_tags :: Lens' CreateInterconnect (Maybe (NonEmpty Tag))
- createInterconnect_interconnectName :: Lens' CreateInterconnect Text
- createInterconnect_bandwidth :: Lens' CreateInterconnect Text
- createInterconnect_location :: Lens' CreateInterconnect Text
- data Interconnect = Interconnect' {
- lagId :: Maybe Text
- interconnectId :: Maybe Text
- location :: Maybe Text
- interconnectName :: Maybe Text
- awsDevice :: Maybe Text
- hasLogicalRedundancy :: Maybe HasLogicalRedundancy
- awsLogicalDeviceId :: Maybe Text
- loaIssueTime :: Maybe POSIX
- bandwidth :: Maybe Text
- jumboFrameCapable :: Maybe Bool
- interconnectState :: Maybe InterconnectState
- region :: Maybe Text
- providerName :: Maybe Text
- awsDeviceV2 :: Maybe Text
- tags :: Maybe (NonEmpty Tag)
- newInterconnect :: Interconnect
- interconnect_lagId :: Lens' Interconnect (Maybe Text)
- interconnect_interconnectId :: Lens' Interconnect (Maybe Text)
- interconnect_location :: Lens' Interconnect (Maybe Text)
- interconnect_interconnectName :: Lens' Interconnect (Maybe Text)
- interconnect_awsDevice :: Lens' Interconnect (Maybe Text)
- interconnect_hasLogicalRedundancy :: Lens' Interconnect (Maybe HasLogicalRedundancy)
- interconnect_awsLogicalDeviceId :: Lens' Interconnect (Maybe Text)
- interconnect_loaIssueTime :: Lens' Interconnect (Maybe UTCTime)
- interconnect_bandwidth :: Lens' Interconnect (Maybe Text)
- interconnect_jumboFrameCapable :: Lens' Interconnect (Maybe Bool)
- interconnect_interconnectState :: Lens' Interconnect (Maybe InterconnectState)
- interconnect_region :: Lens' Interconnect (Maybe Text)
- interconnect_providerName :: Lens' Interconnect (Maybe Text)
- interconnect_awsDeviceV2 :: Lens' Interconnect (Maybe Text)
- interconnect_tags :: Lens' Interconnect (Maybe (NonEmpty Tag))
Creating a Request
data CreateInterconnect Source #
See: newCreateInterconnect
smart constructor.
CreateInterconnect' | |
|
Instances
newCreateInterconnect Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateInterconnect |
Create a value of CreateInterconnect
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lagId:CreateInterconnect'
, createInterconnect_lagId
- The ID of the LAG.
$sel:providerName:CreateInterconnect'
, createInterconnect_providerName
- The name of the service provider associated with the interconnect.
$sel:tags:CreateInterconnect'
, createInterconnect_tags
- The tags to associate with the interconnect.
$sel:interconnectName:CreateInterconnect'
, createInterconnect_interconnectName
- The name of the interconnect.
$sel:bandwidth:CreateInterconnect'
, createInterconnect_bandwidth
- The port bandwidth, in Gbps. The possible values are 1 and 10.
$sel:location:CreateInterconnect'
, createInterconnect_location
- The location of the interconnect.
Request Lenses
createInterconnect_lagId :: Lens' CreateInterconnect (Maybe Text) Source #
The ID of the LAG.
createInterconnect_providerName :: Lens' CreateInterconnect (Maybe Text) Source #
The name of the service provider associated with the interconnect.
createInterconnect_tags :: Lens' CreateInterconnect (Maybe (NonEmpty Tag)) Source #
The tags to associate with the interconnect.
createInterconnect_interconnectName :: Lens' CreateInterconnect Text Source #
The name of the interconnect.
createInterconnect_bandwidth :: Lens' CreateInterconnect Text Source #
The port bandwidth, in Gbps. The possible values are 1 and 10.
createInterconnect_location :: Lens' CreateInterconnect Text Source #
The location of the interconnect.
Destructuring the Response
data Interconnect Source #
Information about an interconnect.
See: newInterconnect
smart constructor.
Interconnect' | |
|
Instances
newInterconnect :: Interconnect Source #
Create a value of Interconnect
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lagId:Interconnect'
, interconnect_lagId
- The ID of the LAG.
$sel:interconnectId:Interconnect'
, interconnect_interconnectId
- The ID of the interconnect.
$sel:location:Interconnect'
, interconnect_location
- The location of the connection.
$sel:interconnectName:Interconnect'
, interconnect_interconnectName
- The name of the interconnect.
$sel:awsDevice:Interconnect'
, interconnect_awsDevice
- The Direct Connect endpoint on which the physical connection terminates.
$sel:hasLogicalRedundancy:Interconnect'
, interconnect_hasLogicalRedundancy
- Indicates whether the interconnect supports a secondary BGP in the same
address family (IPv4/IPv6).
$sel:awsLogicalDeviceId:Interconnect'
, interconnect_awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This
device might be different than the device that terminates the physical
connection.
$sel:loaIssueTime:Interconnect'
, interconnect_loaIssueTime
- The time of the most recent call to DescribeLoa for this connection.
$sel:bandwidth:Interconnect'
, interconnect_bandwidth
- The bandwidth of the connection.
$sel:jumboFrameCapable:Interconnect'
, interconnect_jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.
$sel:interconnectState:Interconnect'
, interconnect_interconnectState
- The state of the interconnect. The following are the possible values:
requested
: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.pending
: The interconnect is approved, and is being initialized.available
: The network link is up, and the interconnect is ready for use.down
: The network link is down.deleting
: The interconnect is being deleted.deleted
: The interconnect is deleted.unknown
: The state of the interconnect is not available.
$sel:region:Interconnect'
, interconnect_region
- The Amazon Web Services Region where the connection is located.
$sel:providerName:Interconnect'
, interconnect_providerName
- The name of the service provider associated with the interconnect.
$sel:awsDeviceV2:Interconnect'
, interconnect_awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.
$sel:tags:Interconnect'
, interconnect_tags
- The tags associated with the interconnect.
Response Lenses
interconnect_lagId :: Lens' Interconnect (Maybe Text) Source #
The ID of the LAG.
interconnect_interconnectId :: Lens' Interconnect (Maybe Text) Source #
The ID of the interconnect.
interconnect_location :: Lens' Interconnect (Maybe Text) Source #
The location of the connection.
interconnect_interconnectName :: Lens' Interconnect (Maybe Text) Source #
The name of the interconnect.
interconnect_awsDevice :: Lens' Interconnect (Maybe Text) Source #
The Direct Connect endpoint on which the physical connection terminates.
interconnect_hasLogicalRedundancy :: Lens' Interconnect (Maybe HasLogicalRedundancy) Source #
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
interconnect_awsLogicalDeviceId :: Lens' Interconnect (Maybe Text) Source #
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
interconnect_loaIssueTime :: Lens' Interconnect (Maybe UTCTime) Source #
The time of the most recent call to DescribeLoa for this connection.
interconnect_bandwidth :: Lens' Interconnect (Maybe Text) Source #
The bandwidth of the connection.
interconnect_jumboFrameCapable :: Lens' Interconnect (Maybe Bool) Source #
Indicates whether jumbo frames (9001 MTU) are supported.
interconnect_interconnectState :: Lens' Interconnect (Maybe InterconnectState) Source #
The state of the interconnect. The following are the possible values:
requested
: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.pending
: The interconnect is approved, and is being initialized.available
: The network link is up, and the interconnect is ready for use.down
: The network link is down.deleting
: The interconnect is being deleted.deleted
: The interconnect is deleted.unknown
: The state of the interconnect is not available.
interconnect_region :: Lens' Interconnect (Maybe Text) Source #
The Amazon Web Services Region where the connection is located.
interconnect_providerName :: Lens' Interconnect (Maybe Text) Source #
The name of the service provider associated with the interconnect.
interconnect_awsDeviceV2 :: Lens' Interconnect (Maybe Text) Source #
The Direct Connect endpoint that terminates the physical connection.
interconnect_tags :: Lens' Interconnect (Maybe (NonEmpty Tag)) Source #
The tags associated with the interconnect.