Class: Aws::LocationService::Types::DevicePositionUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::LocationService::Types::DevicePositionUpdate
- Includes:
- Structure
- Defined in:
- 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] 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.
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/aws-sdk-locationservice/types.rb', line 2898 class DevicePositionUpdate < Struct.new( :device_id, :sample_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |
#device_id ⇒ String
The device associated to the position update.
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/aws-sdk-locationservice/types.rb', line 2898 class DevicePositionUpdate < Struct.new( :device_id, :sample_time, :position, :accuracy, :position_properties) 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]`.
[1]: earth-info.nga.mil/index.php?dir=wgs84&action=wgs84
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/aws-sdk-locationservice/types.rb', line 2898 class DevicePositionUpdate < Struct.new( :device_id, :sample_time, :position, :accuracy, :position_properties) 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”`
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/aws-sdk-locationservice/types.rb', line 2898 class DevicePositionUpdate < Struct.new( :device_id, :sample_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][1
-
format: ‘YYYY-MM-DDThh:mm:ss.sssZ`
2898 2899 2900 2901 2902 2903 2904 2905 2906 |
# File 'lib/aws-sdk-locationservice/types.rb', line 2898 class DevicePositionUpdate < Struct.new( :device_id, :sample_time, :position, :accuracy, :position_properties) SENSITIVE = [:position, :position_properties] include Aws::Structure end |