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 |
Returns summaries of the organization's users.
This operation returns paginated results.
Synopsis
- data ListUsers = ListUsers' {}
- newListUsers :: Text -> ListUsers
- listUsers_nextToken :: Lens' ListUsers (Maybe Text)
- listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
- listUsers_organizationId :: Lens' ListUsers Text
- data ListUsersResponse = ListUsersResponse' {}
- newListUsersResponse :: Int -> ListUsersResponse
- listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User])
- listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_httpStatus :: Lens' ListUsersResponse Int
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:nextToken:ListUsers'
, listUsers_nextToken
- The token to use to retrieve the next page of results. The first call
does not contain any tokens.
$sel:maxResults:ListUsers'
, listUsers_maxResults
- The maximum number of results to return in a single call.
$sel:organizationId:ListUsers'
, listUsers_organizationId
- The identifier for the organization under which the users exist.
Request Lenses
listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #
The maximum number of results to return in a single call.
listUsers_organizationId :: Lens' ListUsers Text Source #
The identifier for the organization under which the users exist.
Destructuring the Response
data ListUsersResponse Source #
See: newListUsersResponse
smart constructor.
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:users:ListUsersResponse'
, listUsersResponse_users
- The overview of users for an organization.
$sel:nextToken:ListUsers'
, listUsersResponse_nextToken
- The token to use to retrieve the next page of results. This value is
`null` when there are no more results to return.
$sel:httpStatus:ListUsersResponse'
, listUsersResponse_httpStatus
- The response's http status code.
Response Lenses
listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User]) Source #
The overview of users for an organization.
listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.
listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #
The response's http status code.