Skip to content

Deletes a specific version of an intent

Description

Deletes a specific version of an intent. To delete all versions of a intent, use the delete_intent operation.

This operation requires permissions for the lex:DeleteIntentVersion action.

Usage

lexmodelbuildingservice_delete_intent_version(name, version)

Arguments

  • name

    [required] The name of the intent.

  • version

    [required] The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the delete_intent operation.

Value

An empty list.

Request syntax

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