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

Description

Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.

Synopsis

Creating a Request

data BatchGetQueryExecution Source #

Contains an array of query execution IDs.

See: newBatchGetQueryExecution smart constructor.

Constructors

BatchGetQueryExecution' 

Fields

Instances

Instances details
ToJSON BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

ToHeaders BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

ToPath BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

ToQuery BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

AWSRequest BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Associated Types

type AWSResponse BatchGetQueryExecution #

Generic BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Associated Types

type Rep BatchGetQueryExecution :: Type -> Type #

Read BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Show BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

NFData BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Methods

rnf :: BatchGetQueryExecution -> () #

Eq BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Hashable BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type AWSResponse BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecution = D1 ('MetaData "BatchGetQueryExecution" "Amazonka.Athena.BatchGetQueryExecution" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "BatchGetQueryExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newBatchGetQueryExecution Source #

Create a value of BatchGetQueryExecution 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:queryExecutionIds:BatchGetQueryExecution', batchGetQueryExecution_queryExecutionIds - An array of query execution IDs.

Request Lenses

Destructuring the Response

data BatchGetQueryExecutionResponse Source #

See: newBatchGetQueryExecutionResponse smart constructor.

Constructors

BatchGetQueryExecutionResponse' 

Fields

Instances

Instances details
Generic BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Associated Types

type Rep BatchGetQueryExecutionResponse :: Type -> Type #

Read BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Show BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

NFData BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

Eq BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecutionResponse = D1 ('MetaData "BatchGetQueryExecutionResponse" "Amazonka.Athena.BatchGetQueryExecution" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "BatchGetQueryExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryExecution])) :*: (S1 ('MetaSel ('Just "unprocessedQueryExecutionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedQueryExecutionId])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetQueryExecutionResponse Source #

Create a value of BatchGetQueryExecutionResponse 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:queryExecutions:BatchGetQueryExecutionResponse', batchGetQueryExecutionResponse_queryExecutions - Information about a query execution.

$sel:unprocessedQueryExecutionIds:BatchGetQueryExecutionResponse', batchGetQueryExecutionResponse_unprocessedQueryExecutionIds - Information about the query executions that failed to run.

$sel:httpStatus:BatchGetQueryExecutionResponse', batchGetQueryExecutionResponse_httpStatus - The response's http status code.

Response Lenses