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 [`DescribeUsers`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl ::std::convert::Into<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_user_name): <p>The name of the user</p>
    ///   - [`filters(Vec<Filter>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::filters) / [`set_filters(Option<Vec<Filter>>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_filters): <p>Filter to determine the list of users to return.</p>
    ///   - [`max_results(i32)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_max_results): <p>The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_next_token): <p>An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p>
    /// - On success, responds with [`DescribeUsersOutput`](crate::operation::describe_users::DescribeUsersOutput) with field(s):
    ///   - [`users(Option<Vec<User>>)`](crate::operation::describe_users::DescribeUsersOutput::users): <p>A list of users.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_users::DescribeUsersOutput::next_token): <p>An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p>
    /// - On failure, responds with [`SdkError<DescribeUsersError>`](crate::operation::describe_users::DescribeUsersError)
    pub fn describe_users(&self) -> crate::operation::describe_users::builders::DescribeUsersFluentBuilder {
        crate::operation::describe_users::builders::DescribeUsersFluentBuilder::new(self.handle.clone())
    }
}