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 user pools associated with an account.
This operation returns paginated results.
Synopsis
- data ListUserPools = ListUserPools' {
- nextToken :: Maybe Text
- maxResults :: Natural
- newListUserPools :: Natural -> ListUserPools
- listUserPools_nextToken :: Lens' ListUserPools (Maybe Text)
- listUserPools_maxResults :: Lens' ListUserPools Natural
- data ListUserPoolsResponse = ListUserPoolsResponse' {}
- newListUserPoolsResponse :: Int -> ListUserPoolsResponse
- listUserPoolsResponse_userPools :: Lens' ListUserPoolsResponse (Maybe [UserPoolDescriptionType])
- listUserPoolsResponse_nextToken :: Lens' ListUserPoolsResponse (Maybe Text)
- listUserPoolsResponse_httpStatus :: Lens' ListUserPoolsResponse Int
Creating a Request
data ListUserPools Source #
Represents the request to list user pools.
See: newListUserPools
smart constructor.
ListUserPools' | |
|
Instances
Create a value of ListUserPools
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:ListUserPools'
, listUserPools_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:maxResults:ListUserPools'
, listUserPools_maxResults
- The maximum number of results you want the request to return when
listing the user pools.
Request Lenses
listUserPools_nextToken :: Lens' ListUserPools (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.
listUserPools_maxResults :: Lens' ListUserPools Natural Source #
The maximum number of results you want the request to return when listing the user pools.
Destructuring the Response
data ListUserPoolsResponse Source #
Represents the response to list user pools.
See: newListUserPoolsResponse
smart constructor.
ListUserPoolsResponse' | |
|
Instances
newListUserPoolsResponse Source #
Create a value of ListUserPoolsResponse
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:userPools:ListUserPoolsResponse'
, listUserPoolsResponse_userPools
- The user pools from the response to list users.
$sel:nextToken:ListUserPools'
, listUserPoolsResponse_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:ListUserPoolsResponse'
, listUserPoolsResponse_httpStatus
- The response's http status code.
Response Lenses
listUserPoolsResponse_userPools :: Lens' ListUserPoolsResponse (Maybe [UserPoolDescriptionType]) Source #
The user pools from the response to list users.
listUserPoolsResponse_nextToken :: Lens' ListUserPoolsResponse (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.
listUserPoolsResponse_httpStatus :: Lens' ListUserPoolsResponse Int Source #
The response's http status code.