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.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
Eq GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Read GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Show GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Generic GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type Rep GetQueryExecution :: Type -> Type #

NFData GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Methods

rnf :: GetQueryExecution -> () #

Hashable GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

ToJSON GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

AWSRequest GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type AWSResponse 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

type Rep GetQueryExecution Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

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

Defined in Amazonka.Athena.GetQueryExecution

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:

$sel:queryExecutionId: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
Eq GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Read GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Show GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Generic GetQueryExecutionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryExecution

Associated Types

type Rep GetQueryExecutionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-athenaZSamazonka-athena" '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