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.
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
public virtual DescribeHsmClientCertificatesResponse DescribeHsmClientCertificates( DescribeHsmClientCertificatesRequest request )
Container for the necessary parameters to execute the DescribeHsmClientCertificates service method.
Exception | Condition |
---|---|
HsmClientCertificateNotFoundException | There is no Amazon Redshift HSM client certificate with the specified identifier. |
InvalidTagException | The tag is invalid. |
This example returns a description of HSM client certificates
var client = new AmazonRedshiftClient(); var response = client.DescribeHsmClientCertificates(new DescribeHsmClientCertificatesRequest { }); List<HsmClientCertificate> hsmClientCertificates = response.HsmClientCertificates;
.NET Framework:
Supported in: 4.5, 4.0, 3.5