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.ListHAPGs

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 .

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.

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:

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

data ListHAPGs Source #

See: listHAPGs smart constructor.

Instances
Eq ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Data ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListHAPGs -> c ListHAPGs #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListHAPGs #

toConstr :: ListHAPGs -> Constr #

dataTypeOf :: ListHAPGs -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListHAPGs) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListHAPGs) #

gmapT :: (forall b. Data b => b -> b) -> ListHAPGs -> ListHAPGs #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListHAPGs -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListHAPGs -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListHAPGs -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListHAPGs -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListHAPGs -> m ListHAPGs #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHAPGs -> m ListHAPGs #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHAPGs -> m ListHAPGs #

Read ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Show ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Generic ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Associated Types

type Rep ListHAPGs :: Type -> Type #

Hashable ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

ToJSON ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

AWSRequest ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Associated Types

type Rs ListHAPGs :: Type #

ToHeaders ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Methods

toHeaders :: ListHAPGs -> [Header] #

ToPath ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

ToQuery ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

NFData ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Methods

rnf :: ListHAPGs -> () #

type Rep ListHAPGs Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

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

Defined in Network.AWS.CloudHSM.ListHAPGs

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:

  • lhrsNextToken - If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
  • lhrsResponseStatus - -- | The response status code.
  • lhrsHAPGList - The list of high-availability partition groups.

data ListHAPGsResponse Source #

See: listHAPGsResponse smart constructor.

Instances
Eq ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Data ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListHAPGsResponse -> c ListHAPGsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListHAPGsResponse #

toConstr :: ListHAPGsResponse -> Constr #

dataTypeOf :: ListHAPGsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListHAPGsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListHAPGsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListHAPGsResponse -> ListHAPGsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListHAPGsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListHAPGsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListHAPGsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListHAPGsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListHAPGsResponse -> m ListHAPGsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHAPGsResponse -> m ListHAPGsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHAPGsResponse -> m ListHAPGsResponse #

Read ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Show ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Generic ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Associated Types

type Rep ListHAPGsResponse :: Type -> Type #

NFData ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

Methods

rnf :: ListHAPGsResponse -> () #

type Rep ListHAPGsResponse Source # 
Instance details

Defined in Network.AWS.CloudHSM.ListHAPGs

type Rep ListHAPGsResponse = D1 (MetaData "ListHAPGsResponse" "Network.AWS.CloudHSM.ListHAPGs" "amazonka-cloudhsm-1.6.1-4znIKUA0fUEDSYNWkcPcz3" False) (C1 (MetaCons "ListHAPGsResponse'" PrefixI True) (S1 (MetaSel (Just "_lhrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_lhrsHAPGList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))

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.

lhrsResponseStatus :: Lens' ListHAPGsResponse Int Source #

  • - | The response status code.

lhrsHAPGList :: Lens' ListHAPGsResponse [Text] Source #

The list of high-availability partition groups.