List Clusters
emr_list_clusters | R Documentation |
Provides the status of all clusters visible to this Amazon Web Services account¶
Description¶
Provides the status of all clusters visible to this Amazon Web Services 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 in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
Usage¶
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. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
Marker
The pagination token that indicates the next set of results to retrieve.
Value¶
A list with the following syntax:
list(
Clusters = list(
list(
Id = "string",
Name = "string",
Status = list(
State = "STARTING"|"BOOTSTRAPPING"|"RUNNING"|"WAITING"|"TERMINATING"|"TERMINATED"|"TERMINATED_WITH_ERRORS",
StateChangeReason = list(
Code = "INTERNAL_ERROR"|"VALIDATION_ERROR"|"INSTANCE_FAILURE"|"INSTANCE_FLEET_TIMEOUT"|"BOOTSTRAP_FAILURE"|"USER_REQUEST"|"STEP_FAILURE"|"ALL_STEPS_COMPLETED",
Message = "string"
),
Timeline = list(
CreationDateTime = as.POSIXct(
"2015-01-01"
),
ReadyDateTime = as.POSIXct(
"2015-01-01"
),
EndDateTime = as.POSIXct(
"2015-01-01"
)
),
ErrorDetails = list(
list(
ErrorCode = "string",
ErrorData = list(
list(
"string"
)
),
ErrorMessage = "string"
)
)
),
NormalizedInstanceHours = 123,
ClusterArn = "string",
OutpostArn = "string"
)
),
Marker = "string"
)