StartMigrationRequest
¶
Source code in docs_src/capo_lex_model_building_service/types/start_migration_request.py
migration_strategy
instance-attribute
¶
migration_strategy: MigrationStrategy
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.
v1_bot_name
instance-attribute
¶
v1_bot_name: BotName
The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.
v1_bot_version
instance-attribute
¶
v1_bot_version: Version
The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as any numbered version.
v2_bot_name
instance-attribute
¶
v2_bot_name: V2BotName
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_NEWmigration strategy. -
If the Amazon Lex V2 bot exists, you must use the
UPDATE_EXISTINGmigration strategy to change the contents of the Amazon Lex V2 bot.
v2_bot_role
instance-attribute
¶
v2_bot_role: IamRoleArn
The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.