| 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 |
Amazonka.CognitoIdentity.ListIdentities
Description
Lists the identities in an identity pool.
You must use AWS Developer credentials to call this API.
Synopsis
- data ListIdentities = ListIdentities' {}
- newListIdentities :: Text -> Natural -> ListIdentities
- listIdentities_hideDisabled :: Lens' ListIdentities (Maybe Bool)
- listIdentities_nextToken :: Lens' ListIdentities (Maybe Text)
- listIdentities_identityPoolId :: Lens' ListIdentities Text
- listIdentities_maxResults :: Lens' ListIdentities Natural
- data ListIdentitiesResponse = ListIdentitiesResponse' {}
- newListIdentitiesResponse :: Int -> ListIdentitiesResponse
- listIdentitiesResponse_identities :: Lens' ListIdentitiesResponse (Maybe [IdentityDescription])
- listIdentitiesResponse_identityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)
- listIdentitiesResponse_nextToken :: Lens' ListIdentitiesResponse (Maybe Text)
- listIdentitiesResponse_httpStatus :: Lens' ListIdentitiesResponse Int
Creating a Request
data ListIdentities Source #
Input to the ListIdentities action.
See: newListIdentities smart constructor.
Constructors
| ListIdentities' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Natural | |
| -> ListIdentities |
Create a value of ListIdentities 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:hideDisabled:ListIdentities', listIdentities_hideDisabled - An optional boolean parameter that allows you to hide disabled
identities. If omitted, the ListIdentities API will include disabled
identities in the response.
ListIdentities, listIdentities_nextToken - A pagination token.
ListIdentities, listIdentities_identityPoolId - An identity pool ID in the format REGION:GUID.
$sel:maxResults:ListIdentities', listIdentities_maxResults - The maximum number of identities to return.
Request Lenses
listIdentities_hideDisabled :: Lens' ListIdentities (Maybe Bool) Source #
An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response.
listIdentities_nextToken :: Lens' ListIdentities (Maybe Text) Source #
A pagination token.
listIdentities_identityPoolId :: Lens' ListIdentities Text Source #
An identity pool ID in the format REGION:GUID.
listIdentities_maxResults :: Lens' ListIdentities Natural Source #
The maximum number of identities to return.
Destructuring the Response
data ListIdentitiesResponse Source #
The response to a ListIdentities request.
See: newListIdentitiesResponse smart constructor.
Constructors
| ListIdentitiesResponse' | |
Fields
| |
Instances
newListIdentitiesResponse Source #
Create a value of ListIdentitiesResponse 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:identities:ListIdentitiesResponse', listIdentitiesResponse_identities - An object containing a set of identities and associated mappings.
ListIdentities, listIdentitiesResponse_identityPoolId - An identity pool ID in the format REGION:GUID.
ListIdentities, listIdentitiesResponse_nextToken - A pagination token.
$sel:httpStatus:ListIdentitiesResponse', listIdentitiesResponse_httpStatus - The response's http status code.
Response Lenses
listIdentitiesResponse_identities :: Lens' ListIdentitiesResponse (Maybe [IdentityDescription]) Source #
An object containing a set of identities and associated mappings.
listIdentitiesResponse_identityPoolId :: Lens' ListIdentitiesResponse (Maybe Text) Source #
An identity pool ID in the format REGION:GUID.
listIdentitiesResponse_nextToken :: Lens' ListIdentitiesResponse (Maybe Text) Source #
A pagination token.
listIdentitiesResponse_httpStatus :: Lens' ListIdentitiesResponse Int Source #
The response's http status code.