import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { DescribeSchemasMessage, DescribeSchemasResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeSchemasCommand}. */ export interface DescribeSchemasCommandInput extends DescribeSchemasMessage { } /** * @public * * The output of {@link DescribeSchemasCommand}. */ export interface DescribeSchemasCommandOutput extends DescribeSchemasResponse, __MetadataBearer { } declare const DescribeSchemasCommand_base: { new (input: DescribeSchemasCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeSchemasCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about the schema for the specified endpoint.

*

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeSchemasCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeSchemasCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // DescribeSchemasMessage * EndpointArn: "STRING_VALUE", // required * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeSchemasCommand(input); * const response = await client.send(command); * // { // DescribeSchemasResponse * // Marker: "STRING_VALUE", * // Schemas: [ // SchemaList * // "STRING_VALUE", * // ], * // }; * * ``` * * @param DescribeSchemasCommandInput - {@link DescribeSchemasCommandInput} * @returns {@link DescribeSchemasCommandOutput} * @see {@link DescribeSchemasCommandInput} for command's `input` shape. * @see {@link DescribeSchemasCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link InvalidResourceStateFault} (client fault) *

The resource is in a state that prevents it from being used for database migration.

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

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @example Describe schemas * ```javascript * // Returns information about the schema for the specified endpoint. * const input = { * EndpointArn: "", * Marker: "", * MaxRecords: 123 * }; * const command = new DescribeSchemasCommand(input); * const response = await client.send(command); * /* response is * { * Marker: "", * Schemas: [] * } * *\/ * ``` * * @public */ export declare class DescribeSchemasCommand extends DescribeSchemasCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeSchemasMessage; output: DescribeSchemasResponse; }; sdk: { input: DescribeSchemasCommandInput; output: DescribeSchemasCommandOutput; }; }; }