Struct aws_sdk_lexmodelsv2::model::BotAliasLocaleSettings
source · [−]#[non_exhaustive]pub struct BotAliasLocaleSettings {
pub enabled: bool,
pub code_hook_specification: Option<CodeHookSpecification>,
}Expand description
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolDetermines whether the locale is enabled for the bot. If the value is false, the locale isn't available for use.
code_hook_specification: Option<CodeHookSpecification>Specifies the Lambda function that should be used in the locale.
Implementations
Determines whether the locale is enabled for the bot. If the value is false, the locale isn't available for use.
Specifies the Lambda function that should be used in the locale.
Creates a new builder-style object to manufacture BotAliasLocaleSettings
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BotAliasLocaleSettings
impl Send for BotAliasLocaleSettings
impl Sync for BotAliasLocaleSettings
impl Unpin for BotAliasLocaleSettings
impl UnwindSafe for BotAliasLocaleSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more