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

Description

 
Synopsis

Documentation

data TimeSeriesDataPoint Source #

The timeseries data type represents the values of a measure over time. A time series is an array of rows of timestamps and measure values, with rows sorted in ascending order of time. A TimeSeriesDataPoint is a single data point in the time series. It represents a tuple of (time, measure value) in a time series.

See: newTimeSeriesDataPoint smart constructor.

Constructors

TimeSeriesDataPoint' 

Fields

  • time :: Text

    The timestamp when the measure value was collected.

  • value :: Datum

    The measure value for the data point.

Instances

Instances details
FromJSON TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

Generic TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

Associated Types

type Rep TimeSeriesDataPoint :: Type -> Type #

Read TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

Show TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

NFData TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

Methods

rnf :: TimeSeriesDataPoint -> () #

Eq TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

Hashable TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

type Rep TimeSeriesDataPoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint

type Rep TimeSeriesDataPoint = D1 ('MetaData "TimeSeriesDataPoint" "Amazonka.TimeStreamQuery.Types.TimeSeriesDataPoint" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "TimeSeriesDataPoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Datum)))

newTimeSeriesDataPoint Source #

Create a value of TimeSeriesDataPoint 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:time:TimeSeriesDataPoint', timeSeriesDataPoint_time - The timestamp when the measure value was collected.

$sel:value:TimeSeriesDataPoint', timeSeriesDataPoint_value - The measure value for the data point.

timeSeriesDataPoint_time :: Lens' TimeSeriesDataPoint Text Source #

The timestamp when the measure value was collected.

timeSeriesDataPoint_value :: Lens' TimeSeriesDataPoint Datum Source #

The measure value for the data point.