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

Modifies the properties of a DBProxyTargetGroup.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, ModifyDBProxyTargetGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, ModifyDBProxyTargetGroupCommand } = 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 = { // ModifyDBProxyTargetGroupRequest * TargetGroupName: "STRING_VALUE", // required * DBProxyName: "STRING_VALUE", // required * ConnectionPoolConfig: { // ConnectionPoolConfiguration * MaxConnectionsPercent: Number("int"), * MaxIdleConnectionsPercent: Number("int"), * ConnectionBorrowTimeout: Number("int"), * SessionPinningFilters: [ // StringList * "STRING_VALUE", * ], * InitQuery: "STRING_VALUE", * }, * NewName: "STRING_VALUE", * }; * const command = new ModifyDBProxyTargetGroupCommand(input); * const response = await client.send(command); * // { // ModifyDBProxyTargetGroupResponse * // DBProxyTargetGroup: { // 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"), * // }, * // }; * * ``` * * @param ModifyDBProxyTargetGroupCommandInput - {@link ModifyDBProxyTargetGroupCommandInput} * @returns {@link ModifyDBProxyTargetGroupCommandOutput} * @see {@link ModifyDBProxyTargetGroupCommandInput} for command's `input` shape. * @see {@link ModifyDBProxyTargetGroupCommandOutput} 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 ModifyDBProxyTargetGroupCommand extends ModifyDBProxyTargetGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyDBProxyTargetGroupRequest; output: ModifyDBProxyTargetGroupResponse; }; sdk: { input: ModifyDBProxyTargetGroupCommandInput; output: ModifyDBProxyTargetGroupCommandOutput; }; }; }