import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DBParameterGroupNameMessage, ResetDBParameterGroupMessage } from "../models/models_1"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ResetDBParameterGroupCommand}. */ export interface ResetDBParameterGroupCommandInput extends ResetDBParameterGroupMessage { } /** * @public * * The output of {@link ResetDBParameterGroupCommand}. */ export interface ResetDBParameterGroupCommandOutput extends DBParameterGroupNameMessage, __MetadataBearer { } declare const ResetDBParameterGroupCommand_base: { new (input: ResetDBParameterGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: ResetDBParameterGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, ResetDBParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, ResetDBParameterGroupCommand } = 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 = { // ResetDBParameterGroupMessage * DBParameterGroupName: "STRING_VALUE", // required * ResetAllParameters: true || false, * Parameters: [ // ParametersList * { // Parameter * ParameterName: "STRING_VALUE", * ParameterValue: "STRING_VALUE", * Description: "STRING_VALUE", * Source: "STRING_VALUE", * ApplyType: "STRING_VALUE", * DataType: "STRING_VALUE", * AllowedValues: "STRING_VALUE", * IsModifiable: true || false, * MinimumEngineVersion: "STRING_VALUE", * ApplyMethod: "immediate" || "pending-reboot", * SupportedEngineModes: [ // EngineModeList * "STRING_VALUE", * ], * }, * ], * }; * const command = new ResetDBParameterGroupCommand(input); * const response = await client.send(command); * // { // DBParameterGroupNameMessage * // DBParameterGroupName: "STRING_VALUE", * // }; * * ``` * * @param ResetDBParameterGroupCommandInput - {@link ResetDBParameterGroupCommandInput} * @returns {@link ResetDBParameterGroupCommandOutput} * @see {@link ResetDBParameterGroupCommandInput} for command's `input` shape. * @see {@link ResetDBParameterGroupCommandOutput} 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 reset all parameters to their default values * ```javascript * // The following example resets all parameter values in a customer-created DB parameter group to their default values. * const input = { * DBParameterGroupName: "mypg", * ResetAllParameters: true * }; * const command = new ResetDBParameterGroupCommand(input); * const response = await client.send(command); * /* response is * { * DBParameterGroupName: "mypg" * } * *\/ * ``` * * @public */ export declare class ResetDBParameterGroupCommand extends ResetDBParameterGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ResetDBParameterGroupMessage; output: DBParameterGroupNameMessage; }; sdk: { input: ResetDBParameterGroupCommandInput; output: ResetDBParameterGroupCommandOutput; }; }; }