aws-sdk-sagemaker 1.210.0

AWS SDK for Amazon SageMaker Service
Documentation
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 [`ListJobSchemaVersions`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_category(JobCategory)`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::job_category) / [`set_job_category(Option<JobCategory>)`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::set_job_category):<br>required: **true**<br><p>The category of job schemas to list.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous response was truncated, this token retrieves the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of schema versions to return in the response. The default value is 5.</p><br>
    /// - On success, responds with [`ListJobSchemaVersionsOutput`](crate::operation::list_job_schema_versions::ListJobSchemaVersionsOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_job_schema_versions::ListJobSchemaVersionsOutput::next_token): <p>If the response is truncated, this token retrieves the next set of results.</p>
    ///   - [`job_config_schemas(Option<Vec::<JobConfigSchemaVersionSummary>>)`](crate::operation::list_job_schema_versions::ListJobSchemaVersionsOutput::job_config_schemas): <p>An array of <code>JobConfigSchemaVersionSummary</code> objects listing the available schema versions.</p>
    /// - On failure, responds with [`SdkError<ListJobSchemaVersionsError>`](crate::operation::list_job_schema_versions::ListJobSchemaVersionsError)
    pub fn list_job_schema_versions(&self) -> crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder {
        crate::operation::list_job_schema_versions::builders::ListJobSchemaVersionsFluentBuilder::new(self.handle.clone())
    }
}