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

Description

Returns a database object for the specified database and data catalog.

Synopsis

Creating a Request

data GetDatabase Source #

See: newGetDatabase smart constructor.

Constructors

GetDatabase' 

Fields

Instances

Instances details
Eq GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Read GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Show GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Generic GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Associated Types

type Rep GetDatabase :: Type -> Type #

NFData GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Methods

rnf :: GetDatabase -> () #

Hashable GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

ToJSON GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

AWSRequest GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Associated Types

type AWSResponse GetDatabase #

ToHeaders GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Methods

toHeaders :: GetDatabase -> [Header] #

ToPath GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

ToQuery GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

type Rep GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

type Rep GetDatabase = D1 ('MetaData "GetDatabase" "Amazonka.Athena.GetDatabase" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetDatabase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDatabase Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

newGetDatabase Source #

Create a value of GetDatabase 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:catalogName:GetDatabase', getDatabase_catalogName - The name of the data catalog that contains the database to return.

$sel:databaseName:GetDatabase', getDatabase_databaseName - The name of the database to return.

Request Lenses

getDatabase_catalogName :: Lens' GetDatabase Text Source #

The name of the data catalog that contains the database to return.

getDatabase_databaseName :: Lens' GetDatabase Text Source #

The name of the database to return.

Destructuring the Response

data GetDatabaseResponse Source #

See: newGetDatabaseResponse smart constructor.

Constructors

GetDatabaseResponse' 

Fields

Instances

Instances details
Eq GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Read GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Show GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Generic GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Associated Types

type Rep GetDatabaseResponse :: Type -> Type #

NFData GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

Methods

rnf :: GetDatabaseResponse -> () #

type Rep GetDatabaseResponse Source # 
Instance details

Defined in Amazonka.Athena.GetDatabase

type Rep GetDatabaseResponse = D1 ('MetaData "GetDatabaseResponse" "Amazonka.Athena.GetDatabase" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetDatabaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Database)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDatabaseResponse Source #

Create a value of GetDatabaseResponse 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:database:GetDatabaseResponse', getDatabaseResponse_database - The database returned.

$sel:httpStatus:GetDatabaseResponse', getDatabaseResponse_httpStatus - The response's http status code.

Response Lenses