Skip to content

teeparham/aws-sdk-core-ruby

 
 

Repository files navigation

AWS SDK for Ruby Core Build Status

Version 2.0 of the official AWS SDK for Ruby. For the current supported version of the official SDK, see aws/aws-sdk-ruby.

Installing

There is currently no RubyGem published for this release, but the code can be installed via Bundler with the following Gemfile contents:

gem 'aws-sdk-core', github: 'aws/aws-sdk-core-ruby'

And bundle install.

Note: the AWS SDK for Ruby requires Ruby 1.9 or greater.

Usage

require 'aws-sdk-core'

response = Aws.ec2.describe_instances
p response.data.reservations.first.instances.first

You can also use bin/aws-rb to evaluate code through a REPL:

$ bundle exec bin/aws-rb
Aws> client = Aws.ec2
=> #<Aws::EC2::Client::V20130615>
Aws> client.describe_instances.data.reservations.first.instances.first
=> #<struct
 instance_id="i-1234567",
 image_id="ami-7654321",
 state=#<struct  code=16, name="running">,
 ...>

License

The AWS SDK for Ruby Core is distributed under the Apache License, Version 2.0.

About

The core functionality of the AWS SDK for Ruby V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%