Module Values.DeviceSource

Information about a device.

Sourcetype nonrec t = {
  1. certificateArn : string;
    (*

    The ARN of the certificate associated with the device.

    *)
  2. id : string;
    (*

    A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

    *)
  3. syncShadow : bool option;
    (*

    If true, the device's local shadow will be automatically synced with the cloud.

    *)
  4. thingArn : string;
    (*

    The thing ARN of the device.

    *)
}
Sourceval context_ : string
Sourceval make : ?syncShadow:??? -> certificateArn:string -> id:string -> thingArn:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `String of string ]) 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