amazonka-cloudhsm-1.4.5: Amazon CloudHSM SDK.

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

Synopsis

Creating a Request

listHAPGs :: ListHAPGs #

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 #

See: listHAPGs smart constructor.

Instances

Eq ListHAPGs # 
Data 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 # 
Show ListHAPGs # 
Generic ListHAPGs # 

Associated Types

type Rep ListHAPGs :: * -> * #

Hashable ListHAPGs # 
ToJSON ListHAPGs # 
NFData ListHAPGs # 

Methods

rnf :: ListHAPGs -> () #

AWSRequest ListHAPGs # 
ToQuery ListHAPGs # 
ToPath ListHAPGs # 
ToHeaders ListHAPGs # 

Methods

toHeaders :: ListHAPGs -> [Header] #

type Rep ListHAPGs # 
type Rep ListHAPGs = D1 (MetaData "ListHAPGs" "Network.AWS.CloudHSM.ListHAPGs" "amazonka-cloudhsm-1.4.5-LgxYoBbw54MGh2G2GZr9dV" True) (C1 (MetaCons "ListHAPGs'" PrefixI True) (S1 (MetaSel (Just Symbol "_lhNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListHAPGs # 

Request Lenses

lhNextToken :: Lens' ListHAPGs (Maybe Text) #

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

Destructuring the Response

listHAPGsResponse #

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 #

See: listHAPGsResponse smart constructor.

Instances

Eq ListHAPGsResponse # 
Data ListHAPGsResponse # 

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 # 
Show ListHAPGsResponse # 
Generic ListHAPGsResponse # 
NFData ListHAPGsResponse # 

Methods

rnf :: ListHAPGsResponse -> () #

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

Response Lenses

lhrsNextToken :: Lens' ListHAPGsResponse (Maybe Text) #

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

lhrsResponseStatus :: Lens' ListHAPGsResponse Int #

  • - | The response status code.

lhrsHAPGList :: Lens' ListHAPGsResponse [Text] #

The list of high-availability partition groups.