Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provisions a private virtual interface to be owned by a different customer.
The owner of a connection calls this function to provision a private 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 ConfirmPrivateVirtualInterface. Until this
step has been completed, the virtual interface will be in Confirming
state,
and will not be available for handling traffic.
- data AllocatePrivateVirtualInterface
- allocatePrivateVirtualInterface :: Text -> Text -> NewPrivateVirtualInterfaceAllocation -> AllocatePrivateVirtualInterface
- apviConnectionId :: Lens' AllocatePrivateVirtualInterface Text
- apviNewPrivateVirtualInterfaceAllocation :: Lens' AllocatePrivateVirtualInterface NewPrivateVirtualInterfaceAllocation
- apviOwnerAccount :: Lens' AllocatePrivateVirtualInterface Text
- data AllocatePrivateVirtualInterfaceResponse
- allocatePrivateVirtualInterfaceResponse :: AllocatePrivateVirtualInterfaceResponse
- apvirAmazonAddress :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirAsn :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Int)
- apvirAuthKey :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirConnectionId :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirCustomerAddress :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirCustomerRouterConfig :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirLocation :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirOwnerAccount :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirRouteFilterPrefixes :: Lens' AllocatePrivateVirtualInterfaceResponse [RouteFilterPrefix]
- apvirVirtualGatewayId :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirVirtualInterfaceId :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirVirtualInterfaceName :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirVirtualInterfaceState :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe VirtualInterfaceState)
- apvirVirtualInterfaceType :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text)
- apvirVlan :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Int)
Request
data AllocatePrivateVirtualInterface Source
Request constructor
allocatePrivateVirtualInterface Source
AllocatePrivateVirtualInterface
constructor.
The fields accessible through corresponding lenses are:
Request lenses
apviConnectionId :: Lens' AllocatePrivateVirtualInterface Text Source
The connection ID on which the private virtual interface is provisioned.
Default: None
apviNewPrivateVirtualInterfaceAllocation :: Lens' AllocatePrivateVirtualInterface NewPrivateVirtualInterfaceAllocation Source
Detailed information for the private virtual interface to be provisioned.
Default: None
apviOwnerAccount :: Lens' AllocatePrivateVirtualInterface Text Source
The AWS account that will own the new private virtual interface.
Default: None
Response
Response constructor
allocatePrivateVirtualInterfaceResponse :: AllocatePrivateVirtualInterfaceResponse Source
AllocatePrivateVirtualInterfaceResponse
constructor.
The fields accessible through corresponding lenses are:
apvirAmazonAddress
::
Maybe
Text
apvirAsn
::
Maybe
Int
apvirAuthKey
::
Maybe
Text
apvirConnectionId
::
Maybe
Text
apvirCustomerAddress
::
Maybe
Text
apvirCustomerRouterConfig
::
Maybe
Text
apvirLocation
::
Maybe
Text
apvirOwnerAccount
::
Maybe
Text
apvirRouteFilterPrefixes
::
[RouteFilterPrefix
]apvirVirtualGatewayId
::
Maybe
Text
apvirVirtualInterfaceId
::
Maybe
Text
apvirVirtualInterfaceName
::
Maybe
Text
apvirVirtualInterfaceState
::
Maybe
VirtualInterfaceState
apvirVirtualInterfaceType
::
Maybe
Text
apvirVlan
::
Maybe
Int
Response lenses
apvirCustomerRouterConfig :: Lens' AllocatePrivateVirtualInterfaceResponse (Maybe Text) Source
Information for generating the customer router configuration.
apvirRouteFilterPrefixes :: Lens' AllocatePrivateVirtualInterfaceResponse [RouteFilterPrefix] Source