Class: Aws::LocationService::Types::DevicePositionUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::LocationService::Types::DevicePositionUpdate
- Defined in:
- gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb
Overview
Contains the position update details for a device.
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 associated to the position update.
-
#position ⇒ Array<Float>
The latest device position defined in [WGS 84][1] format:
[X or longitude, Y or latitude]
. -
#position_properties ⇒ Hash<String,String>
Associates one of more properties with the position update.
-
#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.
2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2880 class DevicePositionUpdate < Struct.new( :accuracy, :device_id, :position, :position_properties, :sample_time) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#device_id ⇒ String
The device associated to the position update.
2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2880 class DevicePositionUpdate < Struct.new( :accuracy, :device_id, :position, :position_properties, :sample_time) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#position ⇒ Array<Float>
The latest device position defined in WGS 84 format: [X or
longitude, Y or latitude]
.
2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2880 class DevicePositionUpdate < Struct.new( :accuracy, :device_id, :position, :position_properties, :sample_time) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#position_properties ⇒ Hash<String,String>
Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.
Format: "key" : "value"
2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2880 class DevicePositionUpdate < Struct.new( :accuracy, :device_id, :position, :position_properties, :sample_time) 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
2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2880 class DevicePositionUpdate < Struct.new( :accuracy, :device_id, :position, :position_properties, :sample_time) SENSITIVE = [:position, :position_properties] include Aws::Structure end |