Module Values.PutSource

Represents a request to perform a PutItem operation.

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

    A map of attribute name to attribute values, representing the primary key of the item to be written by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

    *)
  2. tableName : TableArn.t;
    (*

    Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

    *)
  3. conditionExpression : ConditionExpression.t option;
    (*

    A condition that must be satisfied in order for a conditional update to succeed.

    *)
  4. expressionAttributeNames : ExpressionAttributeNameMap.t option;
    (*

    One or more substitution tokens for attribute names in an expression.

    *)
  5. expressionAttributeValues : ExpressionAttributeValueMap.t option;
    (*

    One or more values that can be substituted in an expression.

    *)
  6. returnValuesOnConditionCheckFailure : ReturnValuesOnConditionCheckFailure.t option;
    (*

    Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Put condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

    *)
}
Sourceval context_ : string
Sourceval make : ?conditionExpression:??? -> ?expressionAttributeNames:??? -> ?expressionAttributeValues:??? -> ?returnValuesOnConditionCheckFailure:??? -> item:PutItemInputAttributeMap.t -> tableName:TableArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of AttributeName.t ] * Awso.Botodata.value) list | `String of TableArn.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