amazonka-emr-0.3.5: Amazon Elastic MapReduce SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.ListClusters

Contents

Description

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.

http://docs.aws.amazon.com/ElasticMapReduce/latest/API/API_ListClusters.html

Synopsis

Request

Request constructor

listClusters :: ListClusters Source

ListClusters constructor.

The fields accessible through corresponding lenses are:

Request lenses

lcClusterStates :: Lens' ListClusters [ClusterState] Source

The cluster state filters to apply when listing clusters.

lcCreatedAfter :: Lens' ListClusters (Maybe UTCTime) Source

The creation date and time beginning value filter for listing clusters .

lcCreatedBefore :: Lens' ListClusters (Maybe UTCTime) Source

The creation date and time end value filter for listing clusters .

lcMarker :: Lens' ListClusters (Maybe Text) Source

The pagination token that indicates the next set of results to retrieve.

Response

Response constructor

listClustersResponse :: ListClustersResponse Source

ListClustersResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

lcrClusters :: Lens' ListClustersResponse [ClusterSummary] Source

The list of clusters for the account based on the given filters.

lcrMarker :: Lens' ListClustersResponse (Maybe Text) Source

The pagination token that indicates the next set of results to retrieve.