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
26889 26890 26891 26892 26893 26894 26895 26896 26897 26898 26899 26900 26901 26902 26903 26904 26905 26906 26907 26908 26909 26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 26922 26923 26924 26925 26926 26927 26928 26929 26930 26931 26932 26933 26934 26935 26936 26937 26938 26939 26940 26941 26942 26943 26944 26945 26946 26947 26948 26949 26950 26951 | |