amazonka-cloudhsmv2-1.6.1: Amazon CloudHSM V2 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.CloudHSMv2.DeleteHSM

Contents

Description

Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters .

Synopsis

Creating a Request

deleteHSM Source #

Arguments

:: Text

dhClusterId

-> 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:

  • dhEniId - The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.
  • dhHSMId - The identifier (ID) of the HSM that you are deleting.
  • dhEniIP - The IP address of the elastic network interface (ENI) of the HSM that you are deleting.
  • dhClusterId - The identifier (ID) of the cluster that contains the HSM that you are deleting.

data DeleteHSM Source #

See: deleteHSM smart constructor.

Instances
Eq DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Data DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Show DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Generic DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Associated Types

type Rep DeleteHSM :: Type -> Type #

Hashable DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

ToJSON DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

AWSRequest DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Associated Types

type Rs DeleteHSM :: Type #

ToHeaders DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Methods

toHeaders :: DeleteHSM -> [Header] #

ToPath DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

ToQuery DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

NFData DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Methods

rnf :: DeleteHSM -> () #

type Rep DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

type Rep DeleteHSM = D1 (MetaData "DeleteHSM" "Network.AWS.CloudHSMv2.DeleteHSM" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "DeleteHSM'" PrefixI True) ((S1 (MetaSel (Just "_dhEniId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dhHSMId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dhEniIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dhClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteHSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Request Lenses

dhEniId :: Lens' DeleteHSM (Maybe Text) Source #

The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.

dhHSMId :: Lens' DeleteHSM (Maybe Text) Source #

The identifier (ID) of the HSM that you are deleting.

dhEniIP :: Lens' DeleteHSM (Maybe Text) Source #

The IP address of the elastic network interface (ENI) of the HSM that you are deleting.

dhClusterId :: Lens' DeleteHSM Text Source #

The identifier (ID) of the cluster that contains the HSM that you are deleting.

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 #

See: deleteHSMResponse smart constructor.

Instances
Eq DeleteHSMResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Data DeleteHSMResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Show DeleteHSMResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Generic DeleteHSMResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Associated Types

type Rep DeleteHSMResponse :: Type -> Type #

NFData DeleteHSMResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

Methods

rnf :: DeleteHSMResponse -> () #

type Rep DeleteHSMResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.DeleteHSM

type Rep DeleteHSMResponse = D1 (MetaData "DeleteHSMResponse" "Network.AWS.CloudHSMv2.DeleteHSM" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "DeleteHSMResponse'" PrefixI True) (S1 (MetaSel (Just "_dhrsHSMId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dhrsHSMId :: Lens' DeleteHSMResponse (Maybe Text) Source #

The identifier (ID) of the HSM that was deleted.

dhrsResponseStatus :: Lens' DeleteHSMResponse Int Source #

  • - | The response status code.