Class: RightScale::CloudApi::AWS::EC::Manager

Inherits:
Manager
  • Object
show all
Defined in:
lib/cloud/aws/ec/manager.rb

Overview

Amazon ElastiCache (EC) compatible manager (thread safe).

Examples:

require "right_aws_api"

eb = RightScale::CloudApi::AWS::EC::Manager::new(key, secret, 'https://elasticache.us-east-1.amazonaws.com')

# Get information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, 
# or about a specific Cache Cluster if a Cache Cluster identifier is supplied
eb.DescribeCacheClusters #=>
  {"DescribeApplicationsResponse"=>
    {"@xmlns"=>"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/",
     "DescribeApplicationsResult"=>{"Applications"=>nil},
     "ResponseMetadata"=>{"RequestId"=>"b7c61b5a-4f69-11e2-a3d0-a772ddd49d31"}}}
# Get a list of CacheSubnetGroup descriptions
eb.DescribeCacheSubnetGroups #=> 
  {"DescribeCacheSubnetGroupsResponse"=>
    {"@xmlns"=>"http://elasticache.amazonaws.com/doc/2012-11-15/",
     "DescribeCacheSubnetGroupsResult"=>{"CacheSubnetGroups"=>nil},
     "ResponseMetadata"=>{"RequestId"=>"ae3546cb-4f6e-11e2-b196-0b589a77da67"}}}

See Also: