AWS Developer Tools Blog
AWS CLI v2 Preview Now Supports AWS Single Sign-On
We are excited to announce that the AWS CLI v2 preview now supports direct integration with AWS Single Sign-On (SSO). You can now create CLI profiles that are linked to SSO accounts and roles. The CLI will automatically retrieve AWS credentials from SSO and refresh them on your behalf. There are new commands to help […]
The AWS CLI and AWS SDK for Python will require Python 2.7+ or 3.4+ as their Python runtime
On January 10, 2020, in order to continue supporting our customers with tools that are secure and maintainable, AWS will publish a minor version bump of the AWS CLI and AWS SDK for Python (Boto3 and Botocore). These new versions will require Python 2.7+ or Python 3.4+ runtime. Per PSF (Python Software Foundation), Python 2.6.9 […]
Upgrading from Version 2 to Version 3 of the AWS SDK for Ruby
Recently we announced the modularization of the AWS SDK for Ruby. This blog post will focus on how to upgrade your application to use the new service specific gems. This blog post is divided up into sections based on how you currently depend on the AWS SDK for Ruby today. Find the section below that […]
AWS SDK for Ruby Modularization (Version 3)
Version 3 of the AWS SDK for Ruby is available now as a preview release. This version modularizes the monolithic SDK into service specific gems. Aside from gem packaging differences, version 3 interfaces are backwards compatible with version 2. You can install individual gems like so: $ gem install aws-sdk-s3 –version 1.0.0.rc1 You can install […]
AWS SDK for Ruby Office Hour
The AWS SDKs and Tools team invites you to the first-ever online office hour hosted by the maintainers of the AWS SDK for Ruby. It will be held via Google Hangouts at 11:00am-12:00pm PDT (UTC -7:00) on Tuesday 6/30. If you don’t have one already, you will need to create an account with Google to join […]
Uploading Files to Amazon S3
I blogged previously about downloading objects from Amazon S3 using the version 2 AWS SDK for Ruby. It was requested that I write about uploading objects as well. Managed File Uploads The simplest and most common task is upload a file from disk to a bucket in Amazon S3. This is very straightforward when using […]
Verifying Amazon SNS Message Authenticity
You can now use version 2 of the AWS SDK for Ruby to verify the signatures of Amazon SNS messages. To help prevent spoofing attacks, you should verify messages are sent by Amazon SNS. The new verifier follows the documented best practices for verification, including: Always use HTTPS when getting the certificate from Amazon SNS. […]
Polling Messages from a Amazon SQS Queue
We’ve recently added a utility class to the AWS SDK for Ruby that makes it easy to poll an Amazon SQS queue for messages. poller = Aws::SQS::QueuePoller.new(queue_url) poller.poll do |msg| puts msg.body end Messages are automatically deleted from the queue at the end of the block. This tool supports receiving and deleting messages in batches, […]
Amazon DynamoDB Document API in Ruby (Part 3 – Update Expressions)
As we showed in previous posts, it’s easy to put JSON items into Amazon DynamoDB, retrieve specific attributes with projection expressions, and fetch only data that meet some criteria with condition expressions. Now, let’s take a look at how we can conditionally modify existing items with Update Expressions. (Note: this code uses the same ProductCatalog […]
Amazon DynamoDB Document API in Ruby (Part 2 – Condition Expressions)
As we showed in the previous post, it’s easy to put JSON items into Amazon DynamoDB and retrieve specific attributes with projection expressions. Condition Expressions provide a more flexible and SQL-like way to retrieve only the items you want from DynamoDB. First, let’s put a few more items into DynamoDB using a BatchWriteItem operation. (Note: […]