Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.NetworkManager.DeleteConnectPeer
Description
Deletes a Connect peer.
Synopsis
- data DeleteConnectPeer = DeleteConnectPeer' {}
- newDeleteConnectPeer :: Text -> DeleteConnectPeer
- deleteConnectPeer_connectPeerId :: Lens' DeleteConnectPeer Text
- data DeleteConnectPeerResponse = DeleteConnectPeerResponse' {}
- newDeleteConnectPeerResponse :: Int -> DeleteConnectPeerResponse
- deleteConnectPeerResponse_connectPeer :: Lens' DeleteConnectPeerResponse (Maybe ConnectPeer)
- deleteConnectPeerResponse_httpStatus :: Lens' DeleteConnectPeerResponse Int
Creating a Request
data DeleteConnectPeer Source #
See: newDeleteConnectPeer
smart constructor.
Constructors
DeleteConnectPeer' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteConnectPeer |
Create a value of DeleteConnectPeer
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:
DeleteConnectPeer
, deleteConnectPeer_connectPeerId
- The ID of the deleted Connect peer.
Request Lenses
deleteConnectPeer_connectPeerId :: Lens' DeleteConnectPeer Text Source #
The ID of the deleted Connect peer.
Destructuring the Response
data DeleteConnectPeerResponse Source #
See: newDeleteConnectPeerResponse
smart constructor.
Constructors
DeleteConnectPeerResponse' | |
Fields
|
Instances
newDeleteConnectPeerResponse Source #
Create a value of DeleteConnectPeerResponse
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:connectPeer:DeleteConnectPeerResponse'
, deleteConnectPeerResponse_connectPeer
- Information about the deleted Connect peer.
$sel:httpStatus:DeleteConnectPeerResponse'
, deleteConnectPeerResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConnectPeerResponse_connectPeer :: Lens' DeleteConnectPeerResponse (Maybe ConnectPeer) Source #
Information about the deleted Connect peer.
deleteConnectPeerResponse_httpStatus :: Lens' DeleteConnectPeerResponse Int Source #
The response's http status code.