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

Description

 
Synopsis

Documentation

data NamedQuery Source #

A query, where QueryString is the list of SQL query statements that comprise the query.

See: newNamedQuery smart constructor.

Constructors

NamedQuery' 

Fields

Instances

Instances details
Eq NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Read NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Show NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Generic NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Associated Types

type Rep NamedQuery :: Type -> Type #

NFData NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

Methods

rnf :: NamedQuery -> () #

Hashable NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

FromJSON NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

type Rep NamedQuery Source # 
Instance details

Defined in Amazonka.Athena.Types.NamedQuery

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

newNamedQuery Source #

Create a value of NamedQuery 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:namedQueryId:NamedQuery', namedQuery_namedQueryId - The unique identifier of the query.

$sel:description:NamedQuery', namedQuery_description - The query description.

$sel:workGroup:NamedQuery', namedQuery_workGroup - The name of the workgroup that contains the named query.

$sel:name:NamedQuery', namedQuery_name - The query name.

$sel:database:NamedQuery', namedQuery_database - The database to which the query belongs.

$sel:queryString:NamedQuery', namedQuery_queryString - The SQL query statements that comprise the query.

namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text) Source #

The unique identifier of the query.

namedQuery_workGroup :: Lens' NamedQuery (Maybe Text) Source #

The name of the workgroup that contains the named query.

namedQuery_database :: Lens' NamedQuery Text Source #

The database to which the query belongs.

namedQuery_queryString :: Lens' NamedQuery Text Source #

The SQL query statements that comprise the query.