Module Values.GetSource

Specifies an item and related attribute values to retrieve in a TransactGetItem object.

Sourcetype nonrec t = {
  1. key : Key.t;
    (*

    A map of attribute names to AttributeValue objects that specifies the primary key of the item to retrieve.

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

    The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

    *)
  3. projectionExpression : ProjectionExpression.t option;
    (*

    A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.

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

    One or more substitution tokens for attribute names in the ProjectionExpression parameter.

    *)
}
Sourceval context_ : string
Sourceval make : ?projectionExpression:??? -> ?expressionAttributeNames:??? -> key:Key.t -> tableName:TableArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure 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