Class: Aws::LexModelsV2::Types::UpdateBotLocaleRequest

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

{
  bot_id: "Id", # required
  bot_version: "DraftBotVersion", # required
  locale_id: "LocaleId", # required
  description: "Description",
  nlu_intent_confidence_threshold: 1.0, # required
  voice_settings: {
    voice_id: "VoiceId", # required
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_idString

The unique identifier of the bot that contains the locale.

Returns:

  • (String)


9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9706

class UpdateBotLocaleRequest < Struct.new(
  :bot_id,
  :bot_version,
  :locale_id,
  :description,
  :nlu_intent_confidence_threshold,
  :voice_settings)
  SENSITIVE = []
  include Aws::Structure
end

#bot_versionString

The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.

Returns:

  • (String)


9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9706

class UpdateBotLocaleRequest < Struct.new(
  :bot_id,
  :bot_version,
  :locale_id,
  :description,
  :nlu_intent_confidence_threshold,
  :voice_settings)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The new description of the locale.

Returns:

  • (String)


9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9706

class UpdateBotLocaleRequest < Struct.new(
  :bot_id,
  :bot_version,
  :locale_id,
  :description,
  :nlu_intent_confidence_threshold,
  :voice_settings)
  SENSITIVE = []
  include Aws::Structure
end

#locale_idString

The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.

Returns:

  • (String)


9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9706

class UpdateBotLocaleRequest < Struct.new(
  :bot_id,
  :bot_version,
  :locale_id,
  :description,
  :nlu_intent_confidence_threshold,
  :voice_settings)
  SENSITIVE = []
  include Aws::Structure
end

#nlu_intent_confidence_thresholdFloat

The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.

Returns:

  • (Float)


9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9706

class UpdateBotLocaleRequest < Struct.new(
  :bot_id,
  :bot_version,
  :locale_id,
  :description,
  :nlu_intent_confidence_threshold,
  :voice_settings)
  SENSITIVE = []
  include Aws::Structure
end

#voice_settingsTypes::VoiceSettings

The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.



9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 9706

class UpdateBotLocaleRequest < Struct.new(
  :bot_id,
  :bot_version,
  :locale_id,
  :description,
  :nlu_intent_confidence_threshold,
  :voice_settings)
  SENSITIVE = []
  include Aws::Structure
end