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 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:

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

data ListHSMs Source #

See: listHSMs smart constructor.

Instances
Eq ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Data ListHSMs Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Show ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Generic ListHSMs Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

hashWithSalt :: Int -> ListHSMs -> Int #

hash :: ListHSMs -> Int #

ToJSON ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

AWSRequest ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Associated Types

type Rs ListHSMs :: Type #

ToHeaders ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

toHeaders :: ListHSMs -> [Header] #

ToPath ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

ToQuery ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

NFData ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

rnf :: ListHSMs -> () #

type Rep ListHSMs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

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

Defined in Network.AWS.CloudHSM.ListHSMs

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

Defined in Network.AWS.CloudHSM.ListHSMs

Data ListHSMsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Show ListHSMsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Generic ListHSMsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Associated Types

type Rep ListHSMsResponse :: Type -> Type #

NFData ListHSMsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

Methods

rnf :: ListHSMsResponse -> () #

type Rep ListHSMsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHSMs

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

lhsmrsResponseStatus :: Lens' ListHSMsResponse Int Source #

  • - | The response status code.