AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::LexModelBuildingService::Types::StartMigrationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

Note:

When making an API call, you may pass StartMigrationRequest data as a hash:

{
  v1_bot_name: "BotName", # required
  v1_bot_version: "Version", # required
  v2_bot_name: "V2BotName", # required
  v2_bot_role: "IamRoleArn", # required
  migration_strategy: "CREATE_NEW", # required, accepts CREATE_NEW, UPDATE_EXISTING
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#migration_strategyString

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.

Returns:

  • (String)


5085
5086
5087
5088
5089
5090
5091
5092
5093
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 5085

class StartMigrationRequest < Struct.new(
  :v1_bot_name,
  :v1_bot_version,
  :v2_bot_name,
  :v2_bot_role,
  :migration_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#v1_bot_nameString

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

Returns:

  • (String)


5085
5086
5087
5088
5089
5090
5091
5092
5093
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 5085

class StartMigrationRequest < Struct.new(
  :v1_bot_name,
  :v1_bot_version,
  :v2_bot_name,
  :v2_bot_role,
  :migration_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#v1_bot_versionString

The version of the bot to migrate to Amazon Lex V2. You can migrate the $LATEST version as well as any numbered version.

Returns:

  • (String)


5085
5086
5087
5088
5089
5090
5091
5092
5093
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 5085

class StartMigrationRequest < Struct.new(
  :v1_bot_name,
  :v1_bot_version,
  :v2_bot_name,
  :v2_bot_role,
  :migration_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#v2_bot_nameString

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.

Returns:

  • (String)


5085
5086
5087
5088
5089
5090
5091
5092
5093
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 5085

class StartMigrationRequest < Struct.new(
  :v1_bot_name,
  :v1_bot_version,
  :v2_bot_name,
  :v2_bot_role,
  :migration_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#v2_bot_roleString

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

Returns:

  • (String)


5085
5086
5087
5088
5089
5090
5091
5092
5093
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 5085

class StartMigrationRequest < Struct.new(
  :v1_bot_name,
  :v1_bot_version,
  :v2_bot_name,
  :v2_bot_role,
  :migration_strategy)
  SENSITIVE = []
  include Aws::Structure
end