dialogCodeHook
construct an aws.sdk.kotlin.services.lexmodelsv2.model.DialogCodeHookSettings inside the given block
Specifies that Amazon Lex invokes the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction.
For example, suppose that your bot determines that the user's name is John. You Lambda function might retrieve John's information from a backend database and prepopulate some of the values. For example, if you find that John is gluten intolerant, you might set the corresponding intent slot, glutenIntolerant
to true
. You might find John's phone number and set the corresponding session attribute.