List Steps
| emr_list_steps | R Documentation |
Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request or filter by StepStates¶
Description¶
Provides a list of steps for the cluster in reverse order unless you
specify stepIds with the request or filter by StepStates. You can
specify a maximum of 10 stepIDs. The CLI automatically paginates
results to return a list greater than 50 steps. To return more than 50
steps using the CLI, specify a Marker, which is a pagination token
that indicates the next set of steps to retrieve.
Usage¶
Arguments¶
ClusterId[required] The identifier of the cluster for which to list the steps.
StepStatesThe filter to limit the step list based on certain states.
StepIdsThe filter to limit the step list based on the identifier of the steps. You can specify a maximum of ten Step IDs. The character constraint applies to the overall length of the array.
MarkerThe maximum number of steps that a single
list_stepsaction returns is 50. To return a longer list of steps, use multiplelist_stepsactions along with theMarkerparameter, which is a pagination token that indicates the next set of results to retrieve.
Value¶
A list with the following syntax:
list(
Steps = list(
list(
Id = "string",
Name = "string",
Config = list(
Jar = "string",
Properties = list(
"string"
),
MainClass = "string",
Args = list(
"string"
)
),
ActionOnFailure = "TERMINATE_JOB_FLOW"|"TERMINATE_CLUSTER"|"CANCEL_AND_WAIT"|"CONTINUE",
Status = list(
State = "PENDING"|"CANCEL_PENDING"|"RUNNING"|"COMPLETED"|"CANCELLED"|"FAILED"|"INTERRUPTED",
StateChangeReason = list(
Code = "NONE",
Message = "string"
),
FailureDetails = list(
Reason = "string",
Message = "string",
LogFile = "string"
),
Timeline = list(
CreationDateTime = as.POSIXct(
"2015-01-01"
),
StartDateTime = as.POSIXct(
"2015-01-01"
),
EndDateTime = as.POSIXct(
"2015-01-01"
)
)
)
)
),
Marker = "string"
)