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

Description

Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.

Synopsis

Creating a Request

data BatchGetNamedQuery Source #

See: newBatchGetNamedQuery smart constructor.

Constructors

BatchGetNamedQuery' 

Fields

Instances

Instances details
Eq BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Read BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Show BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Generic BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQuery :: Type -> Type #

NFData BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Methods

rnf :: BatchGetNamedQuery -> () #

Hashable BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

ToJSON BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

AWSRequest BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type AWSResponse BatchGetNamedQuery #

ToHeaders BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

ToPath BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

ToQuery BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

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

Defined in Amazonka.Athena.BatchGetNamedQuery

newBatchGetNamedQuery Source #

Create a value of BatchGetNamedQuery 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:namedQueryIds:BatchGetNamedQuery', batchGetNamedQuery_namedQueryIds - An array of query IDs.

Request Lenses

Destructuring the Response

data BatchGetNamedQueryResponse Source #

See: newBatchGetNamedQueryResponse smart constructor.

Constructors

BatchGetNamedQueryResponse' 

Fields

Instances

Instances details
Eq BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Read BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Show BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Generic BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQueryResponse :: Type -> Type #

NFData BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQueryResponse = D1 ('MetaData "BatchGetNamedQueryResponse" "Amazonka.Athena.BatchGetNamedQuery" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "BatchGetNamedQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NamedQuery])) :*: (S1 ('MetaSel ('Just "unprocessedNamedQueryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedNamedQueryId])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetNamedQueryResponse Source #

Create a value of BatchGetNamedQueryResponse 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:namedQueries:BatchGetNamedQueryResponse', batchGetNamedQueryResponse_namedQueries - Information about the named query IDs submitted.

$sel:unprocessedNamedQueryIds:BatchGetNamedQueryResponse', batchGetNamedQueryResponse_unprocessedNamedQueryIds - Information about provided query IDs.

$sel:httpStatus:BatchGetNamedQueryResponse', batchGetNamedQueryResponse_httpStatus - The response's http status code.

Response Lenses