Skip to content

Support query protocol (SNS, SQS, EC2 and more) #40

@dstendardi

Description

@dstendardi

Currently, the aws-codegen supports JSON and JSON-rest based services. In order to bring supports for older services, the query protocol has to be implemented.

Query protocol will bring support for services such as * s3, ec2, SNS, SQS.

Moving parts

A quick looks at the other languages SDK shows that there is two mains parts involved in this development :

  • query serializer : responsible for transforming parameters objects into a query strings according to shape definition.
    As an example, we can refers to the javascript's query_param_serializer

  • response deserializer : takes an xml response and transforms it into the matching erlang/elixir structure.
    As @kingoftheknoll noticed in this issue, xml responses does not contains attributes, which makes easy to convert the response to an elixir map.

Erlang and Elixir support

This repository seems to supports both erlang and elixir code generation. As @jkakar says in this issue it would be nice to have the serde code written in erlang, so it can be used in both aws-elixir and aws-erlang

Todo

  • query serializer
  • response deserializer
  • query (elixir)
  • query (erlang)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions