On Wednesday, 18 October 2017 at 20:19:20 UTC, ikod wrote:
Hello,

On Wednesday, 18 October 2017 at 20:05:28 UTC, Andre Pany wrote:
On Wednesday, 18 October 2017 at 19:28:30 UTC, aberba wrote:
The implementation is straight forward. For every api definition (e.g. https://github.com/aws/aws-sdk-js/blob/master/apis/iam-2010-05-08.normal.json) create a module with a class. Read the json file with std.json and for every operation in the json create a method with the same name in the class.
For every shape in the json create a struct with the same name.

Every operation defines either an input shape, output shape, or both. During the method call serialize the input struct to json, call the aws client with the json and deserialize the output json to the output struct.

Kind regards
André

Is there any docs from Amazon on this, beside json's itself? I will be very grateful for link.

I think as a starting point the console client help is very interesting.
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-using.html

Especially these two topics
-Generate CLI Skeleton and CLI Input JSON Parameters
-Controlling Command Output from the AWS Command Line Interface

Kind regards
André

Reply via email to