Learn R Programming

paws.analytics (version 0.1.12)

glue_update_database: Updates an existing database definition in a Data Catalog

Description

Updates an existing database definition in a Data Catalog.

Usage

glue_update_database(CatalogId, Name, DatabaseInput)

Value

An empty list.

Arguments

CatalogId

The ID of the Data Catalog in which the metadata database resides. If none is provided, the AWS account ID is used by default.

Name

[required] The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.

DatabaseInput

[required] A DatabaseInput object specifying the new definition of the metadata database in the catalog.

Request syntax

svc$update_database(
  CatalogId = "string",
  Name = "string",
  DatabaseInput = list(
    Name = "string",
    Description = "string",
    LocationUri = "string",
    Parameters = list(
      "string"
    ),
    CreateTableDefaultPermissions = list(
      list(
        Principal = list(
          DataLakePrincipalIdentifier = "string"
        ),
        Permissions = list(
          "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"
        )
      )
    ),
    TargetDatabase = list(
      CatalogId = "string",
      DatabaseName = "string"
    )
  )
)