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

Returns information about DB proxy target groups, represented by DBProxyTargetGroup data structures.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DescribeDBProxyTargetGroupsCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DescribeDBProxyTargetGroupsCommand } = 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 = { // DescribeDBProxyTargetGroupsRequest * DBProxyName: "STRING_VALUE", // required * TargetGroupName: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * Marker: "STRING_VALUE", * MaxRecords: Number("int"), * }; * const command = new DescribeDBProxyTargetGroupsCommand(input); * const response = await client.send(command); * // { // DescribeDBProxyTargetGroupsResponse * // TargetGroups: [ // TargetGroupList * // { // DBProxyTargetGroup * // DBProxyName: "STRING_VALUE", * // TargetGroupName: "STRING_VALUE", * // TargetGroupArn: "STRING_VALUE", * // IsDefault: true || false, * // Status: "STRING_VALUE", * // ConnectionPoolConfig: { // ConnectionPoolConfigurationInfo * // MaxConnectionsPercent: Number("int"), * // MaxIdleConnectionsPercent: Number("int"), * // ConnectionBorrowTimeout: Number("int"), * // SessionPinningFilters: [ // StringList * // "STRING_VALUE", * // ], * // InitQuery: "STRING_VALUE", * // }, * // CreatedDate: new Date("TIMESTAMP"), * // UpdatedDate: new Date("TIMESTAMP"), * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param DescribeDBProxyTargetGroupsCommandInput - {@link DescribeDBProxyTargetGroupsCommandInput} * @returns {@link DescribeDBProxyTargetGroupsCommandOutput} * @see {@link DescribeDBProxyTargetGroupsCommandInput} for command's `input` shape. * @see {@link DescribeDBProxyTargetGroupsCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link DBProxyNotFoundFault} (client fault) *

The specified proxy name doesn't correspond to a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.

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

The specified target group isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.

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

The requested operation can't be performed while the proxy is in this state.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @public */ export declare class DescribeDBProxyTargetGroupsCommand extends DescribeDBProxyTargetGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDBProxyTargetGroupsRequest; output: DescribeDBProxyTargetGroupsResponse; }; sdk: { input: DescribeDBProxyTargetGroupsCommandInput; output: DescribeDBProxyTargetGroupsCommandOutput; }; }; }