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 all versions of the bot, including the > LATEST
version. To delete a specific version of the bot, use the DeleteBotVersion
operation.
If a bot has an alias, you can't delete it. Instead, the DeleteBot
operation returns a ResourceInUseException
exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot
operation is successful.
This operation requires permissions for the lex:DeleteBot
action.
Synopsis
- deleteBot :: Text -> DeleteBot
- data DeleteBot
- dbName :: Lens' DeleteBot Text
- deleteBotResponse :: DeleteBotResponse
- data DeleteBotResponse
Creating a Request
See: deleteBot
smart constructor.
Instances
Request Lenses
Destructuring the Response
deleteBotResponse :: DeleteBotResponse Source #
Creates a value of DeleteBotResponse
with the minimum fields required to make a request.
data DeleteBotResponse Source #
See: deleteBotResponse
smart constructor.