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 data set contents using message data from a specified time frame, some message data may still be \"in flight\" when processing begins, and so will 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 time frame will be included with the next time frame. Without this, missed message data would be excluded from processing during the next time frame as well, because its timestamp places it within the previous time frame.

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 may be determined. This may be the name of a timestamp field, or a SQL expression which is used to derive the time the message data was generated.

Returns:

  • (String)

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