amazonka-cloudhsm-1.4.5: 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 #

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:

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

data ListHSMs #

See: listHSMs smart constructor.

Instances

Eq ListHSMs # 
Data ListHSMs # 

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 # 
Show ListHSMs # 
Generic ListHSMs # 

Associated Types

type Rep ListHSMs :: * -> * #

Methods

from :: ListHSMs -> Rep ListHSMs x #

to :: Rep ListHSMs x -> ListHSMs #

Hashable ListHSMs # 

Methods

hashWithSalt :: Int -> ListHSMs -> Int #

hash :: ListHSMs -> Int #

ToJSON ListHSMs # 
NFData ListHSMs # 

Methods

rnf :: ListHSMs -> () #

AWSRequest ListHSMs # 
ToQuery ListHSMs # 
ToPath ListHSMs # 
ToHeaders ListHSMs # 

Methods

toHeaders :: ListHSMs -> [Header] #

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

Request Lenses

lhsmNextToken :: Lens' ListHSMs (Maybe Text) #

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

Destructuring the Response

listHSMsResponse #

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 #

Contains the output of the ListHsms operation.

See: listHSMsResponse smart constructor.

Instances

Eq ListHSMsResponse # 
Data ListHSMsResponse # 

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 # 
Show ListHSMsResponse # 
Generic ListHSMsResponse # 
NFData ListHSMsResponse # 

Methods

rnf :: ListHSMsResponse -> () #

type Rep ListHSMsResponse # 
type Rep ListHSMsResponse = D1 (MetaData "ListHSMsResponse" "Network.AWS.CloudHSM.ListHSMs" "amazonka-cloudhsm-1.4.5-LgxYoBbw54MGh2G2GZr9dV" 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) #

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

lhsmrsHSMList :: Lens' ListHSMsResponse [Text] #

The list of ARNs that identify the HSMs.

lhsmrsResponseStatus :: Lens' ListHSMsResponse Int #

  • - | The response status code.