Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the identities in a pool.
You must use AWS Developer credentials to call this API.
See: AWS API Reference for ListIdentities.
- listIdentities :: Text -> Natural -> ListIdentities
- data ListIdentities
- liHideDisabled :: Lens' ListIdentities (Maybe Bool)
- liNextToken :: Lens' ListIdentities (Maybe Text)
- liIdentityPoolId :: Lens' ListIdentities Text
- liMaxResults :: Lens' ListIdentities Natural
- listIdentitiesResponse :: Int -> ListIdentitiesResponse
- data ListIdentitiesResponse
- lirsIdentityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)
- lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text)
- lirsIdentities :: Lens' ListIdentitiesResponse [IdentityDescription]
- lirsStatus :: Lens' ListIdentitiesResponse Int
Creating a Request
Creates a value of ListIdentities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListIdentities Source
Input to the ListIdentities action.
See: listIdentities
smart constructor.
Request Lenses
liHideDisabled :: 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.
liNextToken :: Lens' ListIdentities (Maybe Text) Source
A pagination token.
liIdentityPoolId :: Lens' ListIdentities Text Source
An identity pool ID in the format REGION:GUID.
liMaxResults :: Lens' ListIdentities Natural Source
The maximum number of identities to return.
Destructuring the Response
Creates a value of ListIdentitiesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListIdentitiesResponse Source
The response to a ListIdentities request.
See: listIdentitiesResponse
smart constructor.
Response Lenses
lirsIdentityPoolId :: Lens' ListIdentitiesResponse (Maybe Text) Source
An identity pool ID in the format REGION:GUID.
lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text) Source
A pagination token.
lirsIdentities :: Lens' ListIdentitiesResponse [IdentityDescription] Source
An object containing a set of identities and associated mappings.
lirsStatus :: Lens' ListIdentitiesResponse Int Source
The response status code.