libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Read DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Show DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Generic DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Associated Types

type Rep DeleteHsm :: Type -> Type #

NFData DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Methods

rnf :: DeleteHsm -> () #

Hashable DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

ToJSON DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

AWSRequest DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Associated Types

type AWSResponse 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

type Rep DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type Rep DeleteHsm = D1 ('MetaData "DeleteHsm" "Amazonka.CloudHSM.DeleteHsm" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "DeleteHsm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

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
Eq DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Read DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Show DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Generic DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Associated Types

type Rep DeleteHsmResponse :: Type -> Type #

NFData DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

Methods

rnf :: DeleteHsmResponse -> () #

type Rep DeleteHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DeleteHsm

type Rep DeleteHsmResponse = D1 ('MetaData "DeleteHsmResponse" "Amazonka.CloudHSM.DeleteHsm" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" '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.