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

Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DescribeDBParameterGroupsCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DescribeDBParameterGroupsCommand } = 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 = { // DescribeDBParameterGroupsMessage * DBParameterGroupName: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeDBParameterGroupsCommand(input); * const response = await client.send(command); * // { // DBParameterGroupsMessage * // Marker: "STRING_VALUE", * // DBParameterGroups: [ // DBParameterGroupList * // { // DBParameterGroup * // DBParameterGroupName: "STRING_VALUE", * // DBParameterGroupFamily: "STRING_VALUE", * // Description: "STRING_VALUE", * // DBParameterGroupArn: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeDBParameterGroupsCommandInput - {@link DescribeDBParameterGroupsCommandInput} * @returns {@link DescribeDBParameterGroupsCommandOutput} * @see {@link DescribeDBParameterGroupsCommandInput} for command's `input` shape. * @see {@link DescribeDBParameterGroupsCommandOutput} 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 RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To describe your DB parameter groups * ```javascript * // The following example retrieves details about your DB parameter groups. * const input = { /* empty *\/ }; * const command = new DescribeDBParameterGroupsCommand(input); * const response = await client.send(command); * /* response is * { * DBParameterGroups: [ * { * DBParameterGroupArn: "arn:aws:rds:us-east-1:123456789012:pg:default.aurora-mysql5.7", * DBParameterGroupFamily: "aurora-mysql5.7", * DBParameterGroupName: "default.aurora-mysql5.7", * Description: "Default parameter group for aurora-mysql5.7" * }, * { * DBParameterGroupArn: "arn:aws:rds:us-east-1:123456789012:pg:default.aurora-postgresql9.6", * DBParameterGroupFamily: "aurora-postgresql9.6", * DBParameterGroupName: "default.aurora-postgresql9.6", * Description: "Default parameter group for aurora-postgresql9.6" * }, * { * DBParameterGroupArn: "arn:aws:rds:us-east-1:123456789012:pg:default.aurora5.6", * DBParameterGroupFamily: "aurora5.6", * DBParameterGroupName: "default.aurora5.6", * Description: "Default parameter group for aurora5.6" * }, * { * DBParameterGroupArn: "arn:aws:rds:us-east-1:123456789012:pg:default.mariadb10.1", * DBParameterGroupFamily: "mariadb10.1", * DBParameterGroupName: "default.mariadb10.1", * Description: "Default parameter group for mariadb10.1" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeDBParameterGroupsCommand extends DescribeDBParameterGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDBParameterGroupsMessage; output: DBParameterGroupsMessage; }; sdk: { input: DescribeDBParameterGroupsCommandInput; output: DescribeDBParameterGroupsCommandOutput; }; }; }