LakeFormation / Client / create_lf_tag

create_lf_tag#

LakeFormation.Client.create_lf_tag(**kwargs)#

Creates an LF-tag with the specified name and values.

See also: AWS API Documentation

Request Syntax

response = client.create_lf_tag(
    CatalogId='string',
    TagKey='string',
    TagValues=[
        '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.

  • TagValues (list) –

    [REQUIRED]

    A list of possible values an attribute can take.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • LakeFormation.Client.exceptions.EntityNotFoundException

  • LakeFormation.Client.exceptions.InvalidInputException

  • LakeFormation.Client.exceptions.ResourceNumberLimitExceededException

  • LakeFormation.Client.exceptions.InternalServiceException

  • LakeFormation.Client.exceptions.OperationTimeoutException

  • LakeFormation.Client.exceptions.AccessDeniedException