Permalink
Commits on Feb 16, 2017
  1. Provide get-metric-statistics and message

    Fixes #54. 
    
    * Provide get-metric-statistics
    
    * Provide message struct for Amazon SQS
    
    * aws/sqs.rkt:
      - provide the message struct
      - adds the extra-constructor to reflect the  documentation
    
    * aws/aws.scrbl:
      add the id field of the message struct to the documentation
    krrrcks committed with Feb 16, 2017
Commits on Jan 1, 2017
Commits on Jan 12, 2016
  1. accept extra headers for `copy` and `put-acl`

    mflatt committed Jan 12, 2016
Commits on Oct 15, 2015
  1. Use aws-log-warning not log-error

    - Use the aws not generic logger.
    
    - Use warning not error level. Why:
    
      - Racket prints error and higher level log messages to stderr, by
        default. DrDr complains about output to stderr when running our
        tests that exercise the retry -- even though the tests succeed.
    
      - Maybe warning really is the appropriate level to use here: Although
        this relates to an exception happening, and it's a more unusual
        situation than some other warning-level log messages (which is why I
        thought to log it as an error, so it gets noticed), we're catching
        it and retrying. From the POV of a using app, it's not an error, at
        least not yet.
    committed Oct 15, 2015
Commits on Oct 14, 2015
  1. Bump to v1.7

    committed Oct 14, 2015
  2. Retry a few odd 200 Not Really OK responses

    Amazon documents that S3 can, for delete-multiple, copy, and
    complete-multipart-upload, return a 200 response code, but we must check
    the response body to see if it actually succeeded. Although we were
    already checking this, we ought to include these errors in what we
    retry.
    
    Rather than try to shoehorn this 200 Not OK notion into the
    call/xxx-request/retry functions, handle it locally in each of the 3
    spots. (This means there are "nested retries", but I believe this is
    OK -- that is, Really OK.)
    committed Sep 18, 2015
Commits on Sep 20, 2015
Commits on Sep 13, 2015
  1. Add license badge

    committed Sep 13, 2015
  2. Change README badges

    committed Sep 13, 2015
Commits on Sep 11, 2015
  1. Move badges to top

    committed Sep 11, 2015
Commits on Sep 9, 2015
  1. post-with-retry exn and log level

    - If post-with-retry eventually times out, now it raises an exn:fail:aws
      rather than using `error`.
    
    - Retry log messages are at level 'warning not 'info.
    
    - Use at-exps.
    
    - Smarter use of match.
    committed Sep 9, 2015
  2. glacier: Use hasheq and λ

    Also fix some indenting.
    committed Sep 9, 2015
  3. Replace `tags` and `first-tag-value`

    These date from my earliest Racket code, when I didn't know about
    xml/path.
    
    All uses of `first-tag-value` can be replaced with `se-path*`.
    
    No uses of `tags` can be replaced with `se-path*/list`, because the
    former returns the entire matched elements, whereas the latter returns
    only their child values. However `tags` can be replaced with my
    `se-path*/elements`, which is in the same style as `se-path*/list` and
    with the desired behavior.
    
    While "the hood is open" for some of these files, do some other code
    freshening:
    
    - Change contracts to the prefix style.
    - More Rackety generally (e.g. more and smarter use of match).
    committed Sep 9, 2015
  4. Add bucket-location. Bump to v1.6

    Also, group the definitions of some functions on objects, below the
    definitions of functions on buckets.
    committed Sep 9, 2015
Commits on Sep 8, 2015
  1. Experimental multipart-put/file resume; issue #48

    Add incomplete-multipart-put/file and resume-multipart-put/file, which
    support resuming an interrupted multipart-put/file.
    
    For background about the approach used, see:
    
      http://stackoverflow.com/questions/32444787/why-isnt-list-parts-to-be-used-with-complete-multipart-upload
    
    Also:
    
    - Bump to v1.5.
    
    - Replace some uses of `tr` with at-exps.
    
    - Replace some uses of `first-tag-value` with `se-path*`. But note that
      `se-path*/list` is not an exact replacement for our `tags`, because
      the former returns only an element's children whereas the latter
      returns the entire element. This matters for XML like S3's:
    
        (ListBucketResult ()
          ....
          (Bucket () ....)
          (Bucket () ....))
    
    - Replace many instances of "pathname" with "file" and "entity" with
      "body" in docs.
    committed Sep 8, 2015
  2. Bump to v1.4

    committed Sep 8, 2015
Commits on Sep 7, 2015
  1. Scribble: Use multi-page

    Also, group some of the early sections as subsections.
    committed Sep 7, 2015
  2. Bump to v1.3

    committed Sep 7, 2015
Commits on Aug 31, 2015
  1. Better default part-size. Closes #46

    multipart-put/file #:part-size now defaults to #f -- which means it
    should calculate a part size that is as small as possible while not
    exceeding the 10,000 limit on the number of parts.
    committed Aug 31, 2015
Commits on Aug 18, 2015
  1. Fix bad link

    committed Aug 18, 2015
  2. Fix typo

    committed Aug 18, 2015
  3. Bump to v1.2

    committed Aug 18, 2015