1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeProjectVersions`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_arn(impl Into<String>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::project_arn) / [`set_project_arn(Option<String>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::set_project_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.</p><br>
    ///   - [`version_names(impl Into<String>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::version_names) / [`set_version_names(Option<Vec::<String>>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::set_version_names):<br>required: **false**<br><p>A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, <code>my-model.2020-01-21T09.10.15</code> is the version name in the following ARN. <code>arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/<i>my-model.2020-01-21T09.10.15</i>/1234567890123</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition 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::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::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 [`DescribeProjectVersionsOutput`](crate::operation::describe_project_versions::DescribeProjectVersionsOutput) with field(s):
    ///   - [`project_version_descriptions(Option<Vec::<ProjectVersionDescription>>)`](crate::operation::describe_project_versions::DescribeProjectVersionsOutput::project_version_descriptions): <p>A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_project_versions::DescribeProjectVersionsOutput::next_token): <p>If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition 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<DescribeProjectVersionsError>`](crate::operation::describe_project_versions::DescribeProjectVersionsError)
    pub fn describe_project_versions(&self) -> crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder {
        crate::operation::describe_project_versions::builders::DescribeProjectVersionsFluentBuilder::new(self.handle.clone())
    }
}