aws emr list-steps
Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request or filter by StepStates. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--cluster-idThe identifier of the cluster for which to list the steps.--markerThe maximum number of steps that a single ListSteps action returns is 50.--step-idsThe filter to limit the step list based on the identifier of the steps.--step-statesThe filter to limit the step list based on certain states.