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

Deletes an existing option group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DeleteOptionGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DeleteOptionGroupCommand } = 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 = { // DeleteOptionGroupMessage * OptionGroupName: "STRING_VALUE", // required * }; * const command = new DeleteOptionGroupCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteOptionGroupCommandInput - {@link DeleteOptionGroupCommandInput} * @returns {@link DeleteOptionGroupCommandOutput} * @see {@link DeleteOptionGroupCommandInput} for command's `input` shape. * @see {@link DeleteOptionGroupCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link InvalidOptionGroupStateFault} (client fault) *

The option group isn't in the available state.

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

The specified option group could not be found.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To delete an option group * ```javascript * // The following example deletes the specified option group. * const input = { * OptionGroupName: "myoptiongroup" * }; * const command = new DeleteOptionGroupCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteOptionGroupCommand extends DeleteOptionGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteOptionGroupMessage; output: {}; }; sdk: { input: DeleteOptionGroupCommandInput; output: DeleteOptionGroupCommandOutput; }; }; }