{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/637","labels_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/637/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/637/events","html_url":"https://github.com/aws/aws-sdk-js/issues/637","id":90643230,"number":637,"title":"[AWS.SES] directly from javascript","user":{"login":"ddimitrioglo","id":9005667,"avatar_url":"https://avatars.githubusercontent.com/u/9005667?v=3","gravatar_id":"","url":"https://api.github.com/users/ddimitrioglo","html_url":"https://github.com/ddimitrioglo","followers_url":"https://api.github.com/users/ddimitrioglo/followers","following_url":"https://api.github.com/users/ddimitrioglo/following{/other_user}","gists_url":"https://api.github.com/users/ddimitrioglo/gists{/gist_id}","starred_url":"https://api.github.com/users/ddimitrioglo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddimitrioglo/subscriptions","organizations_url":"https://api.github.com/users/ddimitrioglo/orgs","repos_url":"https://api.github.com/users/ddimitrioglo/repos","events_url":"https://api.github.com/users/ddimitrioglo/events{/privacy}","received_events_url":"https://api.github.com/users/ddimitrioglo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T11:00:03Z","updated_at":"2015-06-24T12:20:37Z","closed_at":null,"body":"We are trying to send an email using AWS.SES, directly from javascript like this:\r\n```\r\n  AWS.region = 'us-east-1';\r\n  AWS.config.credentials = new AWS.Credentials({accessKeyId: \"aKey\", secretAccessKey: \"sKey\"});\r\n  var service = AWS.Service.defineService('SES', ['2010-12-01']);\r\n\r\n  var ses = new service();\r\n\r\n  ses.makeRequest('sendEmail', email_obj, function(err, data) {\r\n    // callback code\r\n  });\r\n```\r\n\r\nbut we are receiving an error: \"Could not find API configuration SES-2010-12-01\"\r\n\r\nIs it possible to send the email from javascript directly?"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-js/issues/comments/114848707","html_url":"https://github.com/aws/aws-sdk-js/issues/637#issuecomment-114848707","issue_url":"https://api.github.com/repos/aws/aws-sdk-js/issues/637","id":114848707,"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-06-24T12:20:37Z","updated_at":"2015-06-24T12:20:37Z","body":"@ddimitrioglo @ondruska is correct, the AWS.SES service is not part of the hosted version of the SDK-- this is explained in the browser guide link provided above. The API reference guide that you linked lists the entire API, not specific builds of the SDK.\r\n\r\nNote that Amazon SES does not currently support CORS and therefore is not included in the hosted build of the SDK. You can build it yourself by following the instructions linked in the guide above, but it will not work over HTTP/HTTPS schemes unless your browser environment explicitly allows cross-origin requests."}}