Skip to content

/AWS1/CL_LM2=>UPDATEBOTLOCALE()

About UpdateBotLocale

Updates the settings that a bot has for a specific locale.

Method Signature

IMPORTING

Required arguments:

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The unique identifier of the bot that contains the locale.

IV_BOTVERSION TYPE /AWS1/LM2DRAFTBOTVERSION /AWS1/LM2DRAFTBOTVERSION

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

IV_LOCALEID TYPE /AWS1/LM2LOCALEID /AWS1/LM2LOCALEID

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

IV_NLUINTENTCONFIDENCETHRESH TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

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

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/LM2DESCRIPTION /AWS1/LM2DESCRIPTION

The new description of the locale.

IO_VOICESETTINGS TYPE REF TO /AWS1/CL_LM2VOICESETTINGS /AWS1/CL_LM2VOICESETTINGS

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

IO_GENERATIVEAISETTINGS TYPE REF TO /AWS1/CL_LM2GENERATIVEAISTGS /AWS1/CL_LM2GENERATIVEAISTGS

Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2UPDATEBOTLOCALERSP /AWS1/CL_LM2UPDATEBOTLOCALERSP