Class: Aws::LocationService::Types::DevicePosition

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

Overview

Contains the device position details.

Constant Summary collapse

SENSITIVE =
[:sample_time, :received_time, :position, :position_properties]

Instance Attribute Summary collapse

Instance Attribute Details

#accuracyTypes::PositionalAccuracy

The accuracy of the device position.



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/aws-sdk-locationservice/types.rb', line 2941

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

#device_idString

The device whose position you retrieved.



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/aws-sdk-locationservice/types.rb', line 2941

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

#positionArray<Float>

The last known device position.



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/aws-sdk-locationservice/types.rb', line 2941

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

#position_propertiesHash<String,String>

The properties associated with the position.



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/aws-sdk-locationservice/types.rb', line 2941

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

#received_timeTime

The timestamp for when the tracker resource received the device position in [ ISO 8601] format: ‘YYYY-MM-DDThh:mm:ss.sssZ`.

[1]: www.iso.org/iso-8601-date-and-time-format.html



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/aws-sdk-locationservice/types.rb', line 2941

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

#sample_timeTime

The timestamp at which the device’s position was determined. Uses [ ISO 8601] format: ‘YYYY-MM-DDThh:mm:ss.sssZ`.

[1]: www.iso.org/iso-8601-date-and-time-format.html



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/aws-sdk-locationservice/types.rb', line 2941

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