Module Values_0.LocationActionSource

The Amazon Location rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.

Sourcetype nonrec t = {
  1. roleArn : AwsArn.t;
    (*

    The IAM role that grants permission to write to the Amazon Location resource.

    *)
  2. trackerName : String_.t;
    (*

    The name of the tracker resource in Amazon Location in which the location is updated.

    *)
  3. deviceId : String_.t;
    (*

    The unique ID of the device providing the location data.

    *)
  4. timestamp : LocationTimestamp.t option;
    (*

    The time that the location data was sampled. The default value is the time the MQTT message was processed.

    *)
  5. latitude : String_.t;
    (*

    A string that evaluates to a double value that represents the latitude of the device's location.

    *)
  6. longitude : String_.t;
    (*

    A string that evaluates to a double value that represents the longitude of the device's location.

    *)
}
Sourceval context_ : string
Sourceval make : ?timestamp:??? -> roleArn:AwsArn.t -> trackerName:String_.t -> deviceId:String_.t -> latitude:String_.t -> longitude:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AwsArn.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t