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 |
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_identityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)
- listIdentitiesResponse_nextToken :: Lens' ListIdentitiesResponse (Maybe Text)
- listIdentitiesResponse_identities :: Lens' ListIdentitiesResponse (Maybe [IdentityDescription])
- listIdentitiesResponse_httpStatus :: Lens' ListIdentitiesResponse Int
Creating a Request
data ListIdentities Source #
Input to the ListIdentities action.
See: newListIdentities
smart constructor.
ListIdentities' | |
|
Instances
:: 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.
$sel:nextToken:ListIdentities'
, listIdentities_nextToken
- A pagination token.
$sel:identityPoolId: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.
ListIdentitiesResponse' | |
|
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:identityPoolId:ListIdentities'
, listIdentitiesResponse_identityPoolId
- An identity pool ID in the format REGION:GUID.
$sel:nextToken:ListIdentities'
, listIdentitiesResponse_nextToken
- A pagination token.
$sel:identities:ListIdentitiesResponse'
, listIdentitiesResponse_identities
- An object containing a set of identities and associated mappings.
$sel:httpStatus:ListIdentitiesResponse'
, listIdentitiesResponse_httpStatus
- The response's http status code.
Response Lenses
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_identities :: Lens' ListIdentitiesResponse (Maybe [IdentityDescription]) Source #
An object containing a set of identities and associated mappings.
listIdentitiesResponse_httpStatus :: Lens' ListIdentitiesResponse Int Source #
The response's http status code.