On this page:

12 Utilities

 (require aws/util) package: aws

Although the following are mainly for internal use, they’re provided in case you find them helpful.


(struct endpoint (host ssl?)
    #:extra-constructor-name make-endpoint)
  host : string?
  ssl? : boolean?
Used to represent an AWS service endpoint.


(dict->form-urlencoded dictionary)  string?

  dictionary : dict?
Like alist->form-urlencoded, but dictionary is a Racket dict, which includes but is not limited to an association list.

Also, and more importantly, the “percent encoding” is done using RFC 3986, which encodes some extra characters compared to RFC 2396. Doing so is important especially for SDB and its Select action: The SQL-like statement contains characters like #\*, #\(, and #\), which SDB requires to be percent-encoded.