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

Class: Aws::IoT::Types::TimestreamTimestamp

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

Overview

Note:

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

{
  value: "TimestreamTimestampValue", # required
  unit: "TimestreamTimestampUnit", # required
}

Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

The precision of the timestamp value that results from the expression described in value.

Valid values: SECONDS | MILLISECONDS | MICROSECONDS | NANOSECONDS. The default is MILLISECONDS.

Returns:

  • (String)

    The precision of the timestamp value that results from the expression described in value.

#valueString

An expression that returns a long epoch time value.

Returns:

  • (String)

    An expression that returns a long epoch time value.