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 4.5
 
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.

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

Syntax

C#
public abstract DescribeHsmResponse DescribeHsm(
         String hsmArn
)

Parameters

hsmArn
Type: System.String

The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

Return Value
Type: Amazon.CloudHSM.Model.DescribeHsmResponse
The response from the DescribeHsm 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