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 [`ListTestSets`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`sort_by(TestSetSortBy)`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::sort_by) / [`set_sort_by(Option<TestSetSortBy>)`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::set_sort_by):<br>required: **false**<br><p>The sort order for the list of test sets.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of test sets to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the response from the ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.</p><br>
    /// - On success, responds with [`ListTestSetsOutput`](crate::operation::list_test_sets::ListTestSetsOutput) with field(s):
    ///   - [`test_sets(Option<Vec::<TestSetSummary>>)`](crate::operation::list_test_sets::ListTestSetsOutput::test_sets): <p>The selected test sets in a list of test sets.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_test_sets::ListTestSetsOutput::next_token): <p>A token that indicates whether there are more results to return in a response to the ListTestSets operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSets operation request to get the next page of results.</p>
    /// - On failure, responds with [`SdkError<ListTestSetsError>`](crate::operation::list_test_sets::ListTestSetsError)
    pub fn list_test_sets(&self) -> crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder {
        crate::operation::list_test_sets::builders::ListTestSetsFluentBuilder::new(self.handle.clone())
    }
}