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 |
Accept ownership of a private virtual interface created by another customer.
After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway or direct connect gateway, and will be available for handling traffic.
- confirmPrivateVirtualInterface :: Text -> ConfirmPrivateVirtualInterface
- data ConfirmPrivateVirtualInterface
- cpviVirtualGatewayId :: Lens' ConfirmPrivateVirtualInterface (Maybe Text)
- cpviDirectConnectGatewayId :: Lens' ConfirmPrivateVirtualInterface (Maybe Text)
- cpviVirtualInterfaceId :: Lens' ConfirmPrivateVirtualInterface Text
- confirmPrivateVirtualInterfaceResponse :: Int -> ConfirmPrivateVirtualInterfaceResponse
- data ConfirmPrivateVirtualInterfaceResponse
- cpvirsVirtualInterfaceState :: Lens' ConfirmPrivateVirtualInterfaceResponse (Maybe VirtualInterfaceState)
- cpvirsResponseStatus :: Lens' ConfirmPrivateVirtualInterfaceResponse Int
Creating a Request
confirmPrivateVirtualInterface Source #
Creates a value of ConfirmPrivateVirtualInterface
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpviVirtualGatewayId
- ID of the virtual private gateway that will be attached to the virtual interface. A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. Default: NonecpviDirectConnectGatewayId
- ID of the direct connect gateway that will be attached to the virtual interface. A direct connect gateway can be managed via the AWS Direct Connect console or theCreateDirectConnectGateway
action. Default: NonecpviVirtualInterfaceId
- Undocumented member.
data ConfirmPrivateVirtualInterface Source #
Container for the parameters to the ConfirmPrivateVirtualInterface operation.
See: confirmPrivateVirtualInterface
smart constructor.
Request Lenses
cpviVirtualGatewayId :: Lens' ConfirmPrivateVirtualInterface (Maybe Text) Source #
ID of the virtual private gateway that will be attached to the virtual interface. A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. Default: None
cpviDirectConnectGatewayId :: Lens' ConfirmPrivateVirtualInterface (Maybe Text) Source #
ID of the direct connect gateway that will be attached to the virtual interface. A direct connect gateway can be managed via the AWS Direct Connect console or the CreateDirectConnectGateway
action. Default: None
cpviVirtualInterfaceId :: Lens' ConfirmPrivateVirtualInterface Text Source #
Undocumented member.
Destructuring the Response
confirmPrivateVirtualInterfaceResponse Source #
Creates a value of ConfirmPrivateVirtualInterfaceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpvirsVirtualInterfaceState
- Undocumented member.cpvirsResponseStatus
- -- | The response status code.
data ConfirmPrivateVirtualInterfaceResponse Source #
The response received when ConfirmPrivateVirtualInterface is called.
See: confirmPrivateVirtualInterfaceResponse
smart constructor.
Response Lenses
cpvirsVirtualInterfaceState :: Lens' ConfirmPrivateVirtualInterfaceResponse (Maybe VirtualInterfaceState) Source #
Undocumented member.
cpvirsResponseStatus :: Lens' ConfirmPrivateVirtualInterfaceResponse Int Source #
- - | The response status code.