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

Deletes a specified Amazon Redshift parameter group.

* *

You cannot delete a parameter group if it is associated with a * cluster.

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

The parameter group name does not refer to an existing parameter group.

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

The cluster parameter group action can not be completed because another task is in * progress that involves the parameter group. Wait a few moments and try the operation * again.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeleteClusterParameterGroupCommand extends DeleteClusterParameterGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteClusterParameterGroupMessage; output: {}; }; sdk: { input: DeleteClusterParameterGroupCommandInput; output: DeleteClusterParameterGroupCommandOutput; }; }; }