Skip to content

Batch Revoke Permissions

lakeformation_batch_revoke_permissions R Documentation

Batch operation to revoke permissions from the principal

Description

Batch operation to revoke permissions from the principal.

Usage

lakeformation_batch_revoke_permissions(CatalogId, Entries)

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.

Entries

[required] A list of up to 20 entries for resource permissions to be revoked by batch operation to the principal.

Value

A list with the following syntax:

list(
  Failures = list(
    list(
      RequestEntry = list(
        Id = "string",
        Principal = list(
          DataLakePrincipalIdentifier = "string"
        ),
        Resource = list(
          Catalog = list(),
          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"
                )
              )
            )
          )
        ),
        Permissions = list(
          "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_LF_TAG"|"ASSOCIATE"|"GRANT_WITH_LF_TAG_EXPRESSION"
        ),
        PermissionsWithGrantOption = list(
          "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_LF_TAG"|"ASSOCIATE"|"GRANT_WITH_LF_TAG_EXPRESSION"
        )
      ),
      Error = list(
        ErrorCode = "string",
        ErrorMessage = "string"
      )
    )
  )
)

Request syntax

svc$batch_revoke_permissions(
  CatalogId = "string",
  Entries = list(
    list(
      Id = "string",
      Principal = list(
        DataLakePrincipalIdentifier = "string"
      ),
      Resource = list(
        Catalog = list(),
        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"
              )
            )
          )
        )
      ),
      Permissions = list(
        "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_LF_TAG"|"ASSOCIATE"|"GRANT_WITH_LF_TAG_EXPRESSION"
      ),
      PermissionsWithGrantOption = list(
        "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_LF_TAG"|"ASSOCIATE"|"GRANT_WITH_LF_TAG_EXPRESSION"
      )
    )
  )
)