| 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.GetConnectPeerAssociations
Description
Returns information about a core network Connect peer associations.
This operation returns paginated results.
Synopsis
- data GetConnectPeerAssociations = GetConnectPeerAssociations' {
- connectPeerIds :: Maybe [Text]
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- globalNetworkId :: Text
- newGetConnectPeerAssociations :: Text -> GetConnectPeerAssociations
- getConnectPeerAssociations_connectPeerIds :: Lens' GetConnectPeerAssociations (Maybe [Text])
- getConnectPeerAssociations_maxResults :: Lens' GetConnectPeerAssociations (Maybe Natural)
- getConnectPeerAssociations_nextToken :: Lens' GetConnectPeerAssociations (Maybe Text)
- getConnectPeerAssociations_globalNetworkId :: Lens' GetConnectPeerAssociations Text
- data GetConnectPeerAssociationsResponse = GetConnectPeerAssociationsResponse' {}
- newGetConnectPeerAssociationsResponse :: Int -> GetConnectPeerAssociationsResponse
- getConnectPeerAssociationsResponse_connectPeerAssociations :: Lens' GetConnectPeerAssociationsResponse (Maybe [ConnectPeerAssociation])
- getConnectPeerAssociationsResponse_nextToken :: Lens' GetConnectPeerAssociationsResponse (Maybe Text)
- getConnectPeerAssociationsResponse_httpStatus :: Lens' GetConnectPeerAssociationsResponse Int
Creating a Request
data GetConnectPeerAssociations Source #
See: newGetConnectPeerAssociations smart constructor.
Constructors
| GetConnectPeerAssociations' | |
Fields
| |
Instances
newGetConnectPeerAssociations Source #
Arguments
| :: Text | |
| -> GetConnectPeerAssociations |
Create a value of GetConnectPeerAssociations 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:connectPeerIds:GetConnectPeerAssociations', getConnectPeerAssociations_connectPeerIds - The IDs of the Connect peers.
$sel:maxResults:GetConnectPeerAssociations', getConnectPeerAssociations_maxResults - The maximum number of results to return.
GetConnectPeerAssociations, getConnectPeerAssociations_nextToken - The token for the next page of results.
GetConnectPeerAssociations, getConnectPeerAssociations_globalNetworkId - The ID of the global network.
Request Lenses
getConnectPeerAssociations_connectPeerIds :: Lens' GetConnectPeerAssociations (Maybe [Text]) Source #
The IDs of the Connect peers.
getConnectPeerAssociations_maxResults :: Lens' GetConnectPeerAssociations (Maybe Natural) Source #
The maximum number of results to return.
getConnectPeerAssociations_nextToken :: Lens' GetConnectPeerAssociations (Maybe Text) Source #
The token for the next page of results.
getConnectPeerAssociations_globalNetworkId :: Lens' GetConnectPeerAssociations Text Source #
The ID of the global network.
Destructuring the Response
data GetConnectPeerAssociationsResponse Source #
See: newGetConnectPeerAssociationsResponse smart constructor.
Constructors
| GetConnectPeerAssociationsResponse' | |
Fields
| |
Instances
newGetConnectPeerAssociationsResponse Source #
Arguments
| :: Int | |
| -> GetConnectPeerAssociationsResponse |
Create a value of GetConnectPeerAssociationsResponse 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:connectPeerAssociations:GetConnectPeerAssociationsResponse', getConnectPeerAssociationsResponse_connectPeerAssociations - Displays a list of Connect peer associations.
GetConnectPeerAssociations, getConnectPeerAssociationsResponse_nextToken - The token for the next page of results.
$sel:httpStatus:GetConnectPeerAssociationsResponse', getConnectPeerAssociationsResponse_httpStatus - The response's http status code.
Response Lenses
getConnectPeerAssociationsResponse_connectPeerAssociations :: Lens' GetConnectPeerAssociationsResponse (Maybe [ConnectPeerAssociation]) Source #
Displays a list of Connect peer associations.
getConnectPeerAssociationsResponse_nextToken :: Lens' GetConnectPeerAssociationsResponse (Maybe Text) Source #
The token for the next page of results.
getConnectPeerAssociationsResponse_httpStatus :: Lens' GetConnectPeerAssociationsResponse Int Source #
The response's http status code.