Class: RightScale::CloudApi::AWS::EMR::Manager

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

Overview

Amazon ElasticMapReduce (EMR) compatible manager (thread safe).

Examples:

require "right_aws_api"

emr = RightScale::CloudApi::AWS::EMR::Manager::new(key, secret, 'https://elasticmapreduce.us-east-1.amazonaws.com')

# Get a list of job flows that match all of the supplied parameters
emr.DescribeJobFlows #=>
  {"DescribeJobFlowsResponse"=>
    {"@xmlns"=>"http://elasticmapreduce.amazonaws.com/doc/2009-03-31",
     "DescribeJobFlowsResult"=>{"JobFlows"=>nil},
     "ResponseMetadata"=>{"RequestId"=>"962fa6c0-4f71-11e2-9237-6da8e8d0164c"}}}
# Get a job by ID
emr.DescribeJobFlows('JobFlowIds.member' => 'j-3UN6WX5RRO2AG')

See Also: