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::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.