import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteDBParameterGroupMessage } from "../models/models_0"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteDBParameterGroupCommand}. */ export interface DeleteDBParameterGroupCommandInput extends DeleteDBParameterGroupMessage { } /** * @public * * The output of {@link DeleteDBParameterGroupCommand}. */ export interface DeleteDBParameterGroupCommandOutput extends __MetadataBearer { } declare const DeleteDBParameterGroupCommand_base: { new (input: DeleteDBParameterGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDBParameterGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes a specified DB parameter group. The DB parameter group to be deleted can't be associated with any DB instances.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DeleteDBParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DeleteDBParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import * // import type { RDSClientConfig } from "@aws-sdk/client-rds"; * const config = {}; // type is RDSClientConfig * const client = new RDSClient(config); * const input = { // DeleteDBParameterGroupMessage * DBParameterGroupName: "STRING_VALUE", // required * }; * const command = new DeleteDBParameterGroupCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteDBParameterGroupCommandInput - {@link DeleteDBParameterGroupCommandInput} * @returns {@link DeleteDBParameterGroupCommandOutput} * @see {@link DeleteDBParameterGroupCommandInput} for command's `input` shape. * @see {@link DeleteDBParameterGroupCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link DBParameterGroupNotFoundFault} (client fault) *

DBParameterGroupName doesn't refer to an existing DB parameter group.

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

The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you can't delete it when the parameter group is in this state.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To delete a DB parameter group * ```javascript * // The following example deletes a DB parameter group. * const input = { * DBParameterGroupName: "mydbparametergroup" * }; * const command = new DeleteDBParameterGroupCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteDBParameterGroupCommand extends DeleteDBParameterGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDBParameterGroupMessage; output: {}; }; sdk: { input: DeleteDBParameterGroupCommandInput; output: DeleteDBParameterGroupCommandOutput; }; }; }