libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Read Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Show 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 #

NFData Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Methods

rnf :: Database -> () #

Hashable Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

FromJSON Database Source # 
Instance details

Defined in Amazonka.Glue.Types.Database

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:

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

$sel:catalogId:Database', database_catalogId - The ID of the Data Catalog in which the database resides.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

A description of the database.

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

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

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

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

database_name :: Lens' Database Text Source #

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