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 a list of all of the Amazon QuickSight users belonging to this account.
Synopsis
- data ListUsers = ListUsers' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- namespace :: Text
- newListUsers :: Text -> Text -> ListUsers
- listUsers_nextToken :: Lens' ListUsers (Maybe Text)
- listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
- listUsers_awsAccountId :: Lens' ListUsers Text
- listUsers_namespace :: Lens' ListUsers Text
- data ListUsersResponse = ListUsersResponse' {}
- newListUsersResponse :: Int -> ListUsersResponse
- listUsersResponse_requestId :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_userList :: Lens' ListUsersResponse (Maybe [User])
- listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_status :: 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
- A pagination token that can be used in a subsequent request.
$sel:maxResults:ListUsers'
, listUsers_maxResults
- The maximum number of results to return from this request.
$sel:awsAccountId:ListUsers'
, listUsers_awsAccountId
- The ID for the Amazon Web Services account that the user is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
$sel:namespace:ListUsers'
, listUsers_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #
The maximum number of results to return from this request.
listUsers_awsAccountId :: Lens' ListUsers Text Source #
The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
listUsers_namespace :: Lens' ListUsers Text Source #
The namespace. Currently, you should set this to default
.
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:requestId:ListUsersResponse'
, listUsersResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:userList:ListUsersResponse'
, listUsersResponse_userList
- The list of users.
$sel:nextToken:ListUsers'
, listUsersResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:status:ListUsersResponse'
, listUsersResponse_status
- The HTTP status of the request.
Response Lenses
listUsersResponse_requestId :: Lens' ListUsersResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listUsersResponse_userList :: Lens' ListUsersResponse (Maybe [User]) Source #
The list of users.
listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listUsersResponse_status :: Lens' ListUsersResponse Int Source #
The HTTP status of the request.