Module Values.GetAssetPropertyValueRequestSource

Gets an asset property's current value. For more information, see Querying current values in the IoT SiteWise User Guide. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Sourcetype nonrec t = {
  1. assetId : ID.t option;
    (*

    The ID of the asset, in UUID format.

    *)
  2. propertyId : ID.t option;
    (*

    The ID of the asset property, in UUID format.

    *)
  3. propertyAlias : AssetPropertyAlias.t option;
    (*

    The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

    *)
}
Sourceval make : ?assetId:??? -> ?propertyId:??? -> ?propertyAlias:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ID.t ]) 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