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 |
Gets a list of identity pools registered with Cognito.
ListIdentityPoolUsage can only be called with developer credentials. You cannot make this API call with the temporary user credentials provided by Cognito Identity.
Synopsis
- listIdentityPoolUsage :: ListIdentityPoolUsage
- data ListIdentityPoolUsage
- lipuNextToken :: Lens' ListIdentityPoolUsage (Maybe Text)
- lipuMaxResults :: Lens' ListIdentityPoolUsage (Maybe Int)
- listIdentityPoolUsageResponse :: Int -> ListIdentityPoolUsageResponse
- data ListIdentityPoolUsageResponse
- lipursIdentityPoolUsages :: Lens' ListIdentityPoolUsageResponse [IdentityPoolUsage]
- lipursCount :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
- lipursNextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text)
- lipursMaxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
- lipursResponseStatus :: Lens' ListIdentityPoolUsageResponse Int
Creating a Request
listIdentityPoolUsage :: ListIdentityPoolUsage Source #
Creates a value of ListIdentityPoolUsage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lipuNextToken
- A pagination token for obtaining the next page of results.lipuMaxResults
- The maximum number of results to be returned.
data ListIdentityPoolUsage Source #
A request for usage information on an identity pool.
See: listIdentityPoolUsage
smart constructor.
Instances
Request Lenses
lipuNextToken :: Lens' ListIdentityPoolUsage (Maybe Text) Source #
A pagination token for obtaining the next page of results.
lipuMaxResults :: Lens' ListIdentityPoolUsage (Maybe Int) Source #
The maximum number of results to be returned.
Destructuring the Response
listIdentityPoolUsageResponse Source #
Creates a value of ListIdentityPoolUsageResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lipursIdentityPoolUsages
- Usage information for the identity pools.lipursCount
- Total number of identities for the identity pool.lipursNextToken
- A pagination token for obtaining the next page of results.lipursMaxResults
- The maximum number of results to be returned.lipursResponseStatus
- -- | The response status code.
data ListIdentityPoolUsageResponse Source #
Returned for a successful ListIdentityPoolUsage request.
See: listIdentityPoolUsageResponse
smart constructor.
Instances
Response Lenses
lipursIdentityPoolUsages :: Lens' ListIdentityPoolUsageResponse [IdentityPoolUsage] Source #
Usage information for the identity pools.
lipursCount :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #
Total number of identities for the identity pool.
lipursNextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text) Source #
A pagination token for obtaining the next page of results.
lipursMaxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #
The maximum number of results to be returned.
lipursResponseStatus :: Lens' ListIdentityPoolUsageResponse Int Source #
- - | The response status code.