<commit_before># AWS SDK for Ruby v2.0 [![Build Status](https://travis-ci.org/aws/aws-sdk-ruby-core.png?branch=master)](https://travis-ci.org/aws/aws-sdk-ruby-core)

Version 2.0 of the official AWS SDK for Ruby. For the current supported version
of the official SDK, see [aws/aws-sdk-ruby](http://github.com/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:

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

And `bundle install`.

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

## Usage

```ruby
require 'aws-sdk-core'

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

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

```ruby
$ bundle exec bin/aws-rb
Aws> client = Aws.ec2.client
=> #<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">,
 ...>
```

## Contributing

The AWS SDK for Ruby is split up into two packages, the core client codebase
for AWS services contained in this repository, and the underlying HTTP REST
service client library called [Seahorse](http://github.com/aws/seahorse).<commit_msg>Updated README to remove references to the removed #client method of Service.<commit_after># AWS SDK for Ruby v2.0 [![Build Status](https://travis-ci.org/aws/aws-sdk-ruby-core.png?branch=master)](https://travis-ci.org/aws/aws-sdk-ruby-core)

Version 2.0 of the official AWS SDK for Ruby. For the current supported version
of the official SDK, see [aws/aws-sdk-ruby](http://github.com/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:

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

And `bundle install`.

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

## Usage

```ruby
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:

```ruby
$ 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">,
 ...>
```

## Contributing

The AWS SDK for Ruby is split up into two packages, the core client codebase
for AWS services contained in this repository, and the underlying HTTP REST
service client library called [Seahorse](http://github.com/aws/seahorse).
{'fraction_non_alphanumeric': 0.13268156424581007, 'fraction_numerical': 0.023044692737430168, 'mean_word_length': 4.6958250497017895, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4751248', 'n_tokens_mistral': 1020, 'n_tokens_neox': 937, 'n_words': 294}