amazonka-cloudhsm-0.3.0: Amazon CloudHSM SDK.

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.

http://docs.aws.amazon.com/cloudhsm/latest/dg/API_ListHsms.html

Synopsis

Request

Request constructor

listHsms :: ListHsms Source

ListHsms constructor.

The fields accessible through corresponding lenses are:

Request lenses

lh1NextToken :: Lens' ListHsms (Maybe Text) Source

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

Response

Response constructor

listHsmsResponse :: ListHsmsResponse Source

ListHsmsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

lhrHsmList :: Lens' ListHsmsResponse [Text] Source

The list of ARNs that identify the HSMs.

lhrNextToken :: Lens' ListHsmsResponse (Maybe Text) Source

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