# `ExAws.Location.DevicePositionUpdate`

Contains the position update details for a device.

## Fields

* `:accuracy` - The accuracy of the device position.

* `:device_id` - (required) The device associated to the position update.

* `:position` - (required) The latest device position defined in [WGS
  84](https://earth-info.nga.mil/index.php?dir=wgs84&action=wgs84) format: `[X or longitude, Y
  or latitude]`.

* `:position_properties` - 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.

* `:sample_time` - (required) The timestamp at which the device's position was determined.
  Uses [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format:
  `YYYY-MM-DDThh:mm:ss.sssZ`

See https://docs.aws.amazon.com/location/previous/APIReference/API_DevicePositionUpdate.html

# `t`

```elixir
@type t() :: %ExAws.Location.DevicePositionUpdate{
  accuracy: ExAws.Location.PositionalAccuracy.t() | nil,
  device_id: String.t(),
  position: [number()],
  position_properties: %{optional(String.t()) =&gt; String.t()} | nil,
  sample_time: DateTime.t() | String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
