Class: Aws::LocationService::Types::DevicePosition
- Inherits:
-
Struct
- Object
- Struct
- Aws::LocationService::Types::DevicePosition
- Defined in:
- gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb
Overview
Contains the device position details.
Constant Summary collapse
- SENSITIVE =
[:position, :position_properties]
Instance Attribute Summary collapse
-
#accuracy ⇒ Types::PositionalAccuracy
The accuracy of the device position.
-
#device_id ⇒ String
The device whose position you retrieved.
-
#position ⇒ Array<Float>
The last known device position.
-
#position_properties ⇒ Hash<String,String>
The properties associated with the position.
-
#received_time ⇒ Time
The timestamp for when the tracker resource received the device position in [ ISO 8601][1] format:
YYYY-MM-DDThh:mm:ss.sssZ
. -
#sample_time ⇒ Time
The timestamp at which the device's position was determined.
Instance Attribute Details
#accuracy ⇒ Types::PositionalAccuracy
The accuracy of the device position.
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2847 class DevicePosition < Struct.new( :device_id, :sample_time, :received_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#device_id ⇒ String
The device whose position you retrieved.
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2847 class DevicePosition < Struct.new( :device_id, :sample_time, :received_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#position ⇒ Array<Float>
The last known device position.
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2847 class DevicePosition < Struct.new( :device_id, :sample_time, :received_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#position_properties ⇒ Hash<String,String>
The properties associated with the position.
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2847 class DevicePosition < Struct.new( :device_id, :sample_time, :received_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#received_time ⇒ Time
The timestamp for when the tracker resource received the device
position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2847 class DevicePosition < Struct.new( :device_id, :sample_time, :received_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#sample_time ⇒ Time
The timestamp at which the device's position was determined. Uses
ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2847 class DevicePosition < Struct.new( :device_id, :sample_time, :received_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |