Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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
- data ListIdentityPoolUsage = ListIdentityPoolUsage' {}
- newListIdentityPoolUsage :: ListIdentityPoolUsage
- listIdentityPoolUsage_maxResults :: Lens' ListIdentityPoolUsage (Maybe Int)
- listIdentityPoolUsage_nextToken :: Lens' ListIdentityPoolUsage (Maybe Text)
- data ListIdentityPoolUsageResponse = ListIdentityPoolUsageResponse' {
- count :: Maybe Int
- identityPoolUsages :: Maybe [IdentityPoolUsage]
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- httpStatus :: Int
- newListIdentityPoolUsageResponse :: Int -> ListIdentityPoolUsageResponse
- listIdentityPoolUsageResponse_count :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
- listIdentityPoolUsageResponse_identityPoolUsages :: Lens' ListIdentityPoolUsageResponse (Maybe [IdentityPoolUsage])
- listIdentityPoolUsageResponse_maxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int)
- listIdentityPoolUsageResponse_nextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text)
- 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:
ListIdentityPoolUsage
, listIdentityPoolUsage_maxResults
- The maximum number of results to be returned.
ListIdentityPoolUsage
, listIdentityPoolUsage_nextToken
- A pagination token for obtaining the next page of results.
Request Lenses
listIdentityPoolUsage_maxResults :: Lens' ListIdentityPoolUsage (Maybe Int) Source #
The maximum number of results to be returned.
listIdentityPoolUsage_nextToken :: Lens' ListIdentityPoolUsage (Maybe Text) Source #
A pagination token for obtaining the next page of results.
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:count:ListIdentityPoolUsageResponse'
, listIdentityPoolUsageResponse_count
- Total number of identities for the identity pool.
$sel:identityPoolUsages:ListIdentityPoolUsageResponse'
, listIdentityPoolUsageResponse_identityPoolUsages
- Usage information for the identity pools.
ListIdentityPoolUsage
, listIdentityPoolUsageResponse_maxResults
- The maximum number of results to be returned.
ListIdentityPoolUsage
, listIdentityPoolUsageResponse_nextToken
- A pagination token for obtaining the next page of results.
$sel:httpStatus:ListIdentityPoolUsageResponse'
, listIdentityPoolUsageResponse_httpStatus
- The response's http status code.
Response Lenses
listIdentityPoolUsageResponse_count :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #
Total number of identities for the identity pool.
listIdentityPoolUsageResponse_identityPoolUsages :: Lens' ListIdentityPoolUsageResponse (Maybe [IdentityPoolUsage]) Source #
Usage information for the identity pools.
listIdentityPoolUsageResponse_maxResults :: Lens' ListIdentityPoolUsageResponse (Maybe Int) Source #
The maximum number of results to be returned.
listIdentityPoolUsageResponse_nextToken :: Lens' ListIdentityPoolUsageResponse (Maybe Text) Source #
A pagination token for obtaining the next page of results.
listIdentityPoolUsageResponse_httpStatus :: Lens' ListIdentityPoolUsageResponse Int Source #
The response's http status code.