get first insights into Amazon Web Services: several examples provide you with all you need to know. Each script is reachable under three names. When you call it with the .php extension, the script will be executed and when you call it with the .phps (which stands for PHP Source) or the .php.txt extension you can look at (and copy) the source code.
well, at the moment we have some Nuke- and osc2nuke-Modules with Amazon-services - featuring a bunch of nice and powerful Amazon-services - here a roundtrip: