I am referring to this sample of update item: https://stackoverflow.com/a/62030403/13967222.
for key, val in body.items():
update_expression.append(f" {key} = :{key},")
update_values[f":{key}"] = val
return "".join(update_expression)[:-1], update_values
I am trying to achieve the same but using dynamodb client.
Is there way I add check if the value is available using dynamodb client?