aws_sdk_personalize/client/
list_dataset_groups.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDatasetGroups`](crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token returned from the previous call to <code>ListDatasetGroups</code> for getting the next set of dataset groups (if they exist).</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of dataset groups to return.</p><br>
    /// - On success, responds with [`ListDatasetGroupsOutput`](crate::operation::list_dataset_groups::ListDatasetGroupsOutput) with field(s):
    ///   - [`dataset_groups(Option<Vec::<DatasetGroupSummary>>)`](crate::operation::list_dataset_groups::ListDatasetGroupsOutput::dataset_groups): <p>The list of your dataset groups.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_dataset_groups::ListDatasetGroupsOutput::next_token): <p>A token for getting the next set of dataset groups (if they exist).</p>
    /// - On failure, responds with [`SdkError<ListDatasetGroupsError>`](crate::operation::list_dataset_groups::ListDatasetGroupsError)
    pub fn list_dataset_groups(&self) -> crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder {
        crate::operation::list_dataset_groups::builders::ListDatasetGroupsFluentBuilder::new(self.handle.clone())
    }
}