Module Values.CancellationReasonSource

An ordered list of errors for each item in the request which caused the transaction to get cancelled. The values of the list are ordered according to the ordering of the TransactWriteItems request parameter. If no error occurred for the associated item an error with a Null code and Null message will be present.

Sourcetype nonrec t = {
  1. item : AttributeMap.t option;
    (*

    Item in the request which caused the transaction to get cancelled.

    *)
  2. code : Code.t option;
    (*

    Status code for the result of the cancelled transaction.

    *)
  3. message : ErrorMessage.t option;
    (*

    Cancellation reason message description.

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