amazonka-directconnect-1.3.6: Amazon Direct Connect SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




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.


Creating a Request

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

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

viVlan :: Lens' VirtualInterface (Maybe Int) Source

Undocumented member.

viAsn :: Lens' VirtualInterface (Maybe Int) Source

Undocumented member.

viAuthKey :: Lens' VirtualInterface (Maybe Text) Source

Undocumented member.

viCustomerRouterConfig :: Lens' VirtualInterface (Maybe Text) Source

Information for generating the customer router configuration.