Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DeltaTime = DeltaTime' {}
- newDeltaTime :: Int -> Text -> DeltaTime
- deltaTime_offsetSeconds :: Lens' DeltaTime Int
- deltaTime_timeExpression :: Lens' DeltaTime Text
Documentation
Used to limit data to that which has arrived since the last execution of the action.
See: newDeltaTime
smart constructor.
DeltaTime' | |
|
Instances
Eq DeltaTime Source # | |
Read DeltaTime Source # | |
Show DeltaTime Source # | |
Generic DeltaTime Source # | |
NFData DeltaTime Source # | |
Defined in Amazonka.IoTAnalytics.Types.DeltaTime | |
Hashable DeltaTime Source # | |
Defined in Amazonka.IoTAnalytics.Types.DeltaTime | |
ToJSON DeltaTime Source # | |
Defined in Amazonka.IoTAnalytics.Types.DeltaTime | |
FromJSON DeltaTime Source # | |
type Rep DeltaTime Source # | |
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))) |
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.