Delete Utterances
lexmodelbuildingservice_delete_utterances | R Documentation |
Deletes stored utterances¶
Description¶
Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances
are stored for 15 days for use with the get_utterances_view
operation,
and then stored indefinitely for use in improving the ability of your
bot to respond to user input.
Use the delete_utterances
operation to manually delete stored
utterances for a specific user. When you use the delete_utterances
operation, utterances stored for improving your bot's ability to respond
to user input are deleted immediately. Utterances stored for use with
the get_utterances_view
operation are deleted after 15 days.
This operation requires permissions for the lex:DeleteUtterances
action.
Usage¶
Arguments¶
botName
[required] The name of the bot that stored the utterances.
userId
[required] The unique identifier for the user that made the utterances. This is the user ID that was sent in the PostContent or PostText operation request that contained the utterance.
Value¶
An empty list.