Class: AWS::ElastiCache

Inherits:
Object
  • Object
show all
Includes:
Core::ServiceInterface
Defined in:
lib/aws/elasticache.rb,
lib/aws/elasticache/client.rb,
lib/aws/elasticache/errors.rb,
lib/aws/elasticache/request.rb

Overview

Provides an expressive, object-oriented interface to Amazon ElastiCache.

Credentials

You can setup default credentials for all AWS services via AWS.config:

AWS.config(
  :access_key_id => 'YOUR_ACCESS_KEY_ID',
  :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

Or you can set them directly on the ElastiCache interface:

ec = AWS::ElastiCache.new(
  :access_key_id => 'YOUR_ACCESS_KEY_ID',
  :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

Defined Under Namespace

Modules: Errors Classes: Client

Instance Attribute Summary collapse

Method Summary

Methods included from Core::ServiceInterface

#initialize, #inspect

Instance Attribute Details

#clientClient (readonly)

Returns the low-level ElastiCache client object.

Returns:

  • (Client)

    the low-level ElastiCache client object



38
39
40
41
42
43
44
45
46
47
48
# File 'lib/aws/elasticache.rb', line 38

class ElastiCache

  AWS.register_autoloads(self) do
    autoload :Client,                        'client'
    autoload :Errors,                        'errors'
    autoload :Request,                       'request'
  end

  include Core::ServiceInterface

end