DevicePosition - Amazon Location Service

DevicePosition

Contains the device position details.

Contents

Accuracy

The accuracy of the device position.

Type: PositionalAccuracy object

Required: No

DeviceId

The device whose position you retrieved.

Type: String

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

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

Required: No

Position

The last known device position.

Type: Array of doubles

Array Members: Fixed number of 2 items.

Required: Yes

PositionProperties

The properties associated with the position.

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

ReceivedTime

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

Type: Timestamp

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

See Also

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