class Aws::Glue::Types::CreateDatabaseRequest
@note When making an API call, you may pass CreateDatabaseRequest
data as a hash: { catalog_id: "CatalogIdString", database_input: { # required name: "NameString", # required description: "DescriptionString", location_uri: "URI", parameters: { "KeyString" => "ParametersMapValue", }, create_table_default_permissions: [ { principal: { data_lake_principal_identifier: "DataLakePrincipalString", }, permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS }, ], target_database: { catalog_id: "CatalogIdString", database_name: "NameString", }, }, }
@!attribute [rw] catalog_id
The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services account ID is used by default. @return [String]
@!attribute [rw] database_input
The metadata for the database. @return [Types::DatabaseInput]
@see docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabaseRequest AWS API Documentation
Constants
- SENSITIVE