LexModelBuildingService / Client / delete_intent_version

delete_intent_version

LexModelBuildingService.Client.delete_intent_version(**kwargs)

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

This operation requires permissions for the lex:DeleteIntentVersion action.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.delete_intent_version(
    name='string',
    version='string'
)
Parameters:
  • name (string) –

    [REQUIRED]

    The name of the intent.

  • version (string) –

    [REQUIRED]

    The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the DeleteIntent operation.

Returns:

None

Exceptions