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
 
Retrieves the identifiers of all of the HSMs provisioned for the current customer.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.

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

Syntax

C#
public abstract ListHsmsResponse ListHsms()
Return Value
Type: Amazon.CloudHSM.Model.ListHsmsResponse
The response from the ListHsms 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