Struct aws_sdk_sagemaker::client::fluent_builders::ListTrials
source · pub struct ListTrials { /* private fields */ }
Expand description
Fluent builder constructing a request to ListTrials
.
Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.
Implementations§
source§impl ListTrials
impl ListTrials
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListTrials, AwsResponseRetryClassifier>, SdkError<ListTrialsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListTrials, AwsResponseRetryClassifier>, SdkError<ListTrialsError>>
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<ListTrialsOutput, SdkError<ListTrialsError>>
pub async fn send(self) -> Result<ListTrialsOutput, SdkError<ListTrialsError>>
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) -> ListTrialsPaginator
pub fn into_paginator(self) -> ListTrialsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn experiment_name(self, input: impl Into<String>) -> Self
pub fn experiment_name(self, input: impl Into<String>) -> Self
A filter that returns only trials that are part of the specified experiment.
sourcepub fn set_experiment_name(self, input: Option<String>) -> Self
pub fn set_experiment_name(self, input: Option<String>) -> Self
A filter that returns only trials that are part of the specified experiment.
sourcepub fn trial_component_name(self, input: impl Into<String>) -> Self
pub fn trial_component_name(self, input: impl Into<String>) -> Self
A filter that returns only trials that are associated with the specified trial component.
sourcepub fn set_trial_component_name(self, input: Option<String>) -> Self
pub fn set_trial_component_name(self, input: Option<String>) -> Self
A filter that returns only trials that are associated with the specified trial component.
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
A filter that returns only trials created after the specified time.
sourcepub fn set_created_after(self, input: Option<DateTime>) -> Self
pub fn set_created_after(self, input: Option<DateTime>) -> Self
A filter that returns only trials created after the specified time.
sourcepub fn created_before(self, input: DateTime) -> Self
pub fn created_before(self, input: DateTime) -> Self
A filter that returns only trials created before the specified time.
sourcepub fn set_created_before(self, input: Option<DateTime>) -> Self
pub fn set_created_before(self, input: Option<DateTime>) -> Self
A filter that returns only trials created before the specified time.
sourcepub fn sort_by(self, input: SortTrialsBy) -> Self
pub fn sort_by(self, input: SortTrialsBy) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn set_sort_by(self, input: Option<SortTrialsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortTrialsBy>) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order. The default value is Descending
.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order. The default value is Descending
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of trials to return in the response. The default value is 10.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of trials to return in the response. The default value is 10.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous call to ListTrials
didn't return the full set of trials, the call returns a token for getting the next set of trials.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous call to ListTrials
didn't return the full set of trials, the call returns a token for getting the next set of trials.
Trait Implementations§
source§impl Clone for ListTrials
impl Clone for ListTrials
source§fn clone(&self) -> ListTrials
fn clone(&self) -> ListTrials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more