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 all user groups in Amazon QuickSight.
Synopsis
- data ListGroups = ListGroups' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- namespace :: Text
- newListGroups :: Text -> Text -> ListGroups
- listGroups_nextToken :: Lens' ListGroups (Maybe Text)
- listGroups_maxResults :: Lens' ListGroups (Maybe Natural)
- listGroups_awsAccountId :: Lens' ListGroups Text
- listGroups_namespace :: Lens' ListGroups Text
- data ListGroupsResponse = ListGroupsResponse' {}
- newListGroupsResponse :: Int -> ListGroupsResponse
- listGroupsResponse_requestId :: Lens' ListGroupsResponse (Maybe Text)
- listGroupsResponse_groupList :: Lens' ListGroupsResponse (Maybe [Group])
- listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text)
- listGroupsResponse_status :: Lens' ListGroupsResponse Int
Creating a Request
data ListGroups Source #
See: newListGroups
smart constructor.
ListGroups' | |
|
Instances
Create a value of ListGroups
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:ListGroups'
, listGroups_nextToken
- A pagination token that can be used in a subsequent request.
$sel:maxResults:ListGroups'
, listGroups_maxResults
- The maximum number of results to return.
$sel:awsAccountId:ListGroups'
, listGroups_awsAccountId
- The ID for the Amazon Web Services account that the group is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
$sel:namespace:ListGroups'
, listGroups_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
listGroups_nextToken :: Lens' ListGroups (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listGroups_maxResults :: Lens' ListGroups (Maybe Natural) Source #
The maximum number of results to return.
listGroups_awsAccountId :: Lens' ListGroups Text Source #
The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
listGroups_namespace :: Lens' ListGroups Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data ListGroupsResponse Source #
See: newListGroupsResponse
smart constructor.
Instances
newListGroupsResponse Source #
Create a value of ListGroupsResponse
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:ListGroupsResponse'
, listGroupsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:groupList:ListGroupsResponse'
, listGroupsResponse_groupList
- The list of the groups.
$sel:nextToken:ListGroups'
, listGroupsResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:status:ListGroupsResponse'
, listGroupsResponse_status
- The HTTP status of the request.
Response Lenses
listGroupsResponse_requestId :: Lens' ListGroupsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listGroupsResponse_groupList :: Lens' ListGroupsResponse (Maybe [Group]) Source #
The list of the groups.
listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listGroupsResponse_status :: Lens' ListGroupsResponse Int Source #
The HTTP status of the request.