Module Values_0.AttributePayloadSource

The attribute payload.

Sourcetype nonrec t = {
  1. attributes : Attributes.t option;
    (*

    A JSON string containing up to three key-value pair in JSON format. For example: {\"attributes\":{\"string1\":\"string2\"}}

    *)
  2. merge : Flag.t option;
    (*

    Specifies whether the list of attributes provided in the AttributePayload is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call UpdateThing with an empty attribute value. The merge attribute is only valid when calling UpdateThing or UpdateThingGroup.

    *)
}
Sourceval make : ?attributes:??? -> ?merge:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Flag.t | `Map of ([> `String of AttributeName.t ] * [> `String of AttributeValue.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