Class: Aws::LocationService::Types::ListDevicePositionsResponseEntry

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

Overview

Contains the tracker resource details.

Constant Summary collapse

SENSITIVE =
[:position]

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

The ID of the device for this position.

Returns:

  • (String)


3207
3208
3209
3210
3211
3212
3213
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3207

class ListDevicePositionsResponseEntry < Struct.new(
  :device_id,
  :position,
  :sample_time)
  SENSITIVE = [:position]
  include Aws::Structure
end

#positionArray<Float>

The last known device position. Empty if no positions currently stored.

Returns:

  • (Array<Float>)


3207
3208
3209
3210
3211
3212
3213
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3207

class ListDevicePositionsResponseEntry < Struct.new(
  :device_id,
  :position,
  :sample_time)
  SENSITIVE = [:position]
  include Aws::Structure
end

#sample_timeTime

The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Returns:

  • (Time)


3207
3208
3209
3210
3211
3212
3213
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3207

class ListDevicePositionsResponseEntry < Struct.new(
  :device_id,
  :position,
  :sample_time)
  SENSITIVE = [:position]
  include Aws::Structure
end