LakeFormation / Client / delete_lf_tag
delete_lf_tag¶
- LakeFormation.Client.delete_lf_tag(**kwargs)¶
Deletes an LF-tag by its key name. The operation fails if the specified tag key doesn’t exist. When you delete an LF-Tag:
The associated LF-Tag policy becomes invalid.
Resources that had this tag assigned will no longer have the tag policy applied to them.
See also: AWS API Documentation
Request Syntax
response = client.delete_lf_tag( CatalogId='string', TagKey='string' )
- Parameters:
CatalogId (string) – The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
TagKey (string) –
[REQUIRED]
The key-name for the LF-tag to delete.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
LakeFormation.Client.exceptions.EntityNotFoundExceptionLakeFormation.Client.exceptions.InvalidInputExceptionLakeFormation.Client.exceptions.InternalServiceExceptionLakeFormation.Client.exceptions.OperationTimeoutExceptionLakeFormation.Client.exceptions.AccessDeniedException