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.DatabaseInput

Description

 
Synopsis

Documentation

data DatabaseInput Source #

The structure used to create or update a database.

See: newDatabaseInput smart constructor.

Constructors

DatabaseInput' 

Fields

Instances

Instances details
Eq DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

Read DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

Show DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

Generic DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

Associated Types

type Rep DatabaseInput :: Type -> Type #

NFData DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

Methods

rnf :: DatabaseInput -> () #

Hashable DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

ToJSON DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

type Rep DatabaseInput Source # 
Instance details

Defined in Amazonka.Glue.Types.DatabaseInput

type Rep DatabaseInput = D1 ('MetaData "DatabaseInput" "Amazonka.Glue.Types.DatabaseInput" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DatabaseInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "locationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetDatabase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatabaseIdentifier)) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createTableDefaultPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PrincipalPermissions])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDatabaseInput Source #

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.