AWS Developer Blog

Tag: V2

AWS SDK for Java 2.x released

We’re pleased to announce that the AWS SDK for Java 2.x is now generally available and supported for production use. Version 2.x is a major rewrite of the 1.11.x code base. Built with support for Java 8+, 2.x adds several frequently requested features, like nonblocking I/O, improved start-up performance and automatic iteration over paginated responses. […]

Read More

Announcing V2 of the AWS SDK for Ruby

I am excited to announce today’s stable release of version 2 of the AWS SDK for Ruby. It is available now as the aws-sdk gem on RubyGems. Features Version 2 of the AWS SDK for Ruby, the aws-sdk gem, provides a number of powerful features for developers including: Support for 40+ services Resource interfaces for […]

Read More

Client Response Stubs

We recently added client response stubs to the aws-sdk-core gem. Response stubbing disables network traffic and causes a client to return fake or stubbed data. # no API calls are made s3 = Aws::S3::Client.new(stub_responses: true) s3.list_buckets.buckets.map(&:name) #=> [] Custom Response Data By default, stubbed responses return empty lists, empty maps, and placeholder scalars. These empty […]

Read More

Waiters

We’ve added a feature called Waiters to the v2 AWS SDK for Ruby, and I am pretty excited about it. A waiter is a simple abstraction around the pattern of polling an AWS API until a desired state is reached. Basic Usage This simple example shows how to use waiters to block until a particular […]

Read More

Using Resources

With the recent 2.0 stable release of the aws-sdk-core gem, we started publishing preview releases of aws-sdk-resources. Until the preview status is released, you will need to use the –pre flag to install this gem: gem install aws-sdk-resources –pre In bundler, you should give the full version: # update the version as needed gem ‘aws-sdk-resources’, […]

Read More

AWS SDK for Ruby V2 Preview Release

Version 2 of the AWS SDK for Ruby is available now as a preview release. If you use Bundler with some standard best-practices, you should be unaffected by the v2 release of the aws-sdk gem. This blog post highlights a few things you might want to be aware of. Installing V2 Preview Release V2 of […]

Read More

Version 2 Resource Interfaces

In version 1 of the AWS SDK for Ruby provides a 1-to-1 client class for each AWS service. For many services it also provides a resource-oriented interface. These resource objects use the client to provide a more natural object-oriented experience when working with AWS APIs. We are busy working resource interfaces for the v2 Ruby […]

Read More

Response Paging

We’ve been busy working on version 2 of the AWS SDK for Ruby. One of the features we added recently was response paging. Paging in the Version 1 Ruby SDK In version 1 of the Ruby SDK provides collection classes for many AWS resources. These collections are enumerable objects that yield resource objects. iam = […]

Read More

AWS SDK Core v2.0.0.rc12 Updates

We recently published v2.0.0.rc12 of the aws-sdk-core gem (https://github.com/aws/aws-sdk-core-ruby). This release merges the long-running normalized branch onto master. Upgrading Notes Please note, when updating to rc12, you may need to make some minor code changes. These are summarized below: Service modules now have a Client class, these should be used to construct API clients: # […]

Read More