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

Contents

Description

Modifies an existing high-availability partition group.

Synopsis

Creating a Request

modifyHAPG #

Arguments

:: Text

mhHAPGARN

-> ModifyHAPG 

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

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

  • mhPartitionSerialList - The list of partition serial numbers to make members of the high-availability partition group.
  • mhLabel - The new label for the high-availability partition group.
  • mhHAPGARN - The ARN of the high-availability partition group to modify.

data ModifyHAPG #

See: modifyHAPG smart constructor.

Instances

Eq ModifyHAPG # 
Data ModifyHAPG # 

Methods

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

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

toConstr :: ModifyHAPG -> Constr #

dataTypeOf :: ModifyHAPG -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyHAPG # 
Show ModifyHAPG # 
Generic ModifyHAPG # 

Associated Types

type Rep ModifyHAPG :: * -> * #

Hashable ModifyHAPG # 
ToJSON ModifyHAPG # 
NFData ModifyHAPG # 

Methods

rnf :: ModifyHAPG -> () #

AWSRequest ModifyHAPG # 
ToQuery ModifyHAPG # 
ToPath ModifyHAPG # 
ToHeaders ModifyHAPG # 

Methods

toHeaders :: ModifyHAPG -> [Header] #

type Rep ModifyHAPG # 
type Rep ModifyHAPG = D1 (MetaData "ModifyHAPG" "Network.AWS.CloudHSM.ModifyHAPG" "amazonka-cloudhsm-1.4.5-LgxYoBbw54MGh2G2GZr9dV" False) (C1 (MetaCons "ModifyHAPG'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mhPartitionSerialList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_mhLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mhHAPGARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ModifyHAPG # 

Request Lenses

mhPartitionSerialList :: Lens' ModifyHAPG [Text] #

The list of partition serial numbers to make members of the high-availability partition group.

mhLabel :: Lens' ModifyHAPG (Maybe Text) #

The new label for the high-availability partition group.

mhHAPGARN :: Lens' ModifyHAPG Text #

The ARN of the high-availability partition group to modify.

Destructuring the Response

modifyHAPGResponse #

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

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

data ModifyHAPGResponse #

See: modifyHAPGResponse smart constructor.

Instances

Eq ModifyHAPGResponse # 
Data ModifyHAPGResponse # 

Methods

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

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

toConstr :: ModifyHAPGResponse -> Constr #

dataTypeOf :: ModifyHAPGResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyHAPGResponse # 
Show ModifyHAPGResponse # 
Generic ModifyHAPGResponse # 
NFData ModifyHAPGResponse # 

Methods

rnf :: ModifyHAPGResponse -> () #

type Rep ModifyHAPGResponse # 
type Rep ModifyHAPGResponse = D1 (MetaData "ModifyHAPGResponse" "Network.AWS.CloudHSM.ModifyHAPG" "amazonka-cloudhsm-1.4.5-LgxYoBbw54MGh2G2GZr9dV" False) (C1 (MetaCons "ModifyHAPGResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mhrsHAPGARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

mhrsHAPGARN :: Lens' ModifyHAPGResponse (Maybe Text) #

The ARN of the high-availability partition group.

mhrsResponseStatus :: Lens' ModifyHAPGResponse Int #

  • - | The response status code.