/api/vendor/aws/aws-sdk-php/src/Aws/ElasticTranscoder/Resources/elastictranscoder-2012-09-25.php

https://gitlab.com/x33n/respond · PHP · 997 lines · 981 code · 2 blank · 14 comment · 0 complexity · b820693c46bdc763fc8a0b46ebcc7d72 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' => '2012-09-25',
  18. 'endpointPrefix' => 'elastictranscoder',
  19. 'serviceFullName' => 'Amazon Elastic Transcoder',
  20. 'serviceType' => 'rest-json',
  21. 'signatureVersion' => 'v4',
  22. 'namespace' => 'ElasticTranscoder',
  23. 'regions' => array(
  24. 'us-east-1' => array(
  25. 'http' => false,
  26. 'https' => true,
  27. 'hostname' => 'elastictranscoder.us-east-1.amazonaws.com',
  28. ),
  29. 'us-west-1' => array(
  30. 'http' => false,
  31. 'https' => true,
  32. 'hostname' => 'elastictranscoder.us-west-1.amazonaws.com',
  33. ),
  34. 'us-west-2' => array(
  35. 'http' => false,
  36. 'https' => true,
  37. 'hostname' => 'elastictranscoder.us-west-2.amazonaws.com',
  38. ),
  39. 'eu-west-1' => array(
  40. 'http' => false,
  41. 'https' => true,
  42. 'hostname' => 'elastictranscoder.eu-west-1.amazonaws.com',
  43. ),
  44. 'ap-northeast-1' => array(
  45. 'http' => false,
  46. 'https' => true,
  47. 'hostname' => 'elastictranscoder.ap-northeast-1.amazonaws.com',
  48. ),
  49. 'ap-southeast-1' => array(
  50. 'http' => false,
  51. 'https' => true,
  52. 'hostname' => 'elastictranscoder.ap-southeast-1.amazonaws.com',
  53. ),
  54. ),
  55. 'operations' => array(
  56. 'CancelJob' => array(
  57. 'httpMethod' => 'DELETE',
  58. 'uri' => '/2012-09-25/jobs/{Id}',
  59. 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
  60. 'responseClass' => 'EmptyOutput',
  61. 'responseType' => 'model',
  62. 'parameters' => array(
  63. 'Id' => array(
  64. 'required' => true,
  65. 'type' => 'string',
  66. 'location' => 'uri',
  67. ),
  68. ),
  69. 'errorResponses' => array(
  70. array(
  71. 'reason' => 'One or more required parameter values were not provided in the request.',
  72. 'class' => 'ValidationException',
  73. ),
  74. array(
  75. 'class' => 'IncompatibleVersionException',
  76. ),
  77. array(
  78. 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.',
  79. 'class' => 'ResourceNotFoundException',
  80. ),
  81. array(
  82. 'reason' => 'The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.',
  83. 'class' => 'ResourceInUseException',
  84. ),
  85. array(
  86. 'reason' => 'General authentication failure. The request was not signed correctly.',
  87. 'class' => 'AccessDeniedException',
  88. ),
  89. array(
  90. 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.',
  91. 'class' => 'InternalServiceException',
  92. ),
  93. ),
  94. ),
  95. 'CreateJob' => array(
  96. 'httpMethod' => 'POST',
  97. 'uri' => '/2012-09-25/jobs',
  98. 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
  99. 'responseClass' => 'CreateJobResponse',
  100. 'responseType' => 'model',
  101. 'parameters' => array(
  102. 'PipelineId' => array(
  103. 'required' => true,
  104. 'type' => 'string',
  105. 'location' => 'json',
  106. ),
  107. 'Input' => array(
  108. 'required' => true,
  109. 'type' => 'object',
  110. 'location' => 'json',
  111. 'properties' => array(
  112. 'Key' => array(
  113. 'type' => 'string',
  114. 'minLength' => 1,
  115. 'maxLength' => 255,
  116. ),
  117. 'FrameRate' => array(
  118. 'type' => 'string',
  119. ),
  120. 'Resolution' => array(
  121. 'type' => 'string',
  122. ),
  123. 'AspectRatio' => array(
  124. 'type' => 'string',
  125. ),
  126. 'Interlaced' => array(
  127. 'type' => 'string',
  128. ),
  129. 'Container' => array(
  130. 'type' => 'string',
  131. ),
  132. 'Encryption' => array(
  133. 'type' => 'object',
  134. 'properties' => array(
  135. 'Mode' => array(
  136. 'type' => 'string',
  137. ),
  138. 'Key' => array(
  139. 'type' => 'string',
  140. ),
  141. 'KeyMd5' => array(
  142. 'type' => 'string',
  143. ),
  144. 'InitializationVector' => array(
  145. 'type' => 'string',
  146. 'minLength' => 1,
  147. 'maxLength' => 255,
  148. ),
  149. ),
  150. ),
  151. ),
  152. ),
  153. 'Output' => array(
  154. 'type' => 'object',
  155. 'location' => 'json',
  156. 'properties' => array(
  157. 'Key' => array(
  158. 'type' => 'string',
  159. 'minLength' => 1,
  160. 'maxLength' => 255,
  161. ),
  162. 'ThumbnailPattern' => array(
  163. 'type' => 'string',
  164. ),
  165. 'ThumbnailEncryption' => array(
  166. 'type' => 'object',
  167. 'properties' => array(
  168. 'Mode' => array(
  169. 'type' => 'string',
  170. ),
  171. 'Key' => array(
  172. 'type' => 'string',
  173. ),
  174. 'KeyMd5' => array(
  175. 'type' => 'string',
  176. ),
  177. 'InitializationVector' => array(
  178. 'type' => 'string',
  179. 'minLength' => 1,
  180. 'maxLength' => 255,
  181. ),
  182. ),
  183. ),
  184. 'Rotate' => array(
  185. 'type' => 'string',
  186. ),
  187. 'PresetId' => array(
  188. 'type' => 'string',
  189. ),
  190. 'SegmentDuration' => array(
  191. 'type' => 'string',
  192. ),
  193. 'Watermarks' => array(
  194. 'type' => 'array',
  195. 'items' => array(
  196. 'name' => 'JobWatermark',
  197. 'type' => 'object',
  198. 'properties' => array(
  199. 'PresetWatermarkId' => array(
  200. 'type' => 'string',
  201. 'minLength' => 1,
  202. 'maxLength' => 40,
  203. ),
  204. 'InputKey' => array(
  205. 'type' => 'string',
  206. 'minLength' => 1,
  207. 'maxLength' => 255,
  208. ),
  209. 'Encryption' => array(
  210. 'type' => 'object',
  211. 'properties' => array(
  212. 'Mode' => array(
  213. 'type' => 'string',
  214. ),
  215. 'Key' => array(
  216. 'type' => 'string',
  217. ),
  218. 'KeyMd5' => array(
  219. 'type' => 'string',
  220. ),
  221. 'InitializationVector' => array(
  222. 'type' => 'string',
  223. 'minLength' => 1,
  224. 'maxLength' => 255,
  225. ),
  226. ),
  227. ),
  228. ),
  229. ),
  230. ),
  231. 'AlbumArt' => array(
  232. 'type' => 'object',
  233. 'properties' => array(
  234. 'MergePolicy' => array(
  235. 'type' => 'string',
  236. ),
  237. 'Artwork' => array(
  238. 'type' => 'array',
  239. 'items' => array(
  240. 'name' => 'Artwork',
  241. 'type' => 'object',
  242. 'properties' => array(
  243. 'InputKey' => array(
  244. 'type' => 'string',
  245. 'minLength' => 1,
  246. 'maxLength' => 255,
  247. ),
  248. 'MaxWidth' => array(
  249. 'type' => 'string',
  250. ),
  251. 'MaxHeight' => array(
  252. 'type' => 'string',
  253. ),
  254. 'SizingPolicy' => array(
  255. 'type' => 'string',
  256. ),
  257. 'PaddingPolicy' => array(
  258. 'type' => 'string',
  259. ),
  260. 'AlbumArtFormat' => array(
  261. 'type' => 'string',
  262. ),
  263. 'Encryption' => array(
  264. 'type' => 'object',
  265. 'properties' => array(
  266. 'Mode' => array(
  267. 'type' => 'string',
  268. ),
  269. 'Key' => array(
  270. 'type' => 'string',
  271. ),
  272. 'KeyMd5' => array(
  273. 'type' => 'string',
  274. ),
  275. 'InitializationVector' => array(
  276. 'type' => 'string',
  277. 'minLength' => 1,
  278. 'maxLength' => 255,
  279. ),
  280. ),
  281. ),
  282. ),
  283. ),
  284. ),
  285. ),
  286. ),
  287. 'Composition' => array(
  288. 'type' => 'array',
  289. 'items' => array(
  290. 'name' => 'Clip',
  291. 'type' => 'object',
  292. 'properties' => array(
  293. 'TimeSpan' => array(
  294. 'type' => 'object',
  295. 'properties' => array(
  296. 'StartTime' => array(
  297. 'type' => 'string',
  298. ),
  299. 'Duration' => array(
  300. 'type' => 'string',
  301. ),
  302. ),
  303. ),
  304. ),
  305. ),
  306. ),
  307. 'Captions' => array(
  308. 'type' => 'object',
  309. 'properties' => array(
  310. 'MergePolicy' => array(
  311. 'type' => 'string',
  312. ),
  313. 'CaptionSources' => array(
  314. 'type' => 'array',
  315. 'maxItems' => 20,
  316. 'items' => array(
  317. 'name' => 'CaptionSource',
  318. 'type' => 'object',
  319. 'properties' => array(
  320. 'Key' => array(
  321. 'type' => 'string',
  322. 'minLength' => 1,
  323. 'maxLength' => 255,
  324. ),
  325. 'Language' => array(
  326. 'type' => 'string',
  327. 'minLength' => 1,
  328. 'maxLength' => 255,
  329. ),
  330. 'TimeOffset' => array(
  331. 'type' => 'string',
  332. ),
  333. 'Label' => array(
  334. 'type' => 'string',
  335. 'minLength' => 1,
  336. 'maxLength' => 40,
  337. ),
  338. 'Encryption' => array(
  339. 'type' => 'object',
  340. 'properties' => array(
  341. 'Mode' => array(
  342. 'type' => 'string',
  343. ),
  344. 'Key' => array(
  345. 'type' => 'string',
  346. ),
  347. 'KeyMd5' => array(
  348. 'type' => 'string',
  349. ),
  350. 'InitializationVector' => array(
  351. 'type' => 'string',
  352. 'minLength' => 1,
  353. 'maxLength' => 255,
  354. ),
  355. ),
  356. ),
  357. ),
  358. ),
  359. ),
  360. 'CaptionFormats' => array(
  361. 'type' => 'array',
  362. 'maxItems' => 4,
  363. 'items' => array(
  364. 'name' => 'CaptionFormat',
  365. 'type' => 'object',
  366. 'properties' => array(
  367. 'Format' => array(
  368. 'type' => 'string',
  369. ),
  370. 'Pattern' => array(
  371. 'type' => 'string',
  372. ),
  373. 'Encryption' => array(
  374. 'type' => 'object',
  375. 'properties' => array(
  376. 'Mode' => array(
  377. 'type' => 'string',
  378. ),
  379. 'Key' => array(
  380. 'type' => 'string',
  381. ),
  382. 'KeyMd5' => array(
  383. 'type' => 'string',
  384. ),
  385. 'InitializationVector' => array(
  386. 'type' => 'string',
  387. 'minLength' => 1,
  388. 'maxLength' => 255,
  389. ),
  390. ),
  391. ),
  392. ),
  393. ),
  394. ),
  395. ),
  396. ),
  397. 'Encryption' => array(
  398. 'type' => 'object',
  399. 'properties' => array(
  400. 'Mode' => array(
  401. 'type' => 'string',
  402. ),
  403. 'Key' => array(
  404. 'type' => 'string',
  405. ),
  406. 'KeyMd5' => array(
  407. 'type' => 'string',
  408. ),
  409. 'InitializationVector' => array(
  410. 'type' => 'string',
  411. 'minLength' => 1,
  412. 'maxLength' => 255,
  413. ),
  414. ),
  415. ),
  416. ),
  417. ),
  418. 'Outputs' => array(
  419. 'type' => 'array',
  420. 'location' => 'json',
  421. 'maxItems' => 30,
  422. 'items' => array(
  423. 'name' => 'CreateJobOutput',
  424. 'type' => 'object',
  425. 'properties' => array(
  426. 'Key' => array(
  427. 'type' => 'string',
  428. 'minLength' => 1,
  429. 'maxLength' => 255,
  430. ),
  431. 'ThumbnailPattern' => array(
  432. 'type' => 'string',
  433. ),
  434. 'ThumbnailEncryption' => array(
  435. 'type' => 'object',
  436. 'properties' => array(
  437. 'Mode' => array(
  438. 'type' => 'string',
  439. ),
  440. 'Key' => array(
  441. 'type' => 'string',
  442. ),
  443. 'KeyMd5' => array(
  444. 'type' => 'string',
  445. ),
  446. 'InitializationVector' => array(
  447. 'type' => 'string',
  448. 'minLength' => 1,
  449. 'maxLength' => 255,
  450. ),
  451. ),
  452. ),
  453. 'Rotate' => array(
  454. 'type' => 'string',
  455. ),
  456. 'PresetId' => array(
  457. 'type' => 'string',
  458. ),
  459. 'SegmentDuration' => array(
  460. 'type' => 'string',
  461. ),
  462. 'Watermarks' => array(
  463. 'type' => 'array',
  464. 'items' => array(
  465. 'name' => 'JobWatermark',
  466. 'type' => 'object',
  467. 'properties' => array(
  468. 'PresetWatermarkId' => array(
  469. 'type' => 'string',
  470. 'minLength' => 1,
  471. 'maxLength' => 40,
  472. ),
  473. 'InputKey' => array(
  474. 'type' => 'string',
  475. 'minLength' => 1,
  476. 'maxLength' => 255,
  477. ),
  478. 'Encryption' => array(
  479. 'type' => 'object',
  480. 'properties' => array(
  481. 'Mode' => array(
  482. 'type' => 'string',
  483. ),
  484. 'Key' => array(
  485. 'type' => 'string',
  486. ),
  487. 'KeyMd5' => array(
  488. 'type' => 'string',
  489. ),
  490. 'InitializationVector' => array(
  491. 'type' => 'string',
  492. 'minLength' => 1,
  493. 'maxLength' => 255,
  494. ),
  495. ),
  496. ),
  497. ),
  498. ),
  499. ),
  500. 'AlbumArt' => array(
  501. 'type' => 'object',
  502. 'properties' => array(
  503. 'MergePolicy' => array(
  504. 'type' => 'string',
  505. ),
  506. 'Artwork' => array(
  507. 'type' => 'array',
  508. 'items' => array(
  509. 'name' => 'Artwork',
  510. 'type' => 'object',
  511. 'properties' => array(
  512. 'InputKey' => array(
  513. 'type' => 'string',
  514. 'minLength' => 1,
  515. 'maxLength' => 255,
  516. ),
  517. 'MaxWidth' => array(
  518. 'type' => 'string',
  519. ),
  520. 'MaxHeight' => array(
  521. 'type' => 'string',
  522. ),
  523. 'SizingPolicy' => array(
  524. 'type' => 'string',
  525. ),
  526. 'PaddingPolicy' => array(
  527. 'type' => 'string',
  528. ),
  529. 'AlbumArtFormat' => array(
  530. 'type' => 'string',
  531. ),
  532. 'Encryption' => array(
  533. 'type' => 'object',
  534. 'properties' => array(
  535. 'Mode' => array(
  536. 'type' => 'string',
  537. ),
  538. 'Key' => array(
  539. 'type' => 'string',
  540. ),
  541. 'KeyMd5' => array(
  542. 'type' => 'string',
  543. ),
  544. 'InitializationVector' => array(
  545. 'type' => 'string',
  546. 'minLength' => 1,
  547. 'maxLength' => 255,
  548. ),
  549. ),
  550. ),
  551. ),
  552. ),
  553. ),
  554. ),
  555. ),
  556. 'Composition' => array(
  557. 'type' => 'array',
  558. 'items' => array(
  559. 'name' => 'Clip',
  560. 'type' => 'object',
  561. 'properties' => array(
  562. 'TimeSpan' => array(
  563. 'type' => 'object',
  564. 'properties' => array(
  565. 'StartTime' => array(
  566. 'type' => 'string',
  567. ),
  568. 'Duration' => array(
  569. 'type' => 'string',
  570. ),
  571. ),
  572. ),
  573. ),
  574. ),
  575. ),
  576. 'Captions' => array(
  577. 'type' => 'object',
  578. 'properties' => array(
  579. 'MergePolicy' => array(
  580. 'type' => 'string',
  581. ),
  582. 'CaptionSources' => array(
  583. 'type' => 'array',
  584. 'maxItems' => 20,
  585. 'items' => array(
  586. 'name' => 'CaptionSource',
  587. 'type' => 'object',
  588. 'properties' => array(
  589. 'Key' => array(
  590. 'type' => 'string',
  591. 'minLength' => 1,
  592. 'maxLength' => 255,
  593. ),
  594. 'Language' => array(
  595. 'type' => 'string',
  596. 'minLength' => 1,
  597. 'maxLength' => 255,
  598. ),
  599. 'TimeOffset' => array(
  600. 'type' => 'string',
  601. ),
  602. 'Label' => array(
  603. 'type' => 'string',
  604. 'minLength' => 1,
  605. 'maxLength' => 40,
  606. ),
  607. 'Encryption' => array(
  608. 'type' => 'object',
  609. 'properties' => array(
  610. 'Mode' => array(
  611. 'type' => 'string',
  612. ),
  613. 'Key' => array(
  614. 'type' => 'string',
  615. ),
  616. 'KeyMd5' => array(
  617. 'type' => 'string',
  618. ),
  619. 'InitializationVector' => array(
  620. 'type' => 'string',
  621. 'minLength' => 1,
  622. 'maxLength' => 255,
  623. ),
  624. ),
  625. ),
  626. ),
  627. ),
  628. ),
  629. 'CaptionFormats' => array(
  630. 'type' => 'array',
  631. 'maxItems' => 4,
  632. 'items' => array(
  633. 'name' => 'CaptionFormat',
  634. 'type' => 'object',
  635. 'properties' => array(
  636. 'Format' => array(
  637. 'type' => 'string',
  638. ),
  639. 'Pattern' => array(
  640. 'type' => 'string',
  641. ),
  642. 'Encryption' => array(
  643. 'type' => 'object',
  644. 'properties' => array(
  645. 'Mode' => array(
  646. 'type' => 'string',
  647. ),
  648. 'Key' => array(
  649. 'type' => 'string',
  650. ),
  651. 'KeyMd5' => array(
  652. 'type' => 'string',
  653. ),
  654. 'InitializationVector' => array(
  655. 'type' => 'string',
  656. 'minLength' => 1,
  657. 'maxLength' => 255,
  658. ),
  659. ),
  660. ),
  661. ),
  662. ),
  663. ),
  664. ),
  665. ),
  666. 'Encryption' => array(
  667. 'type' => 'object',
  668. 'properties' => array(
  669. 'Mode' => array(
  670. 'type' => 'string',
  671. ),
  672. 'Key' => array(
  673. 'type' => 'string',
  674. ),
  675. 'KeyMd5' => array(
  676. 'type' => 'string',
  677. ),
  678. 'InitializationVector' => array(
  679. 'type' => 'string',
  680. 'minLength' => 1,
  681. 'maxLength' => 255,
  682. ),
  683. ),
  684. ),
  685. ),
  686. ),
  687. ),
  688. 'OutputKeyPrefix' => array(
  689. 'type' => 'string',
  690. 'location' => 'json',
  691. 'minLength' => 1,
  692. 'maxLength' => 255,
  693. ),
  694. 'Playlists' => array(
  695. 'type' => 'array',
  696. 'location' => 'json',
  697. 'maxItems' => 30,
  698. 'items' => array(
  699. 'name' => 'CreateJobPlaylist',
  700. 'type' => 'object',
  701. 'properties' => array(
  702. 'Name' => array(
  703. 'type' => 'string',
  704. 'minLength' => 1,
  705. 'maxLength' => 255,
  706. ),
  707. 'Format' => array(
  708. 'type' => 'string',
  709. ),
  710. 'OutputKeys' => array(
  711. 'type' => 'array',
  712. 'maxItems' => 30,
  713. 'items' => array(
  714. 'name' => 'Key',
  715. 'type' => 'string',
  716. 'minLength' => 1,
  717. 'maxLength' => 255,
  718. ),
  719. ),
  720. ),
  721. ),
  722. ),
  723. 'UserMetadata' => array(
  724. 'type' => 'object',
  725. 'location' => 'json',
  726. 'additionalProperties' => array(
  727. 'type' => 'string',
  728. 'data' => array(
  729. 'shape_name' => 'String',
  730. ),
  731. ),
  732. ),
  733. ),
  734. 'errorResponses' => array(
  735. array(
  736. 'reason' => 'One or more required parameter values were not provided in the request.',
  737. 'class' => 'ValidationException',
  738. ),
  739. array(
  740. 'class' => 'IncompatibleVersionException',
  741. ),
  742. array(
  743. 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.',
  744. 'class' => 'ResourceNotFoundException',
  745. ),
  746. array(
  747. 'reason' => 'General authentication failure. The request was not signed correctly.',
  748. 'class' => 'AccessDeniedException',
  749. ),
  750. array(
  751. 'reason' => 'Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.',
  752. 'class' => 'LimitExceededException',
  753. ),
  754. array(
  755. 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.',
  756. 'class' => 'InternalServiceException',
  757. ),
  758. ),
  759. ),
  760. 'CreatePipeline' => array(
  761. 'httpMethod' => 'POST',
  762. 'uri' => '/2012-09-25/pipelines',
  763. 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
  764. 'responseClass' => 'CreatePipelineResponse',
  765. 'responseType' => 'model',
  766. 'parameters' => array(
  767. 'Name' => array(
  768. 'required' => true,
  769. 'type' => 'string',
  770. 'location' => 'json',
  771. 'minLength' => 1,
  772. 'maxLength' => 40,
  773. ),
  774. 'InputBucket' => array(
  775. 'required' => true,
  776. 'type' => 'string',
  777. 'location' => 'json',
  778. ),
  779. 'OutputBucket' => array(
  780. 'type' => 'string',
  781. 'location' => 'json',
  782. ),
  783. 'Role' => array(
  784. 'required' => true,
  785. 'type' => 'string',
  786. 'location' => 'json',
  787. ),
  788. 'AwsKmsKeyArn' => array(
  789. 'type' => 'string',
  790. 'location' => 'json',
  791. 'maxLength' => 255,
  792. ),
  793. 'Notifications' => array(
  794. 'type' => 'object',
  795. 'location' => 'json',
  796. 'properties' => array(
  797. 'Progressing' => array(
  798. 'type' => 'string',
  799. ),
  800. 'Completed' => array(
  801. 'type' => 'string',
  802. ),
  803. 'Warning' => array(
  804. 'type' => 'string',
  805. ),
  806. 'Error' => array(
  807. 'type' => 'string',
  808. ),
  809. ),
  810. ),
  811. 'ContentConfig' => array(
  812. 'type' => 'object',
  813. 'location' => 'json',
  814. 'properties' => array(
  815. 'Bucket' => array(
  816. 'type' => 'string',
  817. ),
  818. 'StorageClass' => array(
  819. 'type' => 'string',
  820. ),
  821. 'Permissions' => array(
  822. 'type' => 'array',
  823. 'maxItems' => 30,
  824. 'items' => array(
  825. 'name' => 'Permission',
  826. 'type' => 'object',
  827. 'properties' => array(
  828. 'GranteeType' => array(
  829. 'type' => 'string',
  830. ),
  831. 'Grantee' => array(
  832. 'type' => 'string',
  833. 'minLength' => 1,
  834. 'maxLength' => 255,
  835. ),
  836. 'Access' => array(
  837. 'type' => 'array',
  838. 'maxItems' => 30,
  839. 'items' => array(
  840. 'name' => 'AccessControl',
  841. 'type' => 'string',
  842. ),
  843. ),
  844. ),
  845. ),
  846. ),
  847. ),
  848. ),
  849. 'ThumbnailConfig' => array(
  850. 'type' => 'object',
  851. 'location' => 'json',
  852. 'properties' => array(
  853. 'Bucket' => array(
  854. 'type' => 'string',
  855. ),
  856. 'StorageClass' => array(
  857. 'type' => 'string',
  858. ),
  859. 'Permissions' => array(
  860. 'type' => 'array',
  861. 'maxItems' => 30,
  862. 'items' => array(
  863. 'name' => 'Permission',
  864. 'type' => 'object',
  865. 'properties' => array(
  866. 'GranteeType' => array(
  867. 'type' => 'string',
  868. ),
  869. 'Grantee' => array(
  870. 'type' => 'string',
  871. 'minLength' => 1,
  872. 'maxLength' => 255,
  873. ),
  874. 'Access' => array(
  875. 'type' => 'array',
  876. 'maxItems' => 30,
  877. 'items' => array(
  878. 'name' => 'AccessControl',
  879. 'type' => 'string',
  880. ),
  881. ),
  882. ),
  883. ),
  884. ),
  885. ),
  886. ),
  887. ),
  888. 'errorResponses' => array(
  889. array(
  890. 'reason' => 'One or more required parameter values were not provided in the request.',
  891. 'class' => 'ValidationException',
  892. ),
  893. array(
  894. 'class' => 'IncompatibleVersionException',
  895. ),
  896. array(
  897. 'reason' => 'General authentication failure. The request was not signed correctly.',
  898. 'class' => 'AccessDeniedException',
  899. ),
  900. array(
  901. 'reason' => 'The requested resource does not exist or is not available. For example, the pipeline to which you\'re trying to add a job doesn\'t exist or is still being created.',
  902. 'class' => 'ResourceNotFoundException',
  903. ),
  904. array(
  905. 'reason' => 'Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.',
  906. 'class' => 'LimitExceededException',
  907. ),
  908. array(
  909. 'reason' => 'Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.',
  910. 'class' => 'InternalServiceException',
  911. ),
  912. ),
  913. ),
  914. 'CreatePreset' => array(
  915. 'httpMethod' => 'POST',
  916. 'uri' => '/2012-09-25/presets',
  917. 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
  918. 'responseClass' => 'CreatePresetResponse',
  919. 'responseType' => 'model',
  920. 'parameters' => array(
  921. 'Name' => array(
  922. 'required' => true,
  923. 'type' => 'string',
  924. 'location' => 'json',
  925. 'minLength' => 1,
  926. 'maxLength' => 40,
  927. ),
  928. 'Description' => array(
  929. 'type' => 'string',
  930. 'location' => 'json',
  931. 'maxLength' => 255,
  932. ),
  933. 'Container' => array(
  934. 'required' => true,
  935. 'type' => 'string',
  936. 'location' => 'json',
  937. ),
  938. 'Video' => array(
  939. 'type' => 'object',
  940. 'location' => 'json',
  941. 'properties' => array(
  942. 'Codec' => array(
  943. 'type' => 'string',
  944. ),
  945. 'CodecOptions' => array(
  946. 'type' => 'object',
  947. 'additionalProperties' => array(
  948. 'type' => 'string',
  949. 'minLength' => 1,
  950. 'maxLength' => 255,
  951. 'data' => array(
  952. 'shape_name' => 'CodecOption',
  953. ),
  954. ),
  955. ),
  956. 'KeyframesMaxDist' => array(
  957. 'type' => 'string',
  958. ),
  959. 'FixedGOP' => array(
  960. 'type' => 'string',
  961. ),
  962. 'BitRate' => array(
  963. 'type' => 'string',
  964. ),
  965. 'FrameRate' => array(
  966. 'type' => 'string',
  967. ),
  968. 'MaxFrameRate' => array(
  969. 'type' => 'string',
  970. ),
  971. 'Resolution' => array(
  972. 'type' => 'string',
  973. ),
  974. 'AspectRatio' => array(
  975. 'type' => 'string',
  976. ),
  977. 'MaxWidth' => array(
  978. 'type' => 'string',
  979. ),
  980. 'MaxHeight' => array(
  981. 'type' => 'string',
  982. ),
  983. 'DisplayAspectRatio' => array(
  984. 'type' => 'string',
  985. ),
  986. 'SizingPolicy' => array(
  987. 'type' => 'string',
  988. ),
  989. 'PaddingPolicy' => array(
  990. 'type' => 'string',
  991. ),
  992. 'Watermarks' => array(
  993. 'type' => 'array',
  994. 'items' => array(
  995. 'name' => 'PresetWatermark',