Module Values.UpdateSource

An object representing an asynchronous update.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    A UUID that is used to track the update.

    *)
  2. status : UpdateStatus.t option;
    (*

    The current status of the update.

    *)
  3. type_ : UpdateType.t option;
    (*

    The type of the update.

    *)
  4. params : UpdateParams.t option;
    (*

    A key-value map that contains the parameters associated with the update.

    *)
  5. createdAt : Timestamp.t option;
    (*

    The Unix epoch timestamp at object creation.

    *)
  6. errors : ErrorDetails.t option;
    (*

    Any errors associated with a Failed update.

    *)
}
Sourceval make : ?id:String_.t -> ?status:UpdateStatus.t -> ?type_:UpdateType.t -> ?params:UpdateParams.t -> ?createdAt:Timestamp.t -> ?errors:ErrorDetails.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of Timestamp.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