| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.ListSteps
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.
This operation returns paginated results.
Synopsis
- data ListSteps = ListSteps' {}
- newListSteps :: Text -> ListSteps
- listSteps_marker :: Lens' ListSteps (Maybe Text)
- listSteps_stepIds :: Lens' ListSteps (Maybe [Text])
- listSteps_stepStates :: Lens' ListSteps (Maybe [StepState])
- listSteps_clusterId :: Lens' ListSteps Text
- data ListStepsResponse = ListStepsResponse' {
- marker :: Maybe Text
- steps :: Maybe [StepSummary]
- httpStatus :: Int
- newListStepsResponse :: Int -> ListStepsResponse
- listStepsResponse_marker :: Lens' ListStepsResponse (Maybe Text)
- listStepsResponse_steps :: Lens' ListStepsResponse (Maybe [StepSummary])
- listStepsResponse_httpStatus :: Lens' ListStepsResponse Int
Creating a Request
This input determines which steps to list.
See: newListSteps smart constructor.
Constructors
| ListSteps' | |
Fields
| |
Instances
Create a value of ListSteps with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListSteps, listSteps_marker - The maximum number of steps that a single ListSteps action returns is
50. To return a longer list of steps, use multiple ListSteps actions
along with the Marker parameter, which is a pagination token that
indicates the next set of results to retrieve.
$sel:stepIds:ListSteps', listSteps_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.
$sel:stepStates:ListSteps', listSteps_stepStates - The filter to limit the step list based on certain states.
$sel:clusterId:ListSteps', listSteps_clusterId - The identifier of the cluster for which to list the steps.
Request Lenses
listSteps_marker :: Lens' ListSteps (Maybe Text) Source #
The maximum number of steps that a single ListSteps action returns is
50. To return a longer list of steps, use multiple ListSteps actions
along with the Marker parameter, which is a pagination token that
indicates the next set of results to retrieve.
listSteps_stepIds :: Lens' ListSteps (Maybe [Text]) Source #
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.
listSteps_stepStates :: Lens' ListSteps (Maybe [StepState]) Source #
The filter to limit the step list based on certain states.
listSteps_clusterId :: Lens' ListSteps Text Source #
The identifier of the cluster for which to list the steps.
Destructuring the Response
data ListStepsResponse Source #
This output contains the list of steps returned in reverse order. This means that the last step is the first element in the list.
See: newListStepsResponse smart constructor.
Constructors
| ListStepsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListStepsResponse |
Create a value of ListStepsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListSteps, listStepsResponse_marker - The maximum number of steps that a single ListSteps action returns is
50. To return a longer list of steps, use multiple ListSteps actions
along with the Marker parameter, which is a pagination token that
indicates the next set of results to retrieve.
$sel:steps:ListStepsResponse', listStepsResponse_steps - The filtered list of steps for the cluster.
$sel:httpStatus:ListStepsResponse', listStepsResponse_httpStatus - The response's http status code.
Response Lenses
listStepsResponse_marker :: Lens' ListStepsResponse (Maybe Text) Source #
The maximum number of steps that a single ListSteps action returns is
50. To return a longer list of steps, use multiple ListSteps actions
along with the Marker parameter, which is a pagination token that
indicates the next set of results to retrieve.
listStepsResponse_steps :: Lens' ListStepsResponse (Maybe [StepSummary]) Source #
The filtered list of steps for the cluster.
listStepsResponse_httpStatus :: Lens' ListStepsResponse Int Source #
The response's http status code.