Version v7 of Chat-Proxy reads conversations from DynamoDB and saves a new message when the browser sends POST /conversations/{id}.
Deploy the new code and call the API:
cd ~/fn && cp ~/ws2-chatapp/v7/Lambda/Chat-Proxy.mjs index.mjs && zip -q proxy.zip index.mjs
aws lambda update-function-code --function-name Chat-Proxy --zip-file fileb://proxy.zip --query LastUpdateStatus --output text
sleep 5; curl -s $API_URL/conversations; echo; curl -s $API_URL/conversations/1; echo
v7/Lambda/Chat-Proxy.mjs in the console and choose Deploy.GET /conversations and GET /conversations/1 now return data from DynamoDB.
Upload the v7 site, which adds the send feature:
cd ~/ws2-chatapp && aws s3 sync v7/Site s3://$BUCKET --exclude '*desktop.ini' --only-show-errors
Open chat.html#1, type a message and choose Send.

In the DynamoDB console, open Explore items and select Chat-Messages.
Student is in the table.
The sender is always Student because the code does not know who the user is yet. You fix this with Cognito in part 6.