Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DatabaseInput = DatabaseInput' {}
- newDatabaseInput :: Text -> DatabaseInput
- databaseInput_locationUri :: Lens' DatabaseInput (Maybe Text)
- databaseInput_targetDatabase :: Lens' DatabaseInput (Maybe DatabaseIdentifier)
- databaseInput_parameters :: Lens' DatabaseInput (Maybe (HashMap Text Text))
- databaseInput_description :: Lens' DatabaseInput (Maybe Text)
- databaseInput_createTableDefaultPermissions :: Lens' DatabaseInput (Maybe [PrincipalPermissions])
- databaseInput_name :: Lens' DatabaseInput Text
Documentation
data DatabaseInput Source #
The structure used to create or update a database.
See: newDatabaseInput
smart constructor.
DatabaseInput' | |
|
Instances
Create a value of DatabaseInput
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:DatabaseInput'
, databaseInput_locationUri
- The location of the database (for example, an HDFS path).
$sel:targetDatabase:DatabaseInput'
, databaseInput_targetDatabase
- A DatabaseIdentifier
structure that describes a target database for
resource linking.
$sel:parameters:DatabaseInput'
, databaseInput_parameters
- These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
$sel:description:DatabaseInput'
, databaseInput_description
- A description of the database.
$sel:createTableDefaultPermissions:DatabaseInput'
, databaseInput_createTableDefaultPermissions
- Creates a set of default permissions on the table for principals.
$sel:name:DatabaseInput'
, databaseInput_name
- The name of the database. For Hive compatibility, this is folded to
lowercase when it is stored.
databaseInput_locationUri :: Lens' DatabaseInput (Maybe Text) Source #
The location of the database (for example, an HDFS path).
databaseInput_targetDatabase :: Lens' DatabaseInput (Maybe DatabaseIdentifier) Source #
A DatabaseIdentifier
structure that describes a target database for
resource linking.
databaseInput_parameters :: Lens' DatabaseInput (Maybe (HashMap Text Text)) Source #
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
databaseInput_description :: Lens' DatabaseInput (Maybe Text) Source #
A description of the database.
databaseInput_createTableDefaultPermissions :: Lens' DatabaseInput (Maybe [PrincipalPermissions]) Source #
Creates a set of default permissions on the table for principals.
databaseInput_name :: Lens' DatabaseInput Text Source #
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.