Provides an expressive, object-oriented interface to Amazon Elastic MapReduce.
To use Amazon Elastic MapReduce you must first [sign up here](aws.amazon.com/elasticmapreduce/)
For more information about Amazon Elastic MapReduce, see:
## 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 EMR interface:
emr = AWS::EMR.new(
:access_key_id => 'YOUR_ACCESS_KEY_ID',
:secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
# Job Flows
The {job_flows} method returns a collection you use to interact with your job flows.
emr = AWS::EMR.new
# creating a job flow
job_flow = emr.job_flows.create(...)
# enumerating job flows
emr.job_flows.each do |job_flow|
puts job_flow.id
end
See {JobFlowCollection} and {JobFlow} for more information on working with job flows.
@!attribute [r] client
@return [Client] the low-level EMR client object