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 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 #
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> LATEST
version of the slot type. To delete the> LATEST
version, use theDeleteSlotType
operation.
data DeleteSlotTypeVersion Source #
See: deleteSlotTypeVersion
smart constructor.
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.