Skip to content

/AWS1/CL_LKF=>CREATELFTAGEXPRESSION()

About CreateLFTagExpression

Creates a new LF-Tag expression with the provided name, description, catalog ID, and expression body. This call fails if a LF-Tag expression with the same name already exists in the caller’s account or if the underlying LF-Tags don't exist. To call this API operation, caller needs the following Lake Formation permissions:

CREATE_LF_TAG_EXPRESSION on the root catalog resource.

GRANT_WITH_LF_TAG_EXPRESSION on all underlying LF-Tag key:value pairs included in the expression.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/LKFNAMESTRING /AWS1/LKFNAMESTRING

A name for the expression.

IT_EXPRESSION TYPE /AWS1/CL_LKFLFTAG=>TT_EXPRESSION TT_EXPRESSION

A list of LF-Tag conditions (key-value pairs).

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/LKFDESCRIPTIONSTRING /AWS1/LKFDESCRIPTIONSTRING

A description with information about the LF-Tag expression.

IV_CATALOGID TYPE /AWS1/LKFCATALOGIDSTRING /AWS1/LKFCATALOGIDSTRING

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LKFCRELFTAGXPRSNRSP /AWS1/CL_LKFCRELFTAGXPRSNRSP