| 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.CognitoIdentityProvider.ListUsersInGroup
Description
Lists the users in the specified group.
Requires developer credentials.
Synopsis
- listUsersInGroup :: Text -> Text -> ListUsersInGroup
- data ListUsersInGroup
- luigNextToken :: Lens' ListUsersInGroup (Maybe Text)
- luigLimit :: Lens' ListUsersInGroup (Maybe Natural)
- luigUserPoolId :: Lens' ListUsersInGroup Text
- luigGroupName :: Lens' ListUsersInGroup Text
- listUsersInGroupResponse :: Int -> ListUsersInGroupResponse
- data ListUsersInGroupResponse
- luigrsUsers :: Lens' ListUsersInGroupResponse [UserType]
- luigrsNextToken :: Lens' ListUsersInGroupResponse (Maybe Text)
- luigrsResponseStatus :: Lens' ListUsersInGroupResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ListUsersInGroup |
Creates a value of ListUsersInGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
luigNextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.luigLimit- The limit of the request to list users.luigUserPoolId- The user pool ID for the user pool.luigGroupName- The name of the group.
data ListUsersInGroup Source #
See: listUsersInGroup smart constructor.
Instances
Request Lenses
luigNextToken :: Lens' ListUsersInGroup (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
luigUserPoolId :: Lens' ListUsersInGroup Text Source #
The user pool ID for the user pool.
luigGroupName :: Lens' ListUsersInGroup Text Source #
The name of the group.
Destructuring the Response
listUsersInGroupResponse Source #
Arguments
| :: Int | |
| -> ListUsersInGroupResponse |
Creates a value of ListUsersInGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
luigrsUsers- The users returned in the request to list users.luigrsNextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.luigrsResponseStatus- -- | The response status code.
data ListUsersInGroupResponse Source #
See: listUsersInGroupResponse smart constructor.
Instances
Response Lenses
luigrsUsers :: Lens' ListUsersInGroupResponse [UserType] Source #
The users returned in the request to list users.
luigrsNextToken :: Lens' ListUsersInGroupResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
luigrsResponseStatus :: Lens' ListUsersInGroupResponse Int Source #
- - | The response status code.