amazonka-cloudhsmv2-2.0: Amazon CloudHSM V2 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.CloudHSMV2.DeleteCluster

Description

Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.

Synopsis

Creating a Request

data DeleteCluster Source #

See: newDeleteCluster smart constructor.

Constructors

DeleteCluster' 

Fields

  • clusterId :: Text

    The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters.

Instances

Instances details
ToJSON DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

ToHeaders DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

ToPath DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

ToQuery DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

AWSRequest DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Associated Types

type AWSResponse DeleteCluster #

Generic DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Associated Types

type Rep DeleteCluster :: Type -> Type #

Read DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Show DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

NFData DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Methods

rnf :: DeleteCluster -> () #

Eq DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Hashable DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

type AWSResponse DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

type Rep DeleteCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

type Rep DeleteCluster = D1 ('MetaData "DeleteCluster" "Amazonka.CloudHSMV2.DeleteCluster" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "DeleteCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteCluster Source #

Create a value of DeleteCluster 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:

DeleteCluster, deleteCluster_clusterId - The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters.

Request Lenses

deleteCluster_clusterId :: Lens' DeleteCluster Text Source #

The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use DescribeClusters.

Destructuring the Response

data DeleteClusterResponse Source #

See: newDeleteClusterResponse smart constructor.

Constructors

DeleteClusterResponse' 

Fields

Instances

Instances details
Generic DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Associated Types

type Rep DeleteClusterResponse :: Type -> Type #

Read DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Show DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

NFData DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

Methods

rnf :: DeleteClusterResponse -> () #

Eq DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

type Rep DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteCluster

type Rep DeleteClusterResponse = D1 ('MetaData "DeleteClusterResponse" "Amazonka.CloudHSMV2.DeleteCluster" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "DeleteClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteClusterResponse Source #

Create a value of DeleteClusterResponse 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:cluster:DeleteClusterResponse', deleteClusterResponse_cluster - Information about the cluster that was deleted.

$sel:httpStatus:DeleteClusterResponse', deleteClusterResponse_httpStatus - The response's http status code.

Response Lenses

deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source #

Information about the cluster that was deleted.