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

Description

Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.

Synopsis

Creating a Request

data GetQueryExecution Source #

See: newGetQueryExecution smart constructor.

Constructors

GetQueryExecution' 

Fields

Instances

Instances details
ToJSON GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToHeaders GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToPath GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToQuery GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

AWSRequest GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type AWSResponse GetQueryExecution #

Generic GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type Rep GetQueryExecution :: Type -> Type #

Read GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Show GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

NFData GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Methods

rnf :: GetQueryExecution -> () #

Eq GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Hashable GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type AWSResponse GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

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

newGetQueryExecution Source #

Create a value of GetQueryExecution 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:

GetQueryExecution, getQueryExecution_queryExecutionId - The unique ID of the query execution.

Request Lenses

getQueryExecution_queryExecutionId :: Lens' GetQueryExecution Text Source #

The unique ID of the query execution.

Destructuring the Response

data GetQueryExecutionResponse Source #

See: newGetQueryExecutionResponse smart constructor.

Constructors

GetQueryExecutionResponse' 

Fields

Instances

Instances details
Generic GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type Rep GetQueryExecutionResponse :: Type -> Type #

Read GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Show GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

NFData GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Eq GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

type Rep GetQueryExecutionResponse = D1 ('MetaData "GetQueryExecutionResponse" "Amazonka.Athena.GetQueryExecution" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "GetQueryExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryExecution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryExecution)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetQueryExecutionResponse Source #

Create a value of GetQueryExecutionResponse 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:queryExecution:GetQueryExecutionResponse', getQueryExecutionResponse_queryExecution - Information about the query execution.

$sel:httpStatus:GetQueryExecutionResponse', getQueryExecutionResponse_httpStatus - The response's http status code.

Response Lenses