LakeFormation / Client / delete_lf_tag_expression

delete_lf_tag_expression#

LakeFormation.Client.delete_lf_tag_expression(**kwargs)#

Deletes the LF-Tag expression. The caller must be a data lake admin or have DROP permissions on the LF-Tag expression. Deleting a LF-Tag expression will also delete all LFTagPolicy permissions referencing the LF-Tag expression.

See also: AWS API Documentation

Request Syntax

response = client.delete_lf_tag_expression(
    Name='string',
    CatalogId='string'
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name for the LF-Tag expression.

  • CatalogId (string) – The identifier for the Data Catalog. By default, the account ID in which the LF-Tag expression is saved.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • LakeFormation.Client.exceptions.EntityNotFoundException

  • LakeFormation.Client.exceptions.InvalidInputException

  • LakeFormation.Client.exceptions.InternalServiceException

  • LakeFormation.Client.exceptions.OperationTimeoutException

  • LakeFormation.Client.exceptions.AccessDeniedException