Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_intent_version

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.

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

  • LexModelBuildingService.Client.exceptions.NotFoundException
  • LexModelBuildingService.Client.exceptions.ConflictException
  • LexModelBuildingService.Client.exceptions.LimitExceededException
  • LexModelBuildingService.Client.exceptions.InternalFailureException
  • LexModelBuildingService.Client.exceptions.BadRequestException
  • LexModelBuildingService.Client.exceptions.ResourceInUseException