| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Glue.Types.Database
Description
Synopsis
- data Database = Database' {}
- newDatabase :: Text -> Database
- database_catalogId :: Lens' Database (Maybe Text)
- database_createTableDefaultPermissions :: Lens' Database (Maybe [PrincipalPermissions])
- database_createTime :: Lens' Database (Maybe UTCTime)
- database_description :: Lens' Database (Maybe Text)
- database_locationUri :: Lens' Database (Maybe Text)
- database_parameters :: Lens' Database (Maybe (HashMap Text Text))
- database_targetDatabase :: Lens' Database (Maybe DatabaseIdentifier)
- database_name :: Lens' Database Text
Documentation
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
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_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.