10
$\begingroup$

Has anyone tried accessing the Amazon web services (AWS) API from Mathematica? I'm assuming the HTTP WebService module of Mathematica would be a starting point. Any suggestions on getting started would be welcome. The following example from the documentation is not working:

Needs /@ {"WebServices`", "JLink`"};
InstallService[
  "http://soap.amazon.com/schemas3/AmazonWebServices.wsdl"];
  InvokeServiceOperation::httpcode: 404 (HTTP/1.1 404 Not Found) >>
$\endgroup$
  • 2
    $\begingroup$ this is probably the wrong end of the Amazon, but it could be a start. $\endgroup$ – cormullion Apr 20 '13 at 8:00
  • 4
    $\begingroup$ It seems that a number of Web Services in the Mathematica documentation are deprecated. In particular, the Amazon example leads to a 404 error. It would be great to have examples that actually work. $\endgroup$ – user7272 May 3 '13 at 20:54
  • $\begingroup$ The link goes to Amazon API Gateway, which is a service within AWS, not an API in itself. It is unclear what API you want to access. $\endgroup$ – C. E. May 31 '16 at 14:15
  • $\begingroup$ @C.E. I think fundamentally the question is how to do the auth process which is something called AWS4, per the single answer. On the other hand a more fleshed out client a la the OAuthClient` and KeyClient` packages would be more useful if it were built into the ServiceConnect framework. $\endgroup$ – b3m2a1 Jul 21 '17 at 4:06
3
$\begingroup$

You can get started using the following code. It currently connects to the AWS SES service but should be easily extended.Git Hub

| improve this answer | |
$\endgroup$
  • 6
    $\begingroup$ For completeness, can you give a short demonstration of the code you linked to? $\endgroup$ – J. M.'s discontentment Nov 14 '15 at 14:38
  • $\begingroup$ Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – user9660 Nov 14 '15 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.