Learn R Programming

paws.analytics (version 0.1.6)

emr_list_clusters: Provides the status of all clusters visible to this AWS account

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.

Usage

emr_list_clusters(CreatedAfter, CreatedBefore, ClusterStates, Marker)

Arguments

CreatedAfter

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

CreatedBefore

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

ClusterStates

The cluster state filters to apply when listing clusters.

Marker

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

Request syntax

svc$list_clusters(
  CreatedAfter = as.POSIXct(
    "2015-01-01"
  ),
  CreatedBefore = as.POSIXct(
    "2015-01-01"
  ),
  ClusterStates = list(
    "STARTING"|"BOOTSTRAPPING"|"RUNNING"|"WAITING"|"TERMINATING"|"TERMINATED"|"TERMINATED_WITH_ERRORS"
  ),
  Marker = "string"
)