Module Values_0.ThingAttributeSource

The properties of the thing, including thing name, thing type name, and a list of thing attributes.

Sourcetype nonrec t = {
  1. thingName : ThingName.t option;
    (*

    The name of the thing.

    *)
  2. thingTypeName : ThingTypeName.t option;
    (*

    The name of the thing type, if the thing has been associated with a type.

    *)
  3. thingArn : ThingArn.t option;
    (*

    The thing ARN.

    *)
  4. attributes : Attributes.t option;
    (*

    A list of thing attributes which are name-value pairs.

    *)
  5. version : Version.t option;
    (*

    The version of the thing record in the registry.

    *)
}
Sourceval make : ?thingName:??? -> ?thingTypeName:??? -> ?thingArn:??? -> ?attributes:??? -> ?version:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Version.t | `Map of ([> `String of AttributeName.t ] * [> `String of AttributeValue.t ]) list | `String of ThingName.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