/api/vendor/aws/aws-sdk-php/src/Aws/Emr/Resources/emr-2009-03-31.php

https://gitlab.com/x33n/respond · PHP · 1213 lines · 1197 code · 2 blank · 14 comment · 0 complexity · 5638e9ce173383cc80654af2876d938f MD5 · raw file

  1. <?php
  2. /**
  3. * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License").
  6. * You may not use this file except in compliance with the License.
  7. * A copy of the License is located at
  8. *
  9. * http://aws.amazon.com/apache2.0
  10. *
  11. * or in the "license" file accompanying this file. This file is distributed
  12. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  13. * express or implied. See the License for the specific language governing
  14. * permissions and limitations under the License.
  15. */
  16. return array (
  17. 'apiVersion' => '2009-03-31',
  18. 'endpointPrefix' => 'elasticmapreduce',
  19. 'serviceFullName' => 'Amazon Elastic MapReduce',
  20. 'serviceAbbreviation' => 'Amazon EMR',
  21. 'serviceType' => 'json',
  22. 'jsonVersion' => '1.1',
  23. 'targetPrefix' => 'ElasticMapReduce.',
  24. 'timestampFormat' => 'unixTimestamp',
  25. 'signatureVersion' => 'v4',
  26. 'namespace' => 'Emr',
  27. 'regions' => array(
  28. 'us-east-1' => array(
  29. 'http' => true,
  30. 'https' => true,
  31. 'hostname' => 'elasticmapreduce.us-east-1.amazonaws.com',
  32. ),
  33. 'us-west-1' => array(
  34. 'http' => true,
  35. 'https' => true,
  36. 'hostname' => 'elasticmapreduce.us-west-1.amazonaws.com',
  37. ),
  38. 'us-west-2' => array(
  39. 'http' => true,
  40. 'https' => true,
  41. 'hostname' => 'elasticmapreduce.us-west-2.amazonaws.com',
  42. ),
  43. 'eu-west-1' => array(
  44. 'http' => true,
  45. 'https' => true,
  46. 'hostname' => 'elasticmapreduce.eu-west-1.amazonaws.com',
  47. ),
  48. 'ap-northeast-1' => array(
  49. 'http' => true,
  50. 'https' => true,
  51. 'hostname' => 'elasticmapreduce.ap-northeast-1.amazonaws.com',
  52. ),
  53. 'ap-southeast-1' => array(
  54. 'http' => true,
  55. 'https' => true,
  56. 'hostname' => 'elasticmapreduce.ap-southeast-1.amazonaws.com',
  57. ),
  58. 'ap-southeast-2' => array(
  59. 'http' => true,
  60. 'https' => true,
  61. 'hostname' => 'elasticmapreduce.ap-southeast-2.amazonaws.com',
  62. ),
  63. 'sa-east-1' => array(
  64. 'http' => true,
  65. 'https' => true,
  66. 'hostname' => 'elasticmapreduce.sa-east-1.amazonaws.com',
  67. ),
  68. 'cn-north-1' => array(
  69. 'http' => true,
  70. 'https' => true,
  71. 'hostname' => 'elasticmapreduce.cn-north-1.amazonaws.com.cn',
  72. ),
  73. 'us-gov-west-1' => array(
  74. 'http' => true,
  75. 'https' => true,
  76. 'hostname' => 'elasticmapreduce.us-gov-west-1.amazonaws.com',
  77. ),
  78. ),
  79. 'operations' => array(
  80. 'AddInstanceGroups' => array(
  81. 'httpMethod' => 'POST',
  82. 'uri' => '/',
  83. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  84. 'responseClass' => 'AddInstanceGroupsOutput',
  85. 'responseType' => 'model',
  86. 'parameters' => array(
  87. 'Content-Type' => array(
  88. 'static' => true,
  89. 'location' => 'header',
  90. 'default' => 'application/x-amz-json-1.1',
  91. ),
  92. 'command.expects' => array(
  93. 'static' => true,
  94. 'default' => 'application/json',
  95. ),
  96. 'X-Amz-Target' => array(
  97. 'static' => true,
  98. 'location' => 'header',
  99. 'default' => 'ElasticMapReduce.AddInstanceGroups',
  100. ),
  101. 'InstanceGroups' => array(
  102. 'required' => true,
  103. 'type' => 'array',
  104. 'location' => 'json',
  105. 'items' => array(
  106. 'name' => 'InstanceGroupConfig',
  107. 'type' => 'object',
  108. 'properties' => array(
  109. 'Name' => array(
  110. 'type' => 'string',
  111. 'maxLength' => 256,
  112. ),
  113. 'Market' => array(
  114. 'type' => 'string',
  115. ),
  116. 'InstanceRole' => array(
  117. 'required' => true,
  118. 'type' => 'string',
  119. ),
  120. 'BidPrice' => array(
  121. 'type' => 'string',
  122. 'maxLength' => 256,
  123. ),
  124. 'InstanceType' => array(
  125. 'required' => true,
  126. 'type' => 'string',
  127. 'minLength' => 1,
  128. 'maxLength' => 256,
  129. ),
  130. 'InstanceCount' => array(
  131. 'required' => true,
  132. 'type' => 'numeric',
  133. ),
  134. ),
  135. ),
  136. ),
  137. 'JobFlowId' => array(
  138. 'required' => true,
  139. 'type' => 'string',
  140. 'location' => 'json',
  141. 'maxLength' => 256,
  142. ),
  143. ),
  144. 'errorResponses' => array(
  145. array(
  146. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  147. 'class' => 'InternalServerErrorException',
  148. ),
  149. ),
  150. ),
  151. 'AddJobFlowSteps' => array(
  152. 'httpMethod' => 'POST',
  153. 'uri' => '/',
  154. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  155. 'responseClass' => 'AddJobFlowStepsOutput',
  156. 'responseType' => 'model',
  157. 'parameters' => array(
  158. 'Content-Type' => array(
  159. 'static' => true,
  160. 'location' => 'header',
  161. 'default' => 'application/x-amz-json-1.1',
  162. ),
  163. 'command.expects' => array(
  164. 'static' => true,
  165. 'default' => 'application/json',
  166. ),
  167. 'X-Amz-Target' => array(
  168. 'static' => true,
  169. 'location' => 'header',
  170. 'default' => 'ElasticMapReduce.AddJobFlowSteps',
  171. ),
  172. 'JobFlowId' => array(
  173. 'required' => true,
  174. 'type' => 'string',
  175. 'location' => 'json',
  176. 'maxLength' => 256,
  177. ),
  178. 'Steps' => array(
  179. 'required' => true,
  180. 'type' => 'array',
  181. 'location' => 'json',
  182. 'items' => array(
  183. 'name' => 'StepConfig',
  184. 'type' => 'object',
  185. 'properties' => array(
  186. 'Name' => array(
  187. 'required' => true,
  188. 'type' => 'string',
  189. 'maxLength' => 256,
  190. ),
  191. 'ActionOnFailure' => array(
  192. 'type' => 'string',
  193. ),
  194. 'HadoopJarStep' => array(
  195. 'required' => true,
  196. 'type' => 'object',
  197. 'properties' => array(
  198. 'Properties' => array(
  199. 'type' => 'array',
  200. 'items' => array(
  201. 'name' => 'KeyValue',
  202. 'type' => 'object',
  203. 'properties' => array(
  204. 'Key' => array(
  205. 'type' => 'string',
  206. 'maxLength' => 10280,
  207. ),
  208. 'Value' => array(
  209. 'type' => 'string',
  210. 'maxLength' => 10280,
  211. ),
  212. ),
  213. ),
  214. ),
  215. 'Jar' => array(
  216. 'required' => true,
  217. 'type' => 'string',
  218. 'maxLength' => 10280,
  219. ),
  220. 'MainClass' => array(
  221. 'type' => 'string',
  222. 'maxLength' => 10280,
  223. ),
  224. 'Args' => array(
  225. 'type' => 'array',
  226. 'items' => array(
  227. 'name' => 'XmlString',
  228. 'type' => 'string',
  229. 'maxLength' => 10280,
  230. ),
  231. ),
  232. ),
  233. ),
  234. ),
  235. ),
  236. ),
  237. ),
  238. 'errorResponses' => array(
  239. array(
  240. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  241. 'class' => 'InternalServerErrorException',
  242. ),
  243. ),
  244. ),
  245. 'AddTags' => array(
  246. 'httpMethod' => 'POST',
  247. 'uri' => '/',
  248. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  249. 'responseClass' => 'EmptyOutput',
  250. 'responseType' => 'model',
  251. 'parameters' => array(
  252. 'Content-Type' => array(
  253. 'static' => true,
  254. 'location' => 'header',
  255. 'default' => 'application/x-amz-json-1.1',
  256. ),
  257. 'command.expects' => array(
  258. 'static' => true,
  259. 'default' => 'application/json',
  260. ),
  261. 'X-Amz-Target' => array(
  262. 'static' => true,
  263. 'location' => 'header',
  264. 'default' => 'ElasticMapReduce.AddTags',
  265. ),
  266. 'ResourceId' => array(
  267. 'required' => true,
  268. 'type' => 'string',
  269. 'location' => 'json',
  270. ),
  271. 'Tags' => array(
  272. 'required' => true,
  273. 'type' => 'array',
  274. 'location' => 'json',
  275. 'items' => array(
  276. 'name' => 'Tag',
  277. 'type' => 'object',
  278. 'properties' => array(
  279. 'Key' => array(
  280. 'type' => 'string',
  281. ),
  282. 'Value' => array(
  283. 'type' => 'string',
  284. ),
  285. ),
  286. ),
  287. ),
  288. ),
  289. 'errorResponses' => array(
  290. array(
  291. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  292. 'class' => 'InternalServerException',
  293. ),
  294. array(
  295. 'reason' => 'This exception occurs when there is something wrong with user input.',
  296. 'class' => 'InvalidRequestException',
  297. ),
  298. ),
  299. ),
  300. 'DescribeCluster' => array(
  301. 'httpMethod' => 'POST',
  302. 'uri' => '/',
  303. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  304. 'responseClass' => 'DescribeClusterOutput',
  305. 'responseType' => 'model',
  306. 'parameters' => array(
  307. 'Content-Type' => array(
  308. 'static' => true,
  309. 'location' => 'header',
  310. 'default' => 'application/x-amz-json-1.1',
  311. ),
  312. 'command.expects' => array(
  313. 'static' => true,
  314. 'default' => 'application/json',
  315. ),
  316. 'X-Amz-Target' => array(
  317. 'static' => true,
  318. 'location' => 'header',
  319. 'default' => 'ElasticMapReduce.DescribeCluster',
  320. ),
  321. 'ClusterId' => array(
  322. 'required' => true,
  323. 'type' => 'string',
  324. 'location' => 'json',
  325. ),
  326. ),
  327. 'errorResponses' => array(
  328. array(
  329. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  330. 'class' => 'InternalServerException',
  331. ),
  332. array(
  333. 'reason' => 'This exception occurs when there is something wrong with user input.',
  334. 'class' => 'InvalidRequestException',
  335. ),
  336. ),
  337. ),
  338. 'DescribeJobFlows' => array(
  339. 'httpMethod' => 'POST',
  340. 'uri' => '/',
  341. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  342. 'responseClass' => 'DescribeJobFlowsOutput',
  343. 'responseType' => 'model',
  344. 'parameters' => array(
  345. 'Content-Type' => array(
  346. 'static' => true,
  347. 'location' => 'header',
  348. 'default' => 'application/x-amz-json-1.1',
  349. ),
  350. 'command.expects' => array(
  351. 'static' => true,
  352. 'default' => 'application/json',
  353. ),
  354. 'X-Amz-Target' => array(
  355. 'static' => true,
  356. 'location' => 'header',
  357. 'default' => 'ElasticMapReduce.DescribeJobFlows',
  358. ),
  359. 'CreatedAfter' => array(
  360. 'type' => array(
  361. 'object',
  362. 'string',
  363. 'integer',
  364. ),
  365. 'format' => 'timestamp',
  366. 'location' => 'json',
  367. ),
  368. 'CreatedBefore' => array(
  369. 'type' => array(
  370. 'object',
  371. 'string',
  372. 'integer',
  373. ),
  374. 'format' => 'timestamp',
  375. 'location' => 'json',
  376. ),
  377. 'JobFlowIds' => array(
  378. 'type' => 'array',
  379. 'location' => 'json',
  380. 'items' => array(
  381. 'name' => 'XmlString',
  382. 'type' => 'string',
  383. 'maxLength' => 10280,
  384. ),
  385. ),
  386. 'JobFlowStates' => array(
  387. 'type' => 'array',
  388. 'location' => 'json',
  389. 'items' => array(
  390. 'name' => 'JobFlowExecutionState',
  391. 'type' => 'string',
  392. ),
  393. ),
  394. ),
  395. 'errorResponses' => array(
  396. array(
  397. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  398. 'class' => 'InternalServerErrorException',
  399. ),
  400. ),
  401. ),
  402. 'DescribeStep' => array(
  403. 'httpMethod' => 'POST',
  404. 'uri' => '/',
  405. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  406. 'responseClass' => 'DescribeStepOutput',
  407. 'responseType' => 'model',
  408. 'parameters' => array(
  409. 'Content-Type' => array(
  410. 'static' => true,
  411. 'location' => 'header',
  412. 'default' => 'application/x-amz-json-1.1',
  413. ),
  414. 'command.expects' => array(
  415. 'static' => true,
  416. 'default' => 'application/json',
  417. ),
  418. 'X-Amz-Target' => array(
  419. 'static' => true,
  420. 'location' => 'header',
  421. 'default' => 'ElasticMapReduce.DescribeStep',
  422. ),
  423. 'ClusterId' => array(
  424. 'required' => true,
  425. 'type' => 'string',
  426. 'location' => 'json',
  427. ),
  428. 'StepId' => array(
  429. 'required' => true,
  430. 'type' => 'string',
  431. 'location' => 'json',
  432. ),
  433. ),
  434. 'errorResponses' => array(
  435. array(
  436. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  437. 'class' => 'InternalServerException',
  438. ),
  439. array(
  440. 'reason' => 'This exception occurs when there is something wrong with user input.',
  441. 'class' => 'InvalidRequestException',
  442. ),
  443. ),
  444. ),
  445. 'ListBootstrapActions' => array(
  446. 'httpMethod' => 'POST',
  447. 'uri' => '/',
  448. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  449. 'responseClass' => 'ListBootstrapActionsOutput',
  450. 'responseType' => 'model',
  451. 'parameters' => array(
  452. 'Content-Type' => array(
  453. 'static' => true,
  454. 'location' => 'header',
  455. 'default' => 'application/x-amz-json-1.1',
  456. ),
  457. 'command.expects' => array(
  458. 'static' => true,
  459. 'default' => 'application/json',
  460. ),
  461. 'X-Amz-Target' => array(
  462. 'static' => true,
  463. 'location' => 'header',
  464. 'default' => 'ElasticMapReduce.ListBootstrapActions',
  465. ),
  466. 'ClusterId' => array(
  467. 'required' => true,
  468. 'type' => 'string',
  469. 'location' => 'json',
  470. ),
  471. 'Marker' => array(
  472. 'type' => 'string',
  473. 'location' => 'json',
  474. ),
  475. ),
  476. 'errorResponses' => array(
  477. array(
  478. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  479. 'class' => 'InternalServerException',
  480. ),
  481. array(
  482. 'reason' => 'This exception occurs when there is something wrong with user input.',
  483. 'class' => 'InvalidRequestException',
  484. ),
  485. ),
  486. ),
  487. 'ListClusters' => array(
  488. 'httpMethod' => 'POST',
  489. 'uri' => '/',
  490. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  491. 'responseClass' => 'ListClustersOutput',
  492. 'responseType' => 'model',
  493. 'parameters' => array(
  494. 'Content-Type' => array(
  495. 'static' => true,
  496. 'location' => 'header',
  497. 'default' => 'application/x-amz-json-1.1',
  498. ),
  499. 'command.expects' => array(
  500. 'static' => true,
  501. 'default' => 'application/json',
  502. ),
  503. 'X-Amz-Target' => array(
  504. 'static' => true,
  505. 'location' => 'header',
  506. 'default' => 'ElasticMapReduce.ListClusters',
  507. ),
  508. 'CreatedAfter' => array(
  509. 'type' => array(
  510. 'object',
  511. 'string',
  512. 'integer',
  513. ),
  514. 'format' => 'timestamp',
  515. 'location' => 'json',
  516. ),
  517. 'CreatedBefore' => array(
  518. 'type' => array(
  519. 'object',
  520. 'string',
  521. 'integer',
  522. ),
  523. 'format' => 'timestamp',
  524. 'location' => 'json',
  525. ),
  526. 'ClusterStates' => array(
  527. 'type' => 'array',
  528. 'location' => 'json',
  529. 'items' => array(
  530. 'name' => 'ClusterState',
  531. 'type' => 'string',
  532. ),
  533. ),
  534. 'Marker' => array(
  535. 'type' => 'string',
  536. 'location' => 'json',
  537. ),
  538. ),
  539. 'errorResponses' => array(
  540. array(
  541. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  542. 'class' => 'InternalServerException',
  543. ),
  544. array(
  545. 'reason' => 'This exception occurs when there is something wrong with user input.',
  546. 'class' => 'InvalidRequestException',
  547. ),
  548. ),
  549. ),
  550. 'ListInstanceGroups' => array(
  551. 'httpMethod' => 'POST',
  552. 'uri' => '/',
  553. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  554. 'responseClass' => 'ListInstanceGroupsOutput',
  555. 'responseType' => 'model',
  556. 'parameters' => array(
  557. 'Content-Type' => array(
  558. 'static' => true,
  559. 'location' => 'header',
  560. 'default' => 'application/x-amz-json-1.1',
  561. ),
  562. 'command.expects' => array(
  563. 'static' => true,
  564. 'default' => 'application/json',
  565. ),
  566. 'X-Amz-Target' => array(
  567. 'static' => true,
  568. 'location' => 'header',
  569. 'default' => 'ElasticMapReduce.ListInstanceGroups',
  570. ),
  571. 'ClusterId' => array(
  572. 'required' => true,
  573. 'type' => 'string',
  574. 'location' => 'json',
  575. ),
  576. 'Marker' => array(
  577. 'type' => 'string',
  578. 'location' => 'json',
  579. ),
  580. ),
  581. 'errorResponses' => array(
  582. array(
  583. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  584. 'class' => 'InternalServerException',
  585. ),
  586. array(
  587. 'reason' => 'This exception occurs when there is something wrong with user input.',
  588. 'class' => 'InvalidRequestException',
  589. ),
  590. ),
  591. ),
  592. 'ListInstances' => array(
  593. 'httpMethod' => 'POST',
  594. 'uri' => '/',
  595. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  596. 'responseClass' => 'ListInstancesOutput',
  597. 'responseType' => 'model',
  598. 'parameters' => array(
  599. 'Content-Type' => array(
  600. 'static' => true,
  601. 'location' => 'header',
  602. 'default' => 'application/x-amz-json-1.1',
  603. ),
  604. 'command.expects' => array(
  605. 'static' => true,
  606. 'default' => 'application/json',
  607. ),
  608. 'X-Amz-Target' => array(
  609. 'static' => true,
  610. 'location' => 'header',
  611. 'default' => 'ElasticMapReduce.ListInstances',
  612. ),
  613. 'ClusterId' => array(
  614. 'required' => true,
  615. 'type' => 'string',
  616. 'location' => 'json',
  617. ),
  618. 'InstanceGroupId' => array(
  619. 'type' => 'string',
  620. 'location' => 'json',
  621. ),
  622. 'InstanceGroupTypes' => array(
  623. 'type' => 'array',
  624. 'location' => 'json',
  625. 'items' => array(
  626. 'name' => 'InstanceGroupType',
  627. 'type' => 'string',
  628. ),
  629. ),
  630. 'Marker' => array(
  631. 'type' => 'string',
  632. 'location' => 'json',
  633. ),
  634. ),
  635. 'errorResponses' => array(
  636. array(
  637. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  638. 'class' => 'InternalServerException',
  639. ),
  640. array(
  641. 'reason' => 'This exception occurs when there is something wrong with user input.',
  642. 'class' => 'InvalidRequestException',
  643. ),
  644. ),
  645. ),
  646. 'ListSteps' => array(
  647. 'httpMethod' => 'POST',
  648. 'uri' => '/',
  649. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  650. 'responseClass' => 'ListStepsOutput',
  651. 'responseType' => 'model',
  652. 'parameters' => array(
  653. 'Content-Type' => array(
  654. 'static' => true,
  655. 'location' => 'header',
  656. 'default' => 'application/x-amz-json-1.1',
  657. ),
  658. 'command.expects' => array(
  659. 'static' => true,
  660. 'default' => 'application/json',
  661. ),
  662. 'X-Amz-Target' => array(
  663. 'static' => true,
  664. 'location' => 'header',
  665. 'default' => 'ElasticMapReduce.ListSteps',
  666. ),
  667. 'ClusterId' => array(
  668. 'required' => true,
  669. 'type' => 'string',
  670. 'location' => 'json',
  671. ),
  672. 'StepStates' => array(
  673. 'type' => 'array',
  674. 'location' => 'json',
  675. 'items' => array(
  676. 'name' => 'StepState',
  677. 'type' => 'string',
  678. ),
  679. ),
  680. 'StepIds' => array(
  681. 'type' => 'array',
  682. 'location' => 'json',
  683. 'items' => array(
  684. 'name' => 'XmlString',
  685. 'type' => 'string',
  686. 'maxLength' => 10280,
  687. ),
  688. ),
  689. 'Marker' => array(
  690. 'type' => 'string',
  691. 'location' => 'json',
  692. ),
  693. ),
  694. 'errorResponses' => array(
  695. array(
  696. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  697. 'class' => 'InternalServerException',
  698. ),
  699. array(
  700. 'reason' => 'This exception occurs when there is something wrong with user input.',
  701. 'class' => 'InvalidRequestException',
  702. ),
  703. ),
  704. ),
  705. 'ModifyInstanceGroups' => array(
  706. 'httpMethod' => 'POST',
  707. 'uri' => '/',
  708. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  709. 'responseClass' => 'EmptyOutput',
  710. 'responseType' => 'model',
  711. 'parameters' => array(
  712. 'Content-Type' => array(
  713. 'static' => true,
  714. 'location' => 'header',
  715. 'default' => 'application/x-amz-json-1.1',
  716. ),
  717. 'command.expects' => array(
  718. 'static' => true,
  719. 'default' => 'application/json',
  720. ),
  721. 'X-Amz-Target' => array(
  722. 'static' => true,
  723. 'location' => 'header',
  724. 'default' => 'ElasticMapReduce.ModifyInstanceGroups',
  725. ),
  726. 'InstanceGroups' => array(
  727. 'type' => 'array',
  728. 'location' => 'json',
  729. 'items' => array(
  730. 'name' => 'InstanceGroupModifyConfig',
  731. 'type' => 'object',
  732. 'properties' => array(
  733. 'InstanceGroupId' => array(
  734. 'required' => true,
  735. 'type' => 'string',
  736. 'maxLength' => 256,
  737. ),
  738. 'InstanceCount' => array(
  739. 'type' => 'numeric',
  740. ),
  741. 'EC2InstanceIdsToTerminate' => array(
  742. 'type' => 'array',
  743. 'items' => array(
  744. 'name' => 'InstanceId',
  745. 'type' => 'string',
  746. ),
  747. ),
  748. ),
  749. ),
  750. ),
  751. ),
  752. 'errorResponses' => array(
  753. array(
  754. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  755. 'class' => 'InternalServerErrorException',
  756. ),
  757. ),
  758. ),
  759. 'RemoveTags' => array(
  760. 'httpMethod' => 'POST',
  761. 'uri' => '/',
  762. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  763. 'responseClass' => 'EmptyOutput',
  764. 'responseType' => 'model',
  765. 'parameters' => array(
  766. 'Content-Type' => array(
  767. 'static' => true,
  768. 'location' => 'header',
  769. 'default' => 'application/x-amz-json-1.1',
  770. ),
  771. 'command.expects' => array(
  772. 'static' => true,
  773. 'default' => 'application/json',
  774. ),
  775. 'X-Amz-Target' => array(
  776. 'static' => true,
  777. 'location' => 'header',
  778. 'default' => 'ElasticMapReduce.RemoveTags',
  779. ),
  780. 'ResourceId' => array(
  781. 'required' => true,
  782. 'type' => 'string',
  783. 'location' => 'json',
  784. ),
  785. 'TagKeys' => array(
  786. 'required' => true,
  787. 'type' => 'array',
  788. 'location' => 'json',
  789. 'items' => array(
  790. 'name' => 'String',
  791. 'type' => 'string',
  792. ),
  793. ),
  794. ),
  795. 'errorResponses' => array(
  796. array(
  797. 'reason' => 'This exception occurs when there is an internal failure in the EMR service.',
  798. 'class' => 'InternalServerException',
  799. ),
  800. array(
  801. 'reason' => 'This exception occurs when there is something wrong with user input.',
  802. 'class' => 'InvalidRequestException',
  803. ),
  804. ),
  805. ),
  806. 'RunJobFlow' => array(
  807. 'httpMethod' => 'POST',
  808. 'uri' => '/',
  809. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  810. 'responseClass' => 'RunJobFlowOutput',
  811. 'responseType' => 'model',
  812. 'parameters' => array(
  813. 'Content-Type' => array(
  814. 'static' => true,
  815. 'location' => 'header',
  816. 'default' => 'application/x-amz-json-1.1',
  817. ),
  818. 'command.expects' => array(
  819. 'static' => true,
  820. 'default' => 'application/json',
  821. ),
  822. 'X-Amz-Target' => array(
  823. 'static' => true,
  824. 'location' => 'header',
  825. 'default' => 'ElasticMapReduce.RunJobFlow',
  826. ),
  827. 'Name' => array(
  828. 'required' => true,
  829. 'type' => 'string',
  830. 'location' => 'json',
  831. 'maxLength' => 256,
  832. ),
  833. 'LogUri' => array(
  834. 'type' => 'string',
  835. 'location' => 'json',
  836. 'maxLength' => 10280,
  837. ),
  838. 'AdditionalInfo' => array(
  839. 'type' => 'string',
  840. 'location' => 'json',
  841. 'maxLength' => 10280,
  842. ),
  843. 'AmiVersion' => array(
  844. 'type' => 'string',
  845. 'location' => 'json',
  846. 'maxLength' => 256,
  847. ),
  848. 'Instances' => array(
  849. 'required' => true,
  850. 'type' => 'object',
  851. 'location' => 'json',
  852. 'properties' => array(
  853. 'MasterInstanceType' => array(
  854. 'type' => 'string',
  855. 'minLength' => 1,
  856. 'maxLength' => 256,
  857. ),
  858. 'SlaveInstanceType' => array(
  859. 'type' => 'string',
  860. 'minLength' => 1,
  861. 'maxLength' => 256,
  862. ),
  863. 'InstanceCount' => array(
  864. 'type' => 'numeric',
  865. ),
  866. 'InstanceGroups' => array(
  867. 'type' => 'array',
  868. 'items' => array(
  869. 'name' => 'InstanceGroupConfig',
  870. 'type' => 'object',
  871. 'properties' => array(
  872. 'Name' => array(
  873. 'type' => 'string',
  874. 'maxLength' => 256,
  875. ),
  876. 'Market' => array(
  877. 'type' => 'string',
  878. ),
  879. 'InstanceRole' => array(
  880. 'required' => true,
  881. 'type' => 'string',
  882. ),
  883. 'BidPrice' => array(
  884. 'type' => 'string',
  885. 'maxLength' => 256,
  886. ),
  887. 'InstanceType' => array(
  888. 'required' => true,
  889. 'type' => 'string',
  890. 'minLength' => 1,
  891. 'maxLength' => 256,
  892. ),
  893. 'InstanceCount' => array(
  894. 'required' => true,
  895. 'type' => 'numeric',
  896. ),
  897. ),
  898. ),
  899. ),
  900. 'Ec2KeyName' => array(
  901. 'type' => 'string',
  902. 'maxLength' => 256,
  903. ),
  904. 'Placement' => array(
  905. 'type' => 'object',
  906. 'properties' => array(
  907. 'AvailabilityZone' => array(
  908. 'required' => true,
  909. 'type' => 'string',
  910. 'maxLength' => 10280,
  911. ),
  912. ),
  913. ),
  914. 'KeepJobFlowAliveWhenNoSteps' => array(
  915. 'type' => 'boolean',
  916. 'format' => 'boolean-string',
  917. ),
  918. 'TerminationProtected' => array(
  919. 'type' => 'boolean',
  920. 'format' => 'boolean-string',
  921. ),
  922. 'HadoopVersion' => array(
  923. 'type' => 'string',
  924. 'maxLength' => 256,
  925. ),
  926. 'Ec2SubnetId' => array(
  927. 'type' => 'string',
  928. 'maxLength' => 256,
  929. ),
  930. ),
  931. ),
  932. 'Steps' => array(
  933. 'type' => 'array',
  934. 'location' => 'json',
  935. 'items' => array(
  936. 'name' => 'StepConfig',
  937. 'type' => 'object',
  938. 'properties' => array(
  939. 'Name' => array(
  940. 'required' => true,
  941. 'type' => 'string',
  942. 'maxLength' => 256,
  943. ),
  944. 'ActionOnFailure' => array(
  945. 'type' => 'string',
  946. ),
  947. 'HadoopJarStep' => array(
  948. 'required' => true,
  949. 'type' => 'object',
  950. 'properties' => array(
  951. 'Properties' => array(
  952. 'type' => 'array',
  953. 'items' => array(
  954. 'name' => 'KeyValue',
  955. 'type' => 'object',
  956. 'properties' => array(
  957. 'Key' => array(
  958. 'type' => 'string',
  959. 'maxLength' => 10280,
  960. ),
  961. 'Value' => array(
  962. 'type' => 'string',
  963. 'maxLength' => 10280,
  964. ),
  965. ),
  966. ),
  967. ),
  968. 'Jar' => array(
  969. 'required' => true,
  970. 'type' => 'string',
  971. 'maxLength' => 10280,
  972. ),
  973. 'MainClass' => array(
  974. 'type' => 'string',
  975. 'maxLength' => 10280,
  976. ),
  977. 'Args' => array(
  978. 'type' => 'array',
  979. 'items' => array(
  980. 'name' => 'XmlString',
  981. 'type' => 'string',
  982. 'maxLength' => 10280,
  983. ),
  984. ),
  985. ),
  986. ),
  987. ),
  988. ),
  989. ),
  990. 'BootstrapActions' => array(
  991. 'type' => 'array',
  992. 'location' => 'json',
  993. 'items' => array(
  994. 'name' => 'BootstrapActionConfig',
  995. 'type' => 'object',
  996. 'properties' => array(
  997. 'Name' => array(
  998. 'required' => true,
  999. 'type' => 'string',
  1000. 'maxLength' => 256,
  1001. ),
  1002. 'ScriptBootstrapAction' => array(
  1003. 'required' => true,
  1004. 'type' => 'object',
  1005. 'properties' => array(
  1006. 'Path' => array(
  1007. 'required' => true,
  1008. 'type' => 'string',
  1009. 'maxLength' => 10280,
  1010. ),
  1011. 'Args' => array(
  1012. 'type' => 'array',
  1013. 'items' => array(
  1014. 'name' => 'XmlString',
  1015. 'type' => 'string',
  1016. 'maxLength' => 10280,
  1017. ),
  1018. ),
  1019. ),
  1020. ),
  1021. ),
  1022. ),
  1023. ),
  1024. 'SupportedProducts' => array(
  1025. 'type' => 'array',
  1026. 'location' => 'json',
  1027. 'items' => array(
  1028. 'name' => 'XmlStringMaxLen256',
  1029. 'type' => 'string',
  1030. 'maxLength' => 256,
  1031. ),
  1032. ),
  1033. 'NewSupportedProducts' => array(
  1034. 'type' => 'array',
  1035. 'location' => 'json',
  1036. 'items' => array(
  1037. 'name' => 'SupportedProductConfig',
  1038. 'type' => 'object',
  1039. 'properties' => array(
  1040. 'Name' => array(
  1041. 'type' => 'string',
  1042. 'maxLength' => 256,
  1043. ),
  1044. 'Args' => array(
  1045. 'type' => 'array',
  1046. 'items' => array(
  1047. 'name' => 'XmlString',
  1048. 'type' => 'string',
  1049. 'maxLength' => 10280,
  1050. ),
  1051. ),
  1052. ),
  1053. ),
  1054. ),
  1055. 'VisibleToAllUsers' => array(
  1056. 'type' => 'boolean',
  1057. 'format' => 'boolean-string',
  1058. 'location' => 'json',
  1059. ),
  1060. 'JobFlowRole' => array(
  1061. 'type' => 'string',
  1062. 'location' => 'json',
  1063. 'maxLength' => 10280,
  1064. ),
  1065. 'ServiceRole' => array(
  1066. 'type' => 'string',
  1067. 'location' => 'json',
  1068. 'maxLength' => 10280,
  1069. ),
  1070. 'Tags' => array(
  1071. 'type' => 'array',
  1072. 'location' => 'json',
  1073. 'items' => array(
  1074. 'name' => 'Tag',
  1075. 'type' => 'object',
  1076. 'properties' => array(
  1077. 'Key' => array(
  1078. 'type' => 'string',
  1079. ),
  1080. 'Value' => array(
  1081. 'type' => 'string',
  1082. ),
  1083. ),
  1084. ),
  1085. ),
  1086. ),
  1087. 'errorResponses' => array(
  1088. array(
  1089. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  1090. 'class' => 'InternalServerErrorException',
  1091. ),
  1092. ),
  1093. ),
  1094. 'SetTerminationProtection' => array(
  1095. 'httpMethod' => 'POST',
  1096. 'uri' => '/',
  1097. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1098. 'responseClass' => 'EmptyOutput',
  1099. 'responseType' => 'model',
  1100. 'parameters' => array(
  1101. 'Content-Type' => array(
  1102. 'static' => true,
  1103. 'location' => 'header',
  1104. 'default' => 'application/x-amz-json-1.1',
  1105. ),
  1106. 'command.expects' => array(
  1107. 'static' => true,
  1108. 'default' => 'application/json',
  1109. ),
  1110. 'X-Amz-Target' => array(
  1111. 'static' => true,
  1112. 'location' => 'header',
  1113. 'default' => 'ElasticMapReduce.SetTerminationProtection',
  1114. ),
  1115. 'JobFlowIds' => array(
  1116. 'required' => true,
  1117. 'type' => 'array',
  1118. 'location' => 'json',
  1119. 'items' => array(
  1120. 'name' => 'XmlString',
  1121. 'type' => 'string',
  1122. 'maxLength' => 10280,
  1123. ),
  1124. ),
  1125. 'TerminationProtected' => array(
  1126. 'required' => true,
  1127. 'type' => 'boolean',
  1128. 'format' => 'boolean-string',
  1129. 'location' => 'json',
  1130. ),
  1131. ),
  1132. 'errorResponses' => array(
  1133. array(
  1134. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  1135. 'class' => 'InternalServerErrorException',
  1136. ),
  1137. ),
  1138. ),
  1139. 'SetVisibleToAllUsers' => array(
  1140. 'httpMethod' => 'POST',
  1141. 'uri' => '/',
  1142. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1143. 'responseClass' => 'EmptyOutput',
  1144. 'responseType' => 'model',
  1145. 'parameters' => array(
  1146. 'Content-Type' => array(
  1147. 'static' => true,
  1148. 'location' => 'header',
  1149. 'default' => 'application/x-amz-json-1.1',
  1150. ),
  1151. 'command.expects' => array(
  1152. 'static' => true,
  1153. 'default' => 'application/json',
  1154. ),
  1155. 'X-Amz-Target' => array(
  1156. 'static' => true,
  1157. 'location' => 'header',
  1158. 'default' => 'ElasticMapReduce.SetVisibleToAllUsers',
  1159. ),
  1160. 'JobFlowIds' => array(
  1161. 'required' => true,
  1162. 'type' => 'array',
  1163. 'location' => 'json',
  1164. 'items' => array(
  1165. 'name' => 'XmlString',
  1166. 'type' => 'string',
  1167. 'maxLength' => 10280,
  1168. ),
  1169. ),
  1170. 'VisibleToAllUsers' => array(
  1171. 'required' => true,
  1172. 'type' => 'boolean',
  1173. 'format' => 'boolean-string',
  1174. 'location' => 'json',
  1175. ),
  1176. ),
  1177. 'errorResponses' => array(
  1178. array(
  1179. 'reason' => 'Indicates that an error occurred while processing the request and that the request was not completed.',
  1180. 'class' => 'InternalServerErrorException',
  1181. ),
  1182. ),
  1183. ),
  1184. 'TerminateJobFlows' => array(
  1185. 'httpMethod' => 'POST',
  1186. 'uri' => '/',
  1187. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1188. 'responseClass' => 'EmptyOutput',
  1189. 'responseType' => 'model',
  1190. 'parameters' => array(
  1191. 'Content-Type' => array(
  1192. 'static' => true,
  1193. 'location' => 'header',
  1194. 'default' => 'application/x-amz-json-1.1',
  1195. ),
  1196. 'command.expects' => array(
  1197. 'static' => true,
  1198. 'default' => 'application/json',
  1199. ),
  1200. 'X-Amz-Target' => array(
  1201. 'static' => true,
  1202. 'location' => 'header',
  1203. 'default' => 'ElasticMapReduce.TerminateJobFlows',
  1204. ),
  1205. 'JobFlowIds' => array(
  1206. 'required' => true,
  1207. 'type' => 'array',
  1208. 'location' => 'json',
  1209. 'items' => array(
  1210. 'name' => 'XmlString',
  1211. 'type' => 'string',