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 member users in a group.
Synopsis
- data ListGroupMemberships = ListGroupMemberships' {}
- newListGroupMemberships :: Text -> Text -> Text -> ListGroupMemberships
- listGroupMemberships_nextToken :: Lens' ListGroupMemberships (Maybe Text)
- listGroupMemberships_maxResults :: Lens' ListGroupMemberships (Maybe Natural)
- listGroupMemberships_groupName :: Lens' ListGroupMemberships Text
- listGroupMemberships_awsAccountId :: Lens' ListGroupMemberships Text
- listGroupMemberships_namespace :: Lens' ListGroupMemberships Text
- data ListGroupMembershipsResponse = ListGroupMembershipsResponse' {}
- newListGroupMembershipsResponse :: Int -> ListGroupMembershipsResponse
- listGroupMembershipsResponse_requestId :: Lens' ListGroupMembershipsResponse (Maybe Text)
- listGroupMembershipsResponse_nextToken :: Lens' ListGroupMembershipsResponse (Maybe Text)
- listGroupMembershipsResponse_groupMemberList :: Lens' ListGroupMembershipsResponse (Maybe [GroupMember])
- listGroupMembershipsResponse_status :: Lens' ListGroupMembershipsResponse Int
Creating a Request
data ListGroupMemberships Source #
See: newListGroupMemberships
smart constructor.
ListGroupMemberships' | |
|
Instances
newListGroupMemberships Source #
:: Text | |
-> Text | |
-> Text | |
-> ListGroupMemberships |
Create a value of ListGroupMemberships
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:ListGroupMemberships'
, listGroupMemberships_nextToken
- A pagination token that can be used in a subsequent request.
$sel:maxResults:ListGroupMemberships'
, listGroupMemberships_maxResults
- The maximum number of results to return from this request.
$sel:groupName:ListGroupMemberships'
, listGroupMemberships_groupName
- The name of the group that you want to see a membership list of.
$sel:awsAccountId:ListGroupMemberships'
, listGroupMemberships_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:ListGroupMemberships'
, listGroupMemberships_namespace
- The namespace. Currently, you should set this to default
.
Request Lenses
listGroupMemberships_nextToken :: Lens' ListGroupMemberships (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listGroupMemberships_maxResults :: Lens' ListGroupMemberships (Maybe Natural) Source #
The maximum number of results to return from this request.
listGroupMemberships_groupName :: Lens' ListGroupMemberships Text Source #
The name of the group that you want to see a membership list of.
listGroupMemberships_awsAccountId :: Lens' ListGroupMemberships 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.
listGroupMemberships_namespace :: Lens' ListGroupMemberships Text Source #
The namespace. Currently, you should set this to default
.
Destructuring the Response
data ListGroupMembershipsResponse Source #
See: newListGroupMembershipsResponse
smart constructor.
Instances
newListGroupMembershipsResponse Source #
Create a value of ListGroupMembershipsResponse
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:ListGroupMembershipsResponse'
, listGroupMembershipsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:nextToken:ListGroupMemberships'
, listGroupMembershipsResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:groupMemberList:ListGroupMembershipsResponse'
, listGroupMembershipsResponse_groupMemberList
- The list of the members of the group.
$sel:status:ListGroupMembershipsResponse'
, listGroupMembershipsResponse_status
- The HTTP status of the request.
Response Lenses
listGroupMembershipsResponse_requestId :: Lens' ListGroupMembershipsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listGroupMembershipsResponse_nextToken :: Lens' ListGroupMembershipsResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
listGroupMembershipsResponse_groupMemberList :: Lens' ListGroupMembershipsResponse (Maybe [GroupMember]) Source #
The list of the members of the group.
listGroupMembershipsResponse_status :: Lens' ListGroupMembershipsResponse Int Source #
The HTTP status of the request.