Struct aws_sdk_emr::client::fluent_builders::ListSteps
source · pub struct ListSteps { /* private fields */ }Expand description
Fluent builder constructing a request to ListSteps.
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.
Implementations§
source§impl ListSteps
impl ListSteps
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListSteps, AwsResponseRetryClassifier>, SdkError<ListStepsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListSteps, AwsResponseRetryClassifier>, SdkError<ListStepsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<ListStepsOutput, SdkError<ListStepsError>>
pub async fn send(self) -> Result<ListStepsOutput, SdkError<ListStepsError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListStepsPaginator
pub fn into_paginator(self) -> ListStepsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The identifier of the cluster for which to list the steps.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The identifier of the cluster for which to list the steps.
sourcepub fn step_states(self, input: StepState) -> Self
pub fn step_states(self, input: StepState) -> Self
Appends an item to StepStates.
To override the contents of this collection use set_step_states.
The filter to limit the step list based on certain states.
sourcepub fn set_step_states(self, input: Option<Vec<StepState>>) -> Self
pub fn set_step_states(self, input: Option<Vec<StepState>>) -> Self
The filter to limit the step list based on certain states.
sourcepub fn step_ids(self, input: impl Into<String>) -> Self
pub fn step_ids(self, input: impl Into<String>) -> Self
Appends an item to StepIds.
To override the contents of this collection use set_step_ids.
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.
sourcepub fn set_step_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_step_ids(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
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.