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 [`ListDatasetLabels`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`dataset_arn(impl Into<String>)`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::dataset_arn) / [`set_dataset_arn(Option<String>)`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::set_dataset_arn):<br>required: **true**<br><p> The Amazon Resource Name (ARN) of the dataset that you want to use. </p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels 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_dataset_labels::builders::ListDatasetLabelsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::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 [`ListDatasetLabelsOutput`](crate::operation::list_dataset_labels::ListDatasetLabelsOutput) with field(s):
    ///   - [`dataset_label_descriptions(Option<Vec::<DatasetLabelDescription>>)`](crate::operation::list_dataset_labels::ListDatasetLabelsOutput::dataset_label_descriptions): <p> A list of the labels in the dataset. </p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_dataset_labels::ListDatasetLabelsOutput::next_token): <p>If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels 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<ListDatasetLabelsError>`](crate::operation::list_dataset_labels::ListDatasetLabelsError)
    pub fn list_dataset_labels(&self) -> crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder {
        crate::operation::list_dataset_labels::builders::ListDatasetLabelsFluentBuilder::new(self.handle.clone())
    }
}