Skip to content

/AWS1/CL_LM2=>UPDATEINTENT()

About UpdateIntent

Updates the settings for an intent.

Method Signature

IMPORTING

Required arguments:

IV_INTENTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The unique identifier of the intent to update.

IV_INTENTNAME TYPE /AWS1/LM2NAME /AWS1/LM2NAME

The new name for the intent.

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The identifier of the bot that contains the intent.

IV_BOTVERSION TYPE /AWS1/LM2DRAFTBOTVERSION /AWS1/LM2DRAFTBOTVERSION

The version of the bot that contains the intent. Must be DRAFT.

IV_LOCALEID TYPE /AWS1/LM2LOCALEID /AWS1/LM2LOCALEID

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.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/LM2DESCRIPTION /AWS1/LM2DESCRIPTION

The new description of the intent.

IV_PARENTINTENTSIGNATURE TYPE /AWS1/LM2INTENTSIGNATURE /AWS1/LM2INTENTSIGNATURE

The signature of the new built-in intent to use as the parent of this intent.

IT_SAMPLEUTTERANCES TYPE /AWS1/CL_LM2SAMPLEUTTERANCE=>TT_SAMPLEUTTERANCESLIST TT_SAMPLEUTTERANCESLIST

New utterances used to invoke the intent.

IO_DIALOGCODEHOOK TYPE REF TO /AWS1/CL_LM2DIALOGCODEHOOKSTGS /AWS1/CL_LM2DIALOGCODEHOOKSTGS

The new Lambda function to use between each turn of the conversation with the bot.

IO_FULFILLMENTCODEHOOK TYPE REF TO /AWS1/CL_LM2FULFILLMENTCODEH00 /AWS1/CL_LM2FULFILLMENTCODEH00

The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

IT_SLOTPRIORITIES TYPE /AWS1/CL_LM2SLOTPRIORITY=>TT_SLOTPRIORITIESLIST TT_SLOTPRIORITIESLIST

A new list of slots and their priorities that are contained by the intent.

IO_INTENTCONFIRMATIONSETTING TYPE REF TO /AWS1/CL_LM2INTENTCONFATIONS00 /AWS1/CL_LM2INTENTCONFATIONS00

New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

IO_INTENTCLOSINGSETTING TYPE REF TO /AWS1/CL_LM2INTENTCLOSINGSET00 /AWS1/CL_LM2INTENTCLOSINGSET00

The new response that Amazon Lex sends the user when the intent is closed.

IT_INPUTCONTEXTS TYPE /AWS1/CL_LM2INPUTCONTEXT=>TT_INPUTCONTEXTSLIST TT_INPUTCONTEXTSLIST

A new list of contexts that must be active in order for Amazon Lex to consider the intent.

IT_OUTPUTCONTEXTS TYPE /AWS1/CL_LM2OUTPUTCONTEXT=>TT_OUTPUTCONTEXTSLIST TT_OUTPUTCONTEXTSLIST

A new list of contexts that Amazon Lex activates when the intent is fulfilled.

IO_KENDRACONFIGURATION TYPE REF TO /AWS1/CL_LM2KENDRACONF /AWS1/CL_LM2KENDRACONF

New configuration settings for connecting to an Amazon Kendra index.

IO_INITIALRESPONSESETTING TYPE REF TO /AWS1/CL_LM2INITIALRSPSETTING /AWS1/CL_LM2INITIALRSPSETTING

Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

IO_QNAINTENTCONFIGURATION TYPE REF TO /AWS1/CL_LM2QNAINTENTCONF /AWS1/CL_LM2QNAINTENTCONF

Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2UPDATEINTENTRSP /AWS1/CL_LM2UPDATEINTENTRSP