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

Description

 
Synopsis

Documentation

data QueryStatistics Source #

Metadata about a query, such as the number of results.

See: newQueryStatistics smart constructor.

Constructors

QueryStatistics' 

Fields

  • bytesScanned :: Maybe Integer

    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.

  • resultsCount :: Maybe Int

    The number of results returned.

  • totalResultsCount :: Maybe Int

    The total number of results returned by a query.

Instances

Instances details
FromJSON QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Generic QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Associated Types

type Rep QueryStatistics :: Type -> Type #

Read QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Show QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

NFData QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Methods

rnf :: QueryStatistics -> () #

Eq QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

Hashable QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

type Rep QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.QueryStatistics

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

newQueryStatistics :: QueryStatistics Source #

Create a value of QueryStatistics 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:QueryStatistics', queryStatistics_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:resultsCount:QueryStatistics', queryStatistics_resultsCount - The number of results returned.

$sel:totalResultsCount:QueryStatistics', queryStatistics_totalResultsCount - The total number of results returned by a query.

queryStatistics_bytesScanned :: Lens' QueryStatistics (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.

queryStatistics_resultsCount :: Lens' QueryStatistics (Maybe Int) Source #

The number of results returned.

queryStatistics_totalResultsCount :: Lens' QueryStatistics (Maybe Int) Source #

The total number of results returned by a query.