amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 #

Contains an array of named query IDs.

See: newBatchGetNamedQuery smart constructor.

Constructors

BatchGetNamedQuery' 

Fields

Instances

Instances details
ToJSON BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.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

AWSRequest BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type AWSResponse BatchGetNamedQuery #

Generic BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQuery :: Type -> Type #

Read BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Show BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

NFData BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Methods

rnf :: BatchGetNamedQuery -> () #

Eq BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Hashable BatchGetNamedQuery Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

type AWSResponse 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" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "BatchGetNamedQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namedQueryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

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
Generic BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQueryResponse :: Type -> Type #

Read BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Show BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

NFData BatchGetNamedQueryResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetNamedQuery

Eq 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" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" '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