Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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' {
- awsDevice :: Maybe Text
- awsDeviceV2 :: Maybe Text
- awsLogicalDeviceId :: Maybe Text
- bandwidth :: Maybe Text
- hasLogicalRedundancy :: Maybe HasLogicalRedundancy
- interconnectId :: Maybe Text
- interconnectName :: Maybe Text
- interconnectState :: Maybe InterconnectState
- jumboFrameCapable :: Maybe Bool
- lagId :: Maybe Text
- loaIssueTime :: Maybe POSIX
- location :: Maybe Text
- providerName :: Maybe Text
- region :: Maybe Text
- tags :: Maybe (NonEmpty Tag)
- newInterconnect :: Interconnect
- interconnect_awsDevice :: Lens' Interconnect (Maybe Text)
- interconnect_awsDeviceV2 :: Lens' Interconnect (Maybe Text)
- interconnect_awsLogicalDeviceId :: Lens' Interconnect (Maybe Text)
- interconnect_bandwidth :: Lens' Interconnect (Maybe Text)
- interconnect_hasLogicalRedundancy :: Lens' Interconnect (Maybe HasLogicalRedundancy)
- interconnect_interconnectId :: Lens' Interconnect (Maybe Text)
- interconnect_interconnectName :: Lens' Interconnect (Maybe Text)
- interconnect_interconnectState :: Lens' Interconnect (Maybe InterconnectState)
- interconnect_jumboFrameCapable :: Lens' Interconnect (Maybe Bool)
- interconnect_lagId :: Lens' Interconnect (Maybe Text)
- interconnect_loaIssueTime :: Lens' Interconnect (Maybe UTCTime)
- interconnect_location :: Lens' Interconnect (Maybe Text)
- interconnect_providerName :: Lens' Interconnect (Maybe Text)
- interconnect_region :: 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 #
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:
CreateInterconnect
, createInterconnect_lagId
- The ID of the LAG.
CreateInterconnect
, createInterconnect_providerName
- The name of the service provider associated with the interconnect.
CreateInterconnect
, createInterconnect_tags
- The tags to associate with the interconnect.
CreateInterconnect
, createInterconnect_interconnectName
- The name of the interconnect.
CreateInterconnect
, createInterconnect_bandwidth
- The port bandwidth, in Gbps. The possible values are 1 and 10.
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:awsDevice:Interconnect'
, interconnect_awsDevice
- The Direct Connect endpoint on which the physical connection terminates.
$sel:awsDeviceV2:Interconnect'
, interconnect_awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.
$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:bandwidth:Interconnect'
, interconnect_bandwidth
- The bandwidth of the connection.
$sel:hasLogicalRedundancy:Interconnect'
, interconnect_hasLogicalRedundancy
- Indicates whether the interconnect supports a secondary BGP in the same
address family (IPv4/IPv6).
$sel:interconnectId:Interconnect'
, interconnect_interconnectId
- The ID of the interconnect.
$sel:interconnectName:Interconnect'
, interconnect_interconnectName
- The name of the interconnect.
$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:jumboFrameCapable:Interconnect'
, interconnect_jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.
$sel:lagId:Interconnect'
, interconnect_lagId
- The ID of the LAG.
$sel:loaIssueTime:Interconnect'
, interconnect_loaIssueTime
- The time of the most recent call to DescribeLoa for this connection.
$sel:location:Interconnect'
, interconnect_location
- The location of the connection.
$sel:providerName:Interconnect'
, interconnect_providerName
- The name of the service provider associated with the interconnect.
$sel:region:Interconnect'
, interconnect_region
- The Amazon Web Services Region where the connection is located.
$sel:tags:Interconnect'
, interconnect_tags
- The tags associated with the interconnect.
Response Lenses
interconnect_awsDevice :: Lens' Interconnect (Maybe Text) Source #
The Direct Connect endpoint on which the physical connection terminates.
interconnect_awsDeviceV2 :: Lens' Interconnect (Maybe Text) Source #
The Direct Connect endpoint that terminates the physical connection.
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_bandwidth :: Lens' Interconnect (Maybe Text) Source #
The bandwidth of the connection.
interconnect_hasLogicalRedundancy :: Lens' Interconnect (Maybe HasLogicalRedundancy) Source #
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
interconnect_interconnectId :: Lens' Interconnect (Maybe Text) Source #
The ID of the interconnect.
interconnect_interconnectName :: Lens' Interconnect (Maybe Text) Source #
The name of the interconnect.
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_jumboFrameCapable :: Lens' Interconnect (Maybe Bool) Source #
Indicates whether jumbo frames (9001 MTU) are supported.
interconnect_lagId :: Lens' Interconnect (Maybe Text) Source #
The ID of the LAG.
interconnect_loaIssueTime :: Lens' Interconnect (Maybe UTCTime) Source #
The time of the most recent call to DescribeLoa for this connection.
interconnect_location :: Lens' Interconnect (Maybe Text) Source #
The location of the connection.
interconnect_providerName :: Lens' Interconnect (Maybe Text) Source #
The name of the service provider associated with the interconnect.
interconnect_region :: Lens' Interconnect (Maybe Text) Source #
The Amazon Web Services Region where the connection is located.
interconnect_tags :: Lens' Interconnect (Maybe (NonEmpty Tag)) Source #
The tags associated with the interconnect.