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

Description

 
Synopsis

Documentation

data QueryExecutionContext Source #

The database and data catalog context in which the query execution occurs.

See: newQueryExecutionContext smart constructor.

Constructors

QueryExecutionContext' 

Fields

  • database :: Maybe Text

    The name of the database used in the query execution. The database must exist in the catalog.

  • catalog :: Maybe Text

    The name of the data catalog used in the query execution.

Instances

Instances details
Eq QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Read QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Show QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Generic QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Associated Types

type Rep QueryExecutionContext :: Type -> Type #

NFData QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

Methods

rnf :: QueryExecutionContext -> () #

Hashable QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

ToJSON QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

FromJSON QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

type Rep QueryExecutionContext Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecutionContext

type Rep QueryExecutionContext = D1 ('MetaData "QueryExecutionContext" "Amazonka.Athena.Types.QueryExecutionContext" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "QueryExecutionContext'" 'PrefixI 'True) (S1 ('MetaSel ('Just "database") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "catalog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newQueryExecutionContext :: QueryExecutionContext Source #

Create a value of QueryExecutionContext 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:QueryExecutionContext', queryExecutionContext_database - The name of the database used in the query execution. The database must exist in the catalog.

$sel:catalog:QueryExecutionContext', queryExecutionContext_catalog - The name of the data catalog used in the query execution.

queryExecutionContext_database :: Lens' QueryExecutionContext (Maybe Text) Source #

The name of the database used in the query execution. The database must exist in the catalog.

queryExecutionContext_catalog :: Lens' QueryExecutionContext (Maybe Text) Source #

The name of the data catalog used in the query execution.