README.md in elasticity-2.1 vs README.md in elasticity-2.1.1
- old
+ new
@@ -57,16 +57,24 @@
1. Create steps.
1. Run the job flow.
1. (optional) Add additional steps.
1. (optional) Shutdown the job flow.
-## 1 - Creating Job Flows
+## 1 - Create a Job Flow
Only your AWS credentials are needed.
```
jobflow = Elasticity::JobFlow.new('AWS access key', 'AWS secret key')
```
+
+If you want to access a job flow that's already running:
+
+```
+jobflow = Elasticity::JobFlow.from_jobflow_id('AWS access key', 'AWS secret key', 'jobflow ID')
+```
+
+This is useful if you'd like to attach to a running job flow and add more steps, etc.
## 2 - Specifying Job Flow Options
Configuration job flow options, shown below with default values. Note that these defaults are subject to change - they are reasonable defaults at the time(s) I work on them (e.g. the latest version of Hadoop).