Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
Added a changelog entry for the Queue attributes change.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorrowe committed Oct 20, 2014
1 parent dc62ff1 commit 6630646
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Next Release (TBD)
------------------

* Feature - Queue Attributes - `Aws::SQS::Queue` now had getter methods for
queue attributes that return the type-casted values from the `#attributes`
hash.

```ruby
# before
queue.attributes['CreatedTimestamp'] #=> '1413825896' (epoc seconds)
queue.attributes['DelaySeconds'] #=> '60' (string seconds)
queue.attributes['QueueArn'] #=> 'arn'

# after
queue.created_timestamp #=> 2014-10-20 10:24:56 -0700 (Time obj)
queue.delay_seconds #=> 60 (integer seconds)
queue.arn #=> 'arn' (without extra queue_ prefix on method)
```

* Feature - Assume Role Credentials - Added a credentials class that assumes
a role via `Aws::STS::Client#assume_role`. Credentials are automatically
refreshed before the expire:
Expand Down

0 comments on commit 6630646

Please sign in to comment.