amazonka-cloudhsm-2.0: Amazon CloudHSM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudHSM.DeleteHsm

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.

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

Synopsis

Creating a Request

data DeleteHsm Source #

Contains the inputs for the DeleteHsm operation.

See: newDeleteHsm smart constructor.

Constructors

DeleteHsm' 

Fields

Instances

Instances details
ToJSON DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

ToHeaders DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Methods

toHeaders :: DeleteHsm -> [Header] #

ToPath DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

ToQuery DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

AWSRequest DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Associated Types

type AWSResponse DeleteHsm #

Generic DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Associated Types

type Rep DeleteHsm :: Type -> Type #

Read DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Show DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

NFData DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Methods

rnf :: DeleteHsm -> () #

Eq DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Hashable DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type AWSResponse DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type Rep DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type Rep DeleteHsm = D1 ('MetaData "DeleteHsm" "Amazonka.CloudHSM.DeleteHsm" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "DeleteHsm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteHsm Source #

Create a value of DeleteHsm with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hsmArn:DeleteHsm', deleteHsm_hsmArn - The ARN of the HSM to delete.

Request Lenses

deleteHsm_hsmArn :: Lens' DeleteHsm Text Source #

The ARN of the HSM to delete.

Destructuring the Response

data DeleteHsmResponse Source #

Contains the output of the DeleteHsm operation.

See: newDeleteHsmResponse smart constructor.

Constructors

DeleteHsmResponse' 

Fields

Instances

Instances details
Generic DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Associated Types

type Rep DeleteHsmResponse :: Type -> Type #

Read DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Show DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

NFData DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Methods

rnf :: DeleteHsmResponse -> () #

Eq DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type Rep DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type Rep DeleteHsmResponse = D1 ('MetaData "DeleteHsmResponse" "Amazonka.CloudHSM.DeleteHsm" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "DeleteHsmResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteHsmResponse Source #

Create a value of DeleteHsmResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteHsmResponse', deleteHsmResponse_httpStatus - The response's http status code.

$sel:status:DeleteHsmResponse', deleteHsmResponse_status - The status of the operation.

Response Lenses

deleteHsmResponse_httpStatus :: Lens' DeleteHsmResponse Int Source #

The response's http status code.