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

Changes the settings for an existing DB proxy endpoint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, ModifyDBProxyEndpointCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, ModifyDBProxyEndpointCommand } = 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 = { // ModifyDBProxyEndpointRequest * DBProxyEndpointName: "STRING_VALUE", // required * NewDBProxyEndpointName: "STRING_VALUE", * VpcSecurityGroupIds: [ // StringList * "STRING_VALUE", * ], * }; * const command = new ModifyDBProxyEndpointCommand(input); * const response = await client.send(command); * // { // ModifyDBProxyEndpointResponse * // DBProxyEndpoint: { // DBProxyEndpoint * // DBProxyEndpointName: "STRING_VALUE", * // DBProxyEndpointArn: "STRING_VALUE", * // DBProxyName: "STRING_VALUE", * // Status: "available" || "modifying" || "incompatible-network" || "insufficient-resource-limits" || "creating" || "deleting", * // VpcId: "STRING_VALUE", * // VpcSecurityGroupIds: [ // StringList * // "STRING_VALUE", * // ], * // VpcSubnetIds: [ * // "STRING_VALUE", * // ], * // Endpoint: "STRING_VALUE", * // CreatedDate: new Date("TIMESTAMP"), * // TargetRole: "READ_WRITE" || "READ_ONLY", * // IsDefault: true || false, * // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL", * // }, * // }; * * ``` * * @param ModifyDBProxyEndpointCommandInput - {@link ModifyDBProxyEndpointCommandInput} * @returns {@link ModifyDBProxyEndpointCommandOutput} * @see {@link ModifyDBProxyEndpointCommandInput} for command's `input` shape. * @see {@link ModifyDBProxyEndpointCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link DBProxyEndpointAlreadyExistsFault} (client fault) *

The specified DB proxy endpoint name must be unique for all DB proxy endpoints owned by your Amazon Web Services account in the specified Amazon Web Services Region.

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

The DB proxy endpoint doesn't exist.

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

You can't perform this operation while the DB proxy endpoint is in a particular state.

* * @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 ModifyDBProxyEndpointCommand extends ModifyDBProxyEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyDBProxyEndpointRequest; output: ModifyDBProxyEndpointResponse; }; sdk: { input: ModifyDBProxyEndpointCommandInput; output: ModifyDBProxyEndpointCommandOutput; }; }; }