Preconditions.Write
Conditional request records. Failed conditions are returned as structured service errors, typically PreconditionFailed or NotModified.
PreconditionFailed
NotModified
type t = {
if_match : Etag_condition.t option;
if_none_match : Etag_condition.t option;
}
Conditions for object writes.
val none : t
No write preconditions.
val if_absent : t
Require the destination key to be absent.
val if_etag : Etag.t -> t
Require the destination object to match an ETag.