amazonka-cloudhsm-1.6.0: 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.CreateHAPG

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 .

Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.

Synopsis

Creating a Request

createHAPG Source #

Arguments

:: Text

chLabel

-> CreateHAPG 

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

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

  • chLabel - The label of the new high-availability partition group.

data CreateHAPG Source #

Contains the inputs for the CreateHapgRequest action.

See: createHAPG smart constructor.

Instances

Eq CreateHAPG Source # 
Data CreateHAPG Source # 

Methods

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

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

toConstr :: CreateHAPG -> Constr #

dataTypeOf :: CreateHAPG -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateHAPG Source # 
Show CreateHAPG Source # 
Generic CreateHAPG Source # 

Associated Types

type Rep CreateHAPG :: * -> * #

Hashable CreateHAPG Source # 
ToJSON CreateHAPG Source # 
NFData CreateHAPG Source # 

Methods

rnf :: CreateHAPG -> () #

AWSRequest CreateHAPG Source # 
ToHeaders CreateHAPG Source # 

Methods

toHeaders :: CreateHAPG -> [Header] #

ToPath CreateHAPG Source # 
ToQuery CreateHAPG Source # 
type Rep CreateHAPG Source # 
type Rep CreateHAPG = D1 * (MetaData "CreateHAPG" "Network.AWS.CloudHSM.CreateHAPG" "amazonka-cloudhsm-1.6.0-7LcyNAvS0fpIUvEQaE6swE" True) (C1 * (MetaCons "CreateHAPG'" PrefixI True) (S1 * (MetaSel (Just Symbol "_chLabel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs CreateHAPG Source # 

Request Lenses

chLabel :: Lens' CreateHAPG Text Source #

The label of the new high-availability partition group.

Destructuring the Response

createHAPGResponse Source #

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

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

data CreateHAPGResponse Source #

Contains the output of the CreateHAPartitionGroup action.

See: createHAPGResponse smart constructor.

Instances

Eq CreateHAPGResponse Source # 
Data CreateHAPGResponse Source # 

Methods

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

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

toConstr :: CreateHAPGResponse -> Constr #

dataTypeOf :: CreateHAPGResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateHAPGResponse Source # 
Show CreateHAPGResponse Source # 
Generic CreateHAPGResponse Source # 
NFData CreateHAPGResponse Source # 

Methods

rnf :: CreateHAPGResponse -> () #

type Rep CreateHAPGResponse Source # 
type Rep CreateHAPGResponse = D1 * (MetaData "CreateHAPGResponse" "Network.AWS.CloudHSM.CreateHAPG" "amazonka-cloudhsm-1.6.0-7LcyNAvS0fpIUvEQaE6swE" False) (C1 * (MetaCons "CreateHAPGResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_chapgrsHAPGARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_chapgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

chapgrsHAPGARN :: Lens' CreateHAPGResponse (Maybe Text) Source #

The ARN of the high-availability partition group.

chapgrsResponseStatus :: Lens' CreateHAPGResponse Int Source #

  • - | The response status code.