forked from aws/aws-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelasticmapreduce-2009-03-31.normal.json
3020 lines (3020 loc) · 128 KB
/
elasticmapreduce-2009-03-31.normal.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version":"2.0",
"metadata":{
"uid":"elasticmapreduce-2009-03-31",
"apiVersion":"2009-03-31",
"endpointPrefix":"elasticmapreduce",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"Amazon EMR",
"serviceFullName":"Amazon Elastic MapReduce",
"signatureVersion":"v4",
"targetPrefix":"ElasticMapReduce",
"timestampFormat":"unixTimestamp"
},
"operations":{
"AddInstanceGroups":{
"name":"AddInstanceGroups",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"AddInstanceGroupsInput"},
"output":{"shape":"AddInstanceGroupsOutput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>Adds one or more instance groups to a running cluster.</p>"
},
"AddJobFlowSteps":{
"name":"AddJobFlowSteps",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"AddJobFlowStepsInput"},
"output":{"shape":"AddJobFlowStepsOutput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed in each job flow.</p> <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, see <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 EMR Developer's Guide</i>.</p> <p>A step specifies the location of a JAR file stored either on the master node of the job flow or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step.</p> <p>Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully.</p> <p>You can only add steps to a job flow that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.</p>"
},
"AddTags":{
"name":"AddTags",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"AddTagsInput"},
"output":{"shape":"AddTagsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. </p>"
},
"CancelSteps":{
"name":"CancelSteps",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CancelStepsInput"},
"output":{"shape":"CancelStepsOutput"},
"errors":[
{"shape":"InternalServerError"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee a step will be canceled, even if the request is successfully submitted. You can only cancel steps that are in a <code>PENDING</code> state.</p>"
},
"CreateSecurityConfiguration":{
"name":"CreateSecurityConfiguration",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateSecurityConfigurationInput"},
"output":{"shape":"CreateSecurityConfigurationOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Creates a security configuration, which is stored in the service and can be specified when a cluster is created.</p>"
},
"DeleteSecurityConfiguration":{
"name":"DeleteSecurityConfiguration",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteSecurityConfigurationInput"},
"output":{"shape":"DeleteSecurityConfigurationOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Deletes a security configuration.</p>"
},
"DescribeCluster":{
"name":"DescribeCluster",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeClusterInput"},
"output":{"shape":"DescribeClusterOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<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>"
},
"DescribeJobFlows":{
"name":"DescribeJobFlows",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeJobFlowsInput"},
"output":{"shape":"DescribeJobFlowsOutput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>This API is deprecated and will eventually be removed. We recommend you use <a>ListClusters</a>, <a>DescribeCluster</a>, <a>ListSteps</a>, <a>ListInstanceGroups</a> and <a>ListBootstrapActions</a> instead.</p> <p>DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.</p> <p>Regardless of supplied parameters, only job flows created within the last two months are returned.</p> <p>If no parameters are supplied, then job flows matching either of the following criteria are returned:</p> <ul> <li> <p>Job flows created and completed in the last two weeks</p> </li> <li> <p> Job flows created within the last two months that are in one of the following states: <code>RUNNING</code>, <code>WAITING</code>, <code>SHUTTING_DOWN</code>, <code>STARTING</code> </p> </li> </ul> <p>Amazon EMR can return a maximum of 512 job flow descriptions.</p>",
"deprecated":true
},
"DescribeSecurityConfiguration":{
"name":"DescribeSecurityConfiguration",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeSecurityConfigurationInput"},
"output":{"shape":"DescribeSecurityConfigurationOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Provides the details of a security configuration by returning the configuration JSON.</p>"
},
"DescribeStep":{
"name":"DescribeStep",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeStepInput"},
"output":{"shape":"DescribeStepOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Provides more detail about the cluster step.</p>"
},
"ListBootstrapActions":{
"name":"ListBootstrapActions",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListBootstrapActionsInput"},
"output":{"shape":"ListBootstrapActionsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Provides information about the bootstrap actions associated with a cluster.</p>"
},
"ListClusters":{
"name":"ListClusters",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListClustersInput"},
"output":{"shape":"ListClustersOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<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. 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.</p>"
},
"ListInstanceGroups":{
"name":"ListInstanceGroups",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListInstanceGroupsInput"},
"output":{"shape":"ListInstanceGroupsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Provides all available details about the instance groups in a cluster.</p>"
},
"ListInstances":{
"name":"ListInstances",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListInstancesInput"},
"output":{"shape":"ListInstancesOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. 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.</p>"
},
"ListSecurityConfigurations":{
"name":"ListSecurityConfigurations",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListSecurityConfigurationsInput"},
"output":{"shape":"ListSecurityConfigurationsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Lists all the security configurations visible to this account, providing their creation dates and times, and their names. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations calls.</p>"
},
"ListSteps":{
"name":"ListSteps",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListStepsInput"},
"output":{"shape":"ListStepsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request.</p>"
},
"ModifyInstanceGroups":{
"name":"ModifyInstanceGroups",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ModifyInstanceGroupsInput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.</p>"
},
"PutAutoScalingPolicy":{
"name":"PutAutoScalingPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutAutoScalingPolicyInput"},
"output":{"shape":"PutAutoScalingPolicyOutput"},
"documentation":"<p>Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric.</p>"
},
"RemoveAutoScalingPolicy":{
"name":"RemoveAutoScalingPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"RemoveAutoScalingPolicyInput"},
"output":{"shape":"RemoveAutoScalingPolicyOutput"},
"documentation":"<p>Removes an automatic scaling policy from a specified instance group within an EMR cluster.</p>"
},
"RemoveTags":{
"name":"RemoveTags",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"RemoveTagsInput"},
"output":{"shape":"RemoveTagsOutput"},
"errors":[
{"shape":"InternalServerException"},
{"shape":"InvalidRequestException"}
],
"documentation":"<p>Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. </p> <p>The following example removes the stack tag with value Prod from a cluster:</p>"
},
"RunJobFlow":{
"name":"RunJobFlow",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"RunJobFlowInput"},
"output":{"shape":"RunJobFlowOutput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. After the job flow completes, the cluster is stopped and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the <a>JobFlowInstancesConfig</a> <code>KeepJobFlowAliveWhenNoSteps</code> parameter is set to <code>TRUE</code>, the job flow will transition to the WAITING state rather than shutting down after the steps have completed. </p> <p>For additional protection, you can set the <a>JobFlowInstancesConfig</a> <code>TerminationProtected</code> parameter to <code>TRUE</code> to lock the job flow and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.</p> <p>A maximum of 256 steps are allowed in each job flow.</p> <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, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/Management/Guide/AddMoreThan256Steps.html\">Add More than 256 Steps to a Job Flow</a> in the <i>Amazon EMR Management Guide</i>.</p> <p>For long running job flows, we recommend that you periodically store your results.</p>"
},
"SetTerminationProtection":{
"name":"SetTerminationProtection",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"SetTerminationProtectionInput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>SetTerminationProtection locks a job flow so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.</p> <p>SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage.</p> <p> To terminate a job flow that has been locked by setting SetTerminationProtection to <code>true</code>, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to <code>false</code>. </p> <p> For more information, see<a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html\">Protecting a Job Flow from Termination</a> in the <i>Amazon EMR Guide.</i> </p>"
},
"SetVisibleToAllUsers":{
"name":"SetVisibleToAllUsers",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"SetVisibleToAllUsersInput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<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 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>"
},
"TerminateJobFlows":{
"name":"TerminateJobFlows",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"TerminateJobFlowsInput"},
"errors":[
{"shape":"InternalServerError"}
],
"documentation":"<p>TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.</p> <p>The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 1-5 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.</p>"
}
},
"shapes":{
"ActionOnFailure":{
"type":"string",
"enum":[
"TERMINATE_JOB_FLOW",
"TERMINATE_CLUSTER",
"CANCEL_AND_WAIT",
"CONTINUE"
]
},
"AddInstanceGroupsInput":{
"type":"structure",
"required":[
"InstanceGroups",
"JobFlowId"
],
"members":{
"InstanceGroups":{
"shape":"InstanceGroupConfigList",
"documentation":"<p>Instance groups to add.</p>"
},
"JobFlowId":{
"shape":"XmlStringMaxLen256",
"documentation":"<p>Job flow in which to add the instance groups.</p>"
}
},
"documentation":"<p>Input to an AddInstanceGroups call.</p>"
},
"AddInstanceGroupsOutput":{
"type":"structure",
"members":{
"JobFlowId":{
"shape":"XmlStringMaxLen256",
"documentation":"<p>The job flow ID in which the instance groups are added.</p>"
},
"InstanceGroupIds":{
"shape":"InstanceGroupIdsList",
"documentation":"<p>Instance group IDs of the newly created instance groups.</p>"
}
},
"documentation":"<p>Output from an AddInstanceGroups call.</p>"
},
"AddJobFlowStepsInput":{
"type":"structure",
"required":[
"JobFlowId",
"Steps"
],
"members":{
"JobFlowId":{
"shape":"XmlStringMaxLen256",
"documentation":"<p>A string that uniquely identifies the job flow. This identifier is returned by <a>RunJobFlow</a> and can also be obtained from <a>ListClusters</a>. </p>"
},
"Steps":{
"shape":"StepConfigList",
"documentation":"<p> A list of <a>StepConfig</a> to be executed by the job flow. </p>"
}
},
"documentation":"<p> The input argument to the <a>AddJobFlowSteps</a> operation. </p>"
},
"AddJobFlowStepsOutput":{
"type":"structure",
"members":{
"StepIds":{
"shape":"StepIdsList",
"documentation":"<p>The identifiers of the list of steps added to the job flow.</p>"
}
},
"documentation":"<p> The output for the <a>AddJobFlowSteps</a> operation. </p>"
},
"AddTagsInput":{
"type":"structure",
"required":[
"ResourceId",
"Tags"
],
"members":{
"ResourceId":{
"shape":"ResourceId",
"documentation":"<p>The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier.</p>"
},
"Tags":{
"shape":"TagList",
"documentation":"<p>A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.</p>"
}
},
"documentation":"<p>This input identifies a cluster and a list of tags to attach.</p>"
},
"AddTagsOutput":{
"type":"structure",
"members":{
},
"documentation":"<p>This output indicates the result of adding tags to a resource.</p>"
},
"AdjustmentType":{
"type":"string",
"enum":[
"CHANGE_IN_CAPACITY",
"PERCENT_CHANGE_IN_CAPACITY",
"EXACT_CAPACITY"
]
},
"Application":{
"type":"structure",
"members":{
"Name":{
"shape":"String",
"documentation":"<p>The name of the application.</p>"
},
"Version":{
"shape":"String",
"documentation":"<p>The version of the application.</p>"
},
"Args":{
"shape":"StringList",
"documentation":"<p>Arguments for Amazon EMR to pass to the application.</p>"
},
"AdditionalInfo":{
"shape":"StringMap",
"documentation":"<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>"
}
},
"documentation":"<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 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> <ul> <li> <p>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</p> </li> <li> <p>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</p> </li> <li> <p>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition, respectively.</p> </li> </ul> <note> <p>In Amazon EMR releases 4.0 and greater, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.</p> </note>"
},
"ApplicationList":{
"type":"list",
"member":{"shape":"Application"}
},
"AutoScalingPolicy":{
"type":"structure",
"required":[
"Constraints",
"Rules"
],
"members":{
"Constraints":{
"shape":"ScalingConstraints",
"documentation":"<p>The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.</p>"
},
"Rules":{
"shape":"ScalingRuleList",
"documentation":"<p>The scale-in and scale-out rules that comprise the automatic scaling policy.</p>"
}
},
"documentation":"<p>An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See <a>PutAutoScalingPolicy</a>.</p>"
},
"AutoScalingPolicyDescription":{
"type":"structure",
"members":{
"Status":{
"shape":"AutoScalingPolicyStatus",
"documentation":"<p>The status of an automatic scaling policy. </p>"
},
"Constraints":{
"shape":"ScalingConstraints",
"documentation":"<p>The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.</p>"
},
"Rules":{
"shape":"ScalingRuleList",
"documentation":"<p>The scale-in and scale-out rules that comprise the automatic scaling policy.</p>"
}
},
"documentation":"<p>An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See <a>PutAutoScalingPolicy</a>.</p>"
},
"AutoScalingPolicyState":{
"type":"string",
"enum":[
"PENDING",
"ATTACHING",
"ATTACHED",
"DETACHING",
"DETACHED",
"FAILED"
]
},
"AutoScalingPolicyStateChangeReason":{
"type":"structure",
"members":{
"Code":{
"shape":"AutoScalingPolicyStateChangeReasonCode",
"documentation":"<p>The code indicating the reason for the change in status.<code>USER_REQUEST</code> indicates that the scaling policy status was changed by a user. <code>PROVISION_FAILURE</code> indicates that the status change was because the policy failed to provision. <code>CLEANUP_FAILURE</code> indicates something unclean happened.--></p>"
},
"Message":{
"shape":"String",
"documentation":"<p>A friendly, more verbose message that accompanies an automatic scaling policy state change.</p>"
}
},
"documentation":"<p>The reason for an <a>AutoScalingPolicyStatus</a> change.</p>"
},
"AutoScalingPolicyStateChangeReasonCode":{
"type":"string",
"enum":[
"USER_REQUEST",
"PROVISION_FAILURE",
"CLEANUP_FAILURE"
]
},
"AutoScalingPolicyStatus":{
"type":"structure",
"members":{
"State":{
"shape":"AutoScalingPolicyState",
"documentation":"<p></p>"
},
"StateChangeReason":{
"shape":"AutoScalingPolicyStateChangeReason",
"documentation":"<p>The reason for a change in status.</p>"
}
},
"documentation":"<p>The status of an automatic scaling policy. </p>"
},
"Boolean":{"type":"boolean"},
"BooleanObject":{"type":"boolean"},
"BootstrapActionConfig":{
"type":"structure",
"required":[
"Name",
"ScriptBootstrapAction"
],
"members":{
"Name":{
"shape":"XmlStringMaxLen256",
"documentation":"<p>The name of the bootstrap action.</p>"
},
"ScriptBootstrapAction":{
"shape":"ScriptBootstrapActionConfig",
"documentation":"<p>The script run by the bootstrap action.</p>"
}
},
"documentation":"<p>Configuration of a bootstrap action.</p>"
},
"BootstrapActionConfigList":{
"type":"list",
"member":{"shape":"BootstrapActionConfig"}
},
"BootstrapActionDetail":{
"type":"structure",
"members":{
"BootstrapActionConfig":{
"shape":"BootstrapActionConfig",
"documentation":"<p>A description of the bootstrap action.</p>"
}
},
"documentation":"<p>Reports the configuration of a bootstrap action in a job flow.</p>"
},
"BootstrapActionDetailList":{
"type":"list",
"member":{"shape":"BootstrapActionDetail"}
},
"CancelStepsInfo":{
"type":"structure",
"members":{
"StepId":{"shape":"StepId"},
"Status":{"shape":"CancelStepsRequestStatus"},
"Reason":{"shape":"String"}
}
},
"CancelStepsInfoList":{
"type":"list",
"member":{"shape":"CancelStepsInfo"}
},
"CancelStepsInput":{
"type":"structure",
"members":{
"ClusterId":{
"shape":"XmlStringMaxLen256",
"documentation":"<p>The <code>ClusterID</code> for which specified steps will be canceled. Use <a>RunJobFlow</a> and <a>ListClusters</a> to get ClusterIDs. </p>"
},
"StepIds":{
"shape":"StepIdsList",
"documentation":"<p>The list of <code>StepIDs</code> to cancel. Use <a>ListSteps</a> to get steps and their states for the specified cluster.</p>"
}
},
"documentation":"<p>The input argument to the <a>CancelSteps</a> operation.</p>"
},
"CancelStepsOutput":{
"type":"structure",
"members":{
"CancelStepsInfoList":{
"shape":"CancelStepsInfoList",
"documentation":"<p>A list of <a>CancelStepsInfo</a>, which shows the status of specified cancel requests for each <code>StepID</code> specified.</p>"
}
},
"documentation":"<p> The output for the <a>CancelSteps</a> operation. </p>"
},
"CancelStepsRequestStatus":{
"type":"string",
"enum":[
"SUBMITTED",
"FAILED"
]
},
"CloudWatchAlarmDefinition":{
"type":"structure",
"required":[
"ComparisonOperator",
"MetricName",
"Period",
"Threshold"
],
"members":{
"ComparisonOperator":{
"shape":"ComparisonOperator",
"documentation":"<p>Determines how the metric specified by <code>MetricName</code> is compared to the value specified by <code>Threshold</code>.</p>"
},
"EvaluationPeriods":{
"shape":"Integer",
"documentation":"<p>The number of periods, expressed in seconds using <code>Period</code>, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is <code>1</code>.</p>"
},
"MetricName":{
"shape":"String",
"documentation":"<p>The name of the CloudWatch metric that is watched to determine an alarm condition.</p>"
},
"Namespace":{
"shape":"String",
"documentation":"<p>The namespace for the CloudWatch metric. The default is <code>AWS/ElasticMapReduce</code>.</p>"
},
"Period":{
"shape":"Integer",
"documentation":"<p>The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify <code>300</code>.</p>"
},
"Statistic":{
"shape":"Statistic",
"documentation":"<p>The statistic to apply to the metric associated with the alarm. The default is <code>AVERAGE</code>.</p>"
},
"Threshold":{
"shape":"NonNegativeDouble",
"documentation":"<p>The value against which the specified statistic is compared.</p>"
},
"Unit":{
"shape":"Unit",
"documentation":"<p>The unit of measure associated with the CloudWatch metric being watched. The value specified for <code>Unit</code> must correspond to the units specified in the CloudWatch metric.</p>"
},
"Dimensions":{
"shape":"MetricDimensionList",
"documentation":"<p>A CloudWatch metric dimension.</p>"
}
},
"documentation":"<p>The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered. When the defined alarm conditions are satisfied, scaling activity begins.</p>"
},
"Cluster":{
"type":"structure",
"members":{
"Id":{
"shape":"ClusterId",
"documentation":"<p>The unique identifier for the cluster.</p>"
},
"Name":{
"shape":"String",
"documentation":"<p>The name of the cluster.</p>"
},
"Status":{
"shape":"ClusterStatus",
"documentation":"<p>The current status details about the cluster.</p>"
},
"Ec2InstanceAttributes":{
"shape":"Ec2InstanceAttributes",
"documentation":"<p>Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.</p>"
},
"LogUri":{
"shape":"String",
"documentation":"<p>The path to the Amazon S3 location where logs for this cluster are stored.</p>"
},
"RequestedAmiVersion":{
"shape":"String",
"documentation":"<p>The AMI version requested for this cluster.</p>"
},
"RunningAmiVersion":{
"shape":"String",
"documentation":"<p>The AMI version running on this cluster.</p>"
},
"ReleaseLabel":{
"shape":"String",
"documentation":"<p>The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel.</p>"
},
"AutoTerminate":{
"shape":"Boolean",
"documentation":"<p>Specifies whether the cluster should terminate after completing all steps.</p>"
},
"TerminationProtected":{
"shape":"Boolean",
"documentation":"<p>Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.</p>"
},
"VisibleToAllUsers":{
"shape":"Boolean",
"documentation":"<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. 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>"
},
"Applications":{
"shape":"ApplicationList",
"documentation":"<p>The applications installed on this cluster.</p>"
},
"Tags":{
"shape":"TagList",
"documentation":"<p>A list of tags associated with a cluster.</p>"
},
"ServiceRole":{
"shape":"String",
"documentation":"<p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>"
},
"NormalizedInstanceHours":{
"shape":"Integer",
"documentation":"<p>An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.</p>"
},
"MasterPublicDnsName":{
"shape":"String",
"documentation":"<p>The public DNS name of the master EC2 instance.</p>"
},
"Configurations":{
"shape":"ConfigurationList",
"documentation":"<note> <p>Amazon EMR releases 4.x or later.</p> </note> <p>The list of Configurations supplied to the EMR cluster.</p>"
},
"SecurityConfiguration":{
"shape":"XmlString",
"documentation":"<p>The name of the security configuration applied to the cluster.</p>"
},
"AutoScalingRole":{
"shape":"XmlString",
"documentation":"<p>An IAM role for automatic scaling policies. The default role is <code>EMR_AutoScaling_DefaultRole</code>. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.</p>"
},
"ScaleDownBehavior":{
"shape":"ScaleDownBehavior",
"documentation":"<p>The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. <code>TERMINATE_AT_INSTANCE_HOUR</code> indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. <code>TERMINATE_AT_TASK_COMPLETION</code> indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. <code>TERMINATE_AT_TASK_COMPLETION</code> is available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.</p>"
}
},
"documentation":"<p>The detailed description of the cluster.</p>"
},
"ClusterId":{"type":"string"},
"ClusterState":{
"type":"string",
"enum":[
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"TERMINATING",
"TERMINATED",
"TERMINATED_WITH_ERRORS"
]
},
"ClusterStateChangeReason":{
"type":"structure",
"members":{
"Code":{
"shape":"ClusterStateChangeReasonCode",
"documentation":"<p>The programmatic code for the state change reason.</p>"
},
"Message":{
"shape":"String",
"documentation":"<p>The descriptive message for the state change reason.</p>"
}
},
"documentation":"<p>The reason that the cluster changed to its current state.</p>"
},
"ClusterStateChangeReasonCode":{
"type":"string",
"enum":[
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"BOOTSTRAP_FAILURE",
"USER_REQUEST",
"STEP_FAILURE",
"ALL_STEPS_COMPLETED"
]
},
"ClusterStateList":{
"type":"list",
"member":{"shape":"ClusterState"}
},
"ClusterStatus":{
"type":"structure",
"members":{
"State":{
"shape":"ClusterState",
"documentation":"<p>The current state of the cluster.</p>"
},
"StateChangeReason":{
"shape":"ClusterStateChangeReason",
"documentation":"<p>The reason for the cluster status change.</p>"
},
"Timeline":{
"shape":"ClusterTimeline",
"documentation":"<p>A timeline that represents the status of a cluster over the lifetime of the cluster.</p>"
}
},
"documentation":"<p>The detailed status of the cluster.</p>"
},
"ClusterSummary":{
"type":"structure",
"members":{
"Id":{
"shape":"ClusterId",
"documentation":"<p>The unique identifier for the cluster.</p>"
},
"Name":{
"shape":"String",
"documentation":"<p>The name of the cluster.</p>"
},
"Status":{
"shape":"ClusterStatus",
"documentation":"<p>The details about the current status of the cluster.</p>"
},
"NormalizedInstanceHours":{
"shape":"Integer",
"documentation":"<p>An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.</p>"
}
},
"documentation":"<p>The summary description of the cluster.</p>"
},
"ClusterSummaryList":{
"type":"list",
"member":{"shape":"ClusterSummary"}
},
"ClusterTimeline":{
"type":"structure",
"members":{
"CreationDateTime":{
"shape":"Date",
"documentation":"<p>The creation date and time of the cluster.</p>"
},
"ReadyDateTime":{
"shape":"Date",
"documentation":"<p>The date and time when the cluster was ready to execute steps.</p>"
},
"EndDateTime":{
"shape":"Date",
"documentation":"<p>The date and time when the cluster was terminated.</p>"
}
},
"documentation":"<p>Represents the timeline of the cluster's lifecycle.</p>"
},
"Command":{
"type":"structure",
"members":{
"Name":{
"shape":"String",
"documentation":"<p>The name of the command.</p>"
},
"ScriptPath":{
"shape":"String",
"documentation":"<p>The Amazon S3 location of the command script.</p>"
},
"Args":{
"shape":"StringList",
"documentation":"<p>Arguments for Amazon EMR to pass to the command for execution.</p>"
}
},
"documentation":"<p>An entity describing an executable that runs on a cluster.</p>"
},
"CommandList":{
"type":"list",
"member":{"shape":"Command"}
},
"ComparisonOperator":{
"type":"string",
"enum":[
"GREATER_THAN_OR_EQUAL",
"GREATER_THAN",
"LESS_THAN",
"LESS_THAN_OR_EQUAL"
]
},
"Configuration":{
"type":"structure",
"members":{
"Classification":{
"shape":"String",
"documentation":"<p>The classification of a configuration. For more information see, <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/API/EmrConfigurations.html\">Amazon EMR Configurations</a>. </p>"
},
"Configurations":{
"shape":"ConfigurationList",
"documentation":"<p>A list of configurations you apply to this configuration object.</p>"
},
"Properties":{
"shape":"StringMap",
"documentation":"<p>A set of properties supplied to the Configuration object.</p>"
}
},
"documentation":"<note> <p>Amazon EMR releases 4.x or later.</p> </note> <p>Specifies a hardware and software configuration of the EMR cluster. This includes configurations for applications and software bundled with Amazon EMR. The Configuration object is a JSON object which is defined by a classification and a set of properties. Configurations can be nested, so a configuration may have its own Configuration objects listed.</p>"
},
"ConfigurationList":{
"type":"list",
"member":{"shape":"Configuration"}
},
"CreateSecurityConfigurationInput":{
"type":"structure",
"required":[
"Name",
"SecurityConfiguration"
],
"members":{
"Name":{
"shape":"XmlString",
"documentation":"<p>The name of the security configuration.</p>"
},
"SecurityConfiguration":{
"shape":"String",
"documentation":"<p>The security configuration details in JSON format.</p>"
}
}
},
"CreateSecurityConfigurationOutput":{
"type":"structure",
"required":[
"Name",
"CreationDateTime"
],
"members":{
"Name":{
"shape":"XmlString",
"documentation":"<p>The name of the security configuration.</p>"
},
"CreationDateTime":{
"shape":"Date",
"documentation":"<p>The date and time the security configuration was created.</p>"
}
}
},
"Date":{"type":"timestamp"},
"DeleteSecurityConfigurationInput":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"XmlString",
"documentation":"<p>The name of the security configuration.</p>"
}
}
},
"DeleteSecurityConfigurationOutput":{
"type":"structure",
"members":{
}
},
"DescribeClusterInput":{
"type":"structure",
"required":["ClusterId"],
"members":{
"ClusterId":{
"shape":"ClusterId",
"documentation":"<p>The identifier of the cluster to describe.</p>"
}
},
"documentation":"<p>This input determines which cluster to describe.</p>"
},
"DescribeClusterOutput":{
"type":"structure",
"members":{
"Cluster":{
"shape":"Cluster",
"documentation":"<p>This output contains the details for the requested cluster.</p>"
}
},
"documentation":"<p>This output contains the description of the cluster.</p>"
},
"DescribeJobFlowsInput":{
"type":"structure",
"members":{
"CreatedAfter":{
"shape":"Date",
"documentation":"<p>Return only job flows created after this date and time.</p>"
},
"CreatedBefore":{
"shape":"Date",
"documentation":"<p>Return only job flows created before this date and time.</p>"
},
"JobFlowIds":{