| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WorkMail.ListGroupMembers
Description
Returns an overview of the members of a group.
This operation returns paginated results.
Synopsis
- listGroupMembers :: Text -> Text -> ListGroupMembers
- data ListGroupMembers
- lgmNextToken :: Lens' ListGroupMembers (Maybe Text)
- lgmMaxResults :: Lens' ListGroupMembers (Maybe Natural)
- lgmOrganizationId :: Lens' ListGroupMembers Text
- lgmGroupId :: Lens' ListGroupMembers Text
- listGroupMembersResponse :: Int -> ListGroupMembersResponse
- data ListGroupMembersResponse
- lgmrsMembers :: Lens' ListGroupMembersResponse [Member]
- lgmrsNextToken :: Lens' ListGroupMembersResponse (Maybe Text)
- lgmrsResponseStatus :: Lens' ListGroupMembersResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ListGroupMembers |
Creates a value of ListGroupMembers with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgmNextToken- The token to use to retrieve the next page of results. The first call does not contain any tokens.lgmMaxResults- The maximum number of results to return in a single call.lgmOrganizationId- The identifier for the organization under which the group exists.lgmGroupId- The identifier for the group to which the members are associated.
data ListGroupMembers Source #
See: listGroupMembers smart constructor.
Instances
Request Lenses
lgmNextToken :: Lens' ListGroupMembers (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
lgmMaxResults :: Lens' ListGroupMembers (Maybe Natural) Source #
The maximum number of results to return in a single call.
lgmOrganizationId :: Lens' ListGroupMembers Text Source #
The identifier for the organization under which the group exists.
lgmGroupId :: Lens' ListGroupMembers Text Source #
The identifier for the group to which the members are associated.
Destructuring the Response
listGroupMembersResponse Source #
Arguments
| :: Int | |
| -> ListGroupMembersResponse |
Creates a value of ListGroupMembersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgmrsMembers- The members associated to the group.lgmrsNextToken- The token to use to retrieve the next page of results. The first call does not contain any tokens.lgmrsResponseStatus- -- | The response status code.
data ListGroupMembersResponse Source #
See: listGroupMembersResponse smart constructor.
Instances
Response Lenses
lgmrsMembers :: Lens' ListGroupMembersResponse [Member] Source #
The members associated to the group.
lgmrsNextToken :: Lens' ListGroupMembersResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
lgmrsResponseStatus :: Lens' ListGroupMembersResponse Int Source #
- - | The response status code.