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