amazonka-cloudhsm-1.6.1: Amazon CloudHSM SDK.

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

Network.AWS.CloudHSM.ListHSMs

Contents

Description

This is documentation for AWS CloudHSM Classic . For more information, see AWS CloudHSM Classic FAQs , the AWS CloudHSM Classic User Guide , and the AWS CloudHSM Classic API Reference .

For information about the current version of AWS CloudHSM , see AWS CloudHSM , the AWS CloudHSM User Guide , and the AWS CloudHSM API Reference .

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 # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Data ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.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 # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Show ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Generic ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Associated Types

type Rep ListHSMs :: Type -> Type #

Methods

from :: ListHSMs -> Rep ListHSMs x #

to :: Rep ListHSMs x -> ListHSMs #

Hashable ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

hashWithSalt :: Int -> ListHSMs -> Int #

hash :: ListHSMs -> Int #

ToJSON ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

AWSRequest ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Associated Types

type Rs ListHSMs :: Type #

ToHeaders ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

toHeaders :: ListHSMs -> [Header] #

ToPath ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

ToQuery ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

NFData ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

rnf :: ListHSMs -> () #

type Rep ListHSMs # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

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

Defined in Network.AWS.CloudHSM.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 # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Data ListHSMsResponse # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

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 # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Show ListHSMsResponse # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Generic ListHSMsResponse # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Associated Types

type Rep ListHSMsResponse :: Type -> Type #

NFData ListHSMsResponse # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

rnf :: ListHSMsResponse -> () #

type Rep ListHSMsResponse # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

type Rep ListHSMsResponse = D1 (MetaData "ListHSMsResponse" "Network.AWS.CloudHSM.ListHSMs" "amazonka-cloudhsm-1.6.1-Kfyq3c5Gb9NFaYnpsSwRm4" False) (C1 (MetaCons "ListHSMsResponse'" PrefixI True) (S1 (MetaSel (Just "_lhsmrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lhsmrsHSMList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_lhsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.