Copyright | (c) 2013-2021 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 |
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.
Instances
newDeleteIntentVersion Source #
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:
$sel:name:DeleteIntentVersion'
, deleteIntentVersion_name
- The name of the intent.
$sel:version: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.
Instances
newDeleteIntentVersionResponse :: DeleteIntentVersionResponse Source #
Create a value of DeleteIntentVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.