Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteHsmCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { CloudHSMV2Client, DeleteHsmCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
// const { CloudHSMV2Client, DeleteHsmCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
const client = new CloudHSMV2Client(config);
const command = new DeleteHsmCommand(input);
const response = await client.send(command);
see

DeleteHsmCommandInput for command's input shape.

see

DeleteHsmCommandOutput for command's response shape.

see

config for CloudHSMV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteHsmCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteHsmCommandInput, DeleteHsmCommandOutput>

Methods

Static getEndpointParameterInstructions