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 |
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
- data ListIdentityPoolUsage = ListIdentityPoolUsage' {}
- newListIdentityPoolUsage :: ListIdentityPoolUsage
- listIdentityPoolUsage_nextToken :: Lens' ListIdentityPoolUsage (Maybe Text)
- listIdentityPoolUsage_maxResults :: Lens' ListIdentityPoolUsage (Maybe Int)
- data ListIdentityPoolUsageResponse = ListIdentityPoolUsageResponse' {
- identityPoolUsages :: Maybe [IdentityPoolUsage]
- count :: Maybe Int
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- httpStatus :: Int
- newListIdentityPoolUsageResponse :: Int -> ListIdentityPoolUsageResponse
- listIdentityPoolUsageResponse_identityPoolUsages :: Lens' ListIdentityPoolUsageResponse (Maybe [IdentityPoolUsage])
- listIdentityPoolUsageResponse_count :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
- listIdentityPoolUsageResponse_nextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text)
- listIdentityPoolUsageResponse_maxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
- listIdentityPoolUsageResponse_httpStatus :: Lens' ListIdentityPoolUsageResponse Int
Creating a Request
data ListIdentityPoolUsage Source #
A request for usage information on an identity pool.
See: newListIdentityPoolUsage
smart constructor.
Instances
newListIdentityPoolUsage :: ListIdentityPoolUsage Source #
Create a value of ListIdentityPoolUsage
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:ListIdentityPoolUsage'
, listIdentityPoolUsage_nextToken
- A pagination token for obtaining the next page of results.
$sel:maxResults:ListIdentityPoolUsage'
, listIdentityPoolUsage_maxResults
- The maximum number of results to be returned.
Request Lenses
listIdentityPoolUsage_nextToken :: Lens' ListIdentityPoolUsage (Maybe Text) Source #
A pagination token for obtaining the next page of results.
listIdentityPoolUsage_maxResults :: Lens' ListIdentityPoolUsage (Maybe Int) Source #
The maximum number of results to be returned.
Destructuring the Response
data ListIdentityPoolUsageResponse Source #
Returned for a successful ListIdentityPoolUsage request.
See: newListIdentityPoolUsageResponse
smart constructor.
ListIdentityPoolUsageResponse' | |
|
Instances
newListIdentityPoolUsageResponse Source #
Create a value of ListIdentityPoolUsageResponse
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:identityPoolUsages:ListIdentityPoolUsageResponse'
, listIdentityPoolUsageResponse_identityPoolUsages
- Usage information for the identity pools.
$sel:count:ListIdentityPoolUsageResponse'
, listIdentityPoolUsageResponse_count
- Total number of identities for the identity pool.
$sel:nextToken:ListIdentityPoolUsage'
, listIdentityPoolUsageResponse_nextToken
- A pagination token for obtaining the next page of results.
$sel:maxResults:ListIdentityPoolUsage'
, listIdentityPoolUsageResponse_maxResults
- The maximum number of results to be returned.
$sel:httpStatus:ListIdentityPoolUsageResponse'
, listIdentityPoolUsageResponse_httpStatus
- The response's http status code.
Response Lenses
listIdentityPoolUsageResponse_identityPoolUsages :: Lens' ListIdentityPoolUsageResponse (Maybe [IdentityPoolUsage]) Source #
Usage information for the identity pools.
listIdentityPoolUsageResponse_count :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #
Total number of identities for the identity pool.
listIdentityPoolUsageResponse_nextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text) Source #
A pagination token for obtaining the next page of results.
listIdentityPoolUsageResponse_maxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #
The maximum number of results to be returned.
listIdentityPoolUsageResponse_httpStatus :: Lens' ListIdentityPoolUsageResponse Int Source #
The response's http status code.