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 |
Creates a new BGP peer on a specified virtual interface. The BGP peer cannot be in the same address family (IPv4/IPv6) of an existing BGP peer on the virtual interface.
You must create a BGP peer for the corresponding address family in order to access AWS resources that also use that address family.
When creating a IPv6 BGP peer, the Amazon address and customer address fields must be left blank. IPv6 addresses are automatically assigned from Amazon's pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface.
Synopsis
- createBGPPeer :: CreateBGPPeer
- data CreateBGPPeer
- cbpNewBGPPeer :: Lens' CreateBGPPeer (Maybe NewBGPPeer)
- cbpVirtualInterfaceId :: Lens' CreateBGPPeer (Maybe Text)
- createBGPPeerResponse :: Int -> CreateBGPPeerResponse
- data CreateBGPPeerResponse
- cbprsVirtualInterface :: Lens' CreateBGPPeerResponse (Maybe VirtualInterface)
- cbprsResponseStatus :: Lens' CreateBGPPeerResponse Int
Creating a Request
createBGPPeer :: CreateBGPPeer Source #
Creates a value of CreateBGPPeer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbpNewBGPPeer
- Detailed information for the BGP peer to be created. Default: NonecbpVirtualInterfaceId
- The ID of the virtual interface on which the BGP peer will be provisioned. Example: dxvif-456abc78 Default: None
data CreateBGPPeer Source #
Container for the parameters to the CreateBGPPeer operation.
See: createBGPPeer
smart constructor.
Instances
Request Lenses
cbpNewBGPPeer :: Lens' CreateBGPPeer (Maybe NewBGPPeer) Source #
Detailed information for the BGP peer to be created. Default: None
cbpVirtualInterfaceId :: Lens' CreateBGPPeer (Maybe Text) Source #
The ID of the virtual interface on which the BGP peer will be provisioned. Example: dxvif-456abc78 Default: None
Destructuring the Response
createBGPPeerResponse Source #
Creates a value of CreateBGPPeerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbprsVirtualInterface
- Undocumented member.cbprsResponseStatus
- -- | The response status code.
data CreateBGPPeerResponse Source #
The response received when CreateBGPPeer is called.
See: createBGPPeerResponse
smart constructor.
Instances
Response Lenses
cbprsVirtualInterface :: Lens' CreateBGPPeerResponse (Maybe VirtualInterface) Source #
Undocumented member.
cbprsResponseStatus :: Lens' CreateBGPPeerResponse Int Source #
- - | The response status code.