Class: Aws::LexModelsV2::Types::BotAliasLocaleSettings

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

{
  enabled: false, # required
  code_hook_specification: {
    lambda_code_hook: { # required
      lambda_arn: "LambdaARN", # required
      code_hook_interface_version: "CodeHookInterfaceVersion", # required
    },
  },
}

Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_hook_specificationTypes::CodeHookSpecification

Specifies the Lambda function that should be used in the locale.



248
249
250
251
252
253
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 248

class BotAliasLocaleSettings < Struct.new(
  :enabled,
  :code_hook_specification)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Determines whether the locale is enabled for the bot. If the value is false, the locale isn't available for use.

Returns:

  • (Boolean)


248
249
250
251
252
253
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 248

class BotAliasLocaleSettings < Struct.new(
  :enabled,
  :code_hook_specification)
  SENSITIVE = []
  include Aws::Structure
end