Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data BotAliasLocaleSettings Source #
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
See: newBotAliasLocaleSettings
smart constructor.
BotAliasLocaleSettings' | |
|
Instances
newBotAliasLocaleSettings Source #
Create a value of BotAliasLocaleSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeHookSpecification:BotAliasLocaleSettings'
, botAliasLocaleSettings_codeHookSpecification
- Specifies the Lambda function that should be used in the locale.
$sel:enabled:BotAliasLocaleSettings'
, botAliasLocaleSettings_enabled
- Determines whether the locale is enabled for the bot. If the value is
false
, the locale isn't available for use.
botAliasLocaleSettings_codeHookSpecification :: Lens' BotAliasLocaleSettings (Maybe CodeHookSpecification) Source #
Specifies the Lambda function that should be used in the locale.
botAliasLocaleSettings_enabled :: Lens' BotAliasLocaleSettings Bool Source #
Determines whether the locale is enabled for the bot. If the value is
false
, the locale isn't available for use.