Module Aws.Query
This module is used to produce the nested url query structure used in AWS api requests.
type t
=
|
List of t list
|
Pair of string * t
|
Value of string option
The query type. In the following examples, constructors are ellided for brevity.
Structs are encoded as
(name1, val); (name2, val)...
.Lists are encoded as
(0, val); (1, val)...
.
val render : t -> string
This is how to turn a Query.t into a string suitable for including in a url. It is a query string, ie field=val&field=val...