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

Contents

Description

Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.

Synopsis

Creating a Request

deleteHSM Source #

Arguments

:: Text

dhHSMARN

-> DeleteHSM 

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

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

  • dhHSMARN - The ARN of the HSM to delete.

data DeleteHSM Source #

Contains the inputs for the DeleteHsm operation.

See: deleteHSM smart constructor.

Instances

Eq DeleteHSM Source # 
Data DeleteHSM Source # 

Methods

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

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

toConstr :: DeleteHSM -> Constr #

dataTypeOf :: DeleteHSM -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteHSM Source # 
Show DeleteHSM Source # 
Generic DeleteHSM Source # 

Associated Types

type Rep DeleteHSM :: * -> * #

Hashable DeleteHSM Source # 
ToJSON DeleteHSM Source # 
NFData DeleteHSM Source # 

Methods

rnf :: DeleteHSM -> () #

AWSRequest DeleteHSM Source # 
ToPath DeleteHSM Source # 
ToHeaders DeleteHSM Source # 

Methods

toHeaders :: DeleteHSM -> [Header] #

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

Request Lenses

dhHSMARN :: Lens' DeleteHSM Text Source #

The ARN of the HSM to delete.

Destructuring the Response

deleteHSMResponse Source #

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

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

data DeleteHSMResponse Source #

Contains the output of the DeleteHsm operation.

See: deleteHSMResponse smart constructor.

Instances

Eq DeleteHSMResponse Source # 
Data DeleteHSMResponse Source # 

Methods

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

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

toConstr :: DeleteHSMResponse -> Constr #

dataTypeOf :: DeleteHSMResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteHSMResponse Source # 
Show DeleteHSMResponse Source # 
Generic DeleteHSMResponse Source # 
NFData DeleteHSMResponse Source # 

Methods

rnf :: DeleteHSMResponse -> () #

type Rep DeleteHSMResponse Source # 
type Rep DeleteHSMResponse = D1 (MetaData "DeleteHSMResponse" "Network.AWS.CloudHSM.DeleteHSM" "amazonka-cloudhsm-1.4.5-2qw2RsgWv1x7RV995HoL3s" False) (C1 (MetaCons "DeleteHSMResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dhsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dhsmrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

Response Lenses

dhsmrsResponseStatus :: Lens' DeleteHSMResponse Int Source #

  • - | The response status code.

dhsmrsStatus :: Lens' DeleteHSMResponse Text Source #

The status of the operation.