Copyright | (c) 2013-2021 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 |
Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN.
You cannot delete the last BGP peer from a virtual interface.
Synopsis
- data DeleteBGPPeer = DeleteBGPPeer' {}
- newDeleteBGPPeer :: DeleteBGPPeer
- deleteBGPPeer_customerAddress :: Lens' DeleteBGPPeer (Maybe Text)
- deleteBGPPeer_asn :: Lens' DeleteBGPPeer (Maybe Int)
- deleteBGPPeer_bgpPeerId :: Lens' DeleteBGPPeer (Maybe Text)
- deleteBGPPeer_virtualInterfaceId :: Lens' DeleteBGPPeer (Maybe Text)
- data DeleteBGPPeerResponse = DeleteBGPPeerResponse' {}
- newDeleteBGPPeerResponse :: Int -> DeleteBGPPeerResponse
- deleteBGPPeerResponse_virtualInterface :: Lens' DeleteBGPPeerResponse (Maybe VirtualInterface)
- deleteBGPPeerResponse_httpStatus :: Lens' DeleteBGPPeerResponse Int
Creating a Request
data DeleteBGPPeer Source #
See: newDeleteBGPPeer
smart constructor.
Instances
newDeleteBGPPeer :: DeleteBGPPeer Source #
Create a value of DeleteBGPPeer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:customerAddress:DeleteBGPPeer'
, deleteBGPPeer_customerAddress
- The IP address assigned to the customer interface.
$sel:asn:DeleteBGPPeer'
, deleteBGPPeer_asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
$sel:bgpPeerId:DeleteBGPPeer'
, deleteBGPPeer_bgpPeerId
- The ID of the BGP peer.
$sel:virtualInterfaceId:DeleteBGPPeer'
, deleteBGPPeer_virtualInterfaceId
- The ID of the virtual interface.
Request Lenses
deleteBGPPeer_customerAddress :: Lens' DeleteBGPPeer (Maybe Text) Source #
The IP address assigned to the customer interface.
deleteBGPPeer_asn :: Lens' DeleteBGPPeer (Maybe Int) Source #
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
deleteBGPPeer_bgpPeerId :: Lens' DeleteBGPPeer (Maybe Text) Source #
The ID of the BGP peer.
deleteBGPPeer_virtualInterfaceId :: Lens' DeleteBGPPeer (Maybe Text) Source #
The ID of the virtual interface.
Destructuring the Response
data DeleteBGPPeerResponse Source #
See: newDeleteBGPPeerResponse
smart constructor.
DeleteBGPPeerResponse' | |
|
Instances
newDeleteBGPPeerResponse Source #
Create a value of DeleteBGPPeerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:virtualInterface:DeleteBGPPeerResponse'
, deleteBGPPeerResponse_virtualInterface
- The virtual interface.
$sel:httpStatus:DeleteBGPPeerResponse'
, deleteBGPPeerResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBGPPeerResponse_virtualInterface :: Lens' DeleteBGPPeerResponse (Maybe VirtualInterface) Source #
The virtual interface.
deleteBGPPeerResponse_httpStatus :: Lens' DeleteBGPPeerResponse Int Source #
The response's http status code.