// 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.
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.
// 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 .
func (c *Client) DeleteHsm(ctx context.Context, params *DeleteHsmInput, optFns ...func(*Options)) (*DeleteHsmOutput, error) {
	if params == nil {
		params = &DeleteHsmInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteHsm", params, optFns, addOperationDeleteHsmMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteHsmOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteHsm ( ctx context . Context , params * DeleteHsmInput , optFns ... func ( * Options ) ) ( * DeleteHsmOutput , error ) { if params == nil { params = & DeleteHsmInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteHsmMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteHsmOutput ) out . ResultMetadata = metadata return out , nil }
Deletes the specified HSM.
Deletes the specified HSM .