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 the users in the specified group.
Calling this action requires developer credentials.
This operation returns paginated results.
Synopsis
- data ListUsersInGroup = ListUsersInGroup' {}
- newListUsersInGroup :: Text -> Text -> ListUsersInGroup
- listUsersInGroup_nextToken :: Lens' ListUsersInGroup (Maybe Text)
- listUsersInGroup_limit :: Lens' ListUsersInGroup (Maybe Natural)
- listUsersInGroup_userPoolId :: Lens' ListUsersInGroup Text
- listUsersInGroup_groupName :: Lens' ListUsersInGroup Text
- data ListUsersInGroupResponse = ListUsersInGroupResponse' {}
- newListUsersInGroupResponse :: Int -> ListUsersInGroupResponse
- listUsersInGroupResponse_users :: Lens' ListUsersInGroupResponse (Maybe [UserType])
- listUsersInGroupResponse_nextToken :: Lens' ListUsersInGroupResponse (Maybe Text)
- listUsersInGroupResponse_httpStatus :: Lens' ListUsersInGroupResponse Int
Creating a Request
data ListUsersInGroup Source #
See: newListUsersInGroup
smart constructor.
ListUsersInGroup' | |
|
Instances
Create a value of ListUsersInGroup
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:ListUsersInGroup'
, listUsersInGroup_nextToken
- 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.
$sel:limit:ListUsersInGroup'
, listUsersInGroup_limit
- The limit of the request to list users.
$sel:userPoolId:ListUsersInGroup'
, listUsersInGroup_userPoolId
- The user pool ID for the user pool.
$sel:groupName:ListUsersInGroup'
, listUsersInGroup_groupName
- The name of the group.
Request Lenses
listUsersInGroup_nextToken :: 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.
listUsersInGroup_limit :: Lens' ListUsersInGroup (Maybe Natural) Source #
The limit of the request to list users.
listUsersInGroup_userPoolId :: Lens' ListUsersInGroup Text Source #
The user pool ID for the user pool.
listUsersInGroup_groupName :: Lens' ListUsersInGroup Text Source #
The name of the group.
Destructuring the Response
data ListUsersInGroupResponse Source #
See: newListUsersInGroupResponse
smart constructor.
Instances
newListUsersInGroupResponse Source #
Create a value of ListUsersInGroupResponse
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:users:ListUsersInGroupResponse'
, listUsersInGroupResponse_users
- The users returned in the request to list users.
$sel:nextToken:ListUsersInGroup'
, listUsersInGroupResponse_nextToken
- 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.
$sel:httpStatus:ListUsersInGroupResponse'
, listUsersInGroupResponse_httpStatus
- The response's http status code.
Response Lenses
listUsersInGroupResponse_users :: Lens' ListUsersInGroupResponse (Maybe [UserType]) Source #
The users returned in the request to list users.
listUsersInGroupResponse_nextToken :: 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.
listUsersInGroupResponse_httpStatus :: Lens' ListUsersInGroupResponse Int Source #
The response's http status code.