Skip to content

Put Data Lake Settings

lakeformation_put_data_lake_settings R Documentation

Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation

Description

Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see Granting Lake Formation Permissions.

This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.

Usage

lakeformation_put_data_lake_settings(CatalogId, DataLakeSettings)

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.

DataLakeSettings

[required] A structure representing a list of Lake Formation principals designated as data lake administrators.

Value

An empty list.

Request syntax

svc$put_data_lake_settings(
  CatalogId = "string",
  DataLakeSettings = list(
    DataLakeAdmins = list(
      list(
        DataLakePrincipalIdentifier = "string"
      )
    ),
    ReadOnlyAdmins = list(
      list(
        DataLakePrincipalIdentifier = "string"
      )
    ),
    CreateDatabaseDefaultPermissions = list(
      list(
        Principal = list(
          DataLakePrincipalIdentifier = "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"
        )
      )
    ),
    CreateTableDefaultPermissions = list(
      list(
        Principal = list(
          DataLakePrincipalIdentifier = "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"
        )
      )
    ),
    Parameters = list(
      "string"
    ),
    TrustedResourceOwners = list(
      "string"
    ),
    AllowExternalDataFiltering = TRUE|FALSE,
    AllowFullTableExternalDataAccess = TRUE|FALSE,
    ExternalDataFilteringAllowList = list(
      list(
        DataLakePrincipalIdentifier = "string"
      )
    ),
    AuthorizedSessionTagValueList = list(
      "string"
    )
  )
)