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 an overview of the members of a group. Users and groups can be members of a group.
This operation returns paginated results.
Synopsis
- data ListGroupMembers = ListGroupMembers' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- organizationId :: Text
- groupId :: Text
- newListGroupMembers :: Text -> Text -> ListGroupMembers
- listGroupMembers_maxResults :: Lens' ListGroupMembers (Maybe Natural)
- listGroupMembers_nextToken :: Lens' ListGroupMembers (Maybe Text)
- listGroupMembers_organizationId :: Lens' ListGroupMembers Text
- listGroupMembers_groupId :: Lens' ListGroupMembers Text
- data ListGroupMembersResponse = ListGroupMembersResponse' {}
- newListGroupMembersResponse :: Int -> ListGroupMembersResponse
- listGroupMembersResponse_members :: Lens' ListGroupMembersResponse (Maybe [Member])
- listGroupMembersResponse_nextToken :: Lens' ListGroupMembersResponse (Maybe Text)
- listGroupMembersResponse_httpStatus :: Lens' ListGroupMembersResponse Int
Creating a Request
data ListGroupMembers Source #
See: newListGroupMembers
smart constructor.
ListGroupMembers' | |
|
Instances
Create a value of ListGroupMembers
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:ListGroupMembers'
, listGroupMembers_maxResults
- The maximum number of results to return in a single call.
ListGroupMembers
, listGroupMembers_nextToken
- The token to use to retrieve the next page of results. The first call
does not contain any tokens.
ListGroupMembers
, listGroupMembers_organizationId
- The identifier for the organization under which the group exists.
$sel:groupId:ListGroupMembers'
, listGroupMembers_groupId
- The identifier for the group to which the members (users or groups) are
associated.
Request Lenses
listGroupMembers_maxResults :: Lens' ListGroupMembers (Maybe Natural) Source #
The maximum number of results to return in a single call.
listGroupMembers_nextToken :: Lens' ListGroupMembers (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
listGroupMembers_organizationId :: Lens' ListGroupMembers Text Source #
The identifier for the organization under which the group exists.
listGroupMembers_groupId :: Lens' ListGroupMembers Text Source #
The identifier for the group to which the members (users or groups) are associated.
Destructuring the Response
data ListGroupMembersResponse Source #
See: newListGroupMembersResponse
smart constructor.
Instances
newListGroupMembersResponse Source #
Create a value of ListGroupMembersResponse
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:members:ListGroupMembersResponse'
, listGroupMembersResponse_members
- The members associated to the group.
ListGroupMembers
, listGroupMembersResponse_nextToken
- The token to use to retrieve the next page of results. The first call
does not contain any tokens.
$sel:httpStatus:ListGroupMembersResponse'
, listGroupMembersResponse_httpStatus
- The response's http status code.
Response Lenses
listGroupMembersResponse_members :: Lens' ListGroupMembersResponse (Maybe [Member]) Source #
The members associated to the group.
listGroupMembersResponse_nextToken :: Lens' ListGroupMembersResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
listGroupMembersResponse_httpStatus :: Lens' ListGroupMembersResponse Int Source #
The response's http status code.