pub struct GetMLTaskRunsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetMLTaskRuns.
Gets a list of runs for a machine learning transform. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can get a sortable, filterable list of machine learning task runs by calling GetMLTaskRuns with their parent transform's TransformID and other optional parameters as documented in this section.
This operation returns a list of historic runs and must be paginated.
Implementations§
source§impl GetMLTaskRunsFluentBuilder
impl GetMLTaskRunsFluentBuilder
sourcepub fn as_input(&self) -> &GetMlTaskRunsInputBuilder
pub fn as_input(&self) -> &GetMlTaskRunsInputBuilder
Access the GetMLTaskRuns as a reference.
sourcepub async fn send(
self
) -> Result<GetMlTaskRunsOutput, SdkError<GetMLTaskRunsError, HttpResponse>>
pub async fn send( self ) -> Result<GetMlTaskRunsOutput, SdkError<GetMLTaskRunsError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<GetMlTaskRunsOutput, GetMLTaskRunsError>, SdkError<GetMLTaskRunsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetMlTaskRunsOutput, GetMLTaskRunsError>, SdkError<GetMLTaskRunsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> GetMlTaskRunsPaginator
pub fn into_paginator(self) -> GetMlTaskRunsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn transform_id(self, input: impl Into<String>) -> Self
pub fn transform_id(self, input: impl Into<String>) -> Self
The unique identifier of the machine learning transform.
sourcepub fn set_transform_id(self, input: Option<String>) -> Self
pub fn set_transform_id(self, input: Option<String>) -> Self
The unique identifier of the machine learning transform.
sourcepub fn get_transform_id(&self) -> &Option<String>
pub fn get_transform_id(&self) -> &Option<String>
The unique identifier of the machine learning transform.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token for pagination of the results. The default is empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token for pagination of the results. The default is empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token for pagination of the results. The default is empty.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
sourcepub fn filter(self, input: TaskRunFilterCriteria) -> Self
pub fn filter(self, input: TaskRunFilterCriteria) -> Self
The filter criteria, in the TaskRunFilterCriteria structure, for the task run.
sourcepub fn set_filter(self, input: Option<TaskRunFilterCriteria>) -> Self
pub fn set_filter(self, input: Option<TaskRunFilterCriteria>) -> Self
The filter criteria, in the TaskRunFilterCriteria structure, for the task run.
sourcepub fn get_filter(&self) -> &Option<TaskRunFilterCriteria>
pub fn get_filter(&self) -> &Option<TaskRunFilterCriteria>
The filter criteria, in the TaskRunFilterCriteria structure, for the task run.
sourcepub fn sort(self, input: TaskRunSortCriteria) -> Self
pub fn sort(self, input: TaskRunSortCriteria) -> Self
The sorting criteria, in the TaskRunSortCriteria structure, for the task run.
sourcepub fn set_sort(self, input: Option<TaskRunSortCriteria>) -> Self
pub fn set_sort(self, input: Option<TaskRunSortCriteria>) -> Self
The sorting criteria, in the TaskRunSortCriteria structure, for the task run.
sourcepub fn get_sort(&self) -> &Option<TaskRunSortCriteria>
pub fn get_sort(&self) -> &Option<TaskRunSortCriteria>
The sorting criteria, in the TaskRunSortCriteria structure, for the task run.
Trait Implementations§
source§impl Clone for GetMLTaskRunsFluentBuilder
impl Clone for GetMLTaskRunsFluentBuilder
source§fn clone(&self) -> GetMLTaskRunsFluentBuilder
fn clone(&self) -> GetMLTaskRunsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more