Skip to content

Delete Slot Type Version

lexmodelbuildingservice_delete_slot_type_version R Documentation

Deletes a specific version of a slot type

Description

Deletes a specific version of a slot type. To delete all versions of a slot type, use the delete_slot_type operation.

This operation requires permissions for the lex:DeleteSlotTypeVersion action.

Usage

lexmodelbuildingservice_delete_slot_type_version(name, version)

Arguments

name

[required] The name of the slot type.

version

[required] 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 delete_slot_type operation.

Value

An empty list.

Request syntax

svc$delete_slot_type_version(
  name = "string",
  version = "string"
)