| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LexModels.DeleteIntentVersion
Description
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.
Synopsis
- data DeleteIntentVersion = DeleteIntentVersion' {}
- newDeleteIntentVersion :: Text -> Text -> DeleteIntentVersion
- deleteIntentVersion_name :: Lens' DeleteIntentVersion Text
- deleteIntentVersion_version :: Lens' DeleteIntentVersion Text
- data DeleteIntentVersionResponse = DeleteIntentVersionResponse' {
- newDeleteIntentVersionResponse :: DeleteIntentVersionResponse
Creating a Request
data DeleteIntentVersion Source #
See: newDeleteIntentVersion smart constructor.
Constructors
| DeleteIntentVersion' | |
Instances
newDeleteIntentVersion Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteIntentVersion |
Create a value of DeleteIntentVersion with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteIntentVersion, deleteIntentVersion_name - The name of the intent.
DeleteIntentVersion, deleteIntentVersion_version - 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.
Request Lenses
deleteIntentVersion_name :: Lens' DeleteIntentVersion Text Source #
The name of the intent.
deleteIntentVersion_version :: 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
data DeleteIntentVersionResponse Source #
See: newDeleteIntentVersionResponse smart constructor.
Constructors
| DeleteIntentVersionResponse' | |
Instances
newDeleteIntentVersionResponse :: DeleteIntentVersionResponse Source #
Create a value of DeleteIntentVersionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.