| 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.DeleteSlotTypeVersion
Description
Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.
This operation requires permissions for the lex:DeleteSlotTypeVersion action.
Creating a Request
deleteSlotTypeVersion Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteSlotTypeVersion |
Creates a value of DeleteSlotTypeVersion with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dstvName- The name of the slot type.dstvVersion- The version of the slot type to delete. You cannot delete the> LATESTversion of the slot type. To delete the> LATESTversion, use theDeleteSlotTypeoperation.
data DeleteSlotTypeVersion Source #
See: deleteSlotTypeVersion smart constructor.
Instances
Request Lenses
dstvVersion :: Lens' DeleteSlotTypeVersion Text Source #
The version of the slot type to delete. You cannot delete the > LATEST version of the slot type. To delete the > LATEST version, use the DeleteSlotType operation.
Destructuring the Response
deleteSlotTypeVersionResponse :: DeleteSlotTypeVersionResponse Source #
Creates a value of DeleteSlotTypeVersionResponse with the minimum fields required to make a request.
data DeleteSlotTypeVersionResponse Source #
See: deleteSlotTypeVersionResponse smart constructor.
Instances