amazonka-cloudhsm-1.4.4: Amazon CloudHSM 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.CloudHSM.ListHSMs

Contents

Description

Retrieves the identifiers of all of the HSMs provisioned for the current customer.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.

Synopsis

Creating a Request

listHSMs :: ListHSMs Source #

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

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

data ListHSMs Source #

See: listHSMs smart constructor.

Instances

Eq ListHSMs Source # 
Data ListHSMs Source # 

Methods

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

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

toConstr :: ListHSMs -> Constr #

dataTypeOf :: ListHSMs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHSMs Source # 
Show ListHSMs Source # 
Generic ListHSMs Source # 

Associated Types

type Rep ListHSMs :: * -> * #

Methods

from :: ListHSMs -> Rep ListHSMs x #

to :: Rep ListHSMs x -> ListHSMs #

Hashable ListHSMs Source # 

Methods

hashWithSalt :: Int -> ListHSMs -> Int #

hash :: ListHSMs -> Int #

NFData ListHSMs Source # 

Methods

rnf :: ListHSMs -> () #

AWSRequest ListHSMs Source # 
ToPath ListHSMs Source # 
ToHeaders ListHSMs Source # 

Methods

toHeaders :: ListHSMs -> [Header] #

ToQuery ListHSMs Source # 
ToJSON ListHSMs Source # 

Methods

toJSON :: ListHSMs -> Value #

toEncoding :: ListHSMs -> Encoding #

type Rep ListHSMs Source # 
type Rep ListHSMs = D1 (MetaData "ListHSMs" "Network.AWS.CloudHSM.ListHSMs" "amazonka-cloudhsm-1.4.4-5UDiKNXrCCe4z3v7lgofBB" True) (C1 (MetaCons "ListHSMs'" PrefixI True) (S1 (MetaSel (Just Symbol "_lhsmNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListHSMs Source # 

Request Lenses

lhsmNextToken :: Lens' ListHSMs (Maybe Text) Source #

The NextToken value from a previous call to ListHsms. Pass null if this is the first call.

Destructuring the Response

listHSMsResponse Source #

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

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

data ListHSMsResponse Source #

Contains the output of the ListHsms operation.

See: listHSMsResponse smart constructor.

Instances

Eq ListHSMsResponse Source # 
Data ListHSMsResponse Source # 

Methods

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

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

toConstr :: ListHSMsResponse -> Constr #

dataTypeOf :: ListHSMsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHSMsResponse Source # 
Show ListHSMsResponse Source # 
Generic ListHSMsResponse Source # 
NFData ListHSMsResponse Source # 

Methods

rnf :: ListHSMsResponse -> () #

type Rep ListHSMsResponse Source # 
type Rep ListHSMsResponse = D1 (MetaData "ListHSMsResponse" "Network.AWS.CloudHSM.ListHSMs" "amazonka-cloudhsm-1.4.4-5UDiKNXrCCe4z3v7lgofBB" False) (C1 (MetaCons "ListHSMsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lhsmrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lhsmrsHSMList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lhsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lhsmrsNextToken :: Lens' ListHSMsResponse (Maybe Text) Source #

If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.

lhsmrsHSMList :: Lens' ListHSMsResponse [Text] Source #

The list of ARNs that identify the HSMs.