import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteHsmConfigurationMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteHsmConfigurationCommand}. */ export interface DeleteHsmConfigurationCommandInput extends DeleteHsmConfigurationMessage { } /** * @public * * The output of {@link DeleteHsmConfigurationCommand}. */ export interface DeleteHsmConfigurationCommandOutput extends __MetadataBearer { } declare const DeleteHsmConfigurationCommand_base: { new (input: DeleteHsmConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteHsmConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes the specified Amazon Redshift HSM configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DeleteHsmConfigurationCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DeleteHsmConfigurationCommand } = 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 = { // DeleteHsmConfigurationMessage * HsmConfigurationIdentifier: "STRING_VALUE", // required * }; * const command = new DeleteHsmConfigurationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteHsmConfigurationCommandInput - {@link DeleteHsmConfigurationCommandInput} * @returns {@link DeleteHsmConfigurationCommandOutput} * @see {@link DeleteHsmConfigurationCommandInput} for command's `input` shape. * @see {@link DeleteHsmConfigurationCommandOutput} 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 InvalidHsmConfigurationStateFault} (client fault) *

The specified HSM configuration is not in the available state, or it * is still in use by one or more Amazon Redshift clusters.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeleteHsmConfigurationCommand extends DeleteHsmConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteHsmConfigurationMessage; output: {}; }; sdk: { input: DeleteHsmConfigurationCommandInput; output: DeleteHsmConfigurationCommandOutput; }; }; }