amazonka-emr-1.3.4: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for ListClusters.

This operation returns paginated results.

Synopsis

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:

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

listClustersResponse Source

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:

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.