Skip to content

Remove Lf Tags From Resource

lakeformation_remove_lf_tags_from_resource R Documentation

Removes an LF-tag from the resource

Description

Removes an LF-tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in tableWithColumns to specify column input.

Usage

lakeformation_remove_lf_tags_from_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 where you want to remove an LF-tag.

LFTags

[required] The LF-tags to be removed from 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$remove_lf_tags_from_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"
      )
    )
  )
)