aws_sdk_memorydb/client/describe_users.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeUsers`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`user_name(impl Into<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_user_name):<br>required: **false**<br><p>The name of the user.</p><br>
8 /// - [`filters(Filter)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_filters):<br>required: **false**<br><p>Filter to determine the list of users to return.</p><br>
9 /// - [`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):<br>required: **false**<br><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><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_users::builders::DescribeUsersFluentBuilder::set_next_token):<br>required: **false**<br><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><br>
11 /// - On success, responds with [`DescribeUsersOutput`](crate::operation::describe_users::DescribeUsersOutput) with field(s):
12 /// - [`users(Option<Vec::<User>>)`](crate::operation::describe_users::DescribeUsersOutput::users): <p>A list of users.</p>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<DescribeUsersError>`](crate::operation::describe_users::DescribeUsersError)
15 pub fn describe_users(&self) -> crate::operation::describe_users::builders::DescribeUsersFluentBuilder {
16 crate::operation::describe_users::builders::DescribeUsersFluentBuilder::new(self.handle.clone())
17 }
18}