amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.Types.QueryStatisticsForDescribeQuery

Description

 
Synopsis

Documentation

data QueryStatisticsForDescribeQuery Source #

Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.

See: newQueryStatisticsForDescribeQuery smart constructor.

Constructors

QueryStatisticsForDescribeQuery' 

Fields

Instances

Instances details
FromJSON QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Generic QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Associated Types

type Rep QueryStatisticsForDescribeQuery :: Type -> Type #

Read QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Show QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

NFData QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Eq QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

Hashable QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

type Rep QueryStatisticsForDescribeQuery Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery

type Rep QueryStatisticsForDescribeQuery = D1 ('MetaData "QueryStatisticsForDescribeQuery" "Amazonka.CloudTrail.Types.QueryStatisticsForDescribeQuery" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "QueryStatisticsForDescribeQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "eventsMatched") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "eventsScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "executionTimeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newQueryStatisticsForDescribeQuery :: QueryStatisticsForDescribeQuery Source #

Create a value of QueryStatisticsForDescribeQuery 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:bytesScanned:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_bytesScanned - The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

$sel:creationTime:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_creationTime - The creation time of the query.

$sel:eventsMatched:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_eventsMatched - The number of events that matched a query.

$sel:eventsScanned:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_eventsScanned - The number of events that the query scanned in the event data store.

$sel:executionTimeInMillis:QueryStatisticsForDescribeQuery', queryStatisticsForDescribeQuery_executionTimeInMillis - The query's run time, in milliseconds.

queryStatisticsForDescribeQuery_bytesScanned :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer) Source #

The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

queryStatisticsForDescribeQuery_eventsScanned :: Lens' QueryStatisticsForDescribeQuery (Maybe Integer) Source #

The number of events that the query scanned in the event data store.