amazonka-cloudhsm-2.0: Amazon CloudHSM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudHSM.ListHapgs

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.

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.

This operation returns paginated results.

Synopsis

Creating a Request

data ListHapgs Source #

See: newListHapgs smart constructor.

Constructors

ListHapgs' 

Fields

  • nextToken :: Maybe Text

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

Instances

Instances details
ToJSON ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

ToHeaders ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Methods

toHeaders :: ListHapgs -> [Header] #

ToPath ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

ToQuery ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

AWSPager ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

AWSRequest ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Associated Types

type AWSResponse ListHapgs #

Generic ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Associated Types

type Rep ListHapgs :: Type -> Type #

Read ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Show ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

NFData ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Methods

rnf :: ListHapgs -> () #

Eq ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Hashable ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

type AWSResponse ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

type Rep ListHapgs Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

type Rep ListHapgs = D1 ('MetaData "ListHapgs" "Amazonka.CloudHSM.ListHapgs" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "ListHapgs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListHapgs :: ListHapgs Source #

Create a value of ListHapgs with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

Request Lenses

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

data ListHapgsResponse Source #

See: newListHapgsResponse smart constructor.

Constructors

ListHapgsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

  • hapgList :: [Text]

    The list of high-availability partition groups.

Instances

Instances details
Generic ListHapgsResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Associated Types

type Rep ListHapgsResponse :: Type -> Type #

Read ListHapgsResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Show ListHapgsResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

NFData ListHapgsResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

Methods

rnf :: ListHapgsResponse -> () #

Eq ListHapgsResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

type Rep ListHapgsResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ListHapgs

type Rep ListHapgsResponse = D1 ('MetaData "ListHapgsResponse" "Amazonka.CloudHSM.ListHapgs" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "ListHapgsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hapgList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListHapgsResponse Source #

Create a value of ListHapgsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:httpStatus:ListHapgsResponse', listHapgsResponse_httpStatus - The response's http status code.

$sel:hapgList:ListHapgsResponse', listHapgsResponse_hapgList - The list of high-availability partition groups.

Response Lenses

listHapgsResponse_nextToken :: Lens' ListHapgsResponse (Maybe Text) Source #

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

listHapgsResponse_httpStatus :: Lens' ListHapgsResponse Int Source #

The response's http status code.

listHapgsResponse_hapgList :: Lens' ListHapgsResponse [Text] Source #

The list of high-availability partition groups.