Skip to contents

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.

See https://www.paws-r-sdk.com/docs/connect_update_data_table_primary_values/ for full documentation.

Usage

connect_update_data_table_primary_values(
  InstanceId,
  DataTableId,
  PrimaryValues,
  NewPrimaryValues,
  LockVersion
)

Arguments

InstanceId

[required] The unique identifier for the Amazon Connect instance.

DataTableId

[required] 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.

PrimaryValues

[required] 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.

NewPrimaryValues

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

LockVersion

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