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 |
Returns an array of all the clusters in an account.
Synopsis
- data ListClusters = ListClusters' {}
- newListClusters :: ListClusters
- listClusters_nextToken :: Lens' ListClusters (Maybe Text)
- listClusters_maxResults :: Lens' ListClusters (Maybe Natural)
- data ListClustersResponse = ListClustersResponse' {}
- newListClustersResponse :: Int -> ListClustersResponse
- listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text)
- listClustersResponse_clusters :: Lens' ListClustersResponse (Maybe [Cluster])
- listClustersResponse_httpStatus :: Lens' ListClustersResponse Int
Creating a Request
data ListClusters Source #
See: newListClusters
smart constructor.
Instances
newListClusters :: ListClusters Source #
Create a value of ListClusters
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:nextToken:ListClusters'
, listClusters_nextToken
- The token that identifies which batch of results you want to see.
$sel:maxResults:ListClusters'
, listClusters_maxResults
- The number of objects that you want to return with this call.
Request Lenses
listClusters_nextToken :: Lens' ListClusters (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listClusters_maxResults :: Lens' ListClusters (Maybe Natural) Source #
The number of objects that you want to return with this call.
Destructuring the Response
data ListClustersResponse Source #
See: newListClustersResponse
smart constructor.
Instances
newListClustersResponse Source #
Create a value of ListClustersResponse
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:nextToken:ListClusters'
, listClustersResponse_nextToken
- The token that identifies which batch of results you want to see.
$sel:clusters:ListClustersResponse'
, listClustersResponse_clusters
- An array of the clusters in an account.
$sel:httpStatus:ListClustersResponse'
, listClustersResponse_httpStatus
- The response's http status code.
Response Lenses
listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listClustersResponse_clusters :: Lens' ListClustersResponse (Maybe [Cluster]) Source #
An array of the clusters in an account.
listClustersResponse_httpStatus :: Lens' ListClustersResponse Int Source #
The response's http status code.