View Source aws_util (aws v1.0.4)
Summary
Functions
Base16 encode binary data.
Join binary values using the specified separator.
Decode XML into a map representation
Encode URI taking into account if it contains more than one segment.
Encode the map's key/value pairs as a querystring. The query string must be sorted. The query string for query params that do not contain a value such as "key" should be encoded as "key=". Without this fix, the request will result in a SignatureDoesNotMatch error.
Encode URI into a percent-encoding string.
Encode an Erlang map as XML
Get a value from nested maps
Get a value from nested maps, return default value if missing
Create an HMAC-SHA256 hexdigest for Key and Message.
Create an HMAC-SHA256 hexdigest for Key and Message.
Create a SHA256 hexdigest for Value.
Functions
Decode XML into a map representation
When there is more than one element with the same tag name, their values get merged into a list.
If the content is only text then a key with the element name and a value with the content is inserted.
If the content is a mix between text and child elements, then the elements are processed as described above and all the text parts are merged under the binary__text
key.
Encode an Erlang map as XML
All keys must be binaries. Values can be a binary, a list, an integer a float or another nested map.-spec get_in([any()], any()) -> any().
-spec get_in([any()], any(), any()) -> any().