libZSservicesZSamazonka-athenaZSamazonka-athena
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.Athena.Types.Database

Description

 
Synopsis

Documentation

data Database Source #

Contains metadata information for a database in a data catalog.

See: newDatabase smart constructor.

Constructors

Database' 

Fields

Instances

Instances details
Eq Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Read Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Generic Database Source # 
Instance details

Defined in Amazonka.Athena.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.Athena.Types.Database

Methods

rnf :: Database -> () #

Hashable Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

FromJSON Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

type Rep Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

type Rep Database = D1 ('MetaData "Database" "Amazonka.Athena.Types.Database" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "Database'" 'PrefixI 'True) (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 "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:parameters:Database', database_parameters - A set of custom key/value pairs.

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

$sel:name:Database', database_name - The name of the database.

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

A set of custom key/value pairs.

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

An optional description of the database.

database_name :: Lens' Database Text Source #

The name of the database.