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

Description

Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.

Synopsis

Creating a Request

data GetNamedQuery Source #

See: newGetNamedQuery smart constructor.

Constructors

GetNamedQuery' 

Fields

  • namedQueryId :: Text

    The unique ID of the query. Use ListNamedQueries to get query IDs.

Instances

Instances details
Eq GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Read GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Show GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Generic GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQuery :: Type -> Type #

NFData GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Methods

rnf :: GetNamedQuery -> () #

Hashable GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

ToJSON GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

AWSRequest GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Associated Types

type AWSResponse GetNamedQuery #

ToHeaders GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

ToPath GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

ToQuery GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

type Rep GetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

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

Defined in Amazonka.Athena.GetNamedQuery

newGetNamedQuery Source #

Create a value of GetNamedQuery 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:GetNamedQuery', getNamedQuery_namedQueryId - The unique ID of the query. Use ListNamedQueries to get query IDs.

Request Lenses

getNamedQuery_namedQueryId :: Lens' GetNamedQuery Text Source #

The unique ID of the query. Use ListNamedQueries to get query IDs.

Destructuring the Response

data GetNamedQueryResponse Source #

See: newGetNamedQueryResponse smart constructor.

Constructors

GetNamedQueryResponse' 

Fields

Instances

Instances details
Eq GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Read GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Show GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Generic GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQueryResponse :: Type -> Type #

NFData GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

Methods

rnf :: GetNamedQueryResponse -> () #

type Rep GetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.GetNamedQuery

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

newGetNamedQueryResponse Source #

Create a value of GetNamedQueryResponse 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:namedQuery:GetNamedQueryResponse', getNamedQueryResponse_namedQuery - Information about the query.

$sel:httpStatus:GetNamedQueryResponse', getNamedQueryResponse_httpStatus - The response's http status code.

Response Lenses