DeviceState - Amazon Location Service

DeviceState

The device's position, IP address, and Wi-Fi access points.

Contents

DeviceId

The device identifier.

Type: String

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

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

Required: Yes

Position

The last known device position.

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

Defines the level of certainty of the position.

Type: PositionalAccuracy object

Required: No

CellSignals

The cellular network infrastructure that the device is connected to.

Type: CellSignals object

Required: No

Ipv4Address

The device's Ipv4 address.

Type: String

Pattern: (?:(?:25[0-5]|(?:2[0-4]|1\d|[0-9]|)\d)\.?\b){4}

Required: No

WiFiAccessPoints

The Wi-Fi access points the device is using.

Type: Array of WiFiAccessPoint objects

Required: No

See Also

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