Module Values.UpdateExpirationForHITRequestSource

The UpdateExpirationForHIT operation allows you update the expiration time of a HIT. If you update it to a time in the past, the HIT will be immediately expired.

Sourcetype nonrec t = {
  1. hITId : EntityId.t;
    (*

    The HIT to update.

    *)
  2. expireAt : Timestamp.t;
    (*

    The date and time at which you want the HIT to expire

    *)
}
Sourceval context_ : string
Sourceval make : hITId:EntityId.t -> expireAt:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of EntityId.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