Add Lf Tags To Resource
| lakeformation_add_lf_tags_to_resource | R Documentation |
Attaches one or more LF-tags to an existing resource¶
Description¶
Attaches one or more LF-tags to an existing resource.
Usage¶
lakeformation_add_lf_tags_to_resource(CatalogId, Resource, LFTags)
Arguments¶
CatalogId |
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. |
Resource |
[required] The database, table, or column resource to which to attach an LF-tag. |
LFTags |
[required] The LF-tags to attach to the resource. |
Value¶
A list with the following syntax:
list(
Failures = list(
list(
LFTag = list(
CatalogId = "string",
TagKey = "string",
TagValues = list(
"string"
)
),
Error = list(
ErrorCode = "string",
ErrorMessage = "string"
)
)
)
)
Request syntax¶
svc$add_lf_tags_to_resource(
CatalogId = "string",
Resource = list(
Catalog = list(
Id = "string"
),
Database = list(
CatalogId = "string",
Name = "string"
),
Table = list(
CatalogId = "string",
DatabaseName = "string",
Name = "string",
TableWildcard = list()
),
TableWithColumns = list(
CatalogId = "string",
DatabaseName = "string",
Name = "string",
ColumnNames = list(
"string"
),
ColumnWildcard = list(
ExcludedColumnNames = list(
"string"
)
)
),
DataLocation = list(
CatalogId = "string",
ResourceArn = "string"
),
DataCellsFilter = list(
TableCatalogId = "string",
DatabaseName = "string",
TableName = "string",
Name = "string"
),
LFTag = list(
CatalogId = "string",
TagKey = "string",
TagValues = list(
"string"
)
),
LFTagPolicy = list(
CatalogId = "string",
ResourceType = "DATABASE"|"TABLE",
Expression = list(
list(
TagKey = "string",
TagValues = list(
"string"
)
)
),
ExpressionName = "string"
),
LFTagExpression = list(
CatalogId = "string",
Name = "string"
)
),
LFTags = list(
list(
CatalogId = "string",
TagKey = "string",
TagValues = list(
"string"
)
)
)
)