amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.Types.Database

Description

 
Synopsis

Documentation

data Database Source #

The Database object represents a logical grouping of tables that might reside in a Hive metastore or an RDBMS.

See: newDatabase smart constructor.

Constructors

Database' 

Fields

Instances

Instances details
FromJSON Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Generic Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Associated Types

type Rep Database :: Type -> Type #

Methods

from :: Database -> Rep Database x #

to :: Rep Database x -> Database #

Read Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

NFData Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Methods

rnf :: Database -> () #

Eq Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Hashable Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

type Rep Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

newDatabase Source #

Create a value of Database with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

Database, database_catalogId - The ID of the Data Catalog in which the database resides.

$sel:createTableDefaultPermissions:Database', database_createTableDefaultPermissions - Creates a set of default permissions on the table for principals.

$sel:createTime:Database', database_createTime - The time at which the metadata database was created in the catalog.

$sel:description:Database', database_description - A description of the database.

$sel:locationUri:Database', database_locationUri - The location of the database (for example, an HDFS path).

$sel:parameters:Database', database_parameters - These key-value pairs define parameters and properties of the database.

$sel:targetDatabase:Database', database_targetDatabase - A DatabaseIdentifier structure that describes a target database for resource linking.

$sel:name:Database', database_name - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.

database_catalogId :: Lens' Database (Maybe Text) Source #

The ID of the Data Catalog in which the database resides.

database_createTableDefaultPermissions :: Lens' Database (Maybe [PrincipalPermissions]) Source #

Creates a set of default permissions on the table for principals.

database_createTime :: Lens' Database (Maybe UTCTime) Source #

The time at which the metadata database was created in the catalog.

database_description :: Lens' Database (Maybe Text) Source #

A description of the database.

database_locationUri :: Lens' Database (Maybe Text) Source #

The location of the database (for example, an HDFS path).

database_parameters :: Lens' Database (Maybe (HashMap Text Text)) Source #

These key-value pairs define parameters and properties of the database.

database_targetDatabase :: Lens' Database (Maybe DatabaseIdentifier) Source #

A DatabaseIdentifier structure that describes a target database for resource linking.

database_name :: Lens' Database Text Source #

The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.