Learn R Programming

paws.analytics (version 0.1.7)

glue_create_database: Creates a new database in a Data Catalog

Description

Creates a new database in a Data Catalog.

Usage

glue_create_database(CatalogId, DatabaseInput)

Arguments

CatalogId

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

DatabaseInput

[required] The metadata for the database.

Request syntax

svc$create_database(
  CatalogId = "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"
        )
      )
    )
  )
)