Values.ConditionCheckSourceRepresents a request to perform a check that an item exists or to check the condition of specific attributes of the item.
type nonrec t = {key : Key.t;The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.
*)tableName : TableArn.t;Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
*)conditionExpression : ConditionExpression.t;A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
*)expressionAttributeNames : ExpressionAttributeNameMap.t option;One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.
*)expressionAttributeValues : ExpressionAttributeValueMap.t option;One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
*)returnValuesOnConditionCheckFailure : ReturnValuesOnConditionCheckFailure.t
option;Use ReturnValuesOnConditionCheckFailure to get the item attributes if the ConditionCheck condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
*)}val make :
?expressionAttributeNames:??? ->
?expressionAttributeValues:??? ->
?returnValuesOnConditionCheckFailure:??? ->
key:Key.t ->
tableName:TableArn.t ->
conditionExpression:ConditionExpression.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of AttributeName.t ] * Awso.Botodata.value) list
| `String of TableArn.t ])
list ]