aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,2282 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2009-03-31",
4
- "endpointPrefix":"elasticmapreduce",
5
- "jsonVersion":"1.1",
6
- "serviceAbbreviation":"Amazon EMR",
7
- "serviceFullName":"Amazon Elastic MapReduce",
8
- "signatureVersion":"v4",
9
- "targetPrefix":"ElasticMapReduce",
10
- "timestampFormat":"unixTimestamp",
11
- "protocol":"json"
12
- },
13
- "documentation":"<p> This is the <i>Amazon Elastic MapReduce API Reference</i>. This guide provides descriptions and samples of the Amazon Elastic MapReduce APIs.</p> <p>Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing.</p>",
14
- "operations":{
15
- "AddInstanceGroups":{
16
- "name":"AddInstanceGroups",
17
- "http":{
18
- "method":"POST",
19
- "requestUri":"/"
20
- },
21
- "input":{
22
- "shape":"AddInstanceGroupsInput",
23
- "documentation":"<p>Input to an AddInstanceGroups call.</p>"
24
- },
25
- "output":{
26
- "shape":"AddInstanceGroupsOutput",
27
- "documentation":"<p>Output from an AddInstanceGroups call.</p>"
28
- },
29
- "errors":[
30
- {
31
- "shape":"InternalServerError",
32
- "error":{
33
- "code":"InternalFailure",
34
- "httpStatusCode":500
35
- },
36
- "exception":true,
37
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
38
- }
39
- ],
40
- "documentation":"<p>AddInstanceGroups adds an instance group to a running cluster.</p>"
41
- },
42
- "AddJobFlowSteps":{
43
- "name":"AddJobFlowSteps",
44
- "http":{
45
- "method":"POST",
46
- "requestUri":"/"
47
- },
48
- "input":{
49
- "shape":"AddJobFlowStepsInput",
50
- "documentation":"<p> The input argument to the <a>AddJobFlowSteps</a> operation. </p>"
51
- },
52
- "output":{
53
- "shape":"AddJobFlowStepsOutput",
54
- "documentation":"<p> The output for the <a>AddJobFlowSteps</a> operation. </p>"
55
- },
56
- "errors":[
57
- {
58
- "shape":"InternalServerError",
59
- "error":{
60
- "code":"InternalFailure",
61
- "httpStatusCode":500
62
- },
63
- "exception":true,
64
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
65
- }
66
- ],
67
- "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, 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> <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> Elastic MapReduce 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>"
68
- },
69
- "AddTags":{
70
- "name":"AddTags",
71
- "http":{
72
- "method":"POST",
73
- "requestUri":"/"
74
- },
75
- "input":{
76
- "shape":"AddTagsInput",
77
- "documentation":"<p>This input identifies a cluster and a list of tags to attach. </p>"
78
- },
79
- "output":{
80
- "shape":"AddTagsOutput",
81
- "documentation":"<p>This output indicates the result of adding tags to a resource. </p>"
82
- },
83
- "errors":[
84
- {
85
- "shape":"InternalServerException",
86
- "exception":true,
87
- "fault":true,
88
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
89
- },
90
- {
91
- "shape":"InvalidRequestException",
92
- "exception":true,
93
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
94
- }
95
- ],
96
- "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>"
97
- },
98
- "DescribeCluster":{
99
- "name":"DescribeCluster",
100
- "http":{
101
- "method":"POST",
102
- "requestUri":"/"
103
- },
104
- "input":{
105
- "shape":"DescribeClusterInput",
106
- "documentation":"<p>This input determines which cluster to describe.</p>"
107
- },
108
- "output":{
109
- "shape":"DescribeClusterOutput",
110
- "documentation":"<p>This output contains the description of the cluster.</p>"
111
- },
112
- "errors":[
113
- {
114
- "shape":"InternalServerException",
115
- "exception":true,
116
- "fault":true,
117
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
118
- },
119
- {
120
- "shape":"InvalidRequestException",
121
- "exception":true,
122
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
123
- }
124
- ],
125
- "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>"
126
- },
127
- "DescribeJobFlows":{
128
- "name":"DescribeJobFlows",
129
- "http":{
130
- "method":"POST",
131
- "requestUri":"/"
132
- },
133
- "input":{
134
- "shape":"DescribeJobFlowsInput",
135
- "documentation":"<p> The input for the <a>DescribeJobFlows</a> operation. </p>"
136
- },
137
- "output":{
138
- "shape":"DescribeJobFlowsOutput",
139
- "documentation":"<p> The output for the <a>DescribeJobFlows</a> operation. </p>"
140
- },
141
- "errors":[
142
- {
143
- "shape":"InternalServerError",
144
- "error":{
145
- "code":"InternalFailure",
146
- "httpStatusCode":500
147
- },
148
- "exception":true,
149
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
150
- }
151
- ],
152
- "deprecated":true,
153
- "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>Job flows created and completed in the last two weeks</li> <li> 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> </li> </ul> <p> Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions. </p>"
154
- },
155
- "DescribeStep":{
156
- "name":"DescribeStep",
157
- "http":{
158
- "method":"POST",
159
- "requestUri":"/"
160
- },
161
- "input":{
162
- "shape":"DescribeStepInput",
163
- "documentation":"<p>This input determines which step to describe.</p>"
164
- },
165
- "output":{
166
- "shape":"DescribeStepOutput",
167
- "documentation":"<p>This output contains the description of the cluster step.</p>"
168
- },
169
- "errors":[
170
- {
171
- "shape":"InternalServerException",
172
- "exception":true,
173
- "fault":true,
174
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
175
- },
176
- {
177
- "shape":"InvalidRequestException",
178
- "exception":true,
179
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
180
- }
181
- ],
182
- "documentation":"<p>Provides more detail about the cluster step.</p>"
183
- },
184
- "ListBootstrapActions":{
185
- "name":"ListBootstrapActions",
186
- "http":{
187
- "method":"POST",
188
- "requestUri":"/"
189
- },
190
- "input":{
191
- "shape":"ListBootstrapActionsInput",
192
- "documentation":"<p>This input determines which bootstrap actions to retrieve.</p>"
193
- },
194
- "output":{
195
- "shape":"ListBootstrapActionsOutput",
196
- "documentation":"<p>This output contains the boostrap actions detail .</p>"
197
- },
198
- "errors":[
199
- {
200
- "shape":"InternalServerException",
201
- "exception":true,
202
- "fault":true,
203
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
204
- },
205
- {
206
- "shape":"InvalidRequestException",
207
- "exception":true,
208
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
209
- }
210
- ],
211
- "documentation":"<p>Provides information about the bootstrap actions associated with a cluster.</p>"
212
- },
213
- "ListClusters":{
214
- "name":"ListClusters",
215
- "http":{
216
- "method":"POST",
217
- "requestUri":"/"
218
- },
219
- "input":{
220
- "shape":"ListClustersInput",
221
- "documentation":"<p>This input determines how the ListClusters action filters the list of clusters that it returns.</p>"
222
- },
223
- "output":{
224
- "shape":"ListClustersOutput",
225
- "documentation":"<p>This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.</p>"
226
- },
227
- "errors":[
228
- {
229
- "shape":"InternalServerException",
230
- "exception":true,
231
- "fault":true,
232
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
233
- },
234
- {
235
- "shape":"InvalidRequestException",
236
- "exception":true,
237
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
238
- }
239
- ],
240
- "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>"
241
- },
242
- "ListInstanceGroups":{
243
- "name":"ListInstanceGroups",
244
- "http":{
245
- "method":"POST",
246
- "requestUri":"/"
247
- },
248
- "input":{
249
- "shape":"ListInstanceGroupsInput",
250
- "documentation":"<p>This input determines which instance groups to retrieve.</p>"
251
- },
252
- "output":{
253
- "shape":"ListInstanceGroupsOutput",
254
- "documentation":"<p>This input determines which instance groups to retrieve.</p>"
255
- },
256
- "errors":[
257
- {
258
- "shape":"InternalServerException",
259
- "exception":true,
260
- "fault":true,
261
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
262
- },
263
- {
264
- "shape":"InvalidRequestException",
265
- "exception":true,
266
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
267
- }
268
- ],
269
- "documentation":"<p>Provides all available details about the instance groups in a cluster.</p>"
270
- },
271
- "ListInstances":{
272
- "name":"ListInstances",
273
- "http":{
274
- "method":"POST",
275
- "requestUri":"/"
276
- },
277
- "input":{
278
- "shape":"ListInstancesInput",
279
- "documentation":"<p>This input determines which instances to list.</p>"
280
- },
281
- "output":{
282
- "shape":"ListInstancesOutput",
283
- "documentation":"<p>This output contains the list of instances.</p>"
284
- },
285
- "errors":[
286
- {
287
- "shape":"InternalServerException",
288
- "exception":true,
289
- "fault":true,
290
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
291
- },
292
- {
293
- "shape":"InvalidRequestException",
294
- "exception":true,
295
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
296
- }
297
- ],
298
- "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>"
299
- },
300
- "ListSteps":{
301
- "name":"ListSteps",
302
- "http":{
303
- "method":"POST",
304
- "requestUri":"/"
305
- },
306
- "input":{
307
- "shape":"ListStepsInput",
308
- "documentation":"<p>This input determines which steps to list.</p>"
309
- },
310
- "output":{
311
- "shape":"ListStepsOutput",
312
- "documentation":"<p>This output contains the list of steps.</p>"
313
- },
314
- "errors":[
315
- {
316
- "shape":"InternalServerException",
317
- "exception":true,
318
- "fault":true,
319
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
320
- },
321
- {
322
- "shape":"InvalidRequestException",
323
- "exception":true,
324
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
325
- }
326
- ],
327
- "documentation":"<p>Provides a list of steps for the cluster. </p>"
328
- },
329
- "ModifyInstanceGroups":{
330
- "name":"ModifyInstanceGroups",
331
- "http":{
332
- "method":"POST",
333
- "requestUri":"/"
334
- },
335
- "input":{
336
- "shape":"ModifyInstanceGroupsInput",
337
- "documentation":"<p>Change the size of some instance groups.</p>"
338
- },
339
- "errors":[
340
- {
341
- "shape":"InternalServerError",
342
- "error":{
343
- "code":"InternalFailure",
344
- "httpStatusCode":500
345
- },
346
- "exception":true,
347
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
348
- }
349
- ],
350
- "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>"
351
- },
352
- "RemoveTags":{
353
- "name":"RemoveTags",
354
- "http":{
355
- "method":"POST",
356
- "requestUri":"/"
357
- },
358
- "input":{
359
- "shape":"RemoveTagsInput",
360
- "documentation":"<p>This input identifies a cluster and a list of tags to remove. </p>"
361
- },
362
- "output":{
363
- "shape":"RemoveTagsOutput",
364
- "documentation":"<p>This output indicates the result of removing tags from a resource. </p>"
365
- },
366
- "errors":[
367
- {
368
- "shape":"InternalServerException",
369
- "exception":true,
370
- "fault":true,
371
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
372
- },
373
- {
374
- "shape":"InvalidRequestException",
375
- "exception":true,
376
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
377
- }
378
- ],
379
- "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>"
380
- },
381
- "RunJobFlow":{
382
- "name":"RunJobFlow",
383
- "http":{
384
- "method":"POST",
385
- "requestUri":"/"
386
- },
387
- "input":{
388
- "shape":"RunJobFlowInput",
389
- "documentation":"<p> Input to the <a>RunJobFlow</a> operation. </p>"
390
- },
391
- "output":{
392
- "shape":"RunJobFlowOutput",
393
- "documentation":"<p> The result of the <a>RunJobFlow</a> operation. </p>"
394
- },
395
- "errors":[
396
- {
397
- "shape":"InternalServerError",
398
- "error":{
399
- "code":"InternalFailure",
400
- "httpStatusCode":500
401
- },
402
- "exception":true,
403
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
404
- }
405
- ],
406
- "documentation":"<p> RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. Once 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 once 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, 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> <p>For long running job flows, we recommend that you periodically store your results.</p>"
407
- },
408
- "SetTerminationProtection":{
409
- "name":"SetTerminationProtection",
410
- "http":{
411
- "method":"POST",
412
- "requestUri":"/"
413
- },
414
- "input":{
415
- "shape":"SetTerminationProtectionInput",
416
- "documentation":"<p> The input argument to the <a>TerminationProtection</a> operation. </p>"
417
- },
418
- "errors":[
419
- {
420
- "shape":"InternalServerError",
421
- "error":{
422
- "code":"InternalFailure",
423
- "httpStatusCode":500
424
- },
425
- "exception":true,
426
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
427
- }
428
- ],
429
- "documentation":"<p> SetTerminationProtection locks a job flow so the Amazon 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, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html\">Protecting a Job Flow from Termination</a> in the <i>Amazon Elastic MapReduce Developer's Guide.</i></p>"
430
- },
431
- "SetVisibleToAllUsers":{
432
- "name":"SetVisibleToAllUsers",
433
- "http":{
434
- "method":"POST",
435
- "requestUri":"/"
436
- },
437
- "input":{
438
- "shape":"SetVisibleToAllUsersInput",
439
- "documentation":"<p>The input to the SetVisibleToAllUsers action.</p>"
440
- },
441
- "errors":[
442
- {
443
- "shape":"InternalServerError",
444
- "error":{
445
- "code":"InternalFailure",
446
- "httpStatusCode":500
447
- },
448
- "exception":true,
449
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
450
- }
451
- ],
452
- "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>"
453
- },
454
- "TerminateJobFlows":{
455
- "name":"TerminateJobFlows",
456
- "http":{
457
- "method":"POST",
458
- "requestUri":"/"
459
- },
460
- "input":{
461
- "shape":"TerminateJobFlowsInput",
462
- "documentation":"<p> Input to the <a>TerminateJobFlows</a> operation. </p>"
463
- },
464
- "errors":[
465
- {
466
- "shape":"InternalServerError",
467
- "error":{
468
- "code":"InternalFailure",
469
- "httpStatusCode":500
470
- },
471
- "exception":true,
472
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
473
- }
474
- ],
475
- "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 call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances. </p>"
476
- }
477
- },
478
- "shapes":{
479
- "ActionOnFailure":{
480
- "type":"string",
481
- "enum":[
482
- "TERMINATE_JOB_FLOW",
483
- "TERMINATE_CLUSTER",
484
- "CANCEL_AND_WAIT",
485
- "CONTINUE"
486
- ]
487
- },
488
- "AddInstanceGroupsInput":{
489
- "type":"structure",
490
- "required":[
491
- "InstanceGroups",
492
- "JobFlowId"
493
- ],
494
- "members":{
495
- "InstanceGroups":{
496
- "shape":"InstanceGroupConfigList",
497
- "documentation":"<p>Instance Groups to add.</p>"
498
- },
499
- "JobFlowId":{
500
- "shape":"XmlStringMaxLen256",
501
- "documentation":"<p>Job flow in which to add the instance groups.</p>"
502
- }
503
- },
504
- "documentation":"<p>Input to an AddInstanceGroups call.</p>"
505
- },
506
- "AddInstanceGroupsOutput":{
507
- "type":"structure",
508
- "members":{
509
- "JobFlowId":{
510
- "shape":"XmlStringMaxLen256",
511
- "documentation":"<p>The job flow ID in which the instance groups are added.</p>"
512
- },
513
- "InstanceGroupIds":{
514
- "shape":"InstanceGroupIdsList",
515
- "documentation":"<p>Instance group IDs of the newly created instance groups.</p>"
516
- }
517
- },
518
- "documentation":"<p>Output from an AddInstanceGroups call.</p>"
519
- },
520
- "AddJobFlowStepsInput":{
521
- "type":"structure",
522
- "required":[
523
- "JobFlowId",
524
- "Steps"
525
- ],
526
- "members":{
527
- "JobFlowId":{
528
- "shape":"XmlStringMaxLen256",
529
- "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>"
530
- },
531
- "Steps":{
532
- "shape":"StepConfigList",
533
- "documentation":"<p> A list of <a>StepConfig</a> to be executed by the job flow. </p>"
534
- }
535
- },
536
- "documentation":"<p> The input argument to the <a>AddJobFlowSteps</a> operation. </p>"
537
- },
538
- "AddJobFlowStepsOutput":{
539
- "type":"structure",
540
- "members":{
541
- "StepIds":{
542
- "shape":"StepIdsList",
543
- "documentation":"<p>The identifiers of the list of steps added to the job flow.</p>"
544
- }
545
- },
546
- "documentation":"<p> The output for the <a>AddJobFlowSteps</a> operation. </p>"
547
- },
548
- "AddTagsInput":{
549
- "type":"structure",
550
- "required":[
551
- "ResourceId",
552
- "Tags"
553
- ],
554
- "members":{
555
- "ResourceId":{
556
- "shape":"ResourceId",
557
- "documentation":"<p>The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier.</p>"
558
- },
559
- "Tags":{
560
- "shape":"TagList",
561
- "documentation":"<p>A list of tags to associate with a cluster and propagate to Amazon 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>"
562
- }
563
- },
564
- "documentation":"<p>This input identifies a cluster and a list of tags to attach. </p>"
565
- },
566
- "AddTagsOutput":{
567
- "type":"structure",
568
- "members":{
569
- },
570
- "documentation":"<p>This output indicates the result of adding tags to a resource. </p>"
571
- },
572
- "Application":{
573
- "type":"structure",
574
- "members":{
575
- "Name":{
576
- "shape":"String",
577
- "documentation":"<p>The name of the application.</p>"
578
- },
579
- "Version":{
580
- "shape":"String",
581
- "documentation":"<p>The version of the application.</p>"
582
- },
583
- "Args":{
584
- "shape":"StringList",
585
- "documentation":"<p>Arguments for Amazon EMR to pass to the application.</p>"
586
- },
587
- "AdditionalInfo":{
588
- "shape":"StringMap",
589
- "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>"
590
- }
591
- },
592
- "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>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li> <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li> <li>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition, respectively.</li> </ul>"
593
- },
594
- "ApplicationList":{
595
- "type":"list",
596
- "member":{"shape":"Application"}
597
- },
598
- "Boolean":{"type":"boolean"},
599
- "BootstrapActionConfig":{
600
- "type":"structure",
601
- "required":[
602
- "Name",
603
- "ScriptBootstrapAction"
604
- ],
605
- "members":{
606
- "Name":{
607
- "shape":"XmlStringMaxLen256",
608
- "documentation":"<p>The name of the bootstrap action.</p>"
609
- },
610
- "ScriptBootstrapAction":{
611
- "shape":"ScriptBootstrapActionConfig",
612
- "documentation":"<p>The script run by the bootstrap action.</p>"
613
- }
614
- },
615
- "documentation":"<p>Configuration of a bootstrap action.</p>"
616
- },
617
- "BootstrapActionConfigList":{
618
- "type":"list",
619
- "member":{"shape":"BootstrapActionConfig"}
620
- },
621
- "BootstrapActionDetail":{
622
- "type":"structure",
623
- "members":{
624
- "BootstrapActionConfig":{
625
- "shape":"BootstrapActionConfig",
626
- "documentation":"<p>A description of the bootstrap action.</p>"
627
- }
628
- },
629
- "documentation":"<p>Reports the configuration of a bootstrap action in a job flow.</p>"
630
- },
631
- "BootstrapActionDetailList":{
632
- "type":"list",
633
- "member":{"shape":"BootstrapActionDetail"}
634
- },
635
- "Cluster":{
636
- "type":"structure",
637
- "members":{
638
- "Id":{
639
- "shape":"ClusterId",
640
- "documentation":"<p>The unique identifier for the cluster.</p>"
641
- },
642
- "Name":{
643
- "shape":"String",
644
- "documentation":"<p>The name of the cluster.</p>"
645
- },
646
- "Status":{
647
- "shape":"ClusterStatus",
648
- "documentation":"<p>The current status details about the cluster.</p>"
649
- },
650
- "Ec2InstanceAttributes":{"shape":"Ec2InstanceAttributes"},
651
- "LogUri":{
652
- "shape":"String",
653
- "documentation":"<p>The path to the Amazon S3 location where logs for this cluster are stored.</p>"
654
- },
655
- "RequestedAmiVersion":{
656
- "shape":"String",
657
- "documentation":"<p>The AMI version requested for this cluster.</p>"
658
- },
659
- "RunningAmiVersion":{
660
- "shape":"String",
661
- "documentation":"<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\". </p>"
662
- },
663
- "AutoTerminate":{
664
- "shape":"Boolean",
665
- "documentation":"<p>Specifies whether the cluster should terminate after completing all steps.</p>"
666
- },
667
- "TerminationProtected":{
668
- "shape":"Boolean",
669
- "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>"
670
- },
671
- "VisibleToAllUsers":{
672
- "shape":"Boolean",
673
- "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>"
674
- },
675
- "Applications":{
676
- "shape":"ApplicationList",
677
- "documentation":"<p>The applications installed on this cluster.</p>"
678
- },
679
- "Tags":{
680
- "shape":"TagList",
681
- "documentation":"<p>A list of tags associated with a cluster.</p>"
682
- },
683
- "ServiceRole":{
684
- "shape":"String",
685
- "documentation":"<p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>"
686
- }
687
- },
688
- "documentation":"<p>The detailed description of the cluster.</p>"
689
- },
690
- "ClusterId":{"type":"string"},
691
- "ClusterState":{
692
- "type":"string",
693
- "enum":[
694
- "STARTING",
695
- "BOOTSTRAPPING",
696
- "RUNNING",
697
- "WAITING",
698
- "TERMINATING",
699
- "TERMINATED",
700
- "TERMINATED_WITH_ERRORS"
701
- ]
702
- },
703
- "ClusterStateChangeReason":{
704
- "type":"structure",
705
- "members":{
706
- "Code":{
707
- "shape":"ClusterStateChangeReasonCode",
708
- "documentation":"<p>The programmatic code for the state change reason.</p>"
709
- },
710
- "Message":{
711
- "shape":"String",
712
- "documentation":"<p>The descriptive message for the state change reason.</p>"
713
- }
714
- },
715
- "documentation":"<p>The reason that the cluster changed to its current state.</p>"
716
- },
717
- "ClusterStateChangeReasonCode":{
718
- "type":"string",
719
- "enum":[
720
- "INTERNAL_ERROR",
721
- "VALIDATION_ERROR",
722
- "INSTANCE_FAILURE",
723
- "BOOTSTRAP_FAILURE",
724
- "USER_REQUEST",
725
- "STEP_FAILURE",
726
- "ALL_STEPS_COMPLETED"
727
- ]
728
- },
729
- "ClusterStateList":{
730
- "type":"list",
731
- "member":{"shape":"ClusterState"}
732
- },
733
- "ClusterStatus":{
734
- "type":"structure",
735
- "members":{
736
- "State":{
737
- "shape":"ClusterState",
738
- "documentation":"<p>The current state of the cluster.</p>"
739
- },
740
- "StateChangeReason":{
741
- "shape":"ClusterStateChangeReason",
742
- "documentation":"<p>The reason for the cluster status change.</p>"
743
- },
744
- "Timeline":{
745
- "shape":"ClusterTimeline",
746
- "documentation":"<p>A timeline that represents the status of a cluster over the lifetime of the cluster.</p>"
747
- }
748
- },
749
- "documentation":"<p>The detailed status of the cluster.</p>"
750
- },
751
- "ClusterSummary":{
752
- "type":"structure",
753
- "members":{
754
- "Id":{
755
- "shape":"ClusterId",
756
- "documentation":"<p>The unique identifier for the cluster.</p>"
757
- },
758
- "Name":{
759
- "shape":"String",
760
- "documentation":"<p>The name of the cluster.</p>"
761
- },
762
- "Status":{
763
- "shape":"ClusterStatus",
764
- "documentation":"<p>The details about the current status of the cluster.</p>"
765
- }
766
- },
767
- "documentation":"<p>The summary description of the cluster.</p>"
768
- },
769
- "ClusterSummaryList":{
770
- "type":"list",
771
- "member":{"shape":"ClusterSummary"}
772
- },
773
- "ClusterTimeline":{
774
- "type":"structure",
775
- "members":{
776
- "CreationDateTime":{
777
- "shape":"Date",
778
- "documentation":"<p>The creation date and time of the cluster.</p>"
779
- },
780
- "ReadyDateTime":{
781
- "shape":"Date",
782
- "documentation":"<p>The date and time when the cluster was ready to execute steps.</p>"
783
- },
784
- "EndDateTime":{
785
- "shape":"Date",
786
- "documentation":"<p>The date and time when the cluster was terminated.</p>"
787
- }
788
- },
789
- "documentation":"<p>Represents the timeline of the cluster's lifecycle.</p>"
790
- },
791
- "Command":{
792
- "type":"structure",
793
- "members":{
794
- "Name":{
795
- "shape":"String",
796
- "documentation":"<p>The name of the command.</p>"
797
- },
798
- "ScriptPath":{
799
- "shape":"String",
800
- "documentation":"<p>The Amazon S3 location of the command script.</p>"
801
- },
802
- "Args":{
803
- "shape":"StringList",
804
- "documentation":"<p>Arguments for Amazon EMR to pass to the command for execution.</p>"
805
- }
806
- },
807
- "documentation":"<p>An entity describing an executable that runs on a cluster.</p>"
808
- },
809
- "CommandList":{
810
- "type":"list",
811
- "member":{"shape":"Command"}
812
- },
813
- "Date":{"type":"timestamp"},
814
- "DescribeClusterInput":{
815
- "type":"structure",
816
- "required":["ClusterId"],
817
- "members":{
818
- "ClusterId":{
819
- "shape":"ClusterId",
820
- "documentation":"<p>The identifier of the cluster to describe.</p>"
821
- }
822
- },
823
- "documentation":"<p>This input determines which cluster to describe.</p>"
824
- },
825
- "DescribeClusterOutput":{
826
- "type":"structure",
827
- "members":{
828
- "Cluster":{
829
- "shape":"Cluster",
830
- "documentation":"<p>This output contains the details for the requested cluster.</p>"
831
- }
832
- },
833
- "documentation":"<p>This output contains the description of the cluster.</p>"
834
- },
835
- "DescribeJobFlowsInput":{
836
- "type":"structure",
837
- "members":{
838
- "CreatedAfter":{
839
- "shape":"Date",
840
- "documentation":"<p>Return only job flows created after this date and time.</p>"
841
- },
842
- "CreatedBefore":{
843
- "shape":"Date",
844
- "documentation":"<p>Return only job flows created before this date and time.</p>"
845
- },
846
- "JobFlowIds":{
847
- "shape":"XmlStringList",
848
- "documentation":"<p>Return only job flows whose job flow ID is contained in this list. </p>"
849
- },
850
- "JobFlowStates":{
851
- "shape":"JobFlowExecutionStateList",
852
- "documentation":"<p>Return only job flows whose state is contained in this list.</p>"
853
- }
854
- },
855
- "documentation":"<p> The input for the <a>DescribeJobFlows</a> operation. </p>"
856
- },
857
- "DescribeJobFlowsOutput":{
858
- "type":"structure",
859
- "members":{
860
- "JobFlows":{
861
- "shape":"JobFlowDetailList",
862
- "documentation":"<p>A list of job flows matching the parameters supplied.</p>"
863
- }
864
- },
865
- "documentation":"<p> The output for the <a>DescribeJobFlows</a> operation. </p>"
866
- },
867
- "DescribeStepInput":{
868
- "type":"structure",
869
- "required":[
870
- "ClusterId",
871
- "StepId"
872
- ],
873
- "members":{
874
- "ClusterId":{
875
- "shape":"ClusterId",
876
- "documentation":"<p>The identifier of the cluster with steps to describe.</p>"
877
- },
878
- "StepId":{
879
- "shape":"StepId",
880
- "documentation":"<p>The identifier of the step to describe.</p>"
881
- }
882
- },
883
- "documentation":"<p>This input determines which step to describe.</p>"
884
- },
885
- "DescribeStepOutput":{
886
- "type":"structure",
887
- "members":{
888
- "Step":{
889
- "shape":"Step",
890
- "documentation":"<p>The step details for the requested step identifier.</p>"
891
- }
892
- },
893
- "documentation":"<p>This output contains the description of the cluster step.</p>"
894
- },
895
- "EC2InstanceIdsToTerminateList":{
896
- "type":"list",
897
- "member":{"shape":"InstanceId"}
898
- },
899
- "Ec2InstanceAttributes":{
900
- "type":"structure",
901
- "members":{
902
- "Ec2KeyName":{
903
- "shape":"String",
904
- "documentation":"<p>The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named \"hadoop\".</p>"
905
- },
906
- "Ec2SubnetId":{
907
- "shape":"String",
908
- "documentation":"<p> To launch the job flow in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where 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 a VPC. </p> <p> Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a VPC. </p>"
909
- },
910
- "Ec2AvailabilityZone":{
911
- "shape":"String",
912
- "documentation":"<p>The Availability Zone in which the cluster will run.</p>"
913
- },
914
- "IamInstanceProfile":{
915
- "shape":"String",
916
- "documentation":"<p>The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.</p>"
917
- }
918
- },
919
- "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>"
920
- },
921
- "ErrorCode":{
922
- "type":"string",
923
- "min":1,
924
- "max":256
925
- },
926
- "ErrorMessage":{"type":"string"},
927
- "HadoopJarStepConfig":{
928
- "type":"structure",
929
- "required":["Jar"],
930
- "members":{
931
- "Properties":{
932
- "shape":"KeyValueList",
933
- "documentation":"<p>A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.</p>"
934
- },
935
- "Jar":{
936
- "shape":"XmlString",
937
- "documentation":"<p>A path to a JAR file run during the step.</p>"
938
- },
939
- "MainClass":{
940
- "shape":"XmlString",
941
- "documentation":"<p>The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.</p>"
942
- },
943
- "Args":{
944
- "shape":"XmlStringList",
945
- "documentation":"<p>A list of command line arguments passed to the JAR file's main function when executed.</p>"
946
- }
947
- },
948
- "documentation":"<p>A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail. </p>"
949
- },
950
- "HadoopStepConfig":{
951
- "type":"structure",
952
- "members":{
953
- "Jar":{
954
- "shape":"String",
955
- "documentation":"<p>The path to the JAR file that runs during the step.</p>"
956
- },
957
- "Properties":{
958
- "shape":"StringMap",
959
- "documentation":"<p>The list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.</p>"
960
- },
961
- "MainClass":{
962
- "shape":"String",
963
- "documentation":"<p>The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file.</p>"
964
- },
965
- "Args":{
966
- "shape":"StringList",
967
- "documentation":"<p>The list of command line arguments to pass to the JAR file's main function for execution.</p>"
968
- }
969
- },
970
- "documentation":"<p>A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail. </p>"
971
- },
972
- "Instance":{
973
- "type":"structure",
974
- "members":{
975
- "Id":{
976
- "shape":"InstanceId",
977
- "documentation":"<p>The unique identifier for the instance in Amazon EMR.</p>"
978
- },
979
- "Ec2InstanceId":{
980
- "shape":"InstanceId",
981
- "documentation":"<p>The unique identifier of the instance in Amazon EC2.</p>"
982
- },
983
- "PublicDnsName":{
984
- "shape":"String",
985
- "documentation":"<p>The public DNS name of the instance.</p>"
986
- },
987
- "PublicIpAddress":{
988
- "shape":"String",
989
- "documentation":"<p>The public IP address of the instance.</p>"
990
- },
991
- "PrivateDnsName":{
992
- "shape":"String",
993
- "documentation":"<p>The private DNS name of the instance.</p>"
994
- },
995
- "PrivateIpAddress":{
996
- "shape":"String",
997
- "documentation":"<p>The private IP address of the instance.</p>"
998
- },
999
- "Status":{
1000
- "shape":"InstanceStatus",
1001
- "documentation":"<p>The current status of the instance.</p>"
1002
- }
1003
- },
1004
- "documentation":"<p>Represents an EC2 instance provisioned as part of cluster.</p>"
1005
- },
1006
- "InstanceGroup":{
1007
- "type":"structure",
1008
- "members":{
1009
- "Id":{
1010
- "shape":"InstanceGroupId",
1011
- "documentation":"<p>The identifier of the instance group.</p>"
1012
- },
1013
- "Name":{
1014
- "shape":"String",
1015
- "documentation":"<p>The name of the instance group.</p>"
1016
- },
1017
- "Market":{
1018
- "shape":"MarketType",
1019
- "documentation":"<p>The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.</p>"
1020
- },
1021
- "InstanceGroupType":{
1022
- "shape":"InstanceGroupType",
1023
- "documentation":"<p>The type of the instance group. Valid values are MASTER, CORE or TASK.</p>"
1024
- },
1025
- "BidPrice":{
1026
- "shape":"String",
1027
- "documentation":"<p>The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.</p>"
1028
- },
1029
- "InstanceType":{
1030
- "shape":"InstanceType",
1031
- "documentation":"<p>The EC2 instance type for all instances in the instance group. </p>"
1032
- },
1033
- "RequestedInstanceCount":{
1034
- "shape":"Integer",
1035
- "documentation":"<p>The target number of instances for the instance group. </p>"
1036
- },
1037
- "RunningInstanceCount":{
1038
- "shape":"Integer",
1039
- "documentation":"<p>The number of instances currently running in this instance group.</p>"
1040
- },
1041
- "Status":{
1042
- "shape":"InstanceGroupStatus",
1043
- "documentation":"<p>The current status of the instance group.</p>"
1044
- }
1045
- },
1046
- "documentation":"<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>"
1047
- },
1048
- "InstanceGroupConfig":{
1049
- "type":"structure",
1050
- "required":[
1051
- "InstanceRole",
1052
- "InstanceType",
1053
- "InstanceCount"
1054
- ],
1055
- "members":{
1056
- "Name":{
1057
- "shape":"XmlStringMaxLen256",
1058
- "documentation":"<p>Friendly name given to the instance group.</p>"
1059
- },
1060
- "Market":{
1061
- "shape":"MarketType",
1062
- "documentation":"<p>Market type of the Amazon EC2 instances used to create a cluster node. </p>"
1063
- },
1064
- "InstanceRole":{
1065
- "shape":"InstanceRoleType",
1066
- "documentation":"<p>The role of the instance group in the cluster.</p>"
1067
- },
1068
- "BidPrice":{
1069
- "shape":"XmlStringMaxLen256",
1070
- "documentation":"<p>Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.</p>"
1071
- },
1072
- "InstanceType":{
1073
- "shape":"InstanceType",
1074
- "documentation":"<p>The Amazon EC2 instance type for all instances in the instance group. </p>"
1075
- },
1076
- "InstanceCount":{
1077
- "shape":"Integer",
1078
- "documentation":"<p>Target number of instances for the instance group. </p>"
1079
- }
1080
- },
1081
- "documentation":"<p>Configuration defining a new instance group.</p>"
1082
- },
1083
- "InstanceGroupConfigList":{
1084
- "type":"list",
1085
- "member":{"shape":"InstanceGroupConfig"}
1086
- },
1087
- "InstanceGroupDetail":{
1088
- "type":"structure",
1089
- "required":[
1090
- "Market",
1091
- "InstanceRole",
1092
- "InstanceType",
1093
- "InstanceRequestCount",
1094
- "InstanceRunningCount",
1095
- "State",
1096
- "CreationDateTime"
1097
- ],
1098
- "members":{
1099
- "InstanceGroupId":{
1100
- "shape":"XmlStringMaxLen256",
1101
- "documentation":"<p>Unique identifier for the instance group. </p>"
1102
- },
1103
- "Name":{
1104
- "shape":"XmlStringMaxLen256",
1105
- "documentation":"<p>Friendly name for the instance group. </p>"
1106
- },
1107
- "Market":{
1108
- "shape":"MarketType",
1109
- "documentation":"<p>Market type of the Amazon EC2 instances used to create a cluster node. </p>"
1110
- },
1111
- "InstanceRole":{
1112
- "shape":"InstanceRoleType",
1113
- "documentation":"<p>Instance group role in the cluster </p>"
1114
- },
1115
- "BidPrice":{
1116
- "shape":"XmlStringMaxLen256",
1117
- "documentation":"<p>Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.</p>"
1118
- },
1119
- "InstanceType":{
1120
- "shape":"InstanceType",
1121
- "documentation":"<p>Amazon EC2 Instance type.</p>"
1122
- },
1123
- "InstanceRequestCount":{
1124
- "shape":"Integer",
1125
- "documentation":"<p>Target number of instances to run in the instance group. </p>"
1126
- },
1127
- "InstanceRunningCount":{
1128
- "shape":"Integer",
1129
- "documentation":"<p>Actual count of running instances. </p>"
1130
- },
1131
- "State":{
1132
- "shape":"InstanceGroupState",
1133
- "documentation":"<p>State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.</p>"
1134
- },
1135
- "LastStateChangeReason":{
1136
- "shape":"XmlString",
1137
- "documentation":"<p>Details regarding the state of the instance group. </p>"
1138
- },
1139
- "CreationDateTime":{
1140
- "shape":"Date",
1141
- "documentation":"<p>The date/time the instance group was created. </p>"
1142
- },
1143
- "StartDateTime":{
1144
- "shape":"Date",
1145
- "documentation":"<p>The date/time the instance group was started.</p>"
1146
- },
1147
- "ReadyDateTime":{
1148
- "shape":"Date",
1149
- "documentation":"<p>The date/time the instance group was available to the cluster. </p>"
1150
- },
1151
- "EndDateTime":{
1152
- "shape":"Date",
1153
- "documentation":"<p>The date/time the instance group was terminated.</p>"
1154
- }
1155
- },
1156
- "documentation":"<p>Detailed information about an instance group. </p>"
1157
- },
1158
- "InstanceGroupDetailList":{
1159
- "type":"list",
1160
- "member":{"shape":"InstanceGroupDetail"}
1161
- },
1162
- "InstanceGroupId":{"type":"string"},
1163
- "InstanceGroupIdsList":{
1164
- "type":"list",
1165
- "member":{"shape":"XmlStringMaxLen256"}
1166
- },
1167
- "InstanceGroupList":{
1168
- "type":"list",
1169
- "member":{"shape":"InstanceGroup"}
1170
- },
1171
- "InstanceGroupModifyConfig":{
1172
- "type":"structure",
1173
- "required":["InstanceGroupId"],
1174
- "members":{
1175
- "InstanceGroupId":{
1176
- "shape":"XmlStringMaxLen256",
1177
- "documentation":"<p>Unique ID of the instance group to expand or shrink.</p>"
1178
- },
1179
- "InstanceCount":{
1180
- "shape":"Integer",
1181
- "documentation":"<p>Target size for the instance group.</p>"
1182
- },
1183
- "EC2InstanceIdsToTerminate":{
1184
- "shape":"EC2InstanceIdsToTerminateList",
1185
- "documentation":"<p>The EC2 InstanceIds to terminate. For advanced users only. Once you terminate the instances, the instance group will not return to its original requested size.</p>"
1186
- }
1187
- },
1188
- "documentation":"<p>Modify an instance group size.</p>"
1189
- },
1190
- "InstanceGroupModifyConfigList":{
1191
- "type":"list",
1192
- "member":{"shape":"InstanceGroupModifyConfig"}
1193
- },
1194
- "InstanceGroupState":{
1195
- "type":"string",
1196
- "enum":[
1197
- "PROVISIONING",
1198
- "BOOTSTRAPPING",
1199
- "RUNNING",
1200
- "RESIZING",
1201
- "SUSPENDED",
1202
- "TERMINATING",
1203
- "TERMINATED",
1204
- "ARRESTED",
1205
- "SHUTTING_DOWN",
1206
- "ENDED"
1207
- ]
1208
- },
1209
- "InstanceGroupStateChangeReason":{
1210
- "type":"structure",
1211
- "members":{
1212
- "Code":{
1213
- "shape":"InstanceGroupStateChangeReasonCode",
1214
- "documentation":"<p>The programmable code for the state change reason.</p>"
1215
- },
1216
- "Message":{
1217
- "shape":"String",
1218
- "documentation":"<p>The status change reason description.</p>"
1219
- }
1220
- },
1221
- "documentation":"<p>The status change reason details for the instance group.</p>"
1222
- },
1223
- "InstanceGroupStateChangeReasonCode":{
1224
- "type":"string",
1225
- "enum":[
1226
- "INTERNAL_ERROR",
1227
- "VALIDATION_ERROR",
1228
- "INSTANCE_FAILURE",
1229
- "CLUSTER_TERMINATED"
1230
- ]
1231
- },
1232
- "InstanceGroupStatus":{
1233
- "type":"structure",
1234
- "members":{
1235
- "State":{
1236
- "shape":"InstanceGroupState",
1237
- "documentation":"<p>The current state of the instance group.</p>"
1238
- },
1239
- "StateChangeReason":{
1240
- "shape":"InstanceGroupStateChangeReason",
1241
- "documentation":"<p>The status change reason details for the instance group.</p>"
1242
- },
1243
- "Timeline":{
1244
- "shape":"InstanceGroupTimeline",
1245
- "documentation":"<p>The timeline of the instance group status over time.</p>"
1246
- }
1247
- },
1248
- "documentation":"<p>The details of the instance group status.</p>"
1249
- },
1250
- "InstanceGroupTimeline":{
1251
- "type":"structure",
1252
- "members":{
1253
- "CreationDateTime":{
1254
- "shape":"Date",
1255
- "documentation":"<p>The creation date and time of the instance group.</p>"
1256
- },
1257
- "ReadyDateTime":{
1258
- "shape":"Date",
1259
- "documentation":"<p>The date and time when the instance group became ready to perform tasks.</p>"
1260
- },
1261
- "EndDateTime":{
1262
- "shape":"Date",
1263
- "documentation":"<p>The date and time when the instance group terminated.</p>"
1264
- }
1265
- },
1266
- "documentation":"<p>The timeline of the instance group lifecycle.</p>"
1267
- },
1268
- "InstanceGroupType":{
1269
- "type":"string",
1270
- "enum":[
1271
- "MASTER",
1272
- "CORE",
1273
- "TASK"
1274
- ]
1275
- },
1276
- "InstanceGroupTypeList":{
1277
- "type":"list",
1278
- "member":{"shape":"InstanceGroupType"}
1279
- },
1280
- "InstanceId":{"type":"string"},
1281
- "InstanceList":{
1282
- "type":"list",
1283
- "member":{"shape":"Instance"}
1284
- },
1285
- "InstanceRoleType":{
1286
- "type":"string",
1287
- "enum":[
1288
- "MASTER",
1289
- "CORE",
1290
- "TASK"
1291
- ]
1292
- },
1293
- "InstanceState":{
1294
- "type":"string",
1295
- "enum":[
1296
- "AWAITING_FULFILLMENT",
1297
- "PROVISIONING",
1298
- "BOOTSTRAPPING",
1299
- "RUNNING",
1300
- "TERMINATED"
1301
- ]
1302
- },
1303
- "InstanceStateChangeReason":{
1304
- "type":"structure",
1305
- "members":{
1306
- "Code":{
1307
- "shape":"InstanceStateChangeReasonCode",
1308
- "documentation":"<p>The programmable code for the state change reason.</p>"
1309
- },
1310
- "Message":{
1311
- "shape":"String",
1312
- "documentation":"<p>The status change reason description.</p>"
1313
- }
1314
- },
1315
- "documentation":"<p>The details of the status change reason for the instance.</p>"
1316
- },
1317
- "InstanceStateChangeReasonCode":{
1318
- "type":"string",
1319
- "enum":[
1320
- "INTERNAL_ERROR",
1321
- "VALIDATION_ERROR",
1322
- "INSTANCE_FAILURE",
1323
- "BOOTSTRAP_FAILURE",
1324
- "CLUSTER_TERMINATED"
1325
- ]
1326
- },
1327
- "InstanceStatus":{
1328
- "type":"structure",
1329
- "members":{
1330
- "State":{
1331
- "shape":"InstanceState",
1332
- "documentation":"<p>The current state of the instance.</p>"
1333
- },
1334
- "StateChangeReason":{
1335
- "shape":"InstanceStateChangeReason",
1336
- "documentation":"<p>The details of the status change reason for the instance.</p>"
1337
- },
1338
- "Timeline":{
1339
- "shape":"InstanceTimeline",
1340
- "documentation":"<p>The timeline of the instance status over time.</p>"
1341
- }
1342
- },
1343
- "documentation":"<p>The instance status details.</p>"
1344
- },
1345
- "InstanceTimeline":{
1346
- "type":"structure",
1347
- "members":{
1348
- "CreationDateTime":{
1349
- "shape":"Date",
1350
- "documentation":"<p>The creation date and time of the instance.</p>"
1351
- },
1352
- "ReadyDateTime":{
1353
- "shape":"Date",
1354
- "documentation":"<p>The date and time when the instance was ready to perform tasks.</p>"
1355
- },
1356
- "EndDateTime":{
1357
- "shape":"Date",
1358
- "documentation":"<p>The date and time when the instance was terminated.</p>"
1359
- }
1360
- },
1361
- "documentation":"<p>The timeline of the instance lifecycle.</p>"
1362
- },
1363
- "InstanceType":{
1364
- "type":"string",
1365
- "min":1,
1366
- "max":256,
1367
- "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
1368
- },
1369
- "Integer":{"type":"integer"},
1370
- "InternalServerError":{
1371
- "type":"structure",
1372
- "members":{
1373
- },
1374
- "error":{
1375
- "code":"InternalFailure",
1376
- "httpStatusCode":500
1377
- },
1378
- "exception":true,
1379
- "documentation":"<p>Indicates that an error occurred while processing the request and that the request was not completed.</p>"
1380
- },
1381
- "InternalServerException":{
1382
- "type":"structure",
1383
- "members":{
1384
- "Message":{
1385
- "shape":"ErrorMessage",
1386
- "documentation":"<p>The message associated with the exception.</p>"
1387
- }
1388
- },
1389
- "exception":true,
1390
- "fault":true,
1391
- "documentation":"<p>This exception occurs when there is an internal failure in the EMR service.</p>"
1392
- },
1393
- "InvalidRequestException":{
1394
- "type":"structure",
1395
- "members":{
1396
- "ErrorCode":{
1397
- "shape":"ErrorCode",
1398
- "documentation":"<p>The error code associated with the exception.</p>"
1399
- },
1400
- "Message":{
1401
- "shape":"ErrorMessage",
1402
- "documentation":"<p>The message associated with the exception.</p>"
1403
- }
1404
- },
1405
- "exception":true,
1406
- "documentation":"<p>This exception occurs when there is something wrong with user input.</p>"
1407
- },
1408
- "JobFlowDetail":{
1409
- "type":"structure",
1410
- "required":[
1411
- "JobFlowId",
1412
- "Name",
1413
- "ExecutionStatusDetail",
1414
- "Instances"
1415
- ],
1416
- "members":{
1417
- "JobFlowId":{
1418
- "shape":"XmlStringMaxLen256",
1419
- "documentation":"<p>The job flow identifier.</p>"
1420
- },
1421
- "Name":{
1422
- "shape":"XmlStringMaxLen256",
1423
- "documentation":"<p>The name of the job flow.</p>"
1424
- },
1425
- "LogUri":{
1426
- "shape":"XmlString",
1427
- "documentation":"<p>The location in Amazon S3 where log files for the job are stored. </p>"
1428
- },
1429
- "AmiVersion":{
1430
- "shape":"XmlStringMaxLen256",
1431
- "documentation":"<p>The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently 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 <i>Amazon Elastic MapReduce Developer's Guide.</i></p>"
1432
- },
1433
- "ExecutionStatusDetail":{
1434
- "shape":"JobFlowExecutionStatusDetail",
1435
- "documentation":"<p>Describes the execution status of the job flow.</p>"
1436
- },
1437
- "Instances":{
1438
- "shape":"JobFlowInstancesDetail",
1439
- "documentation":"<p>Describes the Amazon EC2 instances of the job flow.</p>"
1440
- },
1441
- "Steps":{
1442
- "shape":"StepDetailList",
1443
- "documentation":"<p>A list of steps run by the job flow.</p>"
1444
- },
1445
- "BootstrapActions":{
1446
- "shape":"BootstrapActionDetailList",
1447
- "documentation":"<p>A list of the bootstrap actions run by the job flow.</p>"
1448
- },
1449
- "SupportedProducts":{
1450
- "shape":"SupportedProductsList",
1451
- "documentation":"<p>A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.</p>"
1452
- },
1453
- "VisibleToAllUsers":{
1454
- "shape":"Boolean",
1455
- "documentation":"<p>Specifies 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 (if they have the proper policy permissions set) manage the job flow. If it is set to <code>false</code>, only the IAM user that created the job flow can view and manage it. This value can be changed using the <a>SetVisibleToAllUsers</a> action.</p>"
1456
- },
1457
- "JobFlowRole":{
1458
- "shape":"XmlString",
1459
- "documentation":"<p>The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.</p>"
1460
- },
1461
- "ServiceRole":{
1462
- "shape":"XmlString",
1463
- "documentation":"<p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>"
1464
- }
1465
- },
1466
- "documentation":"<p> A description of a job flow.</p>"
1467
- },
1468
- "JobFlowDetailList":{
1469
- "type":"list",
1470
- "member":{"shape":"JobFlowDetail"}
1471
- },
1472
- "JobFlowExecutionState":{
1473
- "type":"string",
1474
- "enum":[
1475
- "STARTING",
1476
- "BOOTSTRAPPING",
1477
- "RUNNING",
1478
- "WAITING",
1479
- "SHUTTING_DOWN",
1480
- "TERMINATED",
1481
- "COMPLETED",
1482
- "FAILED"
1483
- ],
1484
- "documentation":"<p> The type of instance. </p> <enumValues> <value name=\"JobFlowExecutionState$COMPLETED\"> <p>A small instance</p> </value> <value name=\"JobFlowExecutionState$FAILED\"> <p>A large instance</p> </value> </enumValues>"
1485
- },
1486
- "JobFlowExecutionStateList":{
1487
- "type":"list",
1488
- "member":{"shape":"JobFlowExecutionState"}
1489
- },
1490
- "JobFlowExecutionStatusDetail":{
1491
- "type":"structure",
1492
- "required":[
1493
- "State",
1494
- "CreationDateTime"
1495
- ],
1496
- "members":{
1497
- "State":{
1498
- "shape":"JobFlowExecutionState",
1499
- "documentation":"<p>The state of the job flow.</p>"
1500
- },
1501
- "CreationDateTime":{
1502
- "shape":"Date",
1503
- "documentation":"<p>The creation date and time of the job flow.</p>"
1504
- },
1505
- "StartDateTime":{
1506
- "shape":"Date",
1507
- "documentation":"<p>The start date and time of the job flow.</p>"
1508
- },
1509
- "ReadyDateTime":{
1510
- "shape":"Date",
1511
- "documentation":"<p>The date and time when the job flow was ready to start running bootstrap actions.</p>"
1512
- },
1513
- "EndDateTime":{
1514
- "shape":"Date",
1515
- "documentation":"<p>The completion date and time of the job flow.</p>"
1516
- },
1517
- "LastStateChangeReason":{
1518
- "shape":"XmlString",
1519
- "documentation":"<p>Description of the job flow last changed state.</p>"
1520
- }
1521
- },
1522
- "documentation":"<p>Describes the status of the job flow.</p>"
1523
- },
1524
- "JobFlowInstancesConfig":{
1525
- "type":"structure",
1526
- "members":{
1527
- "MasterInstanceType":{
1528
- "shape":"InstanceType",
1529
- "documentation":"<p>The EC2 instance type of the master node.</p>"
1530
- },
1531
- "SlaveInstanceType":{
1532
- "shape":"InstanceType",
1533
- "documentation":"<p>The EC2 instance type of the slave nodes.</p>"
1534
- },
1535
- "InstanceCount":{
1536
- "shape":"Integer",
1537
- "documentation":"<p>The number of Amazon EC2 instances used to execute the job flow.</p>"
1538
- },
1539
- "InstanceGroups":{
1540
- "shape":"InstanceGroupConfigList",
1541
- "documentation":"<p>Configuration for the job flow's instance groups.</p>"
1542
- },
1543
- "Ec2KeyName":{
1544
- "shape":"XmlStringMaxLen256",
1545
- "documentation":"<p>The name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called \"hadoop.\"</p>"
1546
- },
1547
- "Placement":{
1548
- "shape":"PlacementType",
1549
- "documentation":"<p>The Availability Zone the job flow will run in.</p>"
1550
- },
1551
- "KeepJobFlowAliveWhenNoSteps":{
1552
- "shape":"Boolean",
1553
- "documentation":"<p>Specifies whether the job flow should terminate after completing all steps.</p>"
1554
- },
1555
- "TerminationProtected":{
1556
- "shape":"Boolean",
1557
- "documentation":"<p>Specifies whether to lock the job flow to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job flow error.</p>"
1558
- },
1559
- "HadoopVersion":{
1560
- "shape":"XmlStringMaxLen256",
1561
- "documentation":"<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, 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>"
1562
- },
1563
- "Ec2SubnetId":{
1564
- "shape":"XmlStringMaxLen256",
1565
- "documentation":"<p> To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC. </p> <p> Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a Amazon VPC. </p>"
1566
- }
1567
- },
1568
- "documentation":"<p>A description of the Amazon EC2 instance running the job flow. A valid JobFlowInstancesConfig must contain at least InstanceGroups, which is the recommended configuration. However, a valid alternative is to have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present).</p>"
1569
- },
1570
- "JobFlowInstancesDetail":{
1571
- "type":"structure",
1572
- "required":[
1573
- "MasterInstanceType",
1574
- "SlaveInstanceType",
1575
- "InstanceCount"
1576
- ],
1577
- "members":{
1578
- "MasterInstanceType":{
1579
- "shape":"InstanceType",
1580
- "documentation":"<p>The Amazon EC2 master node instance type.</p>"
1581
- },
1582
- "MasterPublicDnsName":{
1583
- "shape":"XmlString",
1584
- "documentation":"<p>The DNS name of the master node.</p>"
1585
- },
1586
- "MasterInstanceId":{
1587
- "shape":"XmlString",
1588
- "documentation":"<p>The Amazon EC2 instance identifier of the master node.</p>"
1589
- },
1590
- "SlaveInstanceType":{
1591
- "shape":"InstanceType",
1592
- "documentation":"<p>The Amazon EC2 slave node instance type.</p>"
1593
- },
1594
- "InstanceCount":{
1595
- "shape":"Integer",
1596
- "documentation":"<p>The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.</p>"
1597
- },
1598
- "InstanceGroups":{
1599
- "shape":"InstanceGroupDetailList",
1600
- "documentation":"<p>Details about the job flow's instance groups. </p>"
1601
- },
1602
- "NormalizedInstanceHours":{
1603
- "shape":"Integer",
1604
- "documentation":"<p>An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented once for every hour an m1.small runs. Larger instances are weighted more, so an Amazon 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>"
1605
- },
1606
- "Ec2KeyName":{
1607
- "shape":"XmlStringMaxLen256",
1608
- "documentation":"<p>The name of an Amazon EC2 key pair that can be used to ssh to the master node of job flow.</p>"
1609
- },
1610
- "Ec2SubnetId":{
1611
- "shape":"XmlStringMaxLen256",
1612
- "documentation":"<p>For job flows launched within Amazon Virtual Private Cloud, this value specifies the identifier of the subnet where the job flow was launched.</p>"
1613
- },
1614
- "Placement":{
1615
- "shape":"PlacementType",
1616
- "documentation":"<p>The Amazon EC2 Availability Zone for the job flow.</p>"
1617
- },
1618
- "KeepJobFlowAliveWhenNoSteps":{
1619
- "shape":"Boolean",
1620
- "documentation":"<p>Specifies whether the job flow should terminate after completing all steps.</p>"
1621
- },
1622
- "TerminationProtected":{
1623
- "shape":"Boolean",
1624
- "documentation":"<p>Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job flow error. </p>"
1625
- },
1626
- "HadoopVersion":{
1627
- "shape":"XmlStringMaxLen256",
1628
- "documentation":"<p>The Hadoop version for the job flow.</p>"
1629
- }
1630
- },
1631
- "documentation":"<p>Specify the type of Amazon EC2 instances to run the job flow on.</p>"
1632
- },
1633
- "KeyValue":{
1634
- "type":"structure",
1635
- "members":{
1636
- "Key":{
1637
- "shape":"XmlString",
1638
- "documentation":"<p>The unique identifier of a key value pair.</p>"
1639
- },
1640
- "Value":{
1641
- "shape":"XmlString",
1642
- "documentation":"<p>The value part of the identified key.</p>"
1643
- }
1644
- },
1645
- "documentation":"<p>A key value pair.</p>"
1646
- },
1647
- "KeyValueList":{
1648
- "type":"list",
1649
- "member":{"shape":"KeyValue"}
1650
- },
1651
- "ListBootstrapActionsInput":{
1652
- "type":"structure",
1653
- "required":["ClusterId"],
1654
- "members":{
1655
- "ClusterId":{
1656
- "shape":"ClusterId",
1657
- "documentation":"<p>The cluster identifier for the bootstrap actions to list .</p>"
1658
- },
1659
- "Marker":{
1660
- "shape":"Marker",
1661
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve .</p>"
1662
- }
1663
- },
1664
- "documentation":"<p>This input determines which bootstrap actions to retrieve.</p>"
1665
- },
1666
- "ListBootstrapActionsOutput":{
1667
- "type":"structure",
1668
- "members":{
1669
- "BootstrapActions":{
1670
- "shape":"CommandList",
1671
- "documentation":"<p>The bootstrap actions associated with the cluster .</p>"
1672
- },
1673
- "Marker":{
1674
- "shape":"Marker",
1675
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve .</p>"
1676
- }
1677
- },
1678
- "documentation":"<p>This output contains the boostrap actions detail .</p>"
1679
- },
1680
- "ListClustersInput":{
1681
- "type":"structure",
1682
- "members":{
1683
- "CreatedAfter":{
1684
- "shape":"Date",
1685
- "documentation":"<p>The creation date and time beginning value filter for listing clusters .</p>"
1686
- },
1687
- "CreatedBefore":{
1688
- "shape":"Date",
1689
- "documentation":"<p>The creation date and time end value filter for listing clusters .</p>"
1690
- },
1691
- "ClusterStates":{
1692
- "shape":"ClusterStateList",
1693
- "documentation":"<p>The cluster state filters to apply when listing clusters. </p>"
1694
- },
1695
- "Marker":{
1696
- "shape":"Marker",
1697
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve. </p>"
1698
- }
1699
- },
1700
- "documentation":"<p>This input determines how the ListClusters action filters the list of clusters that it returns.</p>"
1701
- },
1702
- "ListClustersOutput":{
1703
- "type":"structure",
1704
- "members":{
1705
- "Clusters":{
1706
- "shape":"ClusterSummaryList",
1707
- "documentation":"<p>The list of clusters for the account based on the given filters. </p>"
1708
- },
1709
- "Marker":{
1710
- "shape":"Marker",
1711
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve. </p>"
1712
- }
1713
- },
1714
- "documentation":"<p>This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.</p>"
1715
- },
1716
- "ListInstanceGroupsInput":{
1717
- "type":"structure",
1718
- "required":["ClusterId"],
1719
- "members":{
1720
- "ClusterId":{
1721
- "shape":"ClusterId",
1722
- "documentation":"<p>The identifier of the cluster for which to list the instance groups.</p>"
1723
- },
1724
- "Marker":{
1725
- "shape":"Marker",
1726
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
1727
- }
1728
- },
1729
- "documentation":"<p>This input determines which instance groups to retrieve.</p>"
1730
- },
1731
- "ListInstanceGroupsOutput":{
1732
- "type":"structure",
1733
- "members":{
1734
- "InstanceGroups":{
1735
- "shape":"InstanceGroupList",
1736
- "documentation":"<p>The list of instance groups for the cluster and given filters.</p>"
1737
- },
1738
- "Marker":{
1739
- "shape":"Marker",
1740
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
1741
- }
1742
- },
1743
- "documentation":"<p>This input determines which instance groups to retrieve.</p>"
1744
- },
1745
- "ListInstancesInput":{
1746
- "type":"structure",
1747
- "required":["ClusterId"],
1748
- "members":{
1749
- "ClusterId":{
1750
- "shape":"ClusterId",
1751
- "documentation":"<p>The identifier of the cluster for which to list the instances.</p>"
1752
- },
1753
- "InstanceGroupId":{
1754
- "shape":"InstanceGroupId",
1755
- "documentation":"<p>The identifier of the instance group for which to list the instances.</p>"
1756
- },
1757
- "InstanceGroupTypes":{
1758
- "shape":"InstanceGroupTypeList",
1759
- "documentation":"<p>The type of instance group for which to list the instances.</p>"
1760
- },
1761
- "Marker":{
1762
- "shape":"Marker",
1763
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
1764
- }
1765
- },
1766
- "documentation":"<p>This input determines which instances to list.</p>"
1767
- },
1768
- "ListInstancesOutput":{
1769
- "type":"structure",
1770
- "members":{
1771
- "Instances":{
1772
- "shape":"InstanceList",
1773
- "documentation":"<p>The list of instances for the cluster and given filters.</p>"
1774
- },
1775
- "Marker":{
1776
- "shape":"Marker",
1777
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
1778
- }
1779
- },
1780
- "documentation":"<p>This output contains the list of instances.</p>"
1781
- },
1782
- "ListStepsInput":{
1783
- "type":"structure",
1784
- "required":["ClusterId"],
1785
- "members":{
1786
- "ClusterId":{
1787
- "shape":"ClusterId",
1788
- "documentation":"<p>The identifier of the cluster for which to list the steps.</p>"
1789
- },
1790
- "StepStates":{
1791
- "shape":"StepStateList",
1792
- "documentation":"<p>The filter to limit the step list based on certain states.</p>"
1793
- },
1794
- "Marker":{
1795
- "shape":"Marker",
1796
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
1797
- }
1798
- },
1799
- "documentation":"<p>This input determines which steps to list.</p>"
1800
- },
1801
- "ListStepsOutput":{
1802
- "type":"structure",
1803
- "members":{
1804
- "Steps":{
1805
- "shape":"StepSummaryList",
1806
- "documentation":"<p>The filtered list of steps for the cluster.</p>"
1807
- },
1808
- "Marker":{
1809
- "shape":"Marker",
1810
- "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
1811
- }
1812
- },
1813
- "documentation":"<p>This output contains the list of steps.</p>"
1814
- },
1815
- "Marker":{"type":"string"},
1816
- "MarketType":{
1817
- "type":"string",
1818
- "enum":[
1819
- "ON_DEMAND",
1820
- "SPOT"
1821
- ]
1822
- },
1823
- "ModifyInstanceGroupsInput":{
1824
- "type":"structure",
1825
- "members":{
1826
- "InstanceGroups":{
1827
- "shape":"InstanceGroupModifyConfigList",
1828
- "documentation":"<p>Instance groups to change.</p>"
1829
- }
1830
- },
1831
- "documentation":"<p>Change the size of some instance groups.</p>"
1832
- },
1833
- "NewSupportedProductsList":{
1834
- "type":"list",
1835
- "member":{"shape":"SupportedProductConfig"}
1836
- },
1837
- "PlacementType":{
1838
- "type":"structure",
1839
- "required":["AvailabilityZone"],
1840
- "members":{
1841
- "AvailabilityZone":{
1842
- "shape":"XmlString",
1843
- "documentation":"<p>The Amazon EC2 Availability Zone for the job flow.</p>"
1844
- }
1845
- },
1846
- "documentation":"<p>The Amazon EC2 location for the job flow.</p>"
1847
- },
1848
- "RemoveTagsInput":{
1849
- "type":"structure",
1850
- "required":[
1851
- "ResourceId",
1852
- "TagKeys"
1853
- ],
1854
- "members":{
1855
- "ResourceId":{
1856
- "shape":"ResourceId",
1857
- "documentation":"<p>The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.</p>"
1858
- },
1859
- "TagKeys":{
1860
- "shape":"StringList",
1861
- "documentation":"<p>A list of tag keys to remove from a resource.</p>"
1862
- }
1863
- },
1864
- "documentation":"<p>This input identifies a cluster and a list of tags to remove. </p>"
1865
- },
1866
- "RemoveTagsOutput":{
1867
- "type":"structure",
1868
- "members":{
1869
- },
1870
- "documentation":"<p>This output indicates the result of removing tags from a resource. </p>"
1871
- },
1872
- "ResourceId":{"type":"string"},
1873
- "RunJobFlowInput":{
1874
- "type":"structure",
1875
- "required":[
1876
- "Name",
1877
- "Instances"
1878
- ],
1879
- "members":{
1880
- "Name":{
1881
- "shape":"XmlStringMaxLen256",
1882
- "documentation":"<p>The name of the job flow.</p>"
1883
- },
1884
- "LogUri":{
1885
- "shape":"XmlString",
1886
- "documentation":"<p>The location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created.</p>"
1887
- },
1888
- "AdditionalInfo":{
1889
- "shape":"XmlString",
1890
- "documentation":"<p>A JSON string for selecting additional features.</p>"
1891
- },
1892
- "AmiVersion":{
1893
- "shape":"XmlStringMaxLen256",
1894
- "documentation":"<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> <ul> <li>\"latest\" (uses the latest AMI)</li> <li>The version number of the AMI to use, for example, \"2.0\"</li> </ul> <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 <a>JobFlowInstancesConfig</a> <code>HadoopVersion</code> parameter to modify the version of Hadoop from the defaults shown above.</p> <p>For details about the AMI versions currently 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 <i>Amazon Elastic MapReduce Developer's Guide.</i> </p>"
1895
- },
1896
- "Instances":{
1897
- "shape":"JobFlowInstancesConfig",
1898
- "documentation":"<p> A specification of the number and type of Amazon EC2 instances on which to run the job flow. </p>"
1899
- },
1900
- "Steps":{
1901
- "shape":"StepConfigList",
1902
- "documentation":"<p>A list of steps to be executed by the job flow.</p>"
1903
- },
1904
- "BootstrapActions":{
1905
- "shape":"BootstrapActionConfigList",
1906
- "documentation":"<p> A list of bootstrap actions that will be run before Hadoop is started on the cluster nodes. </p>"
1907
- },
1908
- "SupportedProducts":{
1909
- "shape":"SupportedProductsList",
1910
- "documentation":"<p>A list of strings that indicates third-party software to use with the job flow. For more information, go to <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html\">Use Third Party Applications with Amazon EMR</a>. Currently supported values are:</p> <ul> <li>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li> <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li> </ul>"
1911
- },
1912
- "NewSupportedProducts":{
1913
- "shape":"NewSupportedProductsList",
1914
- "documentation":"<p>A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. 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>\"mapr-m3\" - launch the job flow using MapR M3 Edition.</li> <li>\"mapr-m5\" - launch the job flow using MapR M5 Edition.</li> <li>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition respectively.</li> </ul>"
1915
- },
1916
- "VisibleToAllUsers":{
1917
- "shape":"Boolean",
1918
- "documentation":"<p>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 (if they have the proper policy permissions set) manage the job flow. If it is set to <code>false</code>, only the IAM user that created the job flow can view and manage it.</p>"
1919
- },
1920
- "JobFlowRole":{
1921
- "shape":"XmlString",
1922
- "documentation":"<p>An IAM role for the job flow. The EC2 instances of the job flow assume this role. The default role is <code>EMRJobflowDefault</code>. In order to use the default role, you must have already created it using the CLI.</p>"
1923
- },
1924
- "ServiceRole":{
1925
- "shape":"XmlString",
1926
- "documentation":"<p>The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.</p>"
1927
- },
1928
- "Tags":{
1929
- "shape":"TagList",
1930
- "documentation":"<p>A list of tags to associate with a cluster and propagate to Amazon EC2 instances.</p>"
1931
- }
1932
- },
1933
- "documentation":"<p> Input to the <a>RunJobFlow</a> operation. </p>"
1934
- },
1935
- "RunJobFlowOutput":{
1936
- "type":"structure",
1937
- "members":{
1938
- "JobFlowId":{
1939
- "shape":"XmlStringMaxLen256",
1940
- "documentation":"<p>An unique identifier for the job flow.</p>"
1941
- }
1942
- },
1943
- "documentation":"<p> The result of the <a>RunJobFlow</a> operation. </p>"
1944
- },
1945
- "ScriptBootstrapActionConfig":{
1946
- "type":"structure",
1947
- "required":["Path"],
1948
- "members":{
1949
- "Path":{
1950
- "shape":"XmlString",
1951
- "documentation":"<p>Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.</p>"
1952
- },
1953
- "Args":{
1954
- "shape":"XmlStringList",
1955
- "documentation":"<p>A list of command line arguments to pass to the bootstrap action script.</p>"
1956
- }
1957
- },
1958
- "documentation":"<p>Configuration of the script to run during a bootstrap action.</p>"
1959
- },
1960
- "SetTerminationProtectionInput":{
1961
- "type":"structure",
1962
- "required":[
1963
- "JobFlowIds",
1964
- "TerminationProtected"
1965
- ],
1966
- "members":{
1967
- "JobFlowIds":{
1968
- "shape":"XmlStringList",
1969
- "documentation":"<p> A list of strings that uniquely identify the job flows to protect. This identifier is returned by <a>RunJobFlow</a> and can also be obtained from <a>DescribeJobFlows</a> . </p>"
1970
- },
1971
- "TerminationProtected":{
1972
- "shape":"Boolean",
1973
- "documentation":"<p> A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error. </p>"
1974
- }
1975
- },
1976
- "documentation":"<p> The input argument to the <a>TerminationProtection</a> operation. </p>"
1977
- },
1978
- "SetVisibleToAllUsersInput":{
1979
- "type":"structure",
1980
- "required":[
1981
- "JobFlowIds",
1982
- "VisibleToAllUsers"
1983
- ],
1984
- "members":{
1985
- "JobFlowIds":{
1986
- "shape":"XmlStringList",
1987
- "documentation":"<p>Identifiers of the job flows to receive the new visibility setting.</p>"
1988
- },
1989
- "VisibleToAllUsers":{
1990
- "shape":"Boolean",
1991
- "documentation":"<p>Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.</p>"
1992
- }
1993
- },
1994
- "documentation":"<p>The input to the SetVisibleToAllUsers action.</p>"
1995
- },
1996
- "Step":{
1997
- "type":"structure",
1998
- "members":{
1999
- "Id":{
2000
- "shape":"StepId",
2001
- "documentation":"<p>The identifier of the cluster step.</p>"
2002
- },
2003
- "Name":{
2004
- "shape":"String",
2005
- "documentation":"<p>The name of the cluster step.</p>"
2006
- },
2007
- "Config":{
2008
- "shape":"HadoopStepConfig",
2009
- "documentation":"<p>The Hadoop job configuration of the cluster step. </p>"
2010
- },
2011
- "ActionOnFailure":{
2012
- "shape":"ActionOnFailure",
2013
- "documentation":"<p>This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. </p>"
2014
- },
2015
- "Status":{
2016
- "shape":"StepStatus",
2017
- "documentation":"<p>The current execution status details of the cluster step. </p>"
2018
- }
2019
- },
2020
- "documentation":"<p>This represents a step in a cluster.</p>"
2021
- },
2022
- "StepConfig":{
2023
- "type":"structure",
2024
- "required":[
2025
- "Name",
2026
- "HadoopJarStep"
2027
- ],
2028
- "members":{
2029
- "Name":{
2030
- "shape":"XmlStringMaxLen256",
2031
- "documentation":"<p>The name of the job flow step.</p>"
2032
- },
2033
- "ActionOnFailure":{
2034
- "shape":"ActionOnFailure",
2035
- "documentation":"<p>The action to take if the job flow step fails.</p>"
2036
- },
2037
- "HadoopJarStep":{
2038
- "shape":"HadoopJarStepConfig",
2039
- "documentation":"<p>The JAR file used for the job flow step.</p>"
2040
- }
2041
- },
2042
- "documentation":"<p>Specification of a job flow step.</p>"
2043
- },
2044
- "StepConfigList":{
2045
- "type":"list",
2046
- "member":{"shape":"StepConfig"}
2047
- },
2048
- "StepDetail":{
2049
- "type":"structure",
2050
- "required":[
2051
- "StepConfig",
2052
- "ExecutionStatusDetail"
2053
- ],
2054
- "members":{
2055
- "StepConfig":{
2056
- "shape":"StepConfig",
2057
- "documentation":"<p>The step configuration.</p>"
2058
- },
2059
- "ExecutionStatusDetail":{
2060
- "shape":"StepExecutionStatusDetail",
2061
- "documentation":"<p>The description of the step status.</p>"
2062
- }
2063
- },
2064
- "documentation":"<p>Combines the execution state and configuration of a step.</p>"
2065
- },
2066
- "StepDetailList":{
2067
- "type":"list",
2068
- "member":{"shape":"StepDetail"}
2069
- },
2070
- "StepExecutionState":{
2071
- "type":"string",
2072
- "enum":[
2073
- "PENDING",
2074
- "RUNNING",
2075
- "CONTINUE",
2076
- "COMPLETED",
2077
- "CANCELLED",
2078
- "FAILED",
2079
- "INTERRUPTED"
2080
- ]
2081
- },
2082
- "StepExecutionStatusDetail":{
2083
- "type":"structure",
2084
- "required":[
2085
- "State",
2086
- "CreationDateTime"
2087
- ],
2088
- "members":{
2089
- "State":{
2090
- "shape":"StepExecutionState",
2091
- "documentation":"<p>The state of the job flow step.</p>"
2092
- },
2093
- "CreationDateTime":{
2094
- "shape":"Date",
2095
- "documentation":"<p>The creation date and time of the step.</p>"
2096
- },
2097
- "StartDateTime":{
2098
- "shape":"Date",
2099
- "documentation":"<p>The start date and time of the step.</p>"
2100
- },
2101
- "EndDateTime":{
2102
- "shape":"Date",
2103
- "documentation":"<p>The completion date and time of the step.</p>"
2104
- },
2105
- "LastStateChangeReason":{
2106
- "shape":"XmlString",
2107
- "documentation":"<p>A description of the step's current state.</p>"
2108
- }
2109
- },
2110
- "documentation":"<p>The execution state of a step.</p>"
2111
- },
2112
- "StepId":{"type":"string"},
2113
- "StepIdsList":{
2114
- "type":"list",
2115
- "member":{"shape":"XmlStringMaxLen256"}
2116
- },
2117
- "StepState":{
2118
- "type":"string",
2119
- "enum":[
2120
- "PENDING",
2121
- "RUNNING",
2122
- "COMPLETED",
2123
- "CANCELLED",
2124
- "FAILED",
2125
- "INTERRUPTED"
2126
- ]
2127
- },
2128
- "StepStateChangeReason":{
2129
- "type":"structure",
2130
- "members":{
2131
- "Code":{
2132
- "shape":"StepStateChangeReasonCode",
2133
- "documentation":"<p>The programmable code for the state change reason. </p>"
2134
- },
2135
- "Message":{
2136
- "shape":"String",
2137
- "documentation":"<p>The descriptive message for the state change reason. </p>"
2138
- }
2139
- },
2140
- "documentation":"<p>The details of the step state change reason. </p>"
2141
- },
2142
- "StepStateChangeReasonCode":{
2143
- "type":"string",
2144
- "enum":["NONE"]
2145
- },
2146
- "StepStateList":{
2147
- "type":"list",
2148
- "member":{"shape":"StepState"}
2149
- },
2150
- "StepStatus":{
2151
- "type":"structure",
2152
- "members":{
2153
- "State":{
2154
- "shape":"StepState",
2155
- "documentation":"<p>The execution state of the cluster step. </p>"
2156
- },
2157
- "StateChangeReason":{
2158
- "shape":"StepStateChangeReason",
2159
- "documentation":"<p>The reason for the step execution status change. </p>"
2160
- },
2161
- "Timeline":{
2162
- "shape":"StepTimeline",
2163
- "documentation":"<p>The timeline of the cluster step status over time. </p>"
2164
- }
2165
- },
2166
- "documentation":"<p>The execution status details of the cluster step. </p>"
2167
- },
2168
- "StepSummary":{
2169
- "type":"structure",
2170
- "members":{
2171
- "Id":{
2172
- "shape":"StepId",
2173
- "documentation":"<p>The identifier of the cluster step. </p>"
2174
- },
2175
- "Name":{
2176
- "shape":"String",
2177
- "documentation":"<p>The name of the cluster step. </p>"
2178
- },
2179
- "Status":{
2180
- "shape":"StepStatus",
2181
- "documentation":"<p>The current execution status details of the cluster step. </p>"
2182
- }
2183
- },
2184
- "documentation":"<p>The summary of the cluster step.</p>"
2185
- },
2186
- "StepSummaryList":{
2187
- "type":"list",
2188
- "member":{"shape":"StepSummary"}
2189
- },
2190
- "StepTimeline":{
2191
- "type":"structure",
2192
- "members":{
2193
- "CreationDateTime":{
2194
- "shape":"Date",
2195
- "documentation":"<p>The date and time when the cluster step was created. </p>"
2196
- },
2197
- "StartDateTime":{
2198
- "shape":"Date",
2199
- "documentation":"<p>The date and time when the cluster step execution started. </p>"
2200
- },
2201
- "EndDateTime":{
2202
- "shape":"Date",
2203
- "documentation":"<p>The date and time when the cluster step execution completed or failed. </p>"
2204
- }
2205
- },
2206
- "documentation":"<p>The timeline of the cluster step lifecycle. </p>"
2207
- },
2208
- "String":{"type":"string"},
2209
- "StringList":{
2210
- "type":"list",
2211
- "member":{"shape":"String"}
2212
- },
2213
- "StringMap":{
2214
- "type":"map",
2215
- "key":{"shape":"String"},
2216
- "value":{"shape":"String"}
2217
- },
2218
- "SupportedProductConfig":{
2219
- "type":"structure",
2220
- "members":{
2221
- "Name":{
2222
- "shape":"XmlStringMaxLen256",
2223
- "documentation":"<p>The name of the product configuration.</p>"
2224
- },
2225
- "Args":{
2226
- "shape":"XmlStringList",
2227
- "documentation":"<p>The list of user-supplied arguments.</p>"
2228
- }
2229
- },
2230
- "documentation":"<p>The list of supported product configurations which allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments. </p>"
2231
- },
2232
- "SupportedProductsList":{
2233
- "type":"list",
2234
- "member":{"shape":"XmlStringMaxLen256"}
2235
- },
2236
- "Tag":{
2237
- "type":"structure",
2238
- "members":{
2239
- "Key":{
2240
- "shape":"String",
2241
- "documentation":"<p>A user-defined key, which is the minimum required information for a valid tag. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. </p>"
2242
- },
2243
- "Value":{
2244
- "shape":"String",
2245
- "documentation":"<p>A user-defined value, which is optional in a tag. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html\">Tagging Amazon EMR Resources</a>. </p>"
2246
- }
2247
- },
2248
- "documentation":"<p>A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clu\\ sters 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>"
2249
- },
2250
- "TagList":{
2251
- "type":"list",
2252
- "member":{"shape":"Tag"}
2253
- },
2254
- "TerminateJobFlowsInput":{
2255
- "type":"structure",
2256
- "required":["JobFlowIds"],
2257
- "members":{
2258
- "JobFlowIds":{
2259
- "shape":"XmlStringList",
2260
- "documentation":"<p>A list of job flows to be shutdown.</p>"
2261
- }
2262
- },
2263
- "documentation":"<p> Input to the <a>TerminateJobFlows</a> operation. </p>"
2264
- },
2265
- "XmlString":{
2266
- "type":"string",
2267
- "min":0,
2268
- "max":10280,
2269
- "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
2270
- },
2271
- "XmlStringList":{
2272
- "type":"list",
2273
- "member":{"shape":"XmlString"}
2274
- },
2275
- "XmlStringMaxLen256":{
2276
- "type":"string",
2277
- "min":0,
2278
- "max":256,
2279
- "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
2280
- }
2281
- }
2282
- }