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

Returns information about DBProxyTarget objects. This API supports pagination.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DescribeDBProxyTargetsCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DescribeDBProxyTargetsCommand } = 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 = { // DescribeDBProxyTargetsRequest * 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 DescribeDBProxyTargetsCommand(input); * const response = await client.send(command); * // { // DescribeDBProxyTargetsResponse * // Targets: [ // TargetList * // { // DBProxyTarget * // TargetArn: "STRING_VALUE", * // Endpoint: "STRING_VALUE", * // TrackedClusterId: "STRING_VALUE", * // RdsResourceId: "STRING_VALUE", * // Port: Number("int"), * // Type: "RDS_INSTANCE" || "RDS_SERVERLESS_ENDPOINT" || "TRACKED_CLUSTER", * // Role: "READ_WRITE" || "READ_ONLY" || "UNKNOWN", * // TargetHealth: { // TargetHealth * // State: "REGISTERING" || "AVAILABLE" || "UNAVAILABLE" || "UNUSED", * // Reason: "UNREACHABLE" || "CONNECTION_FAILED" || "AUTH_FAILURE" || "PENDING_PROXY_CAPACITY" || "INVALID_REPLICATION_STATE" || "PROMOTED", * // Description: "STRING_VALUE", * // }, * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param DescribeDBProxyTargetsCommandInput - {@link DescribeDBProxyTargetsCommandInput} * @returns {@link DescribeDBProxyTargetsCommandOutput} * @see {@link DescribeDBProxyTargetsCommandInput} for command's `input` shape. * @see {@link DescribeDBProxyTargetsCommandOutput} 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 DBProxyTargetNotFoundFault} (client fault) *

The specified RDS DB instance or Aurora DB cluster 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 DescribeDBProxyTargetsCommand extends DescribeDBProxyTargetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDBProxyTargetsRequest; output: DescribeDBProxyTargetsResponse; }; sdk: { input: DescribeDBProxyTargetsCommandInput; output: DescribeDBProxyTargetsCommandOutput; }; }; }