Module Values.WriteRequestSource

Represents an operation to perform - either DeleteItem or PutItem. You can only request one of these operations, not both, in a single WriteRequest. If you do need to perform both of these operations, you need to provide two separate WriteRequest objects.

Sourcetype nonrec t = {
  1. putRequest : PutRequest.t option;
    (*

    A request to perform a PutItem operation.

    *)
  2. deleteRequest : DeleteRequest.t option;
    (*

    A request to perform a DeleteItem operation.

    *)
}
Sourceval make : ?putRequest:??? -> ?deleteRequest:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Map of ([> `String of AttributeName.t ] * Awso.Botodata.value) list ]) 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