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 { DescribeRefreshSchemasStatusMessage, DescribeRefreshSchemasStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeRefreshSchemasStatusCommand}. */ export interface DescribeRefreshSchemasStatusCommandInput extends DescribeRefreshSchemasStatusMessage { } /** * @public * * The output of {@link DescribeRefreshSchemasStatusCommand}. */ export interface DescribeRefreshSchemasStatusCommandOutput extends DescribeRefreshSchemasStatusResponse, __MetadataBearer { } declare const DescribeRefreshSchemasStatusCommand_base: { new (input: DescribeRefreshSchemasStatusCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeRefreshSchemasStatusCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns the status of the RefreshSchemas operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeRefreshSchemasStatusCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeRefreshSchemasStatusCommand } = 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 = { // DescribeRefreshSchemasStatusMessage * EndpointArn: "STRING_VALUE", // required * }; * const command = new DescribeRefreshSchemasStatusCommand(input); * const response = await client.send(command); * // { // DescribeRefreshSchemasStatusResponse * // RefreshSchemasStatus: { // RefreshSchemasStatus * // EndpointArn: "STRING_VALUE", * // ReplicationInstanceArn: "STRING_VALUE", * // Status: "successful" || "failed" || "refreshing", * // LastRefreshDate: new Date("TIMESTAMP"), * // LastFailureMessage: "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribeRefreshSchemasStatusCommandInput - {@link DescribeRefreshSchemasStatusCommandInput} * @returns {@link DescribeRefreshSchemasStatusCommandOutput} * @see {@link DescribeRefreshSchemasStatusCommandInput} for command's `input` shape. * @see {@link DescribeRefreshSchemasStatusCommandOutput} 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 refresh schema status * ```javascript * // Returns the status of the refresh-schemas operation. * const input = { * EndpointArn: "" * }; * const command = new DescribeRefreshSchemasStatusCommand(input); * const response = await client.send(command); * /* response is * { * RefreshSchemasStatus: { /* empty *\/ } * } * *\/ * ``` * * @public */ export declare class DescribeRefreshSchemasStatusCommand extends DescribeRefreshSchemasStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRefreshSchemasStatusMessage; output: DescribeRefreshSchemasStatusResponse; }; sdk: { input: DescribeRefreshSchemasStatusCommandInput; output: DescribeRefreshSchemasStatusCommandOutput; }; }; }