Class: Aws::IoT::Types::LocationTimestamp

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


12856
12857
12858
12859
12860
12861
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 12856

class LocationTimestamp < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

An expression that returns a long epoch time value.

Returns:

  • (String)


12856
12857
12858
12859
12860
12861
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 12856

class LocationTimestamp < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end