Write new messages to DynamoDB

  1. At lambda function
  • Choose configure test event
  • Choose Edit saved event
  • Event JSON
{
    "httpMethod": "GET",
    "pathParameters": {
        "proxy": "conversations/1"
    }
}
  • Choose Save
  1. Choose Test and check results
  2. Change Event JSON
{
    "httpMethod": "POST",
    "body": "This is new message",
    "pathParameters": {
        "proxy": "conversations/1"
    }
}
  • Choose Save and Test
  • Or Invoke
  1. Go to DynamoDB tables and check new item
  2. Check again with browser
  3. This is new items
  4. At S3 Bucket
  • Choose Upload
  • Choose Add files
  • Go to site folder in v7 folder
  • Add all file to upload
  1. Choose Grant public-read acccess
  • Choose I understand
  • Choose Upload
  1. Check with browser
  • Type new message