{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/546","labels_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/546/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/546/events","html_url":"https://github.com/aws/aws-sdk-js/issues/546","id":64383855,"number":546,"title":"Locking to API Version 2009-04-15","user":{"login":"gagecarto","id":5776766,"avatar_url":"https://avatars.githubusercontent.com/u/5776766?v=3","gravatar_id":"","url":"https://api.github.com/users/gagecarto","html_url":"https://github.com/gagecarto","followers_url":"https://api.github.com/users/gagecarto/followers","following_url":"https://api.github.com/users/gagecarto/following{/other_user}","gists_url":"https://api.github.com/users/gagecarto/gists{/gist_id}","starred_url":"https://api.github.com/users/gagecarto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagecarto/subscriptions","organizations_url":"https://api.github.com/users/gagecarto/orgs","repos_url":"https://api.github.com/users/gagecarto/repos","events_url":"https://api.github.com/users/gagecarto/events{/privacy}","received_events_url":"https://api.github.com/users/gagecarto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-js/labels/Question","name":"Question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-25T22:08:32Z","updated_at":"2015-03-27T09:08:52Z","closed_at":"2015-03-27T09:08:52Z","body":"I'd like to use the JavaScript SDK along with a SimpleDB\r\n\r\nThe docs tell me to lock the api at 2009-04-15\r\nhttp://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SimpleDB.html\r\n\r\nTrying simple examples from the above docs result in errors like\r\n\"AWS.SimpleDB is not a constructor\"\r\n\r\nIf I load the SDK using the most recent 2.1.17, I don't see the 2009-04-15 included.\r\nhttps://sdk.amazonaws.com/js/aws-sdk-2.1.17.js\r\n\r\nQuestions\r\n• Is it safe to still use the 2009-04-15 version?\r\n• Should I just fork from the link below? \r\nhttps://github.com/aws/aws-sdk-js/blob/ebc438876945d55707d84b8986bd2fc3aa3004e9/apis/sdb-2009-04-15.normal.json\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/comments/86874745","html_url":"https://github.com/aws/aws-sdk-js/issues/546#issuecomment-86874745","issue_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/546","id":86874745,"user":{"login":"lsegal","id":686,"avatar_url":"https://avatars.githubusercontent.com/u/686?v=3","gravatar_id":"","url":"https://api.github.com/users/lsegal","html_url":"https://github.com/lsegal","followers_url":"https://api.github.com/users/lsegal/followers","following_url":"https://api.github.com/users/lsegal/following{/other_user}","gists_url":"https://api.github.com/users/lsegal/gists{/gist_id}","starred_url":"https://api.github.com/users/lsegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsegal/subscriptions","organizations_url":"https://api.github.com/users/lsegal/orgs","repos_url":"https://api.github.com/users/lsegal/repos","events_url":"https://api.github.com/users/lsegal/events{/privacy}","received_events_url":"https://api.github.com/users/lsegal/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T09:08:52Z","updated_at":"2015-03-27T09:08:52Z","body":"Marking this as closed since SimpleDB does not support CORS and is therefore not part of the default hosted browser build. You *can* build your own version with the instructions that @AdityaManohar provided above, but note that the CORS restriction is enforced by the browser and the service itself, and there is unfortunately nothing the SDK can do to make things work without CORS enabled. I would recommend posting a feature request for CORS on the forums as Aditya suggested. Hope that helps!"}}