ExAws.Location.DevicePositionUpdate (ex_aws_location v0.1.0)

Copy Markdown

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 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 format: YYYY-MM-DDThh:mm:ss.sssZ

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

Summary

Types

t()

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