Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
This operation returns paginated results.
- listClusters :: ListClusters
- data ListClusters
- lcCreatedAfter :: Lens' ListClusters (Maybe UTCTime)
- lcMarker :: Lens' ListClusters (Maybe Text)
- lcClusterStates :: Lens' ListClusters [ClusterState]
- lcCreatedBefore :: Lens' ListClusters (Maybe UTCTime)
- listClustersResponse :: Int -> ListClustersResponse
- data ListClustersResponse
- lcrsMarker :: Lens' ListClustersResponse (Maybe Text)
- lcrsClusters :: Lens' ListClustersResponse [ClusterSummary]
- lcrsResponseStatus :: Lens' ListClustersResponse Int
Creating a Request
listClusters :: ListClusters Source #
Creates a value of ListClusters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcCreatedAfter
- The creation date and time beginning value filter for listing clusters.lcMarker
- The pagination token that indicates the next set of results to retrieve.lcClusterStates
- The cluster state filters to apply when listing clusters.lcCreatedBefore
- The creation date and time end value filter for listing clusters.
data ListClusters Source #
This input determines how the ListClusters action filters the list of clusters that it returns.
See: listClusters
smart constructor.
Request Lenses
lcCreatedAfter :: Lens' ListClusters (Maybe UTCTime) Source #
The creation date and time beginning value filter for listing clusters.
lcMarker :: Lens' ListClusters (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
lcClusterStates :: Lens' ListClusters [ClusterState] Source #
The cluster state filters to apply when listing clusters.
lcCreatedBefore :: Lens' ListClusters (Maybe UTCTime) Source #
The creation date and time end value filter for listing clusters.
Destructuring the Response
Creates a value of ListClustersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrsMarker
- The pagination token that indicates the next set of results to retrieve.lcrsClusters
- The list of clusters for the account based on the given filters.lcrsResponseStatus
- -- | The response status code.
data ListClustersResponse Source #
This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.
See: listClustersResponse
smart constructor.
Response Lenses
lcrsMarker :: Lens' ListClustersResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
lcrsClusters :: Lens' ListClustersResponse [ClusterSummary] Source #
The list of clusters for the account based on the given filters.
lcrsResponseStatus :: Lens' ListClustersResponse Int Source #
- - | The response status code.