| 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 |
Network.AWS.LexModels.DeleteBotVersion
Description
Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
This operation requires permissions for the lex:DeleteBotVersion action.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteBotVersion |
Creates a value of DeleteBotVersion with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbvName- The name of the bot.dbvVersion- The version of the bot to delete. You cannot delete the> LATESTversion of the bot. To delete the> LATESTversion, use theDeleteBotoperation.
data DeleteBotVersion Source #
See: deleteBotVersion smart constructor.
Instances
Request Lenses
dbvVersion :: Lens' DeleteBotVersion Text Source #
The version of the bot to delete. You cannot delete the > LATEST version of the bot. To delete the > LATEST version, use the DeleteBot operation.
Destructuring the Response
deleteBotVersionResponse :: DeleteBotVersionResponse Source #
Creates a value of DeleteBotVersionResponse with the minimum fields required to make a request.
data DeleteBotVersionResponse Source #
See: deleteBotVersionResponse smart constructor.