update_data_table_primary_values
async
¶
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[AsyncConnectClientConfig] = 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/async_connect.py
26644 26645 26646 26647 26648 26649 26650 26651 26652 26653 26654 26655 26656 26657 26658 26659 26660 26661 26662 26663 26664 26665 26666 26667 26668 26669 26670 26671 26672 26673 26674 26675 26676 26677 26678 26679 26680 26681 26682 26683 26684 26685 26686 26687 26688 26689 26690 26691 26692 26693 26694 26695 26696 26697 26698 26699 26700 26701 26702 26703 26704 26705 26706 | |