{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/2046","repository_url":"https://api.github.com/repos/aws/aws-sdk-js","labels_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/2046/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/2046/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/2046/events","html_url":"https://github.com/aws/aws-sdk-js/issues/2046","id":321467159,"node_id":"MDU6SXNzdWUzMjE0NjcxNTk=","number":2046,"title":"TypeError: translator.translateInput is not a function","user":{"login":"warmjaijai","id":19681665,"node_id":"MDQ6VXNlcjE5NjgxNjY1","avatar_url":"https://avatars0.githubusercontent.com/u/19681665?v=4","gravatar_id":"","url":"https://api.github.com/users/warmjaijai","html_url":"https://github.com/warmjaijai","followers_url":"https://api.github.com/users/warmjaijai/followers","following_url":"https://api.github.com/users/warmjaijai/following{/other_user}","gists_url":"https://api.github.com/users/warmjaijai/gists{/gist_id}","starred_url":"https://api.github.com/users/warmjaijai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmjaijai/subscriptions","organizations_url":"https://api.github.com/users/warmjaijai/orgs","repos_url":"https://api.github.com/users/warmjaijai/repos","events_url":"https://api.github.com/users/warmjaijai/events{/privacy}","received_events_url":"https://api.github.com/users/warmjaijai/received_events","type":"User","site_admin":false},"labels":[{"id":272115228,"node_id":"MDU6TGFiZWwyNzIxMTUyMjg=","url":"https://api.github.com/repos/aws/aws-sdk-js/labels/Closing%20Soon%20-%20Feedback%20Requested","name":"Closing Soon - Feedback Requested","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-09T07:53:48Z","updated_at":"2018-08-28T21:28:23Z","closed_at":"2018-08-28T21:28:23Z","author_association":"NONE","body":"Im using DynamoDB query on Adonis (Node.js)\r\n\r\nController.php\r\n\r\n```\r\nconst AWS = require('aws-sdk')\r\n...\r\n...\r\n...\r\nasync testing({params,response}){\r\n   var table_name='testing8'\r\n   var year = \"2015\"\r\n   var title = \"The Big New Movie\"\r\n   var dynamoDB_params = {\r\n      TableName: table_name,\r\n      Item:{\r\n         \"year\": {\r\n            S: year,\r\n         },\r\n         \"title\": {\r\n            S: title,\r\n         },\r\n         \"info\": {\r\n            M: {\r\n               \"plot\": {\r\n                  S: \"Nothing happens at all.\"\r\n               },\r\n               \"rating\": {\r\n                  N: \"0\"\r\n               }\r\n            }\r\n         }\r\n      }\r\n   }\r\n   var data = AWS.DynamoDB.DocumentClient().put(dynamoDB_params)\r\n   response.json(data)\r\n}\r\n```\r\nerror message:\r\n\r\n> TypeError: translator.translateInput is not a function\r\n\r\nHardly find any example on google of having this error message. But seemingly `translator.translateInput` is out of aws-sdk? ( Issue #1236 ) I am new to DynamoDB please enlighten me."}}
{"actor":{"display_login":"srchase"}}