AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTAnalytics::Types::DeltaTime

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeltaTime as input to an Aws::Client method, you can use a vanilla Hash:

{
  offset_seconds: 1, # required
  time_expression: "TimeExpression", # required
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#offset_secondsInteger

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.

Returns:

  • (Integer)

    The number of seconds of estimated in-flight lag time of message data.

#time_expressionString

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.

Returns:

  • (String)

    An expression by which the time of the message data might be determined.