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 { StartMetadataModelCreationMessage, StartMetadataModelCreationResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartMetadataModelCreationCommand}. */ export interface StartMetadataModelCreationCommandInput extends StartMetadataModelCreationMessage { } /** * @public * * The output of {@link StartMetadataModelCreationCommand}. */ export interface StartMetadataModelCreationCommandOutput extends StartMetadataModelCreationResponse, __MetadataBearer { } declare const StartMetadataModelCreationCommand_base: { new (input: StartMetadataModelCreationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StartMetadataModelCreationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates source metadata model of the given type with the specified properties for schema conversion operations.

* *

This action supports only these directions: from SQL Server to Aurora PostgreSQL, or from SQL Server to RDS for PostgreSQL.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, StartMetadataModelCreationCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, StartMetadataModelCreationCommand } = 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 = { // StartMetadataModelCreationMessage * MigrationProjectIdentifier: "STRING_VALUE", // required * SelectionRules: "STRING_VALUE", // required * MetadataModelName: "STRING_VALUE", // required * Properties: { // MetadataModelProperties Union: only one key present * StatementProperties: { // StatementProperties * Definition: "STRING_VALUE", // required * }, * }, * }; * const command = new StartMetadataModelCreationCommand(input); * const response = await client.send(command); * // { // StartMetadataModelCreationResponse * // RequestIdentifier: "STRING_VALUE", * // }; * * ``` * * @param StartMetadataModelCreationCommandInput - {@link StartMetadataModelCreationCommandInput} * @returns {@link StartMetadataModelCreationCommandOutput} * @see {@link StartMetadataModelCreationCommandInput} for command's `input` shape. * @see {@link StartMetadataModelCreationCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link AccessDeniedFault} (client fault) *

DMS was denied access to the endpoint. Check that the * role is correctly configured.

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

The resource you are attempting to create already exists.

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

The resource could not be found.

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

The quota for this resource quota has been exceeded.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class StartMetadataModelCreationCommand extends StartMetadataModelCreationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartMetadataModelCreationMessage; output: StartMetadataModelCreationResponse; }; sdk: { input: StartMetadataModelCreationCommandInput; output: StartMetadataModelCreationCommandOutput; }; }; }