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 available user accounts in FinSpace.
This operation returns paginated results.
Synopsis
- data ListUsers = ListUsers' {
- nextToken :: Maybe Text
- maxResults :: Natural
- newListUsers :: Natural -> ListUsers
- listUsers_nextToken :: Lens' ListUsers (Maybe Text)
- listUsers_maxResults :: Lens' ListUsers Natural
- data ListUsersResponse = ListUsersResponse' {}
- newListUsersResponse :: Int -> ListUsersResponse
- listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User])
- 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:
ListUsers
, listUsers_nextToken
- A token that indicates where a results page should begin.
$sel:maxResults:ListUsers'
, listUsers_maxResults
- The maximum number of results per page.
Request Lenses
listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #
A token that indicates where a results page should begin.
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:
ListUsers
, listUsersResponse_nextToken
- A token that indicates where a results page should begin.
$sel:users:ListUsersResponse'
, listUsersResponse_users
- A list of all the user accounts.
$sel:httpStatus:ListUsersResponse'
, listUsersResponse_httpStatus
- The response's http status code.
Response Lenses
listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #
A token that indicates where a results page should begin.
listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User]) Source #
A list of all the user accounts.
listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #
The response's http status code.