lexmodelbuildingservice_delete_utterances: Deletes stored utterances

Description Usage Arguments Value Request syntax

View source: R/lexmodelbuildingservice_operations.R

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

1

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.

Request syntax

1
2
3
4
svc$delete_utterances(
  botName = "string",
  userId = "string"
)

paws.machine.learning documentation built on Aug. 23, 2021, 9:14 a.m.