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 |
Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
Synopsis
- data ListUserGroups = ListUserGroups' {}
- newListUserGroups :: Text -> Text -> Text -> ListUserGroups
- listUserGroups_nextToken :: Lens' ListUserGroups (Maybe Text)
- listUserGroups_maxResults :: Lens' ListUserGroups (Maybe Natural)
- listUserGroups_userName :: Lens' ListUserGroups Text
- listUserGroups_awsAccountId :: Lens' ListUserGroups Text
- listUserGroups_namespace :: Lens' ListUserGroups Text
- data ListUserGroupsResponse = ListUserGroupsResponse' {}
- newListUserGroupsResponse :: Int -> ListUserGroupsResponse
- listUserGroupsResponse_requestId :: Lens' ListUserGroupsResponse (Maybe Text)
- listUserGroupsResponse_groupList :: Lens' ListUserGroupsResponse (Maybe [Group])
- listUserGroupsResponse_nextToken :: Lens' ListUserGroupsResponse (Maybe Text)
- listUserGroupsResponse_status :: Lens' ListUserGroupsResponse Int
Creating a Request
data ListUserGroups Source #
See: newListUserGroups
smart constructor.
ListUserGroups' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> ListUserGroups |
Create a value of ListUserGroups
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:ListUserGroups'
, listUserGroups_nextToken
- A pagination token that can be used in a subsequent request.
$sel:maxResults:ListUserGroups'
, listUserGroups_maxResults
- The maximum number of results to return from this request.
$sel:userName:ListUserGroups'
, listUserGroups_userName
- The Amazon QuickSight user name that you want to list group memberships
for.
$sel:awsAccountId:ListUserGroups'
, listUserGroups_awsAccountId
- The Amazon Web Services account ID that the user is in. Currently, you
use the ID for the Amazon Web Services account that contains your Amazon
QuickSight account.
$sel:namespace:ListUserGroups'
, listUserGroups_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
listUserGroups_nextToken :: Lens' ListUserGroups (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listUserGroups_maxResults :: Lens' ListUserGroups (Maybe Natural) Source #
The maximum number of results to return from this request.
listUserGroups_userName :: Lens' ListUserGroups Text Source #
The Amazon QuickSight user name that you want to list group memberships for.
listUserGroups_awsAccountId :: Lens' ListUserGroups Text Source #
The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
listUserGroups_namespace :: Lens' ListUserGroups Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data ListUserGroupsResponse Source #
See: newListUserGroupsResponse
smart constructor.
Instances
newListUserGroupsResponse Source #
Create a value of ListUserGroupsResponse
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:ListUserGroupsResponse'
, listUserGroupsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:groupList:ListUserGroupsResponse'
, listUserGroupsResponse_groupList
- The list of groups the user is a member of.
$sel:nextToken:ListUserGroups'
, listUserGroupsResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:status:ListUserGroupsResponse'
, listUserGroupsResponse_status
- The HTTP status of the request.
Response Lenses
listUserGroupsResponse_requestId :: Lens' ListUserGroupsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listUserGroupsResponse_groupList :: Lens' ListUserGroupsResponse (Maybe [Group]) Source #
The list of groups the user is a member of.
listUserGroupsResponse_nextToken :: Lens' ListUserGroupsResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listUserGroupsResponse_status :: Lens' ListUserGroupsResponse Int Source #
The HTTP status of the request.