| Copyright | (c) 2013-2018 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.AWS.EMR.ListSteps
Description
Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request.
This operation returns paginated results.
Synopsis
- listSteps :: Text -> ListSteps
- data ListSteps
- lsStepIds :: Lens' ListSteps [Text]
- lsStepStates :: Lens' ListSteps [StepState]
- lsMarker :: Lens' ListSteps (Maybe Text)
- lsClusterId :: Lens' ListSteps Text
- listStepsResponse :: Int -> ListStepsResponse
- data ListStepsResponse
- lsrsSteps :: Lens' ListStepsResponse [StepSummary]
- lsrsMarker :: Lens' ListStepsResponse (Maybe Text)
- lsrsResponseStatus :: Lens' ListStepsResponse Int
Creating a Request
Creates a value of ListSteps with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
- lsStepIds- The filter to limit the step list based on the identifier of the steps.
- lsStepStates- The filter to limit the step list based on certain states.
- lsMarker- The pagination token that indicates the next set of results to retrieve.
- lsClusterId- The identifier of the cluster for which to list the steps.
This input determines which steps to list.
See: listSteps smart constructor.
Instances
Request Lenses
lsStepIds :: Lens' ListSteps [Text] Source #
The filter to limit the step list based on the identifier of the steps.
lsStepStates :: Lens' ListSteps [StepState] Source #
The filter to limit the step list based on certain states.
lsMarker :: Lens' ListSteps (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
lsClusterId :: Lens' ListSteps Text Source #
The identifier of the cluster for which to list the steps.
Destructuring the Response
Arguments
| :: Int | |
| -> ListStepsResponse | 
Creates a value of ListStepsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
- lsrsSteps- The filtered list of steps for the cluster.
- lsrsMarker- The pagination token that indicates the next set of results to retrieve.
- lsrsResponseStatus- -- | The response status code.
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: listStepsResponse smart constructor.
Instances
Response Lenses
lsrsSteps :: Lens' ListStepsResponse [StepSummary] Source #
The filtered list of steps for the cluster.
lsrsMarker :: Lens' ListStepsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
lsrsResponseStatus :: Lens' ListStepsResponse Int Source #
- - | The response status code.