ConditionFailed

data class ConditionFailed(val item: ItemResult? = null) : UpdateResult(source)

item is the record which blocked the write, and is set only when the request asked for it with ReturnValuesOnConditionCheckFailure=ALL_OLD. It cannot be reported through the shared JsonError, which every AWS fake uses and so cannot carry a DynamoDB item - hence the dedicated body type, which conditionCheckAware maps back onto a 400.

Constructors

Link copied to clipboard
constructor(item: ItemResult? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val result: ConditionalCheckFailed