amazonka-kms-1.3.6: Amazon Key Management Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.ListAliases

Contents

Description

Lists all of the key aliases in the account.

See: AWS API Reference for ListAliases.

Synopsis

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:

Request Lenses

laMarker :: Lens' ListAliases (Maybe Text) Source

Use this parameter only when paginating results and only in a subsequent request after you've received a response with truncated results. Set it to the value of NextMarker from the response you just received.

laLimit :: Lens' ListAliases (Maybe Natural) Source

When paginating results, specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the Truncated element in the response is set to true.

This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.

Destructuring the Response

listAliasesResponse Source

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:

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 use the Marker parameter to make a subsequent pagination request to retrieve more items in the list.

larsAliases :: Lens' ListAliasesResponse [AliasListEntry] Source

A list of key aliases in the user's account.

larsNextMarker :: Lens' ListAliasesResponse (Maybe Text) Source

When Truncated is true, this value is present and contains the value to use for the Marker parameter in a subsequent pagination request.