Delete Intent
lexmodelbuildingservice_delete_intent | R Documentation |
Deletes all versions of the intent, including the $LATEST version¶
Description¶
Deletes all versions of the intent, including the $LATEST
version. To
delete a specific version of the intent, use the delete_intent_version
operation.
You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first.
If you get the ResourceInUseException
exception, it provides an
example reference that shows where the intent is referenced. To remove
the reference to the intent, either update the bot or delete it. If you
get the same exception when you attempt to delete the intent again,
repeat until the intent has no references and the call to
delete_intent
is successful.
This operation requires permission for the lex:DeleteIntent
action.
Usage¶
Arguments¶
name
[required] The name of the intent. The name is case sensitive.
Value¶
An empty list.