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 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 # 
Data ListHAPGs Source # 

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

Associated Types

type Rep ListHAPGs :: * -> * #

Hashable ListHAPGs Source # 
ToJSON ListHAPGs Source # 
NFData ListHAPGs Source # 

Methods

rnf :: ListHAPGs -> () #

AWSRequest ListHAPGs Source # 
ToPath ListHAPGs Source # 
ToHeaders ListHAPGs Source # 

Methods

toHeaders :: ListHAPGs -> [Header] #

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

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 # 
Data ListHAPGsResponse Source # 

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

Methods

rnf :: ListHAPGsResponse -> () #

type Rep ListHAPGsResponse Source # 
type Rep ListHAPGsResponse = D1 (MetaData "ListHAPGsResponse" "Network.AWS.CloudHSM.ListHAPGs" "amazonka-cloudhsm-1.4.5-2qw2RsgWv1x7RV995HoL3s" 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) 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.