amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Read Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

NFData Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

rnf :: Database -> () #

Eq Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Hashable Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

type Rep Database Source # 
Instance details

Defined in Amazonka.Athena.Types.Database

type Rep Database = D1 ('MetaData "Database" "Amazonka.Athena.Types.Database" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "Database'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text 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:description:Database', database_description - An optional description of the database.

$sel:parameters:Database', database_parameters - A set of custom key/value pairs.

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

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

An optional description of the database.

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

A set of custom key/value pairs.

database_name :: Lens' Database Text Source #

The name of the database.