AWS SDK Version 3 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.

Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your Amazon Web Services account.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM client certificates that have any combination of those values are returned.

If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeHsmClientCertificatesAsync.

Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeHsmClientCertificatesResponse DescribeHsmClientCertificates(
         DescribeHsmClientCertificatesRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.DescribeHsmClientCertificatesRequest

Container for the necessary parameters to execute the DescribeHsmClientCertificates service method.

Return Value


The response from the DescribeHsmClientCertificates service method, as returned by Redshift.

Exceptions

ExceptionCondition
HsmClientCertificateNotFoundException There is no Amazon Redshift HSM client certificate with the specified identifier.
InvalidTagException The tag is invalid.

Examples

This example returns a description of HSM client certificates

To get a description of HSM client certificates


var client = new AmazonRedshiftClient();
var response = client.DescribeHsmClientCertificates(new DescribeHsmClientCertificatesRequest 
{
});

List<HsmClientCertificate> hsmClientCertificates = response.HsmClientCertificates;

            

Version Information

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

See Also