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 |
Provisions a public virtual interface to be owned by a different customer.
The owner of a connection calls this function to provision a public virtual interface which will be owned by another AWS customer.
Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic.
See: AWS API Reference for AllocatePublicVirtualInterface.
- allocatePublicVirtualInterface :: Text -> Text -> NewPublicVirtualInterfaceAllocation -> AllocatePublicVirtualInterface
- data AllocatePublicVirtualInterface
- aConnectionId :: Lens' AllocatePublicVirtualInterface Text
- aOwnerAccount :: Lens' AllocatePublicVirtualInterface Text
- aNewPublicVirtualInterfaceAllocation :: Lens' AllocatePublicVirtualInterface NewPublicVirtualInterfaceAllocation
- virtualInterface :: VirtualInterface
- data VirtualInterface
- 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)
- viVirtualInterfaceState :: Lens' VirtualInterface (Maybe VirtualInterfaceState)
- viConnectionId :: Lens' VirtualInterface (Maybe Text)
- 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
allocatePublicVirtualInterface Source
Creates a value of AllocatePublicVirtualInterface
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AllocatePublicVirtualInterface Source
Container for the parameters to the AllocatePublicVirtualInterface operation.
See: allocatePublicVirtualInterface
smart constructor.
Request Lenses
aConnectionId :: Lens' AllocatePublicVirtualInterface Text Source
The connection ID on which the public virtual interface is provisioned.
Default: None
aOwnerAccount :: Lens' AllocatePublicVirtualInterface Text Source
The AWS account that will own the new public virtual interface.
Default: None
aNewPublicVirtualInterfaceAllocation :: Lens' AllocatePublicVirtualInterface NewPublicVirtualInterfaceAllocation Source
Detailed information for the public virtual interface to be provisioned.
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:
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
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.
viVirtualInterfaceState :: Lens' VirtualInterface (Maybe VirtualInterfaceState) Source
Undocumented member.
viConnectionId :: Lens' VirtualInterface (Maybe Text) Source
Undocumented member.
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
Undocumented member.
viVirtualInterfaceName :: Lens' VirtualInterface (Maybe Text) Source
Undocumented member.
viVirtualInterfaceId :: Lens' VirtualInterface (Maybe Text) Source
Undocumented member.