amazonka-cloudhsm-1.3.3: 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.ListHAPGs

Contents

Description

Lists the high-availability partition groups for the account.

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 ListHapgs to retrieve the next set of items.

See: AWS API Reference for ListHAPGs.

Synopsis

Creating a Request

listHAPGs :: ListHAPGs Source

Creates a value of ListHAPGs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

lhNextToken :: Lens' ListHAPGs (Maybe Text) Source

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

Destructuring the Response

listHAPGsResponse Source

Creates a value of ListHAPGsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

lhrsNextToken :: Lens' ListHAPGsResponse (Maybe Text) Source

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

lhrsHAPGList :: Lens' ListHAPGsResponse [Text] Source

The list of high-availability partition groups.