| 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.DeleteIntent
Description
Deletes all versions of the intent, including the > LATEST version. To delete a specific version of the intent, use the DeleteIntentVersion operation.
You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see 'how-it-works' ), you must remove those references first.
This operation requires permission for the lex:DeleteIntent action.
Creating a Request
Arguments
| :: Text | |
| -> DeleteIntent |
Creates a value of DeleteIntent with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diName- The name of the intent. The name is case sensitive.
data DeleteIntent Source #
See: deleteIntent smart constructor.
Instances
Request Lenses
Destructuring the Response
deleteIntentResponse :: DeleteIntentResponse Source #
Creates a value of DeleteIntentResponse with the minimum fields required to make a request.
data DeleteIntentResponse Source #
See: deleteIntentResponse smart constructor.