| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MemoryDb.DescribeUsers
Description
Returns a list of users.
This operation returns paginated results.
Synopsis
- data DescribeUsers = DescribeUsers' {}
- newDescribeUsers :: DescribeUsers
- describeUsers_filters :: Lens' DescribeUsers (Maybe [Filter])
- describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int)
- describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text)
- describeUsers_userName :: Lens' DescribeUsers (Maybe Text)
- data DescribeUsersResponse = DescribeUsersResponse' {}
- newDescribeUsersResponse :: Int -> DescribeUsersResponse
- describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text)
- describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User])
- describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int
Creating a Request
data DescribeUsers Source #
See: newDescribeUsers smart constructor.
Constructors
| DescribeUsers' | |
Fields
| |
Instances
newDescribeUsers :: DescribeUsers Source #
Create a value of DescribeUsers with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filters:DescribeUsers', describeUsers_filters - Filter to determine the list of users to return.
$sel:maxResults:DescribeUsers', describeUsers_maxResults - 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.
DescribeUsers, describeUsers_nextToken - 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.
$sel:userName:DescribeUsers', describeUsers_userName - The name of the user
Request Lenses
describeUsers_filters :: Lens' DescribeUsers (Maybe [Filter]) Source #
Filter to determine the list of users to return.
describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int) Source #
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.
describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text) Source #
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.
describeUsers_userName :: Lens' DescribeUsers (Maybe Text) Source #
The name of the user
Destructuring the Response
data DescribeUsersResponse Source #
See: newDescribeUsersResponse smart constructor.
Constructors
| DescribeUsersResponse' | |
Fields
| |
Instances
newDescribeUsersResponse Source #
Create a value of DescribeUsersResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeUsers, describeUsersResponse_nextToken - 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.
$sel:users:DescribeUsersResponse', describeUsersResponse_users - A list of users.
$sel:httpStatus:DescribeUsersResponse', describeUsersResponse_httpStatus - The response's http status code.
Response Lenses
describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text) Source #
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.
describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User]) Source #
A list of users.
describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int Source #
The response's http status code.