Class: Aws::LexModelsV2::Types::CreateBotVersionRequest

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

Overview

Note:

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

{
  bot_id: "Id", # required
  description: "Description",
  bot_version_locale_specification: { # required
    "LocaleId" => {
      source_bot_version: "BotVersion", # required
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_idString

The identifier of the bot to create the version for.

Returns:

  • (String)


1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1646

class CreateBotVersionRequest < Struct.new(
  :bot_id,
  :description,
  :bot_version_locale_specification)
  SENSITIVE = []
  include Aws::Structure
end

#bot_version_locale_specificationHash<String,Types::BotVersionLocaleDetails>

Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.

Returns:



1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1646

class CreateBotVersionRequest < Struct.new(
  :bot_id,
  :description,
  :bot_version_locale_specification)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the version. Use the description to help identify the version in lists.

Returns:

  • (String)


1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 1646

class CreateBotVersionRequest < Struct.new(
  :bot_id,
  :description,
  :bot_version_locale_specification)
  SENSITIVE = []
  include Aws::Structure
end