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 a specific version of an intent. To delete all versions of a intent, use the DeleteIntent
operation.
This operation requires permissions for the lex:DeleteIntentVersion
action.
Creating a Request
Creates a value of DeleteIntentVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
divName
- The name of the intent.divVersion
- The version of the intent to delete. You cannot delete the> LATEST
version of the intent. To delete the> LATEST
version, use theDeleteIntent
operation.
data DeleteIntentVersion Source #
See: deleteIntentVersion
smart constructor.
Instances
Request Lenses
divVersion :: Lens' DeleteIntentVersion Text Source #
The version of the intent to delete. You cannot delete the > LATEST
version of the intent. To delete the > LATEST
version, use the DeleteIntent
operation.
Destructuring the Response
deleteIntentVersionResponse :: DeleteIntentVersionResponse Source #
Creates a value of DeleteIntentVersionResponse
with the minimum fields required to make a request.
data DeleteIntentVersionResponse Source #
See: deleteIntentVersionResponse
smart constructor.