Updates the settings for an intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_intent/ for full documentation.
Usage
lexmodelsv2_update_intent(
intentId,
intentName,
intentDisplayName = NULL,
description = NULL,
parentIntentSignature = NULL,
sampleUtterances = NULL,
dialogCodeHook = NULL,
fulfillmentCodeHook = NULL,
slotPriorities = NULL,
intentConfirmationSetting = NULL,
intentClosingSetting = NULL,
inputContexts = NULL,
outputContexts = NULL,
kendraConfiguration = NULL,
botId,
botVersion,
localeId,
initialResponseSetting = NULL,
qnAIntentConfiguration = NULL,
qInConnectIntentConfiguration = NULL
)Arguments
- intentId
[required] The unique identifier of the intent to update.
- intentName
[required] The new name for the intent.
- intentDisplayName
The new display name for the intent.
- description
The new description of the intent.
- parentIntentSignature
The signature of the new built-in intent to use as the parent of this intent.
- sampleUtterances
New utterances used to invoke the intent.
- dialogCodeHook
The new Lambda function to use between each turn of the conversation with the bot.
- fulfillmentCodeHook
The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
- slotPriorities
A new list of slots and their priorities that are contained by the intent.
- intentConfirmationSetting
New prompts that Amazon Lex sends to the user to confirm the completion of an intent.
- intentClosingSetting
The new response that Amazon Lex sends the user when the intent is closed.
- inputContexts
A new list of contexts that must be active in order for Amazon Lex to consider the intent.
- outputContexts
A new list of contexts that Amazon Lex activates when the intent is fulfilled.
- kendraConfiguration
New configuration settings for connecting to an Amazon Kendra index.
- botId
[required] The identifier of the bot that contains the intent.
- botVersion
[required] The version of the bot that contains the intent. Must be
DRAFT.- localeId
[required] The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.
- initialResponseSetting
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
- qnAIntentConfiguration
Specifies the configuration of the built-in
Amazon.QnAIntent. TheAMAZON.QnAIntentintent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify thekendraConfigurationfield.- qInConnectIntentConfiguration
Qinconnect intent configuration details for the update intent request.