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 |
Lists all users in the identity store. Returns a paginated list of
complete User
objects. Filtering for a User
by the UserName
attribute is deprecated. Instead, use the GetUserId
API action.
This operation returns paginated results.
Synopsis
- data ListUsers = ListUsers' {}
- newListUsers :: Text -> ListUsers
- listUsers_filters :: Lens' ListUsers (Maybe [Filter])
- listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
- listUsers_nextToken :: Lens' ListUsers (Maybe Text)
- listUsers_identityStoreId :: Lens' ListUsers Text
- data ListUsersResponse = ListUsersResponse' {}
- newListUsersResponse :: Int -> ListUsersResponse
- listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_httpStatus :: Lens' ListUsersResponse Int
- listUsersResponse_users :: Lens' ListUsersResponse [User]
Creating a Request
See: newListUsers
smart constructor.
ListUsers' | |
|
Instances
Create a value of ListUsers
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:ListUsers'
, listUsers_filters
- A list of Filter
objects, which is used in the ListUsers
and
ListGroups
requests.
$sel:maxResults:ListUsers'
, listUsers_maxResults
- The maximum number of results to be returned per request. This parameter
is used in the ListUsers
and ListGroups
requests to specify how many
results to return in one page. The length limit is 50 characters.
ListUsers
, listUsers_nextToken
- The pagination token used for the ListUsers
and ListGroups
API
operations. This value is generated by the identity store service. It is
returned in the API response if the total results are more than the size
of one page. This token is also returned when it is used in the API
request to search for the next page.
ListUsers
, listUsers_identityStoreId
- The globally unique identifier for the identity store, such as
d-1234567890
. In this example, d-
is a fixed prefix, and
1234567890
is a randomly generated string that contains numbers and
lower case letters. This value is generated at the time that a new
identity store is created.
Request Lenses
listUsers_filters :: Lens' ListUsers (Maybe [Filter]) Source #
A list of Filter
objects, which is used in the ListUsers
and
ListGroups
requests.
listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #
The maximum number of results to be returned per request. This parameter
is used in the ListUsers
and ListGroups
requests to specify how many
results to return in one page. The length limit is 50 characters.
listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #
The pagination token used for the ListUsers
and ListGroups
API
operations. This value is generated by the identity store service. It is
returned in the API response if the total results are more than the size
of one page. This token is also returned when it is used in the API
request to search for the next page.
listUsers_identityStoreId :: Lens' ListUsers Text Source #
The globally unique identifier for the identity store, such as
d-1234567890
. In this example, d-
is a fixed prefix, and
1234567890
is a randomly generated string that contains numbers and
lower case letters. This value is generated at the time that a new
identity store is created.
Destructuring the Response
data ListUsersResponse Source #
See: newListUsersResponse
smart constructor.
ListUsersResponse' | |
|
Instances
Create a value of ListUsersResponse
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:
ListUsers
, listUsersResponse_nextToken
- The pagination token used for the ListUsers
and ListGroups
API
operations. This value is generated by the identity store service. It is
returned in the API response if the total results are more than the size
of one page. This token is also returned when it is used in the API
request to search for the next page.
$sel:httpStatus:ListUsersResponse'
, listUsersResponse_httpStatus
- The response's http status code.
$sel:users:ListUsersResponse'
, listUsersResponse_users
- A list of User
objects in the identity store.
Response Lenses
listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #
The pagination token used for the ListUsers
and ListGroups
API
operations. This value is generated by the identity store service. It is
returned in the API response if the total results are more than the size
of one page. This token is also returned when it is used in the API
request to search for the next page.
listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #
The response's http status code.
listUsersResponse_users :: Lens' ListUsersResponse [User] Source #
A list of User
objects in the identity store.