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

Description

Returns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran. Query execution runtime statistics are returned only when QueryExecutionStatus$State is in a SUCCEEDED or FAILED state. Stage-level input and output row count and data size statistics are not shown when a query has row-level filters defined in Lake Formation.

Synopsis

Creating a Request

data GetQueryRuntimeStatistics Source #

See: newGetQueryRuntimeStatistics smart constructor.

Constructors

GetQueryRuntimeStatistics' 

Fields

Instances

Instances details
ToJSON GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

ToHeaders GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

ToPath GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

ToQuery GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

AWSRequest GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Generic GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Associated Types

type Rep GetQueryRuntimeStatistics :: Type -> Type #

Read GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Show GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

NFData GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Eq GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Hashable GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

type AWSResponse GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

type Rep GetQueryRuntimeStatistics Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

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

newGetQueryRuntimeStatistics Source #

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

GetQueryRuntimeStatistics, getQueryRuntimeStatistics_queryExecutionId - The unique ID of the query execution.

Request Lenses

Destructuring the Response

data GetQueryRuntimeStatisticsResponse Source #

See: newGetQueryRuntimeStatisticsResponse smart constructor.

Constructors

GetQueryRuntimeStatisticsResponse' 

Fields

Instances

Instances details
Generic GetQueryRuntimeStatisticsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Associated Types

type Rep GetQueryRuntimeStatisticsResponse :: Type -> Type #

Read GetQueryRuntimeStatisticsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Show GetQueryRuntimeStatisticsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

NFData GetQueryRuntimeStatisticsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

Eq GetQueryRuntimeStatisticsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

type Rep GetQueryRuntimeStatisticsResponse Source # 
Instance details

Defined in Amazonka.Athena.GetQueryRuntimeStatistics

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

newGetQueryRuntimeStatisticsResponse Source #

Create a value of GetQueryRuntimeStatisticsResponse 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:queryRuntimeStatistics:GetQueryRuntimeStatisticsResponse', getQueryRuntimeStatisticsResponse_queryRuntimeStatistics - Runtime statistics about the query execution.

$sel:httpStatus:GetQueryRuntimeStatisticsResponse', getQueryRuntimeStatisticsResponse_httpStatus - The response's http status code.

Response Lenses