amazonka-cloudhsm-1.3.3.1: Amazon CloudHSM SDK.

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

See: AWS API Reference for ListHSMs.

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:

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:

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.