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 |
Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
This action is throttled at one request per second.
See: AWS API Reference for ListIdentities.
This operation returns paginated results.
- listIdentities :: ListIdentities
- data ListIdentities
- liIdentityType :: Lens' ListIdentities (Maybe IdentityType)
- liNextToken :: Lens' ListIdentities (Maybe Text)
- liMaxItems :: Lens' ListIdentities (Maybe Int)
- listIdentitiesResponse :: Int -> ListIdentitiesResponse
- data ListIdentitiesResponse
- lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text)
- lirsStatus :: Lens' ListIdentitiesResponse Int
- lirsIdentities :: Lens' ListIdentitiesResponse [Text]
Creating a Request
listIdentities :: ListIdentities Source
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
Represents a request instructing the service to list all identities for the AWS Account.
See: listIdentities
smart constructor.
Request Lenses
liIdentityType :: Lens' ListIdentities (Maybe IdentityType) Source
The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
liNextToken :: Lens' ListIdentities (Maybe Text) Source
The token to use for pagination.
liMaxItems :: Lens' ListIdentities (Maybe Int) Source
The maximum number of identities per page. Possible values are 1-1000 inclusive.
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
Represents a list of all verified identities for the AWS Account.
See: listIdentitiesResponse
smart constructor.
Response Lenses
lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text) Source
The token used for pagination.
lirsStatus :: Lens' ListIdentitiesResponse Int Source
The response status code.
lirsIdentities :: Lens' ListIdentitiesResponse [Text] Source
A list of identities.