Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves a list that describes one or more specified users in the user pool.
This operation returns paginated results.
Synopsis
- data DescribeUsers = DescribeUsers' {}
- newDescribeUsers :: AuthenticationType -> DescribeUsers
- describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text)
- describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int)
- describeUsers_authenticationType :: Lens' DescribeUsers AuthenticationType
- data DescribeUsersResponse = DescribeUsersResponse' {}
- newDescribeUsersResponse :: Int -> DescribeUsersResponse
- describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User])
- describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text)
- describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int
Creating a Request
data DescribeUsers Source #
See: newDescribeUsers
smart constructor.
DescribeUsers' | |
|
Instances
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:nextToken:DescribeUsers'
, describeUsers_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:maxResults:DescribeUsers'
, describeUsers_maxResults
- The maximum size of each page of results.
$sel:authenticationType:DescribeUsers'
, describeUsers_authenticationType
- The authentication type for the users in the user pool to describe. You
must specify USERPOOL.
Request Lenses
describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int) Source #
The maximum size of each page of results.
describeUsers_authenticationType :: Lens' DescribeUsers AuthenticationType Source #
The authentication type for the users in the user pool to describe. You must specify USERPOOL.
Destructuring the Response
data DescribeUsersResponse Source #
See: newDescribeUsersResponse
smart constructor.
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:
$sel:users:DescribeUsersResponse'
, describeUsersResponse_users
- Information about users in the user pool.
$sel:nextToken:DescribeUsers'
, describeUsersResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:httpStatus:DescribeUsersResponse'
, describeUsersResponse_httpStatus
- The response's http status code.
Response Lenses
describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User]) Source #
Information about users in the user pool.
describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int Source #
The response's http status code.