Copyright | (c) 2013-2018 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 |
Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails.
Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection
.
In order to reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG to which the virtual interface will be newly associated.
- associateVirtualInterface :: Text -> Text -> AssociateVirtualInterface
- data AssociateVirtualInterface
- aviVirtualInterfaceId :: Lens' AssociateVirtualInterface Text
- aviConnectionId :: Lens' AssociateVirtualInterface Text
- virtualInterface :: VirtualInterface
- data VirtualInterface
- viBgpPeers :: Lens' VirtualInterface [BGPPeer]
- viVirtualGatewayId :: Lens' VirtualInterface (Maybe Text)
- viRouteFilterPrefixes :: Lens' VirtualInterface [RouteFilterPrefix]
- viCustomerAddress :: Lens' VirtualInterface (Maybe Text)
- viVlan :: Lens' VirtualInterface (Maybe Int)
- viLocation :: Lens' VirtualInterface (Maybe Text)
- viAmazonAddress :: Lens' VirtualInterface (Maybe Text)
- viAddressFamily :: Lens' VirtualInterface (Maybe AddressFamily)
- viVirtualInterfaceState :: Lens' VirtualInterface (Maybe VirtualInterfaceState)
- viConnectionId :: Lens' VirtualInterface (Maybe Text)
- viDirectConnectGatewayId :: Lens' VirtualInterface (Maybe Text)
- viAmazonSideASN :: Lens' VirtualInterface (Maybe Integer)
- viVirtualInterfaceType :: Lens' VirtualInterface (Maybe Text)
- viAsn :: Lens' VirtualInterface (Maybe Int)
- viAuthKey :: Lens' VirtualInterface (Maybe Text)
- viCustomerRouterConfig :: Lens' VirtualInterface (Maybe Text)
- viOwnerAccount :: Lens' VirtualInterface (Maybe Text)
- viVirtualInterfaceName :: Lens' VirtualInterface (Maybe Text)
- viVirtualInterfaceId :: Lens' VirtualInterface (Maybe Text)
Creating a Request
associateVirtualInterface Source #
Creates a value of AssociateVirtualInterface
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aviVirtualInterfaceId
- The ID of the virtual interface. Example: dxvif-123dfg56 Default: NoneaviConnectionId
- The ID of the LAG or connection with which to associate the virtual interface. Example: dxlag-abc123 or dxcon-abc123 Default: None
data AssociateVirtualInterface Source #
Container for the parameters to the AssociateVirtualInterface operation.
See: associateVirtualInterface
smart constructor.
Request Lenses
aviVirtualInterfaceId :: Lens' AssociateVirtualInterface Text Source #
The ID of the virtual interface. Example: dxvif-123dfg56 Default: None
aviConnectionId :: Lens' AssociateVirtualInterface Text Source #
The ID of the LAG or connection with which to associate the virtual interface. Example: dxlag-abc123 or dxcon-abc123 Default: None
Destructuring the Response
virtualInterface :: VirtualInterface Source #
Creates a value of VirtualInterface
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
viBgpPeers
- Undocumented member.viVirtualGatewayId
- Undocumented member.viRouteFilterPrefixes
- Undocumented member.viCustomerAddress
- Undocumented member.viVlan
- Undocumented member.viLocation
- Undocumented member.viAmazonAddress
- Undocumented member.viAddressFamily
- Undocumented member.viVirtualInterfaceState
- Undocumented member.viConnectionId
- Undocumented member.viDirectConnectGatewayId
- Undocumented member.viAmazonSideASN
- The autonomous system number (ASN) for the Amazon side of the connection.viVirtualInterfaceType
- Undocumented member.viAsn
- Undocumented member.viAuthKey
- Undocumented member.viCustomerRouterConfig
- Information for generating the customer router configuration.viOwnerAccount
- The AWS account that will own the new virtual interface.viVirtualInterfaceName
- Undocumented member.viVirtualInterfaceId
- Undocumented member.
data VirtualInterface Source #
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
See: virtualInterface
smart constructor.
Response Lenses
viBgpPeers :: Lens' VirtualInterface [BGPPeer] Source #
Undocumented member.
viVirtualGatewayId :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viRouteFilterPrefixes :: Lens' VirtualInterface [RouteFilterPrefix] Source #
Undocumented member.
viCustomerAddress :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viLocation :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viAmazonAddress :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viAddressFamily :: Lens' VirtualInterface (Maybe AddressFamily) Source #
Undocumented member.
viVirtualInterfaceState :: Lens' VirtualInterface (Maybe VirtualInterfaceState) Source #
Undocumented member.
viConnectionId :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viDirectConnectGatewayId :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viAmazonSideASN :: Lens' VirtualInterface (Maybe Integer) Source #
The autonomous system number (ASN) for the Amazon side of the connection.
viVirtualInterfaceType :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viCustomerRouterConfig :: Lens' VirtualInterface (Maybe Text) Source #
Information for generating the customer router configuration.
viOwnerAccount :: Lens' VirtualInterface (Maybe Text) Source #
The AWS account that will own the new virtual interface.
viVirtualInterfaceName :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.
viVirtualInterfaceId :: Lens' VirtualInterface (Maybe Text) Source #
Undocumented member.