glue_update_database: Updates an existing database definition in a Data Catalog

Description Usage Arguments Value Request syntax

View source: R/glue_operations.R

Description

Updates an existing database definition in a Data Catalog.

Usage

1
glue_update_database(CatalogId, Name, DatabaseInput)

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.

Value

An empty list.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"
    )
  )
)

paws.analytics documentation built on March 8, 2021, 1:10 a.m.