update_data_table_primary_values
¶
update_data_table_primary_values(
instance_id: InstanceId,
data_table_id: DataTableId,
primary_values: PrimaryValuesSet,
new_primary_values: PrimaryValuesSet,
lock_version: DataTableLockVersion,
*,
config_overrides: Optional[ConnectClientConfig] = None,
) -> UpdateDataTablePrimaryValuesResponse
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.
Parameters:
-
instance_id(InstanceId) –The unique identifier for the Amazon Connect instance.
-
data_table_id(DataTableId) –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.
-
primary_values(PrimaryValuesSet) –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.
-
new_primary_values(PrimaryValuesSet) –The new primary values for the record. Required and must include values for all primary attributes. The combination must be unique within the table.
-
lock_version(DataTableLockVersion) –The lock version information required for optimistic locking to prevent concurrent modifications.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–Operation cannot be performed at this time as there is a conflict with another operation or contact state.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
26289 26290 26291 26292 26293 26294 26295 26296 26297 26298 26299 26300 26301 26302 26303 26304 26305 26306 26307 26308 26309 26310 26311 26312 26313 26314 26315 26316 26317 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 26338 26339 26340 26341 26342 26343 26344 26345 26346 26347 26348 26349 26350 | |