libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTAnalytics.Types.DeltaTime

Description

 
Synopsis

Documentation

data DeltaTime Source #

Used to limit data to that which has arrived since the last execution of the action.

See: newDeltaTime smart constructor.

Constructors

DeltaTime' 

Fields

  • offsetSeconds :: Int

    The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.

  • timeExpression :: Text

    An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.

Instances

Instances details
Eq DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

Read DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

Show DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

Generic DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

Associated Types

type Rep DeltaTime :: Type -> Type #

NFData DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

Methods

rnf :: DeltaTime -> () #

Hashable DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

ToJSON DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

FromJSON DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

type Rep DeltaTime Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.DeltaTime

type Rep DeltaTime = D1 ('MetaData "DeltaTime" "Amazonka.IoTAnalytics.Types.DeltaTime" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "DeltaTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offsetSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "timeExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeltaTime Source #

Create a value of DeltaTime 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:offsetSeconds:DeltaTime', deltaTime_offsetSeconds - The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.

$sel:timeExpression:DeltaTime', deltaTime_timeExpression - An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.

deltaTime_offsetSeconds :: Lens' DeltaTime Int Source #

The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.

deltaTime_timeExpression :: Lens' DeltaTime Text Source #

An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.