| 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.ListConnectPeers
Description
Returns a list of core network Connect peers.
This operation returns paginated results.
Synopsis
- data ListConnectPeers = ListConnectPeers' {}
- newListConnectPeers :: ListConnectPeers
- listConnectPeers_connectAttachmentId :: Lens' ListConnectPeers (Maybe Text)
- listConnectPeers_coreNetworkId :: Lens' ListConnectPeers (Maybe Text)
- listConnectPeers_maxResults :: Lens' ListConnectPeers (Maybe Natural)
- listConnectPeers_nextToken :: Lens' ListConnectPeers (Maybe Text)
- data ListConnectPeersResponse = ListConnectPeersResponse' {}
- newListConnectPeersResponse :: Int -> ListConnectPeersResponse
- listConnectPeersResponse_connectPeers :: Lens' ListConnectPeersResponse (Maybe [ConnectPeerSummary])
- listConnectPeersResponse_nextToken :: Lens' ListConnectPeersResponse (Maybe Text)
- listConnectPeersResponse_httpStatus :: Lens' ListConnectPeersResponse Int
Creating a Request
data ListConnectPeers Source #
See: newListConnectPeers smart constructor.
Constructors
| ListConnectPeers' | |
Fields
| |
Instances
newListConnectPeers :: ListConnectPeers Source #
Create a value of ListConnectPeers 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:
ListConnectPeers, listConnectPeers_connectAttachmentId - The ID of the attachment.
ListConnectPeers, listConnectPeers_coreNetworkId - The ID of a core network.
$sel:maxResults:ListConnectPeers', listConnectPeers_maxResults - The maximum number of results to return.
ListConnectPeers, listConnectPeers_nextToken - The token for the next page of results.
Request Lenses
listConnectPeers_connectAttachmentId :: Lens' ListConnectPeers (Maybe Text) Source #
The ID of the attachment.
listConnectPeers_coreNetworkId :: Lens' ListConnectPeers (Maybe Text) Source #
The ID of a core network.
listConnectPeers_maxResults :: Lens' ListConnectPeers (Maybe Natural) Source #
The maximum number of results to return.
listConnectPeers_nextToken :: Lens' ListConnectPeers (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data ListConnectPeersResponse Source #
See: newListConnectPeersResponse smart constructor.
Constructors
| ListConnectPeersResponse' | |
Fields
| |
Instances
newListConnectPeersResponse Source #
Create a value of ListConnectPeersResponse 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:connectPeers:ListConnectPeersResponse', listConnectPeersResponse_connectPeers - Describes the Connect peers.
ListConnectPeers, listConnectPeersResponse_nextToken - The token for the next page of results.
$sel:httpStatus:ListConnectPeersResponse', listConnectPeersResponse_httpStatus - The response's http status code.
Response Lenses
listConnectPeersResponse_connectPeers :: Lens' ListConnectPeersResponse (Maybe [ConnectPeerSummary]) Source #
Describes the Connect peers.
listConnectPeersResponse_nextToken :: Lens' ListConnectPeersResponse (Maybe Text) Source #
The token for the next page of results.
listConnectPeersResponse_httpStatus :: Lens' ListConnectPeersResponse Int Source #
The response's http status code.