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 |
Lists the attribute name and value of the user that you specified in the
search. We only support UserName
as a valid filter attribute path
currently, and filter is required. This API returns minimum attributes,
including UserId
and UserName
in the response.
Synopsis
- data ListUsers = ListUsers' {}
- newListUsers :: Text -> ListUsers
- listUsers_filters :: Lens' ListUsers (Maybe [Filter])
- listUsers_nextToken :: Lens' ListUsers (Maybe Text)
- listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
- 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
request.
$sel:nextToken: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.
$sel:maxResults:ListUsers'
, listUsers_maxResults
- The maximum number of results to be returned per request. This parameter
is used in the ListUsers
and ListGroups
request to specify how many
results to return in one page. The length limit is 50 characters.
$sel:identityStoreId: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 number 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
request.
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_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
request to specify how many
results to return in one page. The length limit is 50 characters.
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 number 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:
$sel:nextToken: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.