LexModelBuildingService / Client / delete_slot_type_version
delete_slot_type_version¶
- LexModelBuildingService.Client.delete_slot_type_version(**kwargs)¶
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:DeleteSlotTypeVersionaction.See also: AWS API Documentation
Request Syntax
response = client.delete_slot_type_version( name='string', version='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the slot type.
version (string) –
[REQUIRED]
The version of the slot type to delete. You cannot delete the
$LATESTversion of the slot type. To delete the$LATESTversion, use the DeleteSlotType operation.
- Returns:
None
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundExceptionLexModelBuildingService.Client.exceptions.ConflictExceptionLexModelBuildingService.Client.exceptions.LimitExceededExceptionLexModelBuildingService.Client.exceptions.InternalFailureExceptionLexModelBuildingService.Client.exceptions.BadRequestExceptionLexModelBuildingService.Client.exceptions.ResourceInUseException