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