Module Values_2.UpdateDataTablePrimaryValuesRequestSource

Updates the primary values for a record. This operation affects all existing values that are currently associated to the record and its primary values. Users that have restrictions on attributes and/or primary values are not authorized to use this endpoint. The combination of new primary values must be unique within the table.

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t;
    (*

    The unique identifier for the Amazon Connect instance.

    *)
  2. dataTableId : Values_0.DataTableId.t;
    (*

    The unique identifier for the data table. Must also accept the table ARN with or without a version alias. If the version is provided as part of the identifier or ARN, the version must be one of the two available system managed aliases, $SAVED or $LATEST.

    *)
  3. primaryValues : Values_0.PrimaryValuesSet.t;
    (*

    The current primary values for the record. Required and must include values for all primary attributes. Fails if the table has primary attributes and some primary values are omitted.

    *)
  4. newPrimaryValues : Values_0.PrimaryValuesSet.t;
    (*

    The new primary values for the record. Required and must include values for all primary attributes. The combination must be unique within the table.

    *)
  5. lockVersion : Values_0.DataTableLockVersion.t;
    (*

    The lock version information required for optimistic locking to prevent concurrent modifications.

    *)
}
Sourceval context_ : string
Sourceval make : instanceId:Values_0.InstanceId.t -> dataTableId:Values_0.DataTableId.t -> primaryValues:Values_0.PrimaryValuesSet.t -> newPrimaryValues:Values_0.PrimaryValuesSet.t -> lockVersion:Values_0.DataTableLockVersion.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.InstanceId.t | `Structure of (string * [> `String of string ]) list ]) 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