Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the GetUtterancesView
operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input.
Use the DeleteStoredUtterances
operation to manually delete stored utterances for a specific user.
This operation requires permissions for the lex:DeleteUtterances
action.
Creating a Request
Creates a value of DeleteUtterances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duBotName
- The name of the bot that stored the utterances.duUserId
- 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.
data DeleteUtterances Source #
See: deleteUtterances
smart constructor.
Request Lenses
duUserId :: Lens' DeleteUtterances Text Source #
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.
Destructuring the Response
deleteUtterancesResponse :: DeleteUtterancesResponse Source #
Creates a value of DeleteUtterancesResponse
with the minimum fields required to make a request.
data DeleteUtterancesResponse Source #
See: deleteUtterancesResponse
smart constructor.