aws_sdk_emr/client/list_steps.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListSteps`](crate::operation::list_steps::builders::ListStepsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_steps::builders::ListStepsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`cluster_id(impl Into<String>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The identifier of the cluster for which to list the steps.</p><br>
8 /// - [`step_states(StepState)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::step_states) / [`set_step_states(Option<Vec::<StepState>>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::set_step_states):<br>required: **false**<br><p>The filter to limit the step list based on certain states.</p><br>
9 /// - [`step_ids(impl Into<String>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::step_ids) / [`set_step_ids(Option<Vec::<String>>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::set_step_ids):<br>required: **false**<br><p>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.</p><br>
10 /// - [`marker(impl Into<String>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_steps::builders::ListStepsFluentBuilder::set_marker):<br>required: **false**<br><p>The maximum number of steps that a single <code>ListSteps</code> action returns is 50. To return a longer list of steps, use multiple <code>ListSteps</code> actions along with the <code>Marker</code> parameter, which is a pagination token that indicates the next set of results to retrieve.</p><br>
11 /// - On success, responds with [`ListStepsOutput`](crate::operation::list_steps::ListStepsOutput) with field(s):
12 /// - [`steps(Option<Vec::<StepSummary>>)`](crate::operation::list_steps::ListStepsOutput::steps): <p>The filtered list of steps for the cluster.</p>
13 /// - [`marker(Option<String>)`](crate::operation::list_steps::ListStepsOutput::marker): <p>The maximum number of steps that a single <code>ListSteps</code> action returns is 50. To return a longer list of steps, use multiple <code>ListSteps</code> actions along with the <code>Marker</code> parameter, which is a pagination token that indicates the next set of results to retrieve.</p>
14 /// - On failure, responds with [`SdkError<ListStepsError>`](crate::operation::list_steps::ListStepsError)
15 pub fn list_steps(&self) -> crate::operation::list_steps::builders::ListStepsFluentBuilder {
16 crate::operation::list_steps::builders::ListStepsFluentBuilder::new(self.handle.clone())
17 }
18}