Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns summaries of the organization's users.
This operation returns paginated results.
- listUsers :: Text -> ListUsers
- data ListUsers
- luNextToken :: Lens' ListUsers (Maybe Text)
- luMaxResults :: Lens' ListUsers (Maybe Natural)
- luOrganizationId :: Lens' ListUsers Text
- listUsersResponse :: Int -> ListUsersResponse
- data ListUsersResponse
- lursUsers :: Lens' ListUsersResponse [User]
- lursNextToken :: Lens' ListUsersResponse (Maybe Text)
- lursResponseStatus :: Lens' ListUsersResponse Int
Creating a Request
Creates a value of ListUsers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
luNextToken
- TBDluMaxResults
- The maximum number of results to return in a single call.luOrganizationId
- The identifier for the organization under which the users exist.
See: listUsers
smart constructor.
Request Lenses
luMaxResults :: Lens' ListUsers (Maybe Natural) Source #
The maximum number of results to return in a single call.
luOrganizationId :: Lens' ListUsers Text Source #
The identifier for the organization under which the users exist.
Destructuring the Response
Creates a value of ListUsersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lursUsers
- The overview of users for an organization.lursNextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.lursResponseStatus
- -- | The response status code.
data ListUsersResponse Source #
See: listUsersResponse
smart constructor.
Response Lenses
lursNextToken :: 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.
lursResponseStatus :: Lens' ListUsersResponse Int Source #
- - | The response status code.