StartMigrationRequest
import type { StartMigrationRequest } from "https://aws-api.deno.dev/v0.4/services/lexmodelbuildingservice.ts?docs=full";
interface StartMigrationRequest {
migrationStrategy: MigrationStrategy;
v1BotName: string;
v1BotVersion: string;
v2BotName: string;
v2BotRole: string;
}§Properties
§
migrationStrategy: MigrationStrategy
[src]The strategy used to conduct the migration.
CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is created in the Amazon Lex V2 bot.
§
v1BotVersion: string
[src]The version of the bot to migrate to Amazon Lex V2.
You can migrate the $LATEST
version as well as any numbered version.
§
v2BotName: string
[src]The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.
- If the Amazon Lex V2 bot doesn't exist, you must use the
CREATE_NEW
migration strategy. - If the Amazon Lex V2 bot exists, you must use the
UPDATE_EXISTING
migration strategy to change the contents of the Amazon Lex V2 bot.