aws_sdk_lookoutvision/client/
list_model_packaging_jobs.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListModelPackagingJobs`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_name(impl Into<String>)`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project for which you want to list the model packaging jobs.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.</p><br>
    /// - On success, responds with [`ListModelPackagingJobsOutput`](crate::operation::list_model_packaging_jobs::ListModelPackagingJobsOutput) with field(s):
    ///   - [`model_packaging_jobs(Option<Vec::<ModelPackagingJobMetadata>>)`](crate::operation::list_model_packaging_jobs::ListModelPackagingJobsOutput::model_packaging_jobs): <p>A list of the model packaging jobs created for the specified Amazon Lookout for Vision project.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_model_packaging_jobs::ListModelPackagingJobsOutput::next_token): <p>If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListModelPackagingJobsError>`](crate::operation::list_model_packaging_jobs::ListModelPackagingJobsError)
    pub fn list_model_packaging_jobs(&self) -> crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder {
        crate::operation::list_model_packaging_jobs::builders::ListModelPackagingJobsFluentBuilder::new(self.handle.clone())
    }
}