Class: Aws::LexModelsV2::Types::BotAliasLocaleSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::BotAliasLocaleSettings
- 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
-
#code_hook_specification ⇒ Types::CodeHookSpecification
Specifies the Lambda function that should be used in the locale.
-
#enabled ⇒ Boolean
Determines whether the locale is enabled for the bot.
Instance Attribute Details
#code_hook_specification ⇒ Types::CodeHookSpecification
Specifies the Lambda function that should be used in the locale.
324 325 326 327 328 329 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 324 class BotAliasLocaleSettings < Struct.new( :enabled, :code_hook_specification) SENSITIVE = [] include Aws::Structure end |
#enabled ⇒ Boolean
Determines whether the locale is enabled for the bot. If the value
is false
, the locale isn't available for use.
324 325 326 327 328 329 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 324 class BotAliasLocaleSettings < Struct.new( :enabled, :code_hook_specification) SENSITIVE = [] include Aws::Structure end |