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

Copyright(c) 2013-2016 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.ListKeys

Contents

Description

Lists the customer master keys.

This operation returns paginated results.

Synopsis

Creating a Request

listKeys :: ListKeys Source #

Creates a value of ListKeys with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListKeys Source #

See: listKeys smart constructor.

Instances

Eq ListKeys Source # 
Data ListKeys Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListKeys -> c ListKeys #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListKeys #

toConstr :: ListKeys -> Constr #

dataTypeOf :: ListKeys -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListKeys) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListKeys) #

gmapT :: (forall b. Data b => b -> b) -> ListKeys -> ListKeys #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListKeys -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListKeys -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListKeys -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListKeys -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListKeys -> m ListKeys #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListKeys -> m ListKeys #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListKeys -> m ListKeys #

Read ListKeys Source # 
Show ListKeys Source # 
Generic ListKeys Source # 

Associated Types

type Rep ListKeys :: * -> * #

Methods

from :: ListKeys -> Rep ListKeys x #

to :: Rep ListKeys x -> ListKeys #

Hashable ListKeys Source # 

Methods

hashWithSalt :: Int -> ListKeys -> Int #

hash :: ListKeys -> Int #

NFData ListKeys Source # 

Methods

rnf :: ListKeys -> () #

AWSPager ListKeys Source # 
AWSRequest ListKeys Source # 
ToPath ListKeys Source # 
ToHeaders ListKeys Source # 

Methods

toHeaders :: ListKeys -> [Header] #

ToQuery ListKeys Source # 
ToJSON ListKeys Source # 

Methods

toJSON :: ListKeys -> Value #

toEncoding :: ListKeys -> Encoding #

type Rep ListKeys Source # 
type Rep ListKeys = D1 (MetaData "ListKeys" "Network.AWS.KMS.ListKeys" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "ListKeys'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lkMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lkLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListKeys Source # 

Request Lenses

lkMarker :: Lens' ListKeys (Maybe Text) Source #

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

lkLimit :: Lens' ListKeys (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 1000, inclusive. If you do not include a value, it defaults to 100.

Destructuring the Response

listKeysResponse Source #

Creates a value of ListKeysResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListKeysResponse Source #

See: listKeysResponse smart constructor.

Instances

Eq ListKeysResponse Source # 
Data ListKeysResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListKeysResponse -> c ListKeysResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListKeysResponse #

toConstr :: ListKeysResponse -> Constr #

dataTypeOf :: ListKeysResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListKeysResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListKeysResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListKeysResponse -> ListKeysResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListKeysResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListKeysResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListKeysResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListKeysResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListKeysResponse -> m ListKeysResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListKeysResponse -> m ListKeysResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListKeysResponse -> m ListKeysResponse #

Read ListKeysResponse Source # 
Show ListKeysResponse Source # 
Generic ListKeysResponse Source # 
NFData ListKeysResponse Source # 

Methods

rnf :: ListKeysResponse -> () #

type Rep ListKeysResponse Source # 
type Rep ListKeysResponse = D1 (MetaData "ListKeysResponse" "Network.AWS.KMS.ListKeys" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "ListKeysResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lkrsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lkrsKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyListEntry])))) ((:*:) (S1 (MetaSel (Just Symbol "_lkrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lkrsTruncated :: Lens' ListKeysResponse (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.

lkrsNextMarker :: Lens' ListKeysResponse (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.

lkrsResponseStatus :: Lens' ListKeysResponse Int Source #

The response status code.