| 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.GetConnectPeer
Description
Returns information about a core network Connect peer.
Synopsis
- data GetConnectPeer = GetConnectPeer' {}
- newGetConnectPeer :: Text -> GetConnectPeer
- getConnectPeer_connectPeerId :: Lens' GetConnectPeer Text
- data GetConnectPeerResponse = GetConnectPeerResponse' {}
- newGetConnectPeerResponse :: Int -> GetConnectPeerResponse
- getConnectPeerResponse_connectPeer :: Lens' GetConnectPeerResponse (Maybe ConnectPeer)
- getConnectPeerResponse_httpStatus :: Lens' GetConnectPeerResponse Int
Creating a Request
data GetConnectPeer Source #
See: newGetConnectPeer smart constructor.
Constructors
| GetConnectPeer' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetConnectPeer |
Create a value of GetConnectPeer 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:
GetConnectPeer, getConnectPeer_connectPeerId - The ID of the Connect peer.
Request Lenses
getConnectPeer_connectPeerId :: Lens' GetConnectPeer Text Source #
The ID of the Connect peer.
Destructuring the Response
data GetConnectPeerResponse Source #
See: newGetConnectPeerResponse smart constructor.
Constructors
| GetConnectPeerResponse' | |
Fields
| |
Instances
newGetConnectPeerResponse Source #
Create a value of GetConnectPeerResponse 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:GetConnectPeerResponse', getConnectPeerResponse_connectPeer - Returns information about a core network Connect peer.
$sel:httpStatus:GetConnectPeerResponse', getConnectPeerResponse_httpStatus - The response's http status code.
Response Lenses
getConnectPeerResponse_connectPeer :: Lens' GetConnectPeerResponse (Maybe ConnectPeer) Source #
Returns information about a core network Connect peer.
getConnectPeerResponse_httpStatus :: Lens' GetConnectPeerResponse Int Source #
The response's http status code.