Class: Aws::LexModelsV2::Types::ImportResourceSpecification

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 ImportResourceSpecification data as a hash:

{
  bot_import_specification: {
    bot_name: "Name", # required
    role_arn: "RoleArn", # required
    data_privacy: { # required
      child_directed: false, # required
    },
    idle_session_ttl_in_seconds: 1,
    bot_tags: {
      "TagKey" => "TagValue",
    },
    test_bot_alias_tags: {
      "TagKey" => "TagValue",
    },
  },
  bot_locale_import_specification: {
    bot_id: "Id", # required
    bot_version: "DraftBotVersion", # required
    locale_id: "LocaleId", # required
    nlu_intent_confidence_threshold: 1.0,
    voice_settings: {
      voice_id: "VoiceId", # required
    },
  },
}

Provides information about the bot or bot locale that you want to import. You can sepcifiy the botImportSpecification or the botLocaleImportSpecification, but not both.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_import_specificationTypes::BotImportSpecification

Parameters for importing a bot.



4763
4764
4765
4766
4767
4768
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 4763

class ImportResourceSpecification < Struct.new(
  :bot_import_specification,
  :bot_locale_import_specification)
  SENSITIVE = []
  include Aws::Structure
end

#bot_locale_import_specificationTypes::BotLocaleImportSpecification

Parameters for importing a bot locale.



4763
4764
4765
4766
4767
4768
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 4763

class ImportResourceSpecification < Struct.new(
  :bot_import_specification,
  :bot_locale_import_specification)
  SENSITIVE = []
  include Aws::Structure
end