DevicePositionUpdate - Amazon Location Service

DevicePositionUpdate

Contains the position update details for a device.

Contents

DeviceId

The device associated to the position update.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [-._\p{L}\p{N}]+

Required: Yes

Position

The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

Type: Array of doubles

Array Members: Fixed number of 2 items.

Required: Yes

SampleTime

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

Type: Timestamp

Required: Yes

Accuracy

The accuracy of the device position.

Type: PositionalAccuracy object

Required: No

PositionProperties

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"

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 3 items.

Key Length Constraints: Minimum length of 1. Maximum length of 20.

Value Length Constraints: Minimum length of 1. Maximum length of 40.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: