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
- Struct
- Aws::IoT::Types::TimestreamTimestamp
- 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
-
#unit ⇒ String
The precision of the timestamp value that results from the expression described in
value
. -
#value ⇒ String
An expression that returns a long epoch time value.
Instance Attribute Details
#unit ⇒ String
The precision of the timestamp value that results from the expression
described in value
.
Valid values: SECONDS
| MILLISECONDS
| MICROSECONDS
|
NANOSECONDS
. The default is MILLISECONDS
.
#value ⇒ String
An expression that returns a long epoch time value.