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 all of the Cognito identity pools registered for your account.
You must use AWS Developer credentials to call this API.
This operation returns paginated results.
Synopsis
- data ListIdentityPools = ListIdentityPools' {
- nextToken :: Maybe Text
- maxResults :: Natural
- newListIdentityPools :: Natural -> ListIdentityPools
- listIdentityPools_nextToken :: Lens' ListIdentityPools (Maybe Text)
- listIdentityPools_maxResults :: Lens' ListIdentityPools Natural
- data ListIdentityPoolsResponse = ListIdentityPoolsResponse' {}
- newListIdentityPoolsResponse :: Int -> ListIdentityPoolsResponse
- listIdentityPoolsResponse_identityPools :: Lens' ListIdentityPoolsResponse (Maybe [IdentityPoolShortDescription])
- listIdentityPoolsResponse_nextToken :: Lens' ListIdentityPoolsResponse (Maybe Text)
- listIdentityPoolsResponse_httpStatus :: Lens' ListIdentityPoolsResponse Int
Creating a Request
data ListIdentityPools Source #
Input to the ListIdentityPools action.
See: newListIdentityPools
smart constructor.
ListIdentityPools' | |
|
Instances
Create a value of ListIdentityPools
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:ListIdentityPools'
, listIdentityPools_nextToken
- A pagination token.
$sel:maxResults:ListIdentityPools'
, listIdentityPools_maxResults
- The maximum number of identities to return.
Request Lenses
listIdentityPools_nextToken :: Lens' ListIdentityPools (Maybe Text) Source #
A pagination token.
listIdentityPools_maxResults :: Lens' ListIdentityPools Natural Source #
The maximum number of identities to return.
Destructuring the Response
data ListIdentityPoolsResponse Source #
The result of a successful ListIdentityPools action.
See: newListIdentityPoolsResponse
smart constructor.
ListIdentityPoolsResponse' | |
|
Instances
newListIdentityPoolsResponse Source #
Create a value of ListIdentityPoolsResponse
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:identityPools:ListIdentityPoolsResponse'
, listIdentityPoolsResponse_identityPools
- The identity pools returned by the ListIdentityPools action.
$sel:nextToken:ListIdentityPools'
, listIdentityPoolsResponse_nextToken
- A pagination token.
$sel:httpStatus:ListIdentityPoolsResponse'
, listIdentityPoolsResponse_httpStatus
- The response's http status code.
Response Lenses
listIdentityPoolsResponse_identityPools :: Lens' ListIdentityPoolsResponse (Maybe [IdentityPoolShortDescription]) Source #
The identity pools returned by the ListIdentityPools action.
listIdentityPoolsResponse_nextToken :: Lens' ListIdentityPoolsResponse (Maybe Text) Source #
A pagination token.
listIdentityPoolsResponse_httpStatus :: Lens' ListIdentityPoolsResponse Int Source #
The response's http status code.