import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeHsmClientCertificatesMessage, HsmClientCertificateMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeHsmClientCertificatesCommand}. */ export interface DescribeHsmClientCertificatesCommandInput extends DescribeHsmClientCertificatesMessage { } /** * @public * * The output of {@link DescribeHsmClientCertificatesCommand}. */ export interface DescribeHsmClientCertificatesCommandOutput extends HsmClientCertificateMessage, __MetadataBearer { } declare const DescribeHsmClientCertificatesCommand_base: { new (input: DescribeHsmClientCertificatesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeHsmClientCertificatesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeHsmClientCertificatesCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeHsmClientCertificatesCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DescribeHsmClientCertificatesMessage * HsmClientCertificateIdentifier: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * TagKeys: [ // TagKeyList * "STRING_VALUE", * ], * TagValues: [ // TagValueList * "STRING_VALUE", * ], * }; * const command = new DescribeHsmClientCertificatesCommand(input); * const response = await client.send(command); * // { // HsmClientCertificateMessage * // Marker: "STRING_VALUE", * // HsmClientCertificates: [ // HsmClientCertificateList * // { // HsmClientCertificate * // HsmClientCertificateIdentifier: "STRING_VALUE", * // HsmClientCertificatePublicKey: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }; * * ``` * * @param DescribeHsmClientCertificatesCommandInput - {@link DescribeHsmClientCertificatesCommandInput} * @returns {@link DescribeHsmClientCertificatesCommandOutput} * @see {@link DescribeHsmClientCertificatesCommandInput} for command's `input` shape. * @see {@link DescribeHsmClientCertificatesCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link HsmClientCertificateNotFoundFault} (client fault) *

There is no Amazon Redshift HSM client certificate with the specified * identifier.

* * @throws {@link InvalidTagFault} (client fault) *

The tag is invalid.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeHsmClientCertificatesCommand extends DescribeHsmClientCertificatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeHsmClientCertificatesMessage; output: HsmClientCertificateMessage; }; sdk: { input: DescribeHsmClientCertificatesCommandInput; output: DescribeHsmClientCertificatesCommandOutput; }; }; }