aws-sdk-sagemaker 1.196.0

AWS SDK for Amazon SageMaker Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAIBenchmarkJobs`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of benchmark jobs to return in the response.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous call to <code>ListAIBenchmarkJobs</code> didn't return the full set of jobs, the call returns a token for getting the next set.</p><br>
    ///   - [`name_contains(impl Into<String>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::name_contains) / [`set_name_contains(Option<String>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_name_contains):<br>required: **false**<br><p>A string in the job name. This filter returns only jobs whose name contains the specified string.</p><br>
    ///   - [`status_equals(AiBenchmarkJobStatus)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::status_equals) / [`set_status_equals(Option<AiBenchmarkJobStatus>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_status_equals):<br>required: **false**<br><p>A filter that returns only benchmark jobs with the specified status.</p><br>
    ///   - [`creation_time_after(DateTime)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_creation_time_after):<br>required: **false**<br><p>A filter that returns only jobs created after the specified time.</p><br>
    ///   - [`creation_time_before(DateTime)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_creation_time_before):<br>required: **false**<br><p>A filter that returns only jobs created before the specified time.</p><br>
    ///   - [`sort_by(ListAiBenchmarkJobsSortBy)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::sort_by) / [`set_sort_by(Option<ListAiBenchmarkJobsSortBy>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The field to sort results by. The default is <code>CreationTime</code>.</p><br>
    ///   - [`sort_order(SortOrder)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::set_sort_order):<br>required: **false**<br><p>The sort order for results. The default is <code>Descending</code>.</p><br>
    /// - On success, responds with [`ListAiBenchmarkJobsOutput`](crate::operation::list_ai_benchmark_jobs::ListAiBenchmarkJobsOutput) with field(s):
    ///   - [`ai_benchmark_jobs(Option<Vec::<AiBenchmarkJobSummary>>)`](crate::operation::list_ai_benchmark_jobs::ListAiBenchmarkJobsOutput::ai_benchmark_jobs): <p>An array of <code>AIBenchmarkJobSummary</code> objects, one for each benchmark job that matches the specified filters.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_ai_benchmark_jobs::ListAiBenchmarkJobsOutput::next_token): <p>If the response is truncated, Amazon SageMaker AI returns this token. To retrieve the next set of jobs, use it in the subsequent request.</p>
    /// - On failure, responds with [`SdkError<ListAIBenchmarkJobsError>`](crate::operation::list_ai_benchmark_jobs::ListAIBenchmarkJobsError)
    pub fn list_ai_benchmark_jobs(&self) -> crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder {
        crate::operation::list_ai_benchmark_jobs::builders::ListAIBenchmarkJobsFluentBuilder::new(self.handle.clone())
    }
}