import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeTenantDatabasesMessage, TenantDatabasesMessage } from "../models/models_1"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeTenantDatabasesCommand}. */ export interface DescribeTenantDatabasesCommandInput extends DescribeTenantDatabasesMessage { } /** * @public * * The output of {@link DescribeTenantDatabasesCommand}. */ export interface DescribeTenantDatabasesCommandOutput extends TenantDatabasesMessage, __MetadataBearer { } declare const DescribeTenantDatabasesCommand_base: { new (input: DescribeTenantDatabasesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeTenantDatabasesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Describes the tenant databases in a DB instance that uses the multi-tenant configuration. Only RDS for Oracle CDB instances are supported.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DescribeTenantDatabasesCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DescribeTenantDatabasesCommand } = 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 = { // DescribeTenantDatabasesMessage * DBInstanceIdentifier: "STRING_VALUE", * TenantDBName: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * Marker: "STRING_VALUE", * MaxRecords: Number("int"), * }; * const command = new DescribeTenantDatabasesCommand(input); * const response = await client.send(command); * // { // TenantDatabasesMessage * // Marker: "STRING_VALUE", * // TenantDatabases: [ // TenantDatabasesList * // { // TenantDatabase * // TenantDatabaseCreateTime: new Date("TIMESTAMP"), * // DBInstanceIdentifier: "STRING_VALUE", * // TenantDBName: "STRING_VALUE", * // Status: "STRING_VALUE", * // MasterUsername: "STRING_VALUE", * // DbiResourceId: "STRING_VALUE", * // TenantDatabaseResourceId: "STRING_VALUE", * // TenantDatabaseARN: "STRING_VALUE", * // CharacterSetName: "STRING_VALUE", * // NcharCharacterSetName: "STRING_VALUE", * // DeletionProtection: true || false, * // PendingModifiedValues: { // TenantDatabasePendingModifiedValues * // MasterUserPassword: "STRING_VALUE", * // TenantDBName: "STRING_VALUE", * // }, * // MasterUserSecret: { // MasterUserSecret * // SecretArn: "STRING_VALUE", * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, * // TagList: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }; * * ``` * * @param DescribeTenantDatabasesCommandInput - {@link DescribeTenantDatabasesCommandInput} * @returns {@link DescribeTenantDatabasesCommandOutput} * @see {@link DescribeTenantDatabasesCommandInput} for command's `input` shape. * @see {@link DescribeTenantDatabasesCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link DBInstanceNotFoundFault} (client fault) *

DBInstanceIdentifier doesn't refer to an existing DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @public */ export declare class DescribeTenantDatabasesCommand extends DescribeTenantDatabasesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeTenantDatabasesMessage; output: TenantDatabasesMessage; }; sdk: { input: DescribeTenantDatabasesCommandInput; output: DescribeTenantDatabasesCommandOutput; }; }; }