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

Returns a paginated list of metadata model exports.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeMetadataModelExportsAsScriptCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeMetadataModelExportsAsScriptCommand } = 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 = { // DescribeMetadataModelExportsAsScriptMessage * MigrationProjectIdentifier: "STRING_VALUE", // required * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * Marker: "STRING_VALUE", * MaxRecords: Number("int"), * }; * const command = new DescribeMetadataModelExportsAsScriptCommand(input); * const response = await client.send(command); * // { // DescribeMetadataModelExportsAsScriptResponse * // Marker: "STRING_VALUE", * // Requests: [ // SchemaConversionRequestList * // { // SchemaConversionRequest * // Status: "STRING_VALUE", * // RequestIdentifier: "STRING_VALUE", * // MigrationProjectArn: "STRING_VALUE", * // Error: { // ErrorDetails Union: only one key present * // defaultErrorDetails: { // DefaultErrorDetails * // Message: "STRING_VALUE", * // }, * // }, * // ExportSqlDetails: { // ExportSqlDetails * // S3ObjectKey: "STRING_VALUE", * // ObjectURL: "STRING_VALUE", * // }, * // Progress: { // Progress * // ProgressPercent: Number("double"), * // TotalObjects: Number("long"), * // ProgressStep: "STRING_VALUE", * // ProcessedObject: { // ProcessedObject * // Name: "STRING_VALUE", * // Type: "STRING_VALUE", * // EndpointType: "STRING_VALUE", * // }, * // }, * // }, * // ], * // }; * * ``` * * @param DescribeMetadataModelExportsAsScriptCommandInput - {@link DescribeMetadataModelExportsAsScriptCommandInput} * @returns {@link DescribeMetadataModelExportsAsScriptCommandOutput} * @see {@link DescribeMetadataModelExportsAsScriptCommandInput} for command's `input` shape. * @see {@link DescribeMetadataModelExportsAsScriptCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @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 Metadata Model Exports As Script * ```javascript * // Returns a paginated list of metadata model exports. * const input = { * Filters: [ * { * Name: "request-id", * Values: [ * "01234567-89ab-cdef-0123-456789abcdef" * ] * } * ], * Marker: "0123456789abcdefghijklmnopqrs", * MaxRecords: 20, * MigrationProjectIdentifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012" * }; * const command = new DescribeMetadataModelExportsAsScriptCommand(input); * const response = await client.send(command); * /* response is * { * Marker: "0123456789abcdefghijklmnopqrs", * Requests: [ * { * MigrationProjectArn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012", * RequestIdentifier: "01234567-89ab-cdef-0123-456789abcdef", * Status: "SUCCESS" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeMetadataModelExportsAsScriptCommand extends DescribeMetadataModelExportsAsScriptCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeMetadataModelExportsAsScriptMessage; output: DescribeMetadataModelExportsAsScriptResponse; }; sdk: { input: DescribeMetadataModelExportsAsScriptCommandInput; output: DescribeMetadataModelExportsAsScriptCommandOutput; }; }; }