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
sourceimpl ListSteps
impl ListSteps
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.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListSteps
impl Send for ListSteps
impl Sync for ListSteps
impl Unpin for ListSteps
impl !UnwindSafe for ListSteps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more