Helper functions for building AWS calls.
Adds a dict of key/value pairs to another list.
Adds a key value pair to a list.
Adds a record of key/value pairs to a list.
Turn a bool into a stirng.
Adds an optional key/value pair to a list.
Identity function
We don't use Http.encodeUri because it misses some characters. It uses the
native encodeURIComponent under the hood:
encodeURIComponent escapes all characters except the following:
alphabetic, decimal digits, - _ . ! ~ * ' ( )
- from https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponentFor AWS only "Unreserved Characters" are allowed. See http://tools.ietf.org/html/rfc3986 Section 2.3
So basically we need to also cover: ! * ' ( )
Adds a list of key/value pairs to another list, optioanlly flattening them.