amazonka-timestream-query-2.0: Amazon Timestream Query 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.TimeStreamQuery.Types.QueryStatus

Description

 
Synopsis

Documentation

data QueryStatus Source #

Information about the status of the query, including progress and bytes scanned.

See: newQueryStatus smart constructor.

Constructors

QueryStatus' 

Fields

  • cumulativeBytesMetered :: Maybe Integer

    The amount of data scanned by the query in bytes that you will be charged for. This is a cumulative sum and represents the total amount of data that you will be charged for since the query was started. The charge is applied only once and is either applied when the query completes running or when the query is cancelled.

  • cumulativeBytesScanned :: Maybe Integer

    The amount of data scanned by the query in bytes. This is a cumulative sum and represents the total amount of bytes scanned since the query was started.

  • progressPercentage :: Maybe Double

    The progress of the query, expressed as a percentage.

Instances

Instances details
FromJSON QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

Generic QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

Associated Types

type Rep QueryStatus :: Type -> Type #

Read QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

Show QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

NFData QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

Methods

rnf :: QueryStatus -> () #

Eq QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

Hashable QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

type Rep QueryStatus Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.QueryStatus

type Rep QueryStatus = D1 ('MetaData "QueryStatus" "Amazonka.TimeStreamQuery.Types.QueryStatus" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "QueryStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cumulativeBytesMetered") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "cumulativeBytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "progressPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newQueryStatus :: QueryStatus Source #

Create a value of QueryStatus 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:cumulativeBytesMetered:QueryStatus', queryStatus_cumulativeBytesMetered - The amount of data scanned by the query in bytes that you will be charged for. This is a cumulative sum and represents the total amount of data that you will be charged for since the query was started. The charge is applied only once and is either applied when the query completes running or when the query is cancelled.

$sel:cumulativeBytesScanned:QueryStatus', queryStatus_cumulativeBytesScanned - The amount of data scanned by the query in bytes. This is a cumulative sum and represents the total amount of bytes scanned since the query was started.

$sel:progressPercentage:QueryStatus', queryStatus_progressPercentage - The progress of the query, expressed as a percentage.

queryStatus_cumulativeBytesMetered :: Lens' QueryStatus (Maybe Integer) Source #

The amount of data scanned by the query in bytes that you will be charged for. This is a cumulative sum and represents the total amount of data that you will be charged for since the query was started. The charge is applied only once and is either applied when the query completes running or when the query is cancelled.

queryStatus_cumulativeBytesScanned :: Lens' QueryStatus (Maybe Integer) Source #

The amount of data scanned by the query in bytes. This is a cumulative sum and represents the total amount of bytes scanned since the query was started.

queryStatus_progressPercentage :: Lens' QueryStatus (Maybe Double) Source #

The progress of the query, expressed as a percentage.