AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Deletes an HSM. Once complete, this operation cannot be undone and your key material cannot be recovered.

Namespace: Amazon.CloudHSM
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract DeleteHsmResponse DeleteHsm(
         String hsmArn
)

Parameters

hsmArn
Type: System.String

The ARN of the HSM to delete.

Return Value
Type: Amazon.CloudHSM.Model.DeleteHsmResponse
The response from the DeleteHsm service method, as returned by CloudHSM.

Exceptions

ExceptionCondition
CloudHsmInternalException Indicates that an internal error occurred.
CloudHsmServiceException Indicates that an exception occurred in the AWS CloudHSM service.
InvalidRequestException Indicates that one or more of the request parameters are not valid.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5