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¶
emr_list_steps(ClusterId, StepStates, StepIds, Marker)
Arguments¶
ClusterId |
[required] The identifier of the cluster for which to list the steps. |
StepStates |
The filter to limit the step list based on certain states. |
StepIds |
The 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. |
Marker |
The maximum number of steps that a single |
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"
)
Request syntax¶
svc$list_steps(
ClusterId = "string",
StepStates = list(
"PENDING"|"CANCEL_PENDING"|"RUNNING"|"COMPLETED"|"CANCELLED"|"FAILED"|"INTERRUPTED"
),
StepIds = list(
"string"
),
Marker = "string"
)