| 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 | 
Network.AWS.KMS.ListAliases
Description
Lists all of the key aliases in the account.
See: AWS API Reference for ListAliases.
- listAliases :: ListAliases
- data ListAliases
- laMarker :: Lens' ListAliases (Maybe Text)
- laLimit :: Lens' ListAliases (Maybe Natural)
- listAliasesResponse :: Int -> ListAliasesResponse
- data ListAliasesResponse
- larsTruncated :: Lens' ListAliasesResponse (Maybe Bool)
- larsAliases :: Lens' ListAliasesResponse [AliasListEntry]
- larsNextMarker :: Lens' ListAliasesResponse (Maybe Text)
- larsStatus :: Lens' ListAliasesResponse Int
Creating a Request
listAliases :: ListAliases Source
Creates a value of ListAliases with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAliases Source
See: listAliases smart constructor.
Instances
Request Lenses
laMarker :: Lens' ListAliases (Maybe Text) Source
Use this parameter when paginating results, and only in a subsequent
 request after you've received a response where the results are
 truncated. Set it to the value of the NextMarker element in the
 response you just received.
laLimit :: Lens' ListAliases (Maybe Natural) Source
Specify this parameter when paginating results to indicate the maximum
 number of aliases you want in each response. If there are additional
 aliases beyond the maximum you specify, the Truncated response element
 will be set to 'true.'
Destructuring the Response
Arguments
| :: Int | |
| -> ListAliasesResponse | 
Creates a value of ListAliasesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAliasesResponse Source
See: listAliasesResponse smart constructor.
Response Lenses
larsTruncated :: Lens' ListAliasesResponse (Maybe Bool) Source
A flag that indicates whether there are more items in the list. If your
 results were truncated, you can make a subsequent pagination request
 using the Marker request parameter to retrieve more aliases in the
 list.
larsAliases :: Lens' ListAliasesResponse [AliasListEntry] Source
A list of key aliases in the user's account.
larsNextMarker :: Lens' ListAliasesResponse (Maybe Text) Source
If Truncated is true, this value is present and contains the value to
 use for the Marker request parameter in a subsequent pagination
 request.
larsStatus :: Lens' ListAliasesResponse Int Source
The response status code.