Amazon.CloudHSM.AmazonCloudHSMClient.ListHsmsAsync C# (CSharp) Метод

ListHsmsAsync() публичный Метод

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.

/// Indicates that an internal error occurred. /// /// Indicates that an exception occurred in the AWS CloudHSM service. /// /// Indicates that one or more of the request parameters are not valid. ///
public ListHsmsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<ListHsmsResponse> ListHsmsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new ListHsmsRequest();
            return ListHsmsAsync(request, cancellationToken);
        }

Same methods

AmazonCloudHSMClient::ListHsmsAsync ( Amazon.CloudHSM.Model.ListHsmsRequest request, System cancellationToken = default(CancellationToken) ) : Task