Copyright | (c) 2013-2017 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 |
Deletes a BGP peer on the specified virtual interface that matches the specified customer address and ASN. You cannot delete the last BGP peer from a virtual interface.
- deleteBGPPeer :: DeleteBGPPeer
- data DeleteBGPPeer
- dbpCustomerAddress :: Lens' DeleteBGPPeer (Maybe Text)
- dbpAsn :: Lens' DeleteBGPPeer (Maybe Int)
- dbpVirtualInterfaceId :: Lens' DeleteBGPPeer (Maybe Text)
- deleteBGPPeerResponse :: Int -> DeleteBGPPeerResponse
- data DeleteBGPPeerResponse
- dbprsVirtualInterface :: Lens' DeleteBGPPeerResponse (Maybe VirtualInterface)
- dbprsResponseStatus :: Lens' DeleteBGPPeerResponse Int
Creating a Request
deleteBGPPeer :: DeleteBGPPeer Source #
Creates a value of DeleteBGPPeer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbpCustomerAddress
- Undocumented member.dbpAsn
- Undocumented member.dbpVirtualInterfaceId
- The ID of the virtual interface from which the BGP peer will be deleted. Example: dxvif-456abc78 Default: None
data DeleteBGPPeer Source #
Container for the parameters to the DeleteBGPPeer operation.
See: deleteBGPPeer
smart constructor.
Request Lenses
dbpCustomerAddress :: Lens' DeleteBGPPeer (Maybe Text) Source #
Undocumented member.
dbpVirtualInterfaceId :: Lens' DeleteBGPPeer (Maybe Text) Source #
The ID of the virtual interface from which the BGP peer will be deleted. Example: dxvif-456abc78 Default: None
Destructuring the Response
deleteBGPPeerResponse Source #
Creates a value of DeleteBGPPeerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbprsVirtualInterface
- Undocumented member.dbprsResponseStatus
- -- | The response status code.
data DeleteBGPPeerResponse Source #
The response received when DeleteBGPPeer is called.
See: deleteBGPPeerResponse
smart constructor.
Response Lenses
dbprsVirtualInterface :: Lens' DeleteBGPPeerResponse (Maybe VirtualInterface) Source #
Undocumented member.
dbprsResponseStatus :: Lens' DeleteBGPPeerResponse Int Source #
- - | The response status code.