ExAws v1.1.2 ExAws.Dynamo.Encoder
Takes an elixir value and converts it into a dynamo style map.
[1,2,3] |> Elixir.ExAws.Dynamo.Encoder.encode
#=> %{"NS" => ["1", "2", "3"]}
"bubba" |> ExAws.Dynamo.Encoder.encode
#=> %{"S" => "bubba"}
This is handled via the ExAws.Dynamo.Encodable protocol.