Struct aws_sdk_emrserverless::client::fluent_builders::ListJobRuns
source · [−]pub struct ListJobRuns { /* private fields */ }
Expand description
Fluent builder constructing a request to ListJobRuns
.
Lists job runs based on a set of parameters.
Implementations
sourceimpl ListJobRuns
impl ListJobRuns
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListJobRuns, AwsResponseRetryClassifier>, SdkError<ListJobRunsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListJobRuns, AwsResponseRetryClassifier>, SdkError<ListJobRunsError>>
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<ListJobRunsOutput, SdkError<ListJobRunsError>>
pub async fn send(self) -> Result<ListJobRunsOutput, SdkError<ListJobRunsError>>
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) -> ListJobRunsPaginator
pub fn into_paginator(self) -> ListJobRunsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application for which to list the job run.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application for which to list the job run.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of job run results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of job run results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of job runs that can be listed.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of job runs that can be listed.
sourcepub fn created_at_after(self, input: DateTime) -> Self
pub fn created_at_after(self, input: DateTime) -> Self
The lower bound of the option to filter by creation date and time.
sourcepub fn set_created_at_after(self, input: Option<DateTime>) -> Self
pub fn set_created_at_after(self, input: Option<DateTime>) -> Self
The lower bound of the option to filter by creation date and time.
sourcepub fn created_at_before(self, input: DateTime) -> Self
pub fn created_at_before(self, input: DateTime) -> Self
The upper bound of the option to filter by creation date and time.
sourcepub fn set_created_at_before(self, input: Option<DateTime>) -> Self
pub fn set_created_at_before(self, input: Option<DateTime>) -> Self
The upper bound of the option to filter by creation date and time.
sourcepub fn states(self, input: Vec<JobRunState>) -> Self
pub fn states(self, input: Vec<JobRunState>) -> Self
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
sourcepub fn set_states(self, input: Option<Vec<JobRunState>>) -> Self
pub fn set_states(self, input: Option<Vec<JobRunState>>) -> Self
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
Trait Implementations
sourceimpl Clone for ListJobRuns
impl Clone for ListJobRuns
sourcefn clone(&self) -> ListJobRuns
fn clone(&self) -> ListJobRuns
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more