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