aws-sdk-core 2.0.0.rc2 → 2.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +13 -7
  3. data/.yardopts +1 -0
  4. data/Gemfile +5 -1
  5. data/README.md +26 -0
  6. data/apis/AutoScaling-2011-01-01.json +57 -0
  7. data/apis/CloudFormation-2010-05-15.json +29 -0
  8. data/apis/CloudFront-2012-05-05.json +33 -0
  9. data/apis/CloudFront-2013-05-12.json +33 -0
  10. data/apis/CloudFront-2013-08-26.json +33 -0
  11. data/apis/CloudSearch-2011-02-01.json +1 -0
  12. data/apis/CloudWatch-2010-08-01.json +22 -0
  13. data/apis/DataPipeline-2012-10-29.json +25 -0
  14. data/apis/DirectConnect-2012-10-25.json +1 -0
  15. data/apis/DynamoDB-2011-12-05.json +29 -0
  16. data/apis/DynamoDB-2012-08-10.json +29 -0
  17. data/apis/EC2-2013-06-15.json +29 -0
  18. data/apis/EC2-2013-10-01.json +29 -0
  19. data/apis/EMR-2009-03-31.json +958 -40
  20. data/apis/ElastiCache-2012-11-15.json +72 -0
  21. data/apis/ElastiCache-2013-06-15.json +72 -0
  22. data/apis/ElasticBeanstalk-2010-12-01.json +8 -0
  23. data/apis/ElasticLoadBalancing-2012-06-01.json +8 -0
  24. data/apis/ElasticTranscoder-2012-09-25.json +16 -3
  25. data/apis/Glacier-2012-06-01.json +35 -0
  26. data/apis/IAM-2010-05-08.json +129 -0
  27. data/apis/ImportExport-2010-06-01.json +9 -0
  28. data/apis/Kinesis-2013-12-02.json +409 -0
  29. data/apis/OpsWorks-2013-02-18.json +1 -0
  30. data/apis/RDS-2013-01-10.json +106 -0
  31. data/apis/RDS-2013-02-12.json +120 -0
  32. data/apis/RDS-2013-05-15.json +120 -0
  33. data/apis/Redshift-2012-12-01.json +90 -1
  34. data/apis/Route53-2012-12-12.json +27 -0
  35. data/apis/S3-2006-03-01.json +34 -0
  36. data/apis/SDB-2009-04-15.json +16 -0
  37. data/apis/SES-2010-12-01.json +8 -0
  38. data/apis/SNS-2010-03-31.json +22 -0
  39. data/apis/SQS-2012-11-05.json +1 -0
  40. data/apis/STS-2011-06-15.json +3 -1
  41. data/apis/SWF-2012-01-25.json +52 -1
  42. data/apis/StorageGateway-2012-06-30.json +15 -0
  43. data/apis/StorageGateway-2013-06-30.json +15 -0
  44. data/apis/Support-2013-04-15.json +15 -0
  45. data/apis/configuration/endpoints.json +88 -23
  46. data/apis/source/elasticmapreduce-2009-03-31.json +1529 -126
  47. data/apis/source/elasticmapreduce-2009-03-31.paginators.json +25 -0
  48. data/apis/source/importexport-2010-06-01.paginators.json +1 -0
  49. data/apis/source/kinesis-2013-12-02.json +894 -0
  50. data/apis/source/kinesis-2013-12-02.paginators.json +18 -0
  51. data/apis/source/rds-2013-01-10.paginators.json +1 -0
  52. data/apis/source/rds-2013-02-12.paginators.json +1 -0
  53. data/apis/source/rds-2013-05-15.paginators.json +1 -0
  54. data/apis/source/redshift-2012-12-01.paginators.json +1 -0
  55. data/apis/source/s3-2006-03-01.paginators.json +1 -1
  56. data/aws-sdk-core.gemspec +1 -0
  57. data/doc-src/plugins/stability.rb +1 -0
  58. data/features/glacier/client.feature +5 -0
  59. data/features/glacier/step_definitions.rb +56 -5
  60. data/features/kinesis/client.feature +18 -0
  61. data/features/kinesis/setup.rb +6 -0
  62. data/features/s3/buckets.feature +10 -0
  63. data/features/s3/objects.feature +9 -0
  64. data/features/s3/step_definitions.rb +29 -0
  65. data/lib/aws.rb +13 -2
  66. data/lib/aws/api/pagination_translator.rb +71 -0
  67. data/lib/aws/api/service_translators/glacier.rb +0 -7
  68. data/lib/aws/api/translator.rb +10 -3
  69. data/lib/aws/error_handler.rb +1 -1
  70. data/lib/aws/json/builder.rb +4 -2
  71. data/lib/aws/pageable_response.rb +230 -0
  72. data/lib/aws/plugins/glacier_checksums.rb +10 -29
  73. data/lib/aws/plugins/response_paging.rb +18 -0
  74. data/lib/aws/plugins/retry_errors.rb +3 -1
  75. data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +1 -1
  76. data/lib/aws/plugins/s3_get_bucket_location_fix.rb +9 -3
  77. data/lib/aws/plugins/signature_v4.rb +2 -1
  78. data/lib/aws/plugins/sqs_queue_urls.rb +7 -4
  79. data/lib/aws/plugins/user_agent.rb +3 -3
  80. data/lib/aws/response_handler.rb +1 -1
  81. data/lib/aws/signers/s3.rb +1 -1
  82. data/lib/aws/tree_hash.rb +69 -0
  83. data/lib/aws/version.rb +1 -1
  84. data/spec/aws/json/builder_spec.rb +12 -0
  85. data/spec/aws/pageable_response_spec.rb +195 -0
  86. data/spec/aws/plugins/retry_errors_spec.rb +13 -0
  87. data/spec/aws/plugins/signature_v4_spec.rb +65 -0
  88. data/spec/aws/plugins/sqs_queue_urls_spec.rb +41 -0
  89. data/spec/aws_spec.rb +4 -0
  90. data/spec/fixtures/operations/glacier/get_job_output.yml +23 -0
  91. data/spec/fixtures/operations/s3/get_bucket_policy.yml +8 -0
  92. data/tasks/endpoints.rake +15 -0
  93. data/tasks/handlers.rake +1 -1
  94. data/vendor/seahorse/lib/seahorse/client.rb +1 -0
  95. data/vendor/seahorse/lib/seahorse/client/base.rb +6 -0
  96. data/vendor/seahorse/lib/seahorse/client/configuration.rb +1 -1
  97. data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +3 -3
  98. data/vendor/seahorse/lib/seahorse/client/handler_list.rb +2 -2
  99. data/vendor/seahorse/lib/seahorse/client/http/error.rb +17 -0
  100. data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +10 -0
  101. data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +1 -1
  102. data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +13 -2
  103. data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +1 -1
  104. data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +4 -2
  105. data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +9 -1
  106. data/vendor/seahorse/lib/seahorse/client/request.rb +14 -0
  107. data/vendor/seahorse/lib/seahorse/client/response.rb +8 -38
  108. data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +11 -3
  109. data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +13 -0
  110. data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +6 -0
  111. data/vendor/seahorse/spec/seahorse/client/response_spec.rb +9 -63
  112. metadata +41 -3
@@ -6,9 +6,9 @@
6
6
  "signature_version": "v4",
7
7
  "service_full_name": "Amazon Elastic MapReduce",
8
8
  "service_abbreviation": "Amazon EMR",
9
+ "timestamp_format": "unixTimestamp",
9
10
  "endpoint_prefix": "elasticmapreduce",
10
- "xmlnamespace": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31",
11
- "documentation": "\n <p> This is the <i>Amazon Elastic MapReduce API Reference</i>. This guide provides descriptions and\n samples of the Amazon Elastic MapReduce APIs.</p>\n\n <p>Amazon Elastic MapReduce is a web service that makes it easy to process large amounts of\n data efficiently. Elastic MapReduce uses Hadoop processing combined with several AWS\n products to do tasks such as web indexing, data mining, log file analysis, machine\n learning, scientific simulation, and data warehousing.</p>\n\n ",
11
+ "documentation": "\n <p> This is the <i>Amazon Elastic MapReduce API Reference</i>. This guide provides descriptions and\n samples of the Amazon Elastic MapReduce APIs.</p>\n\n <p>Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of\n data efficiently. Amazon EMR uses Hadoop processing combined with several AWS\n products to do tasks such as web indexing, data mining, log file analysis, machine\n learning, scientific simulation, and data warehousing.</p>\n\n ",
12
12
  "operations": {
13
13
  "AddInstanceGroups": {
14
14
  "name": "AddInstanceGroups",
@@ -167,10 +167,11 @@
167
167
  "type": "string",
168
168
  "enum": [
169
169
  "TERMINATE_JOB_FLOW",
170
+ "TERMINATE_CLUSTER",
170
171
  "CANCEL_AND_WAIT",
171
172
  "CONTINUE"
172
173
  ],
173
- "documentation": "\n <p>Specifies the action to take if the job flow step fails.</p>\n "
174
+ "documentation": "\n <p>The action to take if the job flow step fails.</p>\n "
174
175
  },
175
176
  "HadoopJarStep": {
176
177
  "shape_name": "HadoopJarStepConfig",
@@ -222,7 +223,7 @@
222
223
  "documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a Main-Class in its manifest file.</p>\n "
223
224
  },
224
225
  "Args": {
225
- "shape_name": "StringList",
226
+ "shape_name": "XmlStringList",
226
227
  "type": "list",
227
228
  "members": {
228
229
  "shape_name": "XmlString",
@@ -235,19 +236,38 @@
235
236
  "documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
236
237
  }
237
238
  },
238
- "documentation": "\n <p>Specifies the JAR file used for the job flow step.</p>\n ",
239
+ "documentation": "\n <p>The JAR file used for the job flow step.</p>\n ",
239
240
  "required": true
240
241
  }
241
242
  },
242
243
  "documentation": "\n <p>Specification of a job flow step.</p>\n "
243
244
  },
244
- "documentation": "\n\n <p> A list of <a>StepConfig</a> to be executed by the job flow. </p>\n ",
245
+ "documentation": "\n <p>A list of <a>StepConfig</a> to be executed by the job flow. </p>\n ",
245
246
  "required": true
246
247
  }
247
248
  },
248
- "documentation": "\n <p> The input argument to the <a>AddJobFlow</a> operation. </p>\n "
249
+ "documentation": "\n <p> The input argument to the <a>AddJobFlowSteps</a> operation. </p>\n "
250
+ },
251
+ "output": {
252
+ "shape_name": "AddJobFlowStepsOutput",
253
+ "type": "structure",
254
+ "members": {
255
+ "StepIds": {
256
+ "shape_name": "StepIdsList",
257
+ "type": "list",
258
+ "members": {
259
+ "shape_name": "XmlStringMaxLen256",
260
+ "type": "string",
261
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
262
+ "min_length": 0,
263
+ "max_length": 256,
264
+ "documentation": null
265
+ },
266
+ "documentation": "\n <p>The identifiers of the list of steps added to the job flow.</p>\n "
267
+ }
268
+ },
269
+ "documentation": "\n <p>The output for the <a>AddJobFlowSteps</a> operation. </p>\n "
249
270
  },
250
- "output": null,
251
271
  "errors": [
252
272
  {
253
273
  "shape_name": "InternalServerError",
@@ -259,6 +279,276 @@
259
279
  ],
260
280
  "documentation": "\n <p> AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed\n in each job flow. </p>\n <p>If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html\">Add More than 256 Steps to a Job Flow</a> in the <i>Amazon Elastic MapReduce Developer's Guide</i>.</p>\n <p> A step specifies the location of a JAR file stored either on the master node of the job\n flow or in Amazon S3. Each step is performed by the main function of the main class of the\n JAR file. The main class can be specified either in the manifest of the JAR or by using the\n MainFunction parameter of the step. </p>\n <p> Elastic MapReduce executes each step in the order listed. For a step to be considered\n complete, the main function must exit with a zero exit code and all Hadoop jobs started\n while the step was running must have completed and run successfully. </p>\n <p> You can only add steps to a job flow that is in one of the following states: STARTING,\n BOOTSTRAPPING, RUNNING, or WAITING.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.AddJobFlowSteps\nContent-Length: 426\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T210948Z\nX-Amz-Content-Sha256: 9e5ad0a93c22224947ce98eea94f766103d91b28fa82eb60d0cb8b6f9555a6b2\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=2a2393390760ae85eb74ee3a539e1d758bfdd8815a1a6d6f14d4a2fbcfdcd5b7\nAccept: */*\n\n{\n \"JobFlowId\": \"j-3TS0OIYO4NFN\",\n \"Steps\": [{\n \"Name\": \"Example Jar Step\",\n \"ActionOnFailure\": \"CANCEL_AND_WAIT\",\n \"HadoopJarStep\": {\n \"Jar\": \"s3n:\\\\/\\\\/elasticmapreduce\\\\/samples\\\\/cloudburst\\\\/cloudburst.jar\",\n \"Args\": [\n \"s3n:\\\\/\\\\/elasticmapreduce\\\\/samples\\\\/cloudburst\\\\/input\\\\/s_suis.br\",\n \"s3n:\\\\/\\\\/elasticmapreduce\\\\/samples\\\\/cloudburst\\\\/input\\\\/100k.br\",\n \"s3n:\\\\/\\\\/examples-bucket\\\\/cloudburst\\\\/output\",\n \"36\",\n \"3\",\n \"0\",\n \"1\",\n \"240\",\n \"48\",\n \"24\",\n \"24\",\n \"128\",\n \"16\"\n ]\n }\n }]\n}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 6514261f-ee5b-11e2-9345-5332e9ab2e6d\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 21:05:07 GMT\n\n </queryresponse>\n </examples>\n "
261
281
  },
282
+ "DescribeCluster": {
283
+ "name": "DescribeCluster",
284
+ "input": {
285
+ "shape_name": "DescribeClusterInput",
286
+ "type": "structure",
287
+ "members": {
288
+ "ClusterId": {
289
+ "shape_name": "ClusterId",
290
+ "type": "string",
291
+ "min_length": 1,
292
+ "max_length": 64,
293
+ "documentation": "\n <p>The identifier of the cluster to describe.</p>\n "
294
+ }
295
+ },
296
+ "documentation": "\n <p>This input determines which cluster to describe.</p>\n "
297
+ },
298
+ "output": {
299
+ "shape_name": "DescribeClusterOutput",
300
+ "type": "structure",
301
+ "members": {
302
+ "Cluster": {
303
+ "shape_name": "Cluster",
304
+ "type": "structure",
305
+ "members": {
306
+ "Id": {
307
+ "shape_name": "ClusterId",
308
+ "type": "string",
309
+ "min_length": 1,
310
+ "max_length": 64,
311
+ "documentation": "\n <p>The unique identifier for the cluster.</p>"
312
+ },
313
+ "Name": {
314
+ "shape_name": "StringMaxLen256",
315
+ "type": "string",
316
+ "min_length": 0,
317
+ "max_length": 256,
318
+ "documentation": "\n <p>The name of the cluster.</p>"
319
+ },
320
+ "Status": {
321
+ "shape_name": "ClusterStatus",
322
+ "type": "structure",
323
+ "members": {
324
+ "State": {
325
+ "shape_name": "ClusterState",
326
+ "type": "string",
327
+ "enum": [
328
+ "STARTING",
329
+ "BOOTSTRAPPING",
330
+ "RUNNING",
331
+ "WAITING",
332
+ "TERMINATING",
333
+ "TERMINATED",
334
+ "TERMINATED_WITH_ERRORS"
335
+ ],
336
+ "documentation": "\n <p>The current state of the cluster.</p>\n "
337
+ },
338
+ "StateChangeReason": {
339
+ "shape_name": "ClusterStateChangeReason",
340
+ "type": "structure",
341
+ "members": {
342
+ "Code": {
343
+ "shape_name": "ClusterStateChangeReasonCode",
344
+ "type": "string",
345
+ "enum": [
346
+ "INTERNAL_ERROR",
347
+ "VALIDATION_ERROR",
348
+ "INSTANCE_FAILURE",
349
+ "BOOTSTRAP_FAILURE",
350
+ "USER_REQUEST",
351
+ "STEP_FAILURE",
352
+ "ALL_STEPS_COMPLETED"
353
+ ],
354
+ "documentation": "\n <p>The programmatic code for the state change reason.</p>\n "
355
+ },
356
+ "Message": {
357
+ "shape_name": "String",
358
+ "type": "string",
359
+ "documentation": "\n <p>The descriptive message for the state change reason.</p>\n "
360
+ }
361
+ },
362
+ "documentation": "\n <p>The reason for the cluster status change.</p>\n "
363
+ },
364
+ "Timeline": {
365
+ "shape_name": "ClusterTimeline",
366
+ "type": "structure",
367
+ "members": {
368
+ "CreationDateTime": {
369
+ "shape_name": "Date",
370
+ "type": "timestamp",
371
+ "documentation": "\n <p>The creation date and time of the cluster.</p>\n "
372
+ },
373
+ "ReadyDateTime": {
374
+ "shape_name": "Date",
375
+ "type": "timestamp",
376
+ "documentation": "\n <p>The date and time when the cluster was ready to execute steps.</p>\n "
377
+ },
378
+ "EndDateTime": {
379
+ "shape_name": "Date",
380
+ "type": "timestamp",
381
+ "documentation": "\n <p>The date and time when the cluster was terminated.</p>\n "
382
+ }
383
+ },
384
+ "documentation": "\n <p>A timeline that represents the status of a cluster over the lifetime of the cluster.</p>\n "
385
+ }
386
+ },
387
+ "documentation": "\n <p>The current status details about the cluster.</p>\n "
388
+ },
389
+ "Ec2InstanceAttributes": {
390
+ "shape_name": "Ec2InstanceAttributes",
391
+ "type": "structure",
392
+ "members": {
393
+ "Ec2KeyName": {
394
+ "shape_name": "StringMaxLen256",
395
+ "type": "string",
396
+ "min_length": 0,
397
+ "max_length": 256,
398
+ "documentation": "\n <p>The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as\n a user named \"hadoop\".</p>\n "
399
+ },
400
+ "Ec2SubnetId": {
401
+ "shape_name": "StringMaxLen256",
402
+ "type": "string",
403
+ "min_length": 0,
404
+ "max_length": 256,
405
+ "documentation": "\n <p>\n To launch the job flow in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where \n you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal AWS cloud, outside of \n a VPC. \n </p>\n <p>\n Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. \n Thus, you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a VPC.\n </p>\n "
406
+ },
407
+ "Ec2AvailabilityZone": {
408
+ "shape_name": "StringMaxLen256",
409
+ "type": "string",
410
+ "min_length": 0,
411
+ "max_length": 256,
412
+ "documentation": "\n <p>The Availability Zone in which the cluster will run.</p>\n "
413
+ },
414
+ "IamInstanceProfile": {
415
+ "shape_name": "StringMaxLen256",
416
+ "type": "string",
417
+ "min_length": 0,
418
+ "max_length": 256,
419
+ "documentation": "\n <p>The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.</p>\n "
420
+ }
421
+ },
422
+ "documentation": "\n <p>Provides information about the EC2 instances in a cluster grouped by category. For example, EC2 Key Name, Subnet Id, Instance Profile, and so on.</p> \n "
423
+ },
424
+ "LogUri": {
425
+ "shape_name": "String",
426
+ "type": "string",
427
+ "documentation": "\n <p>The path to the Amazon S3 location where logs for this cluster are stored.</p> \n "
428
+ },
429
+ "RequestedAmiVersion": {
430
+ "shape_name": "StringMaxLen256",
431
+ "type": "string",
432
+ "min_length": 0,
433
+ "max_length": 256,
434
+ "documentation": "\n <p>The AMI version requested for this cluster.<!-- For more information, see <a>JobFlowDetail$AmiVersion</a>.--></p>\n "
435
+ },
436
+ "RunningAmiVersion": {
437
+ "shape_name": "StringMaxLen256",
438
+ "type": "string",
439
+ "min_length": 0,
440
+ "max_length": 256,
441
+ "documentation": "\n <p>The AMI version running on this cluster. This differs from the requested version only if the requested version is a meta version, such as \"latest\". <!--For more information, see <a>JobFlowDetail$AmiVersion</a>.--></p>\n "
442
+ },
443
+ "AutoTerminate": {
444
+ "shape_name": "Boolean",
445
+ "type": "boolean",
446
+ "documentation": "\n <p>Specifies whether the cluster should terminate after completing all steps.</p>\n "
447
+ },
448
+ "TerminationProtected": {
449
+ "shape_name": "Boolean",
450
+ "type": "boolean",
451
+ "documentation": " \n <p>Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or \n user intervention, or in the event of a cluster error.</p>"
452
+ },
453
+ "VisibleToAllUsers": {
454
+ "shape_name": "Boolean",
455
+ "type": "boolean",
456
+ "documentation": "\n <p>Indicates whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to <code>true</code>, all IAM users of that AWS account can view and manage the job flow if they have the proper policy permissions set. \n If this value is <code>false</code>, only the IAM user that created the cluster can view and manage it. This value can be changed using the <a>SetVisibleToAllUsers</a> action.</p> \n "
457
+ },
458
+ "Applications": {
459
+ "shape_name": "ApplicationList",
460
+ "type": "list",
461
+ "members": {
462
+ "shape_name": "Application",
463
+ "type": "structure",
464
+ "members": {
465
+ "Name": {
466
+ "shape_name": "StringMaxLen256",
467
+ "type": "string",
468
+ "min_length": 0,
469
+ "max_length": 256,
470
+ "documentation": "\n <p>The name of the application.</p>"
471
+ },
472
+ "Version": {
473
+ "shape_name": "StringMaxLen256",
474
+ "type": "string",
475
+ "min_length": 0,
476
+ "max_length": 256,
477
+ "documentation": "\n <p>The version of the application.</p>"
478
+ },
479
+ "Args": {
480
+ "shape_name": "StringList",
481
+ "type": "list",
482
+ "members": {
483
+ "shape_name": "String",
484
+ "type": "string",
485
+ "documentation": null
486
+ },
487
+ "documentation": "\n <p>Arguments for Amazon EMR to pass to the application.</p>"
488
+ },
489
+ "AdditionalInfo": {
490
+ "shape_name": "StringMap",
491
+ "type": "map",
492
+ "keys": {
493
+ "shape_name": "StringMaxLen256",
494
+ "type": "string",
495
+ "min_length": 0,
496
+ "max_length": 256,
497
+ "documentation": null
498
+ },
499
+ "members": {
500
+ "shape_name": "String",
501
+ "type": "string",
502
+ "documentation": null
503
+ },
504
+ "documentation": "\n <p>This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.</p>"
505
+ }
506
+ },
507
+ "documentation": "\n <p>An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation\n script as bootstrap action argument. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html\">Launch a Job Flow on the MapR Distribution for Hadoop</a>. Currently supported values are:</p>\n <ul>\n <li>\"karmasphere-enterprise-utility\" - tag the \n job flow for management by <a href=\"http://aws.amazon.com/elasticmapreduce/karmasphere/\">Karmasphere</a>.</li>\n <li>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li>\n <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li>\n <li>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition, respectively.</li>\n </ul>\n "
508
+ },
509
+ "documentation": "\n <p>The applications installed on this cluster.</p>\n "
510
+ }
511
+ },
512
+ "documentation": "\n <p>This output contains the details for the requested cluster.</p>\n "
513
+ }
514
+ },
515
+ "documentation": "\n <p>This output contains the description of the cluster.</p>\n "
516
+ },
517
+ "errors": [
518
+ {
519
+ "shape_name": "InternalServerException",
520
+ "type": "structure",
521
+ "members": {
522
+ "Message": {
523
+ "shape_name": "ErrorMessage",
524
+ "type": "string",
525
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
526
+ }
527
+ },
528
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
529
+ },
530
+ {
531
+ "shape_name": "InvalidRequestException",
532
+ "type": "structure",
533
+ "members": {
534
+ "ErrorCode": {
535
+ "shape_name": "ErrorCode",
536
+ "type": "string",
537
+ "min_length": 1,
538
+ "max_length": 256,
539
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
540
+ },
541
+ "Message": {
542
+ "shape_name": "ErrorMessage",
543
+ "type": "string",
544
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
545
+ }
546
+ },
547
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
548
+ }
549
+ ],
550
+ "documentation": "\n <p>Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see <a>ListSteps</a>.</p> \n \n "
551
+ },
262
552
  "DescribeJobFlows": {
263
553
  "name": "DescribeJobFlows",
264
554
  "input": {
@@ -276,7 +566,7 @@
276
566
  "documentation": "\n <p>Return only job flows created before this date and time.</p>\n "
277
567
  },
278
568
  "JobFlowIds": {
279
- "shape_name": "StringList",
569
+ "shape_name": "XmlStringList",
280
570
  "type": "list",
281
571
  "members": {
282
572
  "shape_name": "XmlString",
@@ -295,14 +585,14 @@
295
585
  "shape_name": "JobFlowExecutionState",
296
586
  "type": "string",
297
587
  "enum": [
298
- "COMPLETED",
299
- "FAILED",
300
- "TERMINATED",
301
- "RUNNING",
302
- "SHUTTING_DOWN",
303
588
  "STARTING",
589
+ "BOOTSTRAPPING",
590
+ "RUNNING",
304
591
  "WAITING",
305
- "BOOTSTRAPPING"
592
+ "SHUTTING_DOWN",
593
+ "TERMINATED",
594
+ "COMPLETED",
595
+ "FAILED"
306
596
  ],
307
597
  "documentation": "\n <p> The type of instance. </p>\n <enumValues>\n <value name=\"JobFlowExecutionState$COMPLETED\">\n <p>A small instance</p>\n </value>\n <value name=\"JobFlowExecutionState$FAILED\">\n <p>A large instance</p>\n </value>\n </enumValues>\n "
308
598
  },
@@ -364,14 +654,14 @@
364
654
  "shape_name": "JobFlowExecutionState",
365
655
  "type": "string",
366
656
  "enum": [
367
- "COMPLETED",
368
- "FAILED",
369
- "TERMINATED",
370
- "RUNNING",
371
- "SHUTTING_DOWN",
372
657
  "STARTING",
658
+ "BOOTSTRAPPING",
659
+ "RUNNING",
373
660
  "WAITING",
374
- "BOOTSTRAPPING"
661
+ "SHUTTING_DOWN",
662
+ "TERMINATED",
663
+ "COMPLETED",
664
+ "FAILED"
375
665
  ],
376
666
  "documentation": "\n <p>The state of the job flow.</p>\n ",
377
667
  "required": true
@@ -531,14 +821,14 @@
531
821
  "type": "string",
532
822
  "enum": [
533
823
  "PROVISIONING",
534
- "STARTING",
535
824
  "BOOTSTRAPPING",
536
825
  "RUNNING",
537
826
  "RESIZING",
827
+ "SUSPENDED",
828
+ "TERMINATING",
829
+ "TERMINATED",
538
830
  "ARRESTED",
539
831
  "SHUTTING_DOWN",
540
- "TERMINATED",
541
- "FAILED",
542
832
  "ENDED"
543
833
  ],
544
834
  "documentation": "\n <p>State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</p>\n ",
@@ -613,12 +903,12 @@
613
903
  "required": true
614
904
  }
615
905
  },
616
- "documentation": "\n <p>Specifies the Amazon EC2 Availability Zone for the job flow.</p>\n "
906
+ "documentation": "\n <p>The Amazon EC2 Availability Zone for the job flow.</p>\n "
617
907
  },
618
908
  "KeepJobFlowAliveWhenNoSteps": {
619
909
  "shape_name": "Boolean",
620
910
  "type": "boolean",
621
- "documentation": "\n <p>Specifies whether or not the job flow should terminate after completing all steps.</p>\n "
911
+ "documentation": "\n <p>Specifies whether the job flow should terminate after completing all steps.</p>\n "
622
912
  },
623
913
  "TerminationProtected": {
624
914
  "shape_name": "Boolean",
@@ -631,7 +921,7 @@
631
921
  "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
632
922
  "min_length": 0,
633
923
  "max_length": 256,
634
- "documentation": "\n <p>Specifies the Hadoop version for the job flow.</p>\n "
924
+ "documentation": "\n <p>The Hadoop version for the job flow.</p>\n "
635
925
  }
636
926
  },
637
927
  "documentation": "\n <p>Describes the Amazon EC2 instances of the job flow.</p>\n ",
@@ -662,10 +952,11 @@
662
952
  "type": "string",
663
953
  "enum": [
664
954
  "TERMINATE_JOB_FLOW",
955
+ "TERMINATE_CLUSTER",
665
956
  "CANCEL_AND_WAIT",
666
957
  "CONTINUE"
667
958
  ],
668
- "documentation": "\n <p>Specifies the action to take if the job flow step fails.</p>\n "
959
+ "documentation": "\n <p>The action to take if the job flow step fails.</p>\n "
669
960
  },
670
961
  "HadoopJarStep": {
671
962
  "shape_name": "HadoopJarStepConfig",
@@ -717,7 +1008,7 @@
717
1008
  "documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a Main-Class in its manifest file.</p>\n "
718
1009
  },
719
1010
  "Args": {
720
- "shape_name": "StringList",
1011
+ "shape_name": "XmlStringList",
721
1012
  "type": "list",
722
1013
  "members": {
723
1014
  "shape_name": "XmlString",
@@ -730,7 +1021,7 @@
730
1021
  "documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
731
1022
  }
732
1023
  },
733
- "documentation": "\n <p>Specifies the JAR file used for the job flow step.</p>\n ",
1024
+ "documentation": "\n <p>The JAR file used for the job flow step.</p>\n ",
734
1025
  "required": true
735
1026
  }
736
1027
  },
@@ -823,7 +1114,7 @@
823
1114
  "required": true
824
1115
  },
825
1116
  "Args": {
826
- "shape_name": "StringList",
1117
+ "shape_name": "XmlStringList",
827
1118
  "type": "list",
828
1119
  "members": {
829
1120
  "shape_name": "XmlString",
@@ -892,98 +1183,1209 @@
892
1183
  ],
893
1184
  "documentation": "\n <p> DescribeJobFlows returns a list of job flows that match all of the supplied parameters.\n The parameters can include a list of job flow IDs, job flow states, and restrictions on job\n flow creation date and time.</p>\n <p> Regardless of supplied parameters, only job flows created within the last two months are\n returned.</p>\n <p> If no parameters are supplied, then job flows matching either of the following criteria\n are returned:</p>\n <ul>\n <li>Job flows created and completed in the last two weeks</li>\n <li> Job flows created within the last two months that are in one of the following states:\n <code>RUNNING</code>, <code>WAITING</code>, <code>SHUTTING_DOWN</code>,\n <code>STARTING</code>\n </li>\n </ul>\n <p> Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions. </p>\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.DescribeJobFlows\nContent-Length: 62\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T220330Z\nX-Amz-Content-Sha256: fce83af973f96f173512aca2845c56862b946feb1de0600326f1365b658a0e39\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=29F98a6f44e05ad54fe1e8b3d1a7101ab08dc3ad348995f89c533693cee2bb3b\nAccept: */*\n\n{\n \"JobFlowIds\": [\"j-ZKIY4CKQRX72\"],\n \"DescriptionType\": \"EXTENDED\"\n}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 634d4142-ed9a-11e2-bbba-b56d7d016ec4\nContent-Type: application/x-amz-json-1.1\nContent-Length: 1624\nDate: Mon, 15 Jul 2013 22:03:31 GMT\n\n{\"JobFlows\": [{\n \"AmiVersion\": \"2.3.6\",\n \"BootstrapActions\": [],\n \"ExecutionStatusDetail\": {\n \"CreationDateTime\": 1.373923429E9,\n \"EndDateTime\": 1.373923995E9,\n \"LastStateChangeReason\": \"Steps completed\",\n \"ReadyDateTime\": 1.373923754E9,\n \"StartDateTime\": 1.373923754E9,\n \"State\": \"COMPLETED\"\n },\n \"Instances\": {\n \"HadoopVersion\": \"1.0.3\",\n \"InstanceCount\": 1,\n \"InstanceGroups\": [{\n \"CreationDateTime\": 1.373923429E9,\n \"EndDateTime\": 1.373923995E9,\n \"InstanceGroupId\": \"ig-3SRUWV3E0NB7K\",\n \"InstanceRequestCount\": 1,\n \"InstanceRole\": \"MASTER\",\n \"InstanceRunningCount\": 0,\n \"InstanceType\": \"m1.small\",\n \"LastStateChangeReason\": \"Job flow terminated\",\n \"Market\": \"ON_DEMAND\",\n \"Name\": \"Master InstanceGroup\",\n \"ReadyDateTime\": 1.37392375E9,\n \"StartDateTime\": 1.373923646E9,\n \"State\": \"ENDED\"\n }],\n \"KeepJobFlowAliveWhenNoSteps\": false,\n \"MasterInstanceId\": \"i-8c4fbbef\",\n \"MasterInstanceType\": \"m1.small\",\n \"MasterPublicDnsName\": \"ec2-107-20-46-140.compute-1.amazonaws.com\",\n \"NormalizedInstanceHours\": 1,\n \"Placement\": {\"AvailabilityZone\": \"us-east-1a\"},\n \"TerminationProtected\": false\n },\n \"JobFlowId\": \"j-ZKIY4CKQRX72\",\n \"Name\": \"Development Job Flow\",\n \"Steps\": [{\n \"ExecutionStatusDetail\": {\n \"CreationDateTime\": 1.373923429E9,\n \"EndDateTime\": 1.373923914E9,\n \"StartDateTime\": 1.373923754E9,\n \"State\": \"COMPLETED\"\n },\n \"StepConfig\": {\n \"ActionOnFailure\": \"CANCEL_AND_WAIT\",\n \"HadoopJarStep\": {\n \"Args\": [\n \"-input\",\n \"s3://elasticmapreduce/samples/wordcount/input\",\n \"-output\",\n \"s3://examples-bucket/example-output\",\n \"-mapper\",\n \"s3://elasticmapreduce/samples/wordcount/wordSplitter.py\",\n \"-reducer\",\n \"aggregate\"\n ],\n \"Jar\": \"/home/hadoop/contrib/streaming/hadoop-streaming.jar\",\n \"Properties\": []\n },\n \"Name\": \"Example Streaming Step\"\n }\n }],\n \"SupportedProducts\": [],\n \"VisibleToAllUsers\": false\n}]}\n</queryresponse>\n </examples>\n "
894
1185
  },
895
- "ModifyInstanceGroups": {
896
- "name": "ModifyInstanceGroups",
1186
+ "DescribeStep": {
1187
+ "name": "DescribeStep",
897
1188
  "input": {
898
- "shape_name": "ModifyInstanceGroupsInput",
1189
+ "shape_name": "DescribeStepInput",
899
1190
  "type": "structure",
900
1191
  "members": {
901
- "InstanceGroups": {
902
- "shape_name": "InstanceGroupModifyConfigList",
903
- "type": "list",
904
- "members": {
905
- "shape_name": "InstanceGroupModifyConfig",
906
- "type": "structure",
907
- "members": {
908
- "InstanceGroupId": {
909
- "shape_name": "XmlStringMaxLen256",
910
- "type": "string",
911
- "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
912
- "min_length": 0,
913
- "max_length": 256,
914
- "documentation": "\n <p>Unique ID of the instance group to expand or shrink.</p>\n ",
915
- "required": true
916
- },
917
- "InstanceCount": {
918
- "shape_name": "Integer",
919
- "type": "integer",
920
- "documentation": "\n <p>Target size for the instance group.</p>\n ",
921
- "required": true
922
- }
923
- },
924
- "documentation": "\n <p>Modify an instance group size.</p>\n "
925
- },
926
- "documentation": "\n <p>Instance groups to change.</p>\n "
1192
+ "ClusterId": {
1193
+ "shape_name": "ClusterId",
1194
+ "type": "string",
1195
+ "min_length": 1,
1196
+ "max_length": 64,
1197
+ "documentation": "\n <p>The identifier of the cluster with steps to describe.</p>\n "
1198
+ },
1199
+ "StepId": {
1200
+ "shape_name": "StepId",
1201
+ "type": "string",
1202
+ "min_length": 1,
1203
+ "max_length": 64,
1204
+ "documentation": "\n <p>The identifier of the step to describe.</p>\n "
927
1205
  }
928
1206
  },
929
- "documentation": "\n <p>Change the size of some instance groups.</p>\n "
1207
+ "documentation": "\n <p>This input determines which step to describe.</p>\n "
930
1208
  },
931
- "output": null,
932
- "errors": [
933
- {
934
- "shape_name": "InternalServerError",
935
- "type": "structure",
936
- "members": {
937
- },
938
- "documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
939
- }
940
- ],
941
- "documentation": "\n <p>ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance\n group. The input parameters include the new target instance count for the group and the\n instance group ID. The call will either succeed or fail atomically.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.ModifyInstanceGroups\nContent-Length: 77\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T205843Z\nX-Amz-Content-Sha256: bb1af3d0c6c6a1a09f21ccd7f04a0e2e6c9ce5b5810b0f6777560fe4f81bda8c\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=17bbbb4448a1f47a14d5657445e9de5cadf16bed58b850585f80865882133b33\nAccept: */*\n\n{\"InstanceGroups\": [{\n \"InstanceGroupId\": \"ig-1S8NWT31S2OVG\",\n \"InstanceCount\": 5\n}]}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 80a74808-ee5a-11e2-90db-69a5154aeb8d\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 20:58:44 GMT\n\n </queryresponse>\n </examples>\n \n "
942
- },
943
- "RunJobFlow": {
944
- "name": "RunJobFlow",
945
- "input": {
946
- "shape_name": "RunJobFlowInput",
1209
+ "output": {
1210
+ "shape_name": "DescribeStepOutput",
947
1211
  "type": "structure",
948
1212
  "members": {
949
- "Name": {
950
- "shape_name": "XmlStringMaxLen256",
951
- "type": "string",
952
- "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
953
- "min_length": 0,
954
- "max_length": 256,
955
- "documentation": "\n <p>The name of the job flow.</p>\n ",
956
- "required": true
957
- },
958
- "LogUri": {
959
- "shape_name": "XmlString",
960
- "type": "string",
961
- "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
962
- "min_length": 0,
963
- "max_length": 10280,
964
- "documentation": "\n <p>Specifies the location in Amazon S3 to write the log files of the job flow. If a value is\n not provided, logs are not created.</p>\n "
965
- },
966
- "AdditionalInfo": {
967
- "shape_name": "XmlString",
968
- "type": "string",
969
- "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
970
- "min_length": 0,
971
- "max_length": 10280,
972
- "documentation": "\n <p>A JSON string for selecting additional features.</p>\n "
973
- },
974
- "AmiVersion": {
975
- "shape_name": "XmlStringMaxLen256",
976
- "type": "string",
977
- "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
978
- "min_length": 0,
979
- "max_length": 256,
980
- "documentation": "\n <p>The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid: </p>\n <ul>\n <li>\"latest\" (uses the latest AMI)</li>\n <li>The version number of the AMI to use, for example, \"2.0\"</li>\n </ul>\n <p>If this value is not specified, the job flow uses the default of (AMI 1.0, Hadoop 0.18). </p>\n <p>If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the \n <a>JobFlowInstancesConfig</a> <code>HadoopVersion</code> parameter\n to modify the version of Hadoop from the defaults shown above.</p>\n <p>For details about the AMI versions currently \n supported by Amazon ElasticMapReduce, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported\">AMI Versions Supported in Elastic MapReduce</a> in the \n <i>Amazon Elastic MapReduce Developer's Guide.</i>\n </p>\n "
981
- },
982
- "Instances": {
983
- "shape_name": "JobFlowInstancesConfig",
1213
+ "Step": {
1214
+ "shape_name": "Step",
984
1215
  "type": "structure",
985
1216
  "members": {
986
- "MasterInstanceType": {
1217
+ "Id": {
1218
+ "shape_name": "StepId",
1219
+ "type": "string",
1220
+ "min_length": 1,
1221
+ "max_length": 64,
1222
+ "documentation": "\n <p>The identifier of the cluster step.</p>\n "
1223
+ },
1224
+ "Name": {
1225
+ "shape_name": "StringMaxLen256",
1226
+ "type": "string",
1227
+ "min_length": 0,
1228
+ "max_length": 256,
1229
+ "documentation": "\n <p>The name of the cluster step.</p>\n "
1230
+ },
1231
+ "Config": {
1232
+ "shape_name": "HadoopStepConfig",
1233
+ "type": "structure",
1234
+ "members": {
1235
+ "Jar": {
1236
+ "shape_name": "String",
1237
+ "type": "string",
1238
+ "documentation": "\n <p>The path to the JAR file that runs during the step.</p>\n "
1239
+ },
1240
+ "Properties": {
1241
+ "shape_name": "StringMap",
1242
+ "type": "map",
1243
+ "keys": {
1244
+ "shape_name": "StringMaxLen256",
1245
+ "type": "string",
1246
+ "min_length": 0,
1247
+ "max_length": 256,
1248
+ "documentation": null
1249
+ },
1250
+ "members": {
1251
+ "shape_name": "String",
1252
+ "type": "string",
1253
+ "documentation": null
1254
+ },
1255
+ "documentation": "\n <p>The list of Java properties that are set when the step runs. You can use these properties to\n pass key value pairs to your main function.</p>\n "
1256
+ },
1257
+ "MainClass": {
1258
+ "shape_name": "String",
1259
+ "type": "string",
1260
+ "documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a main class in its manifest file.</p>\n "
1261
+ },
1262
+ "Args": {
1263
+ "shape_name": "StringList",
1264
+ "type": "list",
1265
+ "members": {
1266
+ "shape_name": "String",
1267
+ "type": "string",
1268
+ "documentation": null
1269
+ },
1270
+ "documentation": "\n <p>The list of command line arguments to pass to the JAR file's main function for execution.</p>\n "
1271
+ }
1272
+ },
1273
+ "documentation": "\n <p>The Hadoop job configuration of the cluster step.\n </p>\n "
1274
+ },
1275
+ "ActionOnFailure": {
1276
+ "shape_name": "ActionOnFailure",
1277
+ "type": "string",
1278
+ "enum": [
1279
+ "TERMINATE_JOB_FLOW",
1280
+ "TERMINATE_CLUSTER",
1281
+ "CANCEL_AND_WAIT",
1282
+ "CONTINUE"
1283
+ ],
1284
+ "documentation": "\n <p>This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.\n </p>\n "
1285
+ },
1286
+ "Status": {
1287
+ "shape_name": "StepStatus",
1288
+ "type": "structure",
1289
+ "members": {
1290
+ "State": {
1291
+ "shape_name": "StepState",
1292
+ "type": "string",
1293
+ "enum": [
1294
+ "PENDING",
1295
+ "RUNNING",
1296
+ "COMPLETED",
1297
+ "CANCELLED",
1298
+ "FAILED",
1299
+ "INTERRUPTED"
1300
+ ],
1301
+ "documentation": "\n <p>The execution state of the cluster step.\n </p>\n "
1302
+ },
1303
+ "StateChangeReason": {
1304
+ "shape_name": "StepStateChangeReason",
1305
+ "type": "structure",
1306
+ "members": {
1307
+ "Code": {
1308
+ "shape_name": "StepStateChangeReasonCode",
1309
+ "type": "string",
1310
+ "enum": [
1311
+ "NONE"
1312
+ ],
1313
+ "documentation": "\n <p>The programmable code for the state change reason.\n </p>\n "
1314
+ },
1315
+ "Message": {
1316
+ "shape_name": "String",
1317
+ "type": "string",
1318
+ "documentation": "\n <p>The descriptive message for the state change reason.\n </p>\n "
1319
+ }
1320
+ },
1321
+ "documentation": "\n <p>The reason for the step execution status change.\n </p>\n "
1322
+ },
1323
+ "Timeline": {
1324
+ "shape_name": "StepTimeline",
1325
+ "type": "structure",
1326
+ "members": {
1327
+ "CreationDateTime": {
1328
+ "shape_name": "Date",
1329
+ "type": "timestamp",
1330
+ "documentation": "\n <p>The date and time when the cluster step was created.\n </p>\n "
1331
+ },
1332
+ "StartDateTime": {
1333
+ "shape_name": "Date",
1334
+ "type": "timestamp",
1335
+ "documentation": "\n <p>The date and time when the cluster step execution started.\n Due to delays in step status reporting, this can display a time which pre-dates a previous call to DescribeStep that indicated the step was not yet running. \n </p>\n "
1336
+ },
1337
+ "EndDateTime": {
1338
+ "shape_name": "Date",
1339
+ "type": "timestamp",
1340
+ "documentation": "\n <p>The date and time when the cluster step execution completed or failed. \n This can display a time that pre-dates a call to DescribeStep that indicates the step is running, due to delays in step status reporting. \n </p>\n "
1341
+ }
1342
+ },
1343
+ "documentation": "\n <p>The timeline of the cluster step status over time.\n </p>\n "
1344
+ }
1345
+ },
1346
+ "documentation": "\n <p>The current execution status details of the cluster step.\n </p>\n "
1347
+ }
1348
+ },
1349
+ "documentation": "\n <p>The step details for the requested step identifier.</p>\n "
1350
+ }
1351
+ },
1352
+ "documentation": "\n <p>This output contains the description of the cluster step.</p>\n "
1353
+ },
1354
+ "errors": [
1355
+ {
1356
+ "shape_name": "InternalServerException",
1357
+ "type": "structure",
1358
+ "members": {
1359
+ "Message": {
1360
+ "shape_name": "ErrorMessage",
1361
+ "type": "string",
1362
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1363
+ }
1364
+ },
1365
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
1366
+ },
1367
+ {
1368
+ "shape_name": "InvalidRequestException",
1369
+ "type": "structure",
1370
+ "members": {
1371
+ "ErrorCode": {
1372
+ "shape_name": "ErrorCode",
1373
+ "type": "string",
1374
+ "min_length": 1,
1375
+ "max_length": 256,
1376
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
1377
+ },
1378
+ "Message": {
1379
+ "shape_name": "ErrorMessage",
1380
+ "type": "string",
1381
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1382
+ }
1383
+ },
1384
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
1385
+ }
1386
+ ],
1387
+ "documentation": "\n <p>Provides more detail about the cluster step.</p> \n "
1388
+ },
1389
+ "ListBootstrapActions": {
1390
+ "name": "ListBootstrapActions",
1391
+ "input": {
1392
+ "shape_name": "ListBootstrapActionsInput",
1393
+ "type": "structure",
1394
+ "members": {
1395
+ "ClusterId": {
1396
+ "shape_name": "ClusterId",
1397
+ "type": "string",
1398
+ "min_length": 1,
1399
+ "max_length": 64,
1400
+ "documentation": "\n <p>The cluster identifier for the bootstrap actions to list\n .</p>\n "
1401
+ },
1402
+ "Marker": {
1403
+ "shape_name": "Marker",
1404
+ "type": "string",
1405
+ "min_length": 1,
1406
+ "max_length": 512,
1407
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve\n .</p>\n "
1408
+ }
1409
+ },
1410
+ "documentation": "\n <p>This input determines which bootstrap actions to retrieve.</p>\n "
1411
+ },
1412
+ "output": {
1413
+ "shape_name": "ListBootstrapActionsOutput",
1414
+ "type": "structure",
1415
+ "members": {
1416
+ "BootstrapActions": {
1417
+ "shape_name": "CommandList",
1418
+ "type": "list",
1419
+ "members": {
1420
+ "shape_name": "Command",
1421
+ "type": "structure",
1422
+ "members": {
1423
+ "Name": {
1424
+ "shape_name": "StringMaxLen256",
1425
+ "type": "string",
1426
+ "min_length": 0,
1427
+ "max_length": 256,
1428
+ "documentation": "\n <p>The name of the command.</p>\n "
1429
+ },
1430
+ "ScriptPath": {
1431
+ "shape_name": "String",
1432
+ "type": "string",
1433
+ "documentation": "\n <p>The Amazon S3 location of the command script.</p>\n "
1434
+ },
1435
+ "Args": {
1436
+ "shape_name": "StringList",
1437
+ "type": "list",
1438
+ "members": {
1439
+ "shape_name": "String",
1440
+ "type": "string",
1441
+ "documentation": null
1442
+ },
1443
+ "documentation": "\n <p>Arguments for Amazon EMR to pass to the command for execution.</p>\n "
1444
+ }
1445
+ },
1446
+ "documentation": "\n <p>An entity describing an executable that runs on a cluster.</p>\n "
1447
+ },
1448
+ "documentation": "\n <p>The bootstrap actions associated with the cluster\n .</p>\n "
1449
+ },
1450
+ "Marker": {
1451
+ "shape_name": "Marker",
1452
+ "type": "string",
1453
+ "min_length": 1,
1454
+ "max_length": 512,
1455
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve\n .</p>\n "
1456
+ }
1457
+ },
1458
+ "documentation": "\n <p>This output contains the boostrap actions detail\n .</p>\n "
1459
+ },
1460
+ "errors": [
1461
+ {
1462
+ "shape_name": "InternalServerException",
1463
+ "type": "structure",
1464
+ "members": {
1465
+ "Message": {
1466
+ "shape_name": "ErrorMessage",
1467
+ "type": "string",
1468
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1469
+ }
1470
+ },
1471
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
1472
+ },
1473
+ {
1474
+ "shape_name": "InvalidRequestException",
1475
+ "type": "structure",
1476
+ "members": {
1477
+ "ErrorCode": {
1478
+ "shape_name": "ErrorCode",
1479
+ "type": "string",
1480
+ "min_length": 1,
1481
+ "max_length": 256,
1482
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
1483
+ },
1484
+ "Message": {
1485
+ "shape_name": "ErrorMessage",
1486
+ "type": "string",
1487
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1488
+ }
1489
+ },
1490
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
1491
+ }
1492
+ ],
1493
+ "documentation": "\n <p>Provides information about the bootstrap actions associated with a cluster.</p> \n \n "
1494
+ },
1495
+ "ListClusters": {
1496
+ "name": "ListClusters",
1497
+ "input": {
1498
+ "shape_name": "ListClustersInput",
1499
+ "type": "structure",
1500
+ "members": {
1501
+ "CreatedAfter": {
1502
+ "shape_name": "Date",
1503
+ "type": "timestamp",
1504
+ "documentation": "\n <p>The creation date and time beginning value filter for listing clusters\n .</p>\n "
1505
+ },
1506
+ "CreatedBefore": {
1507
+ "shape_name": "Date",
1508
+ "type": "timestamp",
1509
+ "documentation": "\n <p>The creation date and time end value filter for listing clusters\n .</p>\n "
1510
+ },
1511
+ "ClusterStates": {
1512
+ "shape_name": "ClusterStateList",
1513
+ "type": "list",
1514
+ "members": {
1515
+ "shape_name": "ClusterState",
1516
+ "type": "string",
1517
+ "enum": [
1518
+ "STARTING",
1519
+ "BOOTSTRAPPING",
1520
+ "RUNNING",
1521
+ "WAITING",
1522
+ "TERMINATING",
1523
+ "TERMINATED",
1524
+ "TERMINATED_WITH_ERRORS"
1525
+ ],
1526
+ "documentation": null
1527
+ },
1528
+ "documentation": "\n <p>The cluster state filters to apply when listing clusters.\n </p>\n "
1529
+ },
1530
+ "Marker": {
1531
+ "shape_name": "Marker",
1532
+ "type": "string",
1533
+ "min_length": 1,
1534
+ "max_length": 512,
1535
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.\n </p>\n "
1536
+ }
1537
+ },
1538
+ "documentation": "\n <p>This input determines how the ListClusters action filters the list of clusters that it returns.</p> \n "
1539
+ },
1540
+ "output": {
1541
+ "shape_name": "ListClustersOutput",
1542
+ "type": "structure",
1543
+ "members": {
1544
+ "Clusters": {
1545
+ "shape_name": "ClusterSummaryList",
1546
+ "type": "list",
1547
+ "members": {
1548
+ "shape_name": "ClusterSummary",
1549
+ "type": "structure",
1550
+ "members": {
1551
+ "Id": {
1552
+ "shape_name": "ClusterId",
1553
+ "type": "string",
1554
+ "min_length": 1,
1555
+ "max_length": 64,
1556
+ "documentation": "\n <p>The unique identifier for the cluster.</p>\n "
1557
+ },
1558
+ "Name": {
1559
+ "shape_name": "StringMaxLen256",
1560
+ "type": "string",
1561
+ "min_length": 0,
1562
+ "max_length": 256,
1563
+ "documentation": "\n <p>The name of the cluster.</p>\n "
1564
+ },
1565
+ "Status": {
1566
+ "shape_name": "ClusterStatus",
1567
+ "type": "structure",
1568
+ "members": {
1569
+ "State": {
1570
+ "shape_name": "ClusterState",
1571
+ "type": "string",
1572
+ "enum": [
1573
+ "STARTING",
1574
+ "BOOTSTRAPPING",
1575
+ "RUNNING",
1576
+ "WAITING",
1577
+ "TERMINATING",
1578
+ "TERMINATED",
1579
+ "TERMINATED_WITH_ERRORS"
1580
+ ],
1581
+ "documentation": "\n <p>The current state of the cluster.</p>\n "
1582
+ },
1583
+ "StateChangeReason": {
1584
+ "shape_name": "ClusterStateChangeReason",
1585
+ "type": "structure",
1586
+ "members": {
1587
+ "Code": {
1588
+ "shape_name": "ClusterStateChangeReasonCode",
1589
+ "type": "string",
1590
+ "enum": [
1591
+ "INTERNAL_ERROR",
1592
+ "VALIDATION_ERROR",
1593
+ "INSTANCE_FAILURE",
1594
+ "BOOTSTRAP_FAILURE",
1595
+ "USER_REQUEST",
1596
+ "STEP_FAILURE",
1597
+ "ALL_STEPS_COMPLETED"
1598
+ ],
1599
+ "documentation": "\n <p>The programmatic code for the state change reason.</p>\n "
1600
+ },
1601
+ "Message": {
1602
+ "shape_name": "String",
1603
+ "type": "string",
1604
+ "documentation": "\n <p>The descriptive message for the state change reason.</p>\n "
1605
+ }
1606
+ },
1607
+ "documentation": "\n <p>The reason for the cluster status change.</p>\n "
1608
+ },
1609
+ "Timeline": {
1610
+ "shape_name": "ClusterTimeline",
1611
+ "type": "structure",
1612
+ "members": {
1613
+ "CreationDateTime": {
1614
+ "shape_name": "Date",
1615
+ "type": "timestamp",
1616
+ "documentation": "\n <p>The creation date and time of the cluster.</p>\n "
1617
+ },
1618
+ "ReadyDateTime": {
1619
+ "shape_name": "Date",
1620
+ "type": "timestamp",
1621
+ "documentation": "\n <p>The date and time when the cluster was ready to execute steps.</p>\n "
1622
+ },
1623
+ "EndDateTime": {
1624
+ "shape_name": "Date",
1625
+ "type": "timestamp",
1626
+ "documentation": "\n <p>The date and time when the cluster was terminated.</p>\n "
1627
+ }
1628
+ },
1629
+ "documentation": "\n <p>A timeline that represents the status of a cluster over the lifetime of the cluster.</p>\n "
1630
+ }
1631
+ },
1632
+ "documentation": "\n <p>The details about the current status of the cluster.</p>\n "
1633
+ }
1634
+ },
1635
+ "documentation": "\n <p>The summary description of the cluster.</p>\n "
1636
+ },
1637
+ "documentation": "\n <p>The list of clusters for the account based on the given filters.\n </p>\n "
1638
+ },
1639
+ "Marker": {
1640
+ "shape_name": "Marker",
1641
+ "type": "string",
1642
+ "min_length": 1,
1643
+ "max_length": 512,
1644
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.\n </p>\n "
1645
+ }
1646
+ },
1647
+ "documentation": "\n <p>This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.</p> \n "
1648
+ },
1649
+ "errors": [
1650
+ {
1651
+ "shape_name": "InternalServerException",
1652
+ "type": "structure",
1653
+ "members": {
1654
+ "Message": {
1655
+ "shape_name": "ErrorMessage",
1656
+ "type": "string",
1657
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1658
+ }
1659
+ },
1660
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
1661
+ },
1662
+ {
1663
+ "shape_name": "InvalidRequestException",
1664
+ "type": "structure",
1665
+ "members": {
1666
+ "ErrorCode": {
1667
+ "shape_name": "ErrorCode",
1668
+ "type": "string",
1669
+ "min_length": 1,
1670
+ "max_length": 256,
1671
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
1672
+ },
1673
+ "Message": {
1674
+ "shape_name": "ErrorMessage",
1675
+ "type": "string",
1676
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1677
+ }
1678
+ },
1679
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
1680
+ }
1681
+ ],
1682
+ "documentation": "\n <p>Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status.\n This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls. \n </p> \n \n "
1683
+ },
1684
+ "ListInstanceGroups": {
1685
+ "name": "ListInstanceGroups",
1686
+ "input": {
1687
+ "shape_name": "ListInstanceGroupsInput",
1688
+ "type": "structure",
1689
+ "members": {
1690
+ "ClusterId": {
1691
+ "shape_name": "ClusterId",
1692
+ "type": "string",
1693
+ "min_length": 1,
1694
+ "max_length": 64,
1695
+ "documentation": "\n <p>The identifier of the cluster for which to list the instance groups.</p>\n "
1696
+ },
1697
+ "Marker": {
1698
+ "shape_name": "Marker",
1699
+ "type": "string",
1700
+ "min_length": 1,
1701
+ "max_length": 512,
1702
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
1703
+ }
1704
+ },
1705
+ "documentation": "\n <p>This input determines which instance groups to retrieve.</p>\n "
1706
+ },
1707
+ "output": {
1708
+ "shape_name": "ListInstanceGroupsOutput",
1709
+ "type": "structure",
1710
+ "members": {
1711
+ "InstanceGroups": {
1712
+ "shape_name": "InstanceGroupList",
1713
+ "type": "list",
1714
+ "members": {
1715
+ "shape_name": "InstanceGroup",
1716
+ "type": "structure",
1717
+ "members": {
1718
+ "Id": {
1719
+ "shape_name": "InstanceGroupId",
1720
+ "type": "string",
1721
+ "min_length": 1,
1722
+ "max_length": 64,
1723
+ "documentation": "\n <p>The identifier of the instance group.</p>\n "
1724
+ },
1725
+ "Name": {
1726
+ "shape_name": "StringMaxLen256",
1727
+ "type": "string",
1728
+ "min_length": 0,
1729
+ "max_length": 256,
1730
+ "documentation": "\n <p>The name of the instance group.</p>\n "
1731
+ },
1732
+ "Market": {
1733
+ "shape_name": "MarketType",
1734
+ "type": "string",
1735
+ "enum": [
1736
+ "ON_DEMAND",
1737
+ "SPOT"
1738
+ ],
1739
+ "documentation": "\n <p>The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.</p>\n "
1740
+ },
1741
+ "InstanceGroupType": {
1742
+ "shape_name": "InstanceGroupType",
1743
+ "type": "string",
1744
+ "enum": [
1745
+ "MASTER",
1746
+ "CORE",
1747
+ "TASK"
1748
+ ],
1749
+ "documentation": "\n <p>The type of the instance group. Valid values are MASTER, CORE or TASK.</p>\n "
1750
+ },
1751
+ "BidPrice": {
1752
+ "shape_name": "StringMaxLen256",
1753
+ "type": "string",
1754
+ "min_length": 0,
1755
+ "max_length": 256,
1756
+ "documentation": "\n <p>The bid price for each EC2 instance in the\n instance group when launching nodes as Spot Instances, expressed in USD.</p>\n "
1757
+ },
1758
+ "InstanceType": {
1759
+ "shape_name": "InstanceType",
1760
+ "type": "string",
1761
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
1762
+ "min_length": 1,
1763
+ "max_length": 256,
1764
+ "documentation": "\n <p>The EC2 instance type for all instances in the instance group. </p>\n "
1765
+ },
1766
+ "RequestedInstanceCount": {
1767
+ "shape_name": "Integer",
1768
+ "type": "integer",
1769
+ "documentation": "\n <p>The target number of instances for the instance group. </p>\n "
1770
+ },
1771
+ "RunningInstanceCount": {
1772
+ "shape_name": "Integer",
1773
+ "type": "integer",
1774
+ "documentation": "\n <p>The number of instances currently running in this instance group.</p>\n "
1775
+ },
1776
+ "Status": {
1777
+ "shape_name": "InstanceGroupStatus",
1778
+ "type": "structure",
1779
+ "members": {
1780
+ "State": {
1781
+ "shape_name": "InstanceGroupState",
1782
+ "type": "string",
1783
+ "enum": [
1784
+ "PROVISIONING",
1785
+ "BOOTSTRAPPING",
1786
+ "RUNNING",
1787
+ "RESIZING",
1788
+ "SUSPENDED",
1789
+ "TERMINATING",
1790
+ "TERMINATED",
1791
+ "ARRESTED",
1792
+ "SHUTTING_DOWN",
1793
+ "ENDED"
1794
+ ],
1795
+ "documentation": "\n <p>The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.\n </p>\n "
1796
+ },
1797
+ "StateChangeReason": {
1798
+ "shape_name": "InstanceGroupStateChangeReason",
1799
+ "type": "structure",
1800
+ "members": {
1801
+ "Code": {
1802
+ "shape_name": "InstanceGroupStateChangeReasonCode",
1803
+ "type": "string",
1804
+ "enum": [
1805
+ "INTERNAL_ERROR",
1806
+ "VALIDATION_ERROR",
1807
+ "INSTANCE_FAILURE",
1808
+ "CLUSTER_TERMINATED"
1809
+ ],
1810
+ "documentation": "\n <p>The programmable code for the state change reason.</p>\n "
1811
+ },
1812
+ "Message": {
1813
+ "shape_name": "String",
1814
+ "type": "string",
1815
+ "documentation": "\n <p>The status change reason description.</p>\n "
1816
+ }
1817
+ },
1818
+ "documentation": "\n <p>The status change reason details for the instance group.</p>\n "
1819
+ },
1820
+ "Timeline": {
1821
+ "shape_name": "InstanceGroupTimeline",
1822
+ "type": "structure",
1823
+ "members": {
1824
+ "CreationDateTime": {
1825
+ "shape_name": "Date",
1826
+ "type": "timestamp",
1827
+ "documentation": "\n <p>The creation date and time of the instance group.</p>\n "
1828
+ },
1829
+ "ReadyDateTime": {
1830
+ "shape_name": "Date",
1831
+ "type": "timestamp",
1832
+ "documentation": "\n <p>The date and time when the instance group became ready to perform tasks.</p>\n "
1833
+ },
1834
+ "EndDateTime": {
1835
+ "shape_name": "Date",
1836
+ "type": "timestamp",
1837
+ "documentation": "\n <p>The date and time when the instance group terminated.</p>\n "
1838
+ }
1839
+ },
1840
+ "documentation": "\n <p>The timeline of the instance group status over time.</p>\n "
1841
+ }
1842
+ },
1843
+ "documentation": "\n <p>The current status of the instance group.</p>\n "
1844
+ }
1845
+ },
1846
+ "documentation": "\n <p>This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.</p>\n "
1847
+ },
1848
+ "documentation": "\n <p>The list of instance groups for the cluster and given filters.</p>\n "
1849
+ },
1850
+ "Marker": {
1851
+ "shape_name": "Marker",
1852
+ "type": "string",
1853
+ "min_length": 1,
1854
+ "max_length": 512,
1855
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
1856
+ }
1857
+ },
1858
+ "documentation": "\n <p>This input determines which instance groups to retrieve.</p>\n "
1859
+ },
1860
+ "errors": [
1861
+ {
1862
+ "shape_name": "InternalServerException",
1863
+ "type": "structure",
1864
+ "members": {
1865
+ "Message": {
1866
+ "shape_name": "ErrorMessage",
1867
+ "type": "string",
1868
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1869
+ }
1870
+ },
1871
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
1872
+ },
1873
+ {
1874
+ "shape_name": "InvalidRequestException",
1875
+ "type": "structure",
1876
+ "members": {
1877
+ "ErrorCode": {
1878
+ "shape_name": "ErrorCode",
1879
+ "type": "string",
1880
+ "min_length": 1,
1881
+ "max_length": 256,
1882
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
1883
+ },
1884
+ "Message": {
1885
+ "shape_name": "ErrorMessage",
1886
+ "type": "string",
1887
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
1888
+ }
1889
+ },
1890
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
1891
+ }
1892
+ ],
1893
+ "documentation": "\n <p>Provides all available details about the instance groups in a cluster.</p> \n \n "
1894
+ },
1895
+ "ListInstances": {
1896
+ "name": "ListInstances",
1897
+ "input": {
1898
+ "shape_name": "ListInstancesInput",
1899
+ "type": "structure",
1900
+ "members": {
1901
+ "ClusterId": {
1902
+ "shape_name": "ClusterId",
1903
+ "type": "string",
1904
+ "min_length": 1,
1905
+ "max_length": 64,
1906
+ "documentation": "\n <p>The identifier of the cluster for which to list the instances.</p>\n "
1907
+ },
1908
+ "InstanceGroupId": {
1909
+ "shape_name": "InstanceGroupId",
1910
+ "type": "string",
1911
+ "min_length": 1,
1912
+ "max_length": 64,
1913
+ "documentation": "\n <p>The identifier of the instance group for which to list the instances.</p>\n "
1914
+ },
1915
+ "InstanceGroupTypes": {
1916
+ "shape_name": "InstanceGroupTypeList",
1917
+ "type": "list",
1918
+ "members": {
1919
+ "shape_name": "InstanceGroupType",
1920
+ "type": "string",
1921
+ "enum": [
1922
+ "MASTER",
1923
+ "CORE",
1924
+ "TASK"
1925
+ ],
1926
+ "documentation": null
1927
+ },
1928
+ "documentation": "\n <p>The type of instance group for which to list the instances.</p>\n "
1929
+ },
1930
+ "Marker": {
1931
+ "shape_name": "Marker",
1932
+ "type": "string",
1933
+ "min_length": 1,
1934
+ "max_length": 512,
1935
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
1936
+ }
1937
+ },
1938
+ "documentation": "\n <p>This input determines which instances to list.</p>\n "
1939
+ },
1940
+ "output": {
1941
+ "shape_name": "ListInstancesOutput",
1942
+ "type": "structure",
1943
+ "members": {
1944
+ "Instances": {
1945
+ "shape_name": "InstanceList",
1946
+ "type": "list",
1947
+ "members": {
1948
+ "shape_name": "Instance",
1949
+ "type": "structure",
1950
+ "members": {
1951
+ "Id": {
1952
+ "shape_name": "InstanceId",
1953
+ "type": "string",
1954
+ "min_length": 1,
1955
+ "max_length": 64,
1956
+ "documentation": "\n <p>The unique identifier for the instance in Amazon EMR.</p>\n "
1957
+ },
1958
+ "Ec2InstanceId": {
1959
+ "shape_name": "InstanceId",
1960
+ "type": "string",
1961
+ "min_length": 1,
1962
+ "max_length": 64,
1963
+ "documentation": "\n <p>The unique identifier of the instance in Amazon EC2.</p>\n "
1964
+ },
1965
+ "PublicDnsName": {
1966
+ "shape_name": "StringMaxLen256",
1967
+ "type": "string",
1968
+ "min_length": 0,
1969
+ "max_length": 256,
1970
+ "documentation": "\n <p>The public DNS name of the instance.</p>\n "
1971
+ },
1972
+ "PublicIpAddress": {
1973
+ "shape_name": "StringMaxLen256",
1974
+ "type": "string",
1975
+ "min_length": 0,
1976
+ "max_length": 256,
1977
+ "documentation": "\n <p>The public IP address of the instance.</p>\n "
1978
+ },
1979
+ "PrivateDnsName": {
1980
+ "shape_name": "StringMaxLen256",
1981
+ "type": "string",
1982
+ "min_length": 0,
1983
+ "max_length": 256,
1984
+ "documentation": "\n <p>The private DNS name of the instance.</p>\n "
1985
+ },
1986
+ "PrivateIpAddress": {
1987
+ "shape_name": "StringMaxLen256",
1988
+ "type": "string",
1989
+ "min_length": 0,
1990
+ "max_length": 256,
1991
+ "documentation": "\n <p>The private IP address of the instance.</p>\n "
1992
+ },
1993
+ "Status": {
1994
+ "shape_name": "InstanceStatus",
1995
+ "type": "structure",
1996
+ "members": {
1997
+ "State": {
1998
+ "shape_name": "InstanceState",
1999
+ "type": "string",
2000
+ "enum": [
2001
+ "AWAITING_FULFILLMENT",
2002
+ "PROVISIONING",
2003
+ "BOOTSTRAPPING",
2004
+ "RUNNING",
2005
+ "TERMINATED"
2006
+ ],
2007
+ "documentation": "\n <p>The current state of the instance.</p>\n "
2008
+ },
2009
+ "StateChangeReason": {
2010
+ "shape_name": "InstanceStateChangeReason",
2011
+ "type": "structure",
2012
+ "members": {
2013
+ "Code": {
2014
+ "shape_name": "InstanceStateChangeReasonCode",
2015
+ "type": "string",
2016
+ "enum": [
2017
+ "INTERNAL_ERROR",
2018
+ "VALIDATION_ERROR",
2019
+ "INSTANCE_FAILURE",
2020
+ "BOOTSTRAP_FAILURE",
2021
+ "CLUSTER_TERMINATED"
2022
+ ],
2023
+ "documentation": "\n <p>The programmable code for the state change reason.</p>\n "
2024
+ },
2025
+ "Message": {
2026
+ "shape_name": "String",
2027
+ "type": "string",
2028
+ "documentation": "\n <p>The status change reason description.</p>\n "
2029
+ }
2030
+ },
2031
+ "documentation": "\n <p>The details of the status change reason for the instance.</p>\n "
2032
+ },
2033
+ "Timeline": {
2034
+ "shape_name": "InstanceTimeline",
2035
+ "type": "structure",
2036
+ "members": {
2037
+ "CreationDateTime": {
2038
+ "shape_name": "Date",
2039
+ "type": "timestamp",
2040
+ "documentation": "\n <p>The creation date and time of the instance.</p>\n "
2041
+ },
2042
+ "ReadyDateTime": {
2043
+ "shape_name": "Date",
2044
+ "type": "timestamp",
2045
+ "documentation": "\n <p>The date and time when the instance was ready to perform tasks.</p>\n "
2046
+ },
2047
+ "EndDateTime": {
2048
+ "shape_name": "Date",
2049
+ "type": "timestamp",
2050
+ "documentation": "\n <p>The date and time when the instance was terminated.</p>\n "
2051
+ }
2052
+ },
2053
+ "documentation": "\n <p>The timeline of the instance status over time.</p>\n "
2054
+ }
2055
+ },
2056
+ "documentation": "\n <p>The current status of the instance.</p>\n "
2057
+ }
2058
+ },
2059
+ "documentation": "\n <p>Represents an EC2 instance provisioned as part of cluster.</p>\n "
2060
+ },
2061
+ "documentation": "\n <p>The list of instances for the cluster and given filters.</p>\n "
2062
+ },
2063
+ "Marker": {
2064
+ "shape_name": "Marker",
2065
+ "type": "string",
2066
+ "min_length": 1,
2067
+ "max_length": 512,
2068
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
2069
+ }
2070
+ },
2071
+ "documentation": "\n <p>This output contains the list of instances.</p>\n "
2072
+ },
2073
+ "errors": [
2074
+ {
2075
+ "shape_name": "InternalServerException",
2076
+ "type": "structure",
2077
+ "members": {
2078
+ "Message": {
2079
+ "shape_name": "ErrorMessage",
2080
+ "type": "string",
2081
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
2082
+ }
2083
+ },
2084
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
2085
+ },
2086
+ {
2087
+ "shape_name": "InvalidRequestException",
2088
+ "type": "structure",
2089
+ "members": {
2090
+ "ErrorCode": {
2091
+ "shape_name": "ErrorCode",
2092
+ "type": "string",
2093
+ "min_length": 1,
2094
+ "max_length": 256,
2095
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
2096
+ },
2097
+ "Message": {
2098
+ "shape_name": "ErrorMessage",
2099
+ "type": "string",
2100
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
2101
+ }
2102
+ },
2103
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
2104
+ }
2105
+ ],
2106
+ "documentation": "\n <p>Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. \n For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.\n </p> \n "
2107
+ },
2108
+ "ListSteps": {
2109
+ "name": "ListSteps",
2110
+ "input": {
2111
+ "shape_name": "ListStepsInput",
2112
+ "type": "structure",
2113
+ "members": {
2114
+ "ClusterId": {
2115
+ "shape_name": "ClusterId",
2116
+ "type": "string",
2117
+ "min_length": 1,
2118
+ "max_length": 64,
2119
+ "documentation": "\n <p>The identifier of the cluster for which to list the steps.</p>\n "
2120
+ },
2121
+ "StepStates": {
2122
+ "shape_name": "StepStateList",
2123
+ "type": "list",
2124
+ "members": {
2125
+ "shape_name": "StepState",
2126
+ "type": "string",
2127
+ "enum": [
2128
+ "PENDING",
2129
+ "RUNNING",
2130
+ "COMPLETED",
2131
+ "CANCELLED",
2132
+ "FAILED",
2133
+ "INTERRUPTED"
2134
+ ],
2135
+ "documentation": null
2136
+ },
2137
+ "documentation": "\n <p>The filter to limit the step list based on certain states.</p>\n "
2138
+ },
2139
+ "Marker": {
2140
+ "shape_name": "Marker",
2141
+ "type": "string",
2142
+ "min_length": 1,
2143
+ "max_length": 512,
2144
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
2145
+ }
2146
+ },
2147
+ "documentation": "\n <p>This input determines which steps to list.</p>\n "
2148
+ },
2149
+ "output": {
2150
+ "shape_name": "ListStepsOutput",
2151
+ "type": "structure",
2152
+ "members": {
2153
+ "Steps": {
2154
+ "shape_name": "StepSummaryList",
2155
+ "type": "list",
2156
+ "members": {
2157
+ "shape_name": "StepSummary",
2158
+ "type": "structure",
2159
+ "members": {
2160
+ "Id": {
2161
+ "shape_name": "StepId",
2162
+ "type": "string",
2163
+ "min_length": 1,
2164
+ "max_length": 64,
2165
+ "documentation": "\n <p>The identifier of the cluster step.\n </p>\n "
2166
+ },
2167
+ "Name": {
2168
+ "shape_name": "StringMaxLen256",
2169
+ "type": "string",
2170
+ "min_length": 0,
2171
+ "max_length": 256,
2172
+ "documentation": "\n <p>The name of the cluster step.\n </p>\n "
2173
+ },
2174
+ "Status": {
2175
+ "shape_name": "StepStatus",
2176
+ "type": "structure",
2177
+ "members": {
2178
+ "State": {
2179
+ "shape_name": "StepState",
2180
+ "type": "string",
2181
+ "enum": [
2182
+ "PENDING",
2183
+ "RUNNING",
2184
+ "COMPLETED",
2185
+ "CANCELLED",
2186
+ "FAILED",
2187
+ "INTERRUPTED"
2188
+ ],
2189
+ "documentation": "\n <p>The execution state of the cluster step.\n </p>\n "
2190
+ },
2191
+ "StateChangeReason": {
2192
+ "shape_name": "StepStateChangeReason",
2193
+ "type": "structure",
2194
+ "members": {
2195
+ "Code": {
2196
+ "shape_name": "StepStateChangeReasonCode",
2197
+ "type": "string",
2198
+ "enum": [
2199
+ "NONE"
2200
+ ],
2201
+ "documentation": "\n <p>The programmable code for the state change reason.\n </p>\n "
2202
+ },
2203
+ "Message": {
2204
+ "shape_name": "String",
2205
+ "type": "string",
2206
+ "documentation": "\n <p>The descriptive message for the state change reason.\n </p>\n "
2207
+ }
2208
+ },
2209
+ "documentation": "\n <p>The reason for the step execution status change.\n </p>\n "
2210
+ },
2211
+ "Timeline": {
2212
+ "shape_name": "StepTimeline",
2213
+ "type": "structure",
2214
+ "members": {
2215
+ "CreationDateTime": {
2216
+ "shape_name": "Date",
2217
+ "type": "timestamp",
2218
+ "documentation": "\n <p>The date and time when the cluster step was created.\n </p>\n "
2219
+ },
2220
+ "StartDateTime": {
2221
+ "shape_name": "Date",
2222
+ "type": "timestamp",
2223
+ "documentation": "\n <p>The date and time when the cluster step execution started.\n Due to delays in step status reporting, this can display a time which pre-dates a previous call to DescribeStep that indicated the step was not yet running. \n </p>\n "
2224
+ },
2225
+ "EndDateTime": {
2226
+ "shape_name": "Date",
2227
+ "type": "timestamp",
2228
+ "documentation": "\n <p>The date and time when the cluster step execution completed or failed. \n This can display a time that pre-dates a call to DescribeStep that indicates the step is running, due to delays in step status reporting. \n </p>\n "
2229
+ }
2230
+ },
2231
+ "documentation": "\n <p>The timeline of the cluster step status over time.\n </p>\n "
2232
+ }
2233
+ },
2234
+ "documentation": "\n <p>The current execution status details of the cluster step.\n </p>\n "
2235
+ }
2236
+ },
2237
+ "documentation": "\n <p>The summary of the cluster step.</p>\n "
2238
+ },
2239
+ "documentation": "\n <p>The filtered list of steps for the cluster.</p>\n "
2240
+ },
2241
+ "Marker": {
2242
+ "shape_name": "Marker",
2243
+ "type": "string",
2244
+ "min_length": 1,
2245
+ "max_length": 512,
2246
+ "documentation": "\n <p>The pagination token that indicates the next set of results to retrieve.</p>\n "
2247
+ }
2248
+ },
2249
+ "documentation": "\n <p>This output contains the list of steps.</p>\n "
2250
+ },
2251
+ "errors": [
2252
+ {
2253
+ "shape_name": "InternalServerException",
2254
+ "type": "structure",
2255
+ "members": {
2256
+ "Message": {
2257
+ "shape_name": "ErrorMessage",
2258
+ "type": "string",
2259
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
2260
+ }
2261
+ },
2262
+ "documentation": "\n <p>This exception occurs when there is an internal failure in the EMR service.</p> \n \n "
2263
+ },
2264
+ {
2265
+ "shape_name": "InvalidRequestException",
2266
+ "type": "structure",
2267
+ "members": {
2268
+ "ErrorCode": {
2269
+ "shape_name": "ErrorCode",
2270
+ "type": "string",
2271
+ "min_length": 1,
2272
+ "max_length": 256,
2273
+ "documentation": "\n <p>The error code associated with the exception.</p> \n \n "
2274
+ },
2275
+ "Message": {
2276
+ "shape_name": "ErrorMessage",
2277
+ "type": "string",
2278
+ "documentation": "\n <p>The message associated with the exception.</p> \n \n "
2279
+ }
2280
+ },
2281
+ "documentation": "\n <p>This exception occurs when there is something wrong with user input.</p> \n \n "
2282
+ }
2283
+ ],
2284
+ "documentation": "\n <p>Provides a list of steps for the cluster. \n </p> \n "
2285
+ },
2286
+ "ModifyInstanceGroups": {
2287
+ "name": "ModifyInstanceGroups",
2288
+ "input": {
2289
+ "shape_name": "ModifyInstanceGroupsInput",
2290
+ "type": "structure",
2291
+ "members": {
2292
+ "InstanceGroups": {
2293
+ "shape_name": "InstanceGroupModifyConfigList",
2294
+ "type": "list",
2295
+ "members": {
2296
+ "shape_name": "InstanceGroupModifyConfig",
2297
+ "type": "structure",
2298
+ "members": {
2299
+ "InstanceGroupId": {
2300
+ "shape_name": "XmlStringMaxLen256",
2301
+ "type": "string",
2302
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
2303
+ "min_length": 0,
2304
+ "max_length": 256,
2305
+ "documentation": "\n <p>Unique ID of the instance group to expand or shrink.</p>\n ",
2306
+ "required": true
2307
+ },
2308
+ "InstanceCount": {
2309
+ "shape_name": "Integer",
2310
+ "type": "integer",
2311
+ "documentation": "\n <p>Target size for the instance group.</p>\n "
2312
+ },
2313
+ "EC2InstanceIdsToTerminate": {
2314
+ "shape_name": "EC2InstanceIdsToTerminateList",
2315
+ "type": "list",
2316
+ "members": {
2317
+ "shape_name": "InstanceId",
2318
+ "type": "string",
2319
+ "min_length": 1,
2320
+ "max_length": 64,
2321
+ "documentation": null
2322
+ },
2323
+ "documentation": "\n <p>The EC2 InstanceIds to terminate. For advanced users only. \n Once you terminate the instances, the instance group will not return to its original requested size.</p>\n "
2324
+ }
2325
+ },
2326
+ "documentation": "\n <p>Modify an instance group size.</p>\n "
2327
+ },
2328
+ "documentation": "\n <p>Instance groups to change.</p>\n "
2329
+ }
2330
+ },
2331
+ "documentation": "\n <p>Change the size of some instance groups.</p>\n "
2332
+ },
2333
+ "output": null,
2334
+ "errors": [
2335
+ {
2336
+ "shape_name": "InternalServerError",
2337
+ "type": "structure",
2338
+ "members": {
2339
+ },
2340
+ "documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
2341
+ }
2342
+ ],
2343
+ "documentation": "\n <p>ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance\n group. The input parameters include the new target instance count for the group and the\n instance group ID. The call will either succeed or fail atomically.</p>\n\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.ModifyInstanceGroups\nContent-Length: 77\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T205843Z\nX-Amz-Content-Sha256: bb1af3d0c6c6a1a09f21ccd7f04a0e2e6c9ce5b5810b0f6777560fe4f81bda8c\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=17bbbb4448a1f47a14d5657445e9de5cadf16bed58b850585f80865882133b33\nAccept: */*\n\n{\"InstanceGroups\": [{\n \"InstanceGroupId\": \"ig-1S8NWT31S2OVG\",\n \"InstanceCount\": 5\n}]}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 80a74808-ee5a-11e2-90db-69a5154aeb8d\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 20:58:44 GMT\n\n </queryresponse>\n </examples>\n \n "
2344
+ },
2345
+ "RunJobFlow": {
2346
+ "name": "RunJobFlow",
2347
+ "input": {
2348
+ "shape_name": "RunJobFlowInput",
2349
+ "type": "structure",
2350
+ "members": {
2351
+ "Name": {
2352
+ "shape_name": "XmlStringMaxLen256",
2353
+ "type": "string",
2354
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
2355
+ "min_length": 0,
2356
+ "max_length": 256,
2357
+ "documentation": "\n <p>The name of the job flow.</p>\n ",
2358
+ "required": true
2359
+ },
2360
+ "LogUri": {
2361
+ "shape_name": "XmlString",
2362
+ "type": "string",
2363
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
2364
+ "min_length": 0,
2365
+ "max_length": 10280,
2366
+ "documentation": "\n <p>The location in Amazon S3 to write the log files of the job flow. If a value is\n not provided, logs are not created.</p>\n "
2367
+ },
2368
+ "AdditionalInfo": {
2369
+ "shape_name": "XmlString",
2370
+ "type": "string",
2371
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
2372
+ "min_length": 0,
2373
+ "max_length": 10280,
2374
+ "documentation": "\n <p>A JSON string for selecting additional features.</p>\n "
2375
+ },
2376
+ "AmiVersion": {
2377
+ "shape_name": "XmlStringMaxLen256",
2378
+ "type": "string",
2379
+ "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
2380
+ "min_length": 0,
2381
+ "max_length": 256,
2382
+ "documentation": "\n <p>The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid: </p>\n <ul>\n <li>\"latest\" (uses the latest AMI)</li>\n <li>The version number of the AMI to use, for example, \"2.0\"</li>\n </ul>\n \n <p>If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the \n <a>JobFlowInstancesConfig</a> <code>HadoopVersion</code> parameter\n to modify the version of Hadoop from the defaults shown above.</p>\n <p>For details about the AMI versions currently \n supported by Amazon Elastic MapReduce, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported\">AMI Versions Supported in Elastic MapReduce</a> in the \n <i>Amazon Elastic MapReduce Developer's Guide.</i>\n </p>\n "
2383
+ },
2384
+ "Instances": {
2385
+ "shape_name": "JobFlowInstancesConfig",
2386
+ "type": "structure",
2387
+ "members": {
2388
+ "MasterInstanceType": {
987
2389
  "shape_name": "InstanceType",
988
2390
  "type": "string",
989
2391
  "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
@@ -1073,7 +2475,7 @@
1073
2475
  "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
1074
2476
  "min_length": 0,
1075
2477
  "max_length": 256,
1076
- "documentation": "\n <p>Specifies the name of the Amazon EC2 key pair that can be used to ssh to the master node as\n the user called \"hadoop.\"</p>\n "
2478
+ "documentation": "\n <p>The name of the Amazon EC2 key pair that can be used to ssh to the master node as\n the user called \"hadoop.\"</p>\n "
1077
2479
  },
1078
2480
  "Placement": {
1079
2481
  "shape_name": "PlacementType",
@@ -1089,7 +2491,7 @@
1089
2491
  "required": true
1090
2492
  }
1091
2493
  },
1092
- "documentation": "\n <p>Specifies the Availability Zone the job flow will run in.</p>\n "
2494
+ "documentation": "\n <p>The Availability Zone the job flow will run in.</p>\n "
1093
2495
  },
1094
2496
  "KeepJobFlowAliveWhenNoSteps": {
1095
2497
  "shape_name": "Boolean",
@@ -1107,7 +2509,7 @@
1107
2509
  "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*",
1108
2510
  "min_length": 0,
1109
2511
  "max_length": 256,
1110
- "documentation": "\n <p>Specifies the Hadoop version for the job flow. Valid inputs are \"0.18\", \"0.20\", or \"0.20.205\". If you do not set this value, the default of 0.18 is used, \n unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.</p>\n "
2512
+ "documentation": "\n <p>The Hadoop version for the job flow. Valid inputs are \"0.18\", \"0.20\", or \"0.20.205\". If you do not set this value, the default of 0.18 is used, \n unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.</p>\n "
1111
2513
  },
1112
2514
  "Ec2SubnetId": {
1113
2515
  "shape_name": "XmlStringMaxLen256",
@@ -1142,10 +2544,11 @@
1142
2544
  "type": "string",
1143
2545
  "enum": [
1144
2546
  "TERMINATE_JOB_FLOW",
2547
+ "TERMINATE_CLUSTER",
1145
2548
  "CANCEL_AND_WAIT",
1146
2549
  "CONTINUE"
1147
2550
  ],
1148
- "documentation": "\n <p>Specifies the action to take if the job flow step fails.</p>\n "
2551
+ "documentation": "\n <p>The action to take if the job flow step fails.</p>\n "
1149
2552
  },
1150
2553
  "HadoopJarStep": {
1151
2554
  "shape_name": "HadoopJarStepConfig",
@@ -1197,7 +2600,7 @@
1197
2600
  "documentation": "\n <p>The name of the main class in the specified Java file. If not specified, the JAR file\n should specify a Main-Class in its manifest file.</p>\n "
1198
2601
  },
1199
2602
  "Args": {
1200
- "shape_name": "StringList",
2603
+ "shape_name": "XmlStringList",
1201
2604
  "type": "list",
1202
2605
  "members": {
1203
2606
  "shape_name": "XmlString",
@@ -1210,7 +2613,7 @@
1210
2613
  "documentation": "\n <p>A list of command line arguments passed to the JAR file's main function when executed.</p>\n "
1211
2614
  }
1212
2615
  },
1213
- "documentation": "\n <p>Specifies the JAR file used for the job flow step.</p>\n ",
2616
+ "documentation": "\n <p>The JAR file used for the job flow step.</p>\n ",
1214
2617
  "required": true
1215
2618
  }
1216
2619
  },
@@ -1248,7 +2651,7 @@
1248
2651
  "required": true
1249
2652
  },
1250
2653
  "Args": {
1251
- "shape_name": "StringList",
2654
+ "shape_name": "XmlStringList",
1252
2655
  "type": "list",
1253
2656
  "members": {
1254
2657
  "shape_name": "XmlString",
@@ -1298,7 +2701,7 @@
1298
2701
  "documentation": "\n <p>The name of the product configuration.</p>\n "
1299
2702
  },
1300
2703
  "Args": {
1301
- "shape_name": "StringList",
2704
+ "shape_name": "XmlStringList",
1302
2705
  "type": "list",
1303
2706
  "members": {
1304
2707
  "shape_name": "XmlString",
@@ -1364,7 +2767,7 @@
1364
2767
  "type": "structure",
1365
2768
  "members": {
1366
2769
  "JobFlowIds": {
1367
- "shape_name": "StringList",
2770
+ "shape_name": "XmlStringList",
1368
2771
  "type": "list",
1369
2772
  "members": {
1370
2773
  "shape_name": "XmlString",
@@ -1405,7 +2808,7 @@
1405
2808
  "type": "structure",
1406
2809
  "members": {
1407
2810
  "JobFlowIds": {
1408
- "shape_name": "StringList",
2811
+ "shape_name": "XmlStringList",
1409
2812
  "type": "list",
1410
2813
  "members": {
1411
2814
  "shape_name": "XmlString",
@@ -1437,7 +2840,7 @@
1437
2840
  "documentation": "\n <p>Indicates that an error occurred while processing the request and that the request was not\n completed.</p>\n "
1438
2841
  }
1439
2842
  ],
1440
- "documentation": "\n <p>Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specifed job flows. This action works on running job flows. You can also set the visibility of \n a job flow when you launch it using the <code>VisibleToAllUsers</code> parameter of <a>RunJobFlow</a>. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.</p>\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.SetVisibleToAllUsers\nContent-Length: 58\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T221616Z\nX-Amz-Content-Sha256: 2ff32d11eab2383d764ffcb97571454e798689ecd09a7b1bb2327e22b0b930d4\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=e1a00b37787d9ccc43c9de32f1f0a73813b0bd6643d4db7762b62a7092d51997\nAccept: */*\n\n{\n \"JobFlowIds\": [\"j-ZKIY4CKQRX72\"],\n \"VisibleToAllUsers\": true\n}\n\n</queryrequest>\n \n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 2be9cde9-ed9c-11e2-82b6-2351cde3f33f\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Mon, 15 Jul 2013 22:16:18 GMT\n\n\n </queryresponse>\n </examples>\n "
2843
+ "documentation": "\n <p>Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified job flows. This action works on running job flows. You can also set the visibility of \n a job flow when you launch it using the <code>VisibleToAllUsers</code> parameter of <a>RunJobFlow</a>. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.</p>\n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.SetVisibleToAllUsers\nContent-Length: 58\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130715T221616Z\nX-Amz-Content-Sha256: 2ff32d11eab2383d764ffcb97571454e798689ecd09a7b1bb2327e22b0b930d4\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130715/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=e1a00b37787d9ccc43c9de32f1f0a73813b0bd6643d4db7762b62a7092d51997\nAccept: */*\n\n{\n \"JobFlowIds\": [\"j-ZKIY4CKQRX72\"],\n \"VisibleToAllUsers\": true\n}\n\n</queryrequest>\n \n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 2be9cde9-ed9c-11e2-82b6-2351cde3f33f\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Mon, 15 Jul 2013 22:16:18 GMT\n\n\n </queryresponse>\n </examples>\n "
1441
2844
  },
1442
2845
  "TerminateJobFlows": {
1443
2846
  "name": "TerminateJobFlows",
@@ -1446,7 +2849,7 @@
1446
2849
  "type": "structure",
1447
2850
  "members": {
1448
2851
  "JobFlowIds": {
1449
- "shape_name": "StringList",
2852
+ "shape_name": "XmlStringList",
1450
2853
  "type": "list",
1451
2854
  "members": {
1452
2855
  "shape_name": "XmlString",
@@ -1475,4 +2878,4 @@
1475
2878
  "documentation": "\n <p> \n TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step\n not yet completed is canceled and the EC2 instances on which the job flow is running are\n stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was\n specified when the job flow was created. \n </p>\n <p>\n The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, \n it may take up to 5-20 minutes for the job flow to \n completely terminate and release allocated resources, such as Amazon EC2 instances.\n </p>\n \n <examples>\n <queryrequest>POST / HTTP/1.1\nContent-Type: application/x-amz-json-1.1\nX-Amz-Target: ElasticMapReduce.TerminateJobFlows\nContent-Length: 33\nUser-Agent: aws-sdk-ruby/1.9.2 ruby/1.9.3 i386-mingw32\nHost: us-east-1.elasticmapreduce.amazonaws.com\nX-Amz-Date: 20130716T211858Z\nX-Amz-Content-Sha256: ab64713f61e066e80a6083844b9249b6c6362d34a7ae7393047aa46d38b9e315\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20130716/us-east-1/elasticmapreduce/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=9791416eaf09f36aa753a324b0de27ff5cc7084b8548cc748487a2bcb3439d58\nAccept: */*\n\n{\"JobFlowIds\": [\"j-3TS0OIYO4NFN\"]}\n</queryrequest>\n\n <queryresponse>HTTP/1.1 200 OK\nx-amzn-RequestId: 5551a7c9-ee5d-11e2-9542-25296c300ff0\nContent-Type: application/x-amz-json-1.1\nContent-Length: 0\nDate: Tue, 16 Jul 2013 21:18:59 GMT\n </queryresponse>\n </examples>\n "
1476
2879
  }
1477
2880
  }
1478
- }
2881
+ }