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

Returns information about the specified Amazon Redshift HSM configuration. If no * configuration ID is specified, returns information about all the HSM configurations * 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 connections 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 connections that * have any combination of those values are returned.

*

If both tag keys and values are omitted from the request, HSM connections 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, DescribeHsmConfigurationsCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeHsmConfigurationsCommand } = 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 = { // DescribeHsmConfigurationsMessage * HsmConfigurationIdentifier: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * TagKeys: [ // TagKeyList * "STRING_VALUE", * ], * TagValues: [ // TagValueList * "STRING_VALUE", * ], * }; * const command = new DescribeHsmConfigurationsCommand(input); * const response = await client.send(command); * // { // HsmConfigurationMessage * // Marker: "STRING_VALUE", * // HsmConfigurations: [ // HsmConfigurationList * // { // HsmConfiguration * // HsmConfigurationIdentifier: "STRING_VALUE", * // Description: "STRING_VALUE", * // HsmIpAddress: "STRING_VALUE", * // HsmPartitionName: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }; * * ``` * * @param DescribeHsmConfigurationsCommandInput - {@link DescribeHsmConfigurationsCommandInput} * @returns {@link DescribeHsmConfigurationsCommandOutput} * @see {@link DescribeHsmConfigurationsCommandInput} for command's `input` shape. * @see {@link DescribeHsmConfigurationsCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link HsmConfigurationNotFoundFault} (client fault) *

There is no Amazon Redshift HSM configuration 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 DescribeHsmConfigurationsCommand extends DescribeHsmConfigurationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeHsmConfigurationsMessage; output: HsmConfigurationMessage; }; sdk: { input: DescribeHsmConfigurationsCommandInput; output: DescribeHsmConfigurationsCommandOutput; }; }; }