Module Values_0.ThingDocumentSource

The thing search index document.

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

    The thing name.

    *)
  2. thingId : ThingId.t option;
    (*

    The thing ID.

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

    The thing type name.

    *)
  4. thingGroupNames : ThingGroupNameList.t option;
    (*

    Thing group and billing group names.

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

    The attributes.

    *)
  6. shadow : JsonDocument.t option;
    (*

    The unnamed shadow and named shadow. For more information about shadows, see IoT Device Shadow service.

    *)
  7. deviceDefender : JsonDocument.t option;
    (*

    Contains Device Defender data. For more information about Device Defender, see Device Defender.

    *)
  8. connectivity : ThingConnectivity.t option;
    (*

    Indicates whether the thing is connected to the Amazon Web Services IoT Core service.

    *)
}
Sourceval make : ?thingName:??? -> ?thingId:??? -> ?thingTypeName:??? -> ?thingGroupNames:??? -> ?attributes:??? -> ?shadow:??? -> ?deviceDefender:??? -> ?connectivity:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ThingGroupName.t ] list | `Map of ([> `String of AttributeName.t ] * [> `String of AttributeValue.t ]) list | `String of ThingName.t | `Structure of (string * [> `Boolean of Boolean.t | `Long of ConnectivityTimestamp.t | `String of DisconnectReason.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