api-2.json 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2012-09-25",
  5. "endpointPrefix":"elastictranscoder",
  6. "protocol":"rest-json",
  7. "serviceFullName":"Amazon Elastic Transcoder",
  8. "signatureVersion":"v4"
  9. },
  10. "operations":{
  11. "CancelJob":{
  12. "name":"CancelJob",
  13. "http":{
  14. "method":"DELETE",
  15. "requestUri":"/2012-09-25/jobs/{Id}",
  16. "responseCode":202
  17. },
  18. "input":{"shape":"CancelJobRequest"},
  19. "output":{"shape":"CancelJobResponse"},
  20. "errors":[
  21. {"shape":"ValidationException"},
  22. {"shape":"IncompatibleVersionException"},
  23. {"shape":"ResourceNotFoundException"},
  24. {"shape":"ResourceInUseException"},
  25. {"shape":"AccessDeniedException"},
  26. {"shape":"InternalServiceException"}
  27. ]
  28. },
  29. "CreateJob":{
  30. "name":"CreateJob",
  31. "http":{
  32. "method":"POST",
  33. "requestUri":"/2012-09-25/jobs",
  34. "responseCode":201
  35. },
  36. "input":{"shape":"CreateJobRequest"},
  37. "output":{"shape":"CreateJobResponse"},
  38. "errors":[
  39. {"shape":"ValidationException"},
  40. {"shape":"IncompatibleVersionException"},
  41. {"shape":"ResourceNotFoundException"},
  42. {"shape":"AccessDeniedException"},
  43. {"shape":"LimitExceededException"},
  44. {"shape":"InternalServiceException"}
  45. ]
  46. },
  47. "CreatePipeline":{
  48. "name":"CreatePipeline",
  49. "http":{
  50. "method":"POST",
  51. "requestUri":"/2012-09-25/pipelines",
  52. "responseCode":201
  53. },
  54. "input":{"shape":"CreatePipelineRequest"},
  55. "output":{"shape":"CreatePipelineResponse"},
  56. "errors":[
  57. {"shape":"ValidationException"},
  58. {"shape":"IncompatibleVersionException"},
  59. {"shape":"AccessDeniedException"},
  60. {"shape":"ResourceNotFoundException"},
  61. {"shape":"LimitExceededException"},
  62. {"shape":"InternalServiceException"}
  63. ]
  64. },
  65. "CreatePreset":{
  66. "name":"CreatePreset",
  67. "http":{
  68. "method":"POST",
  69. "requestUri":"/2012-09-25/presets",
  70. "responseCode":201
  71. },
  72. "input":{"shape":"CreatePresetRequest"},
  73. "output":{"shape":"CreatePresetResponse"},
  74. "errors":[
  75. {"shape":"ValidationException"},
  76. {"shape":"IncompatibleVersionException"},
  77. {"shape":"AccessDeniedException"},
  78. {"shape":"LimitExceededException"},
  79. {"shape":"InternalServiceException"}
  80. ]
  81. },
  82. "DeletePipeline":{
  83. "name":"DeletePipeline",
  84. "http":{
  85. "method":"DELETE",
  86. "requestUri":"/2012-09-25/pipelines/{Id}",
  87. "responseCode":202
  88. },
  89. "input":{"shape":"DeletePipelineRequest"},
  90. "output":{"shape":"DeletePipelineResponse"},
  91. "errors":[
  92. {"shape":"ValidationException"},
  93. {"shape":"IncompatibleVersionException"},
  94. {"shape":"ResourceNotFoundException"},
  95. {"shape":"ResourceInUseException"},
  96. {"shape":"AccessDeniedException"},
  97. {"shape":"InternalServiceException"}
  98. ]
  99. },
  100. "DeletePreset":{
  101. "name":"DeletePreset",
  102. "http":{
  103. "method":"DELETE",
  104. "requestUri":"/2012-09-25/presets/{Id}",
  105. "responseCode":202
  106. },
  107. "input":{"shape":"DeletePresetRequest"},
  108. "output":{"shape":"DeletePresetResponse"},
  109. "errors":[
  110. {"shape":"ValidationException"},
  111. {"shape":"IncompatibleVersionException"},
  112. {"shape":"ResourceNotFoundException"},
  113. {"shape":"AccessDeniedException"},
  114. {"shape":"InternalServiceException"}
  115. ]
  116. },
  117. "ListJobsByPipeline":{
  118. "name":"ListJobsByPipeline",
  119. "http":{
  120. "method":"GET",
  121. "requestUri":"/2012-09-25/jobsByPipeline/{PipelineId}"
  122. },
  123. "input":{"shape":"ListJobsByPipelineRequest"},
  124. "output":{"shape":"ListJobsByPipelineResponse"},
  125. "errors":[
  126. {"shape":"ValidationException"},
  127. {"shape":"IncompatibleVersionException"},
  128. {"shape":"ResourceNotFoundException"},
  129. {"shape":"AccessDeniedException"},
  130. {"shape":"InternalServiceException"}
  131. ]
  132. },
  133. "ListJobsByStatus":{
  134. "name":"ListJobsByStatus",
  135. "http":{
  136. "method":"GET",
  137. "requestUri":"/2012-09-25/jobsByStatus/{Status}"
  138. },
  139. "input":{"shape":"ListJobsByStatusRequest"},
  140. "output":{"shape":"ListJobsByStatusResponse"},
  141. "errors":[
  142. {"shape":"ValidationException"},
  143. {"shape":"IncompatibleVersionException"},
  144. {"shape":"ResourceNotFoundException"},
  145. {"shape":"AccessDeniedException"},
  146. {"shape":"InternalServiceException"}
  147. ]
  148. },
  149. "ListPipelines":{
  150. "name":"ListPipelines",
  151. "http":{
  152. "method":"GET",
  153. "requestUri":"/2012-09-25/pipelines"
  154. },
  155. "input":{"shape":"ListPipelinesRequest"},
  156. "output":{"shape":"ListPipelinesResponse"},
  157. "errors":[
  158. {"shape":"ValidationException"},
  159. {"shape":"IncompatibleVersionException"},
  160. {"shape":"AccessDeniedException"},
  161. {"shape":"InternalServiceException"}
  162. ]
  163. },
  164. "ListPresets":{
  165. "name":"ListPresets",
  166. "http":{
  167. "method":"GET",
  168. "requestUri":"/2012-09-25/presets"
  169. },
  170. "input":{"shape":"ListPresetsRequest"},
  171. "output":{"shape":"ListPresetsResponse"},
  172. "errors":[
  173. {"shape":"ValidationException"},
  174. {"shape":"IncompatibleVersionException"},
  175. {"shape":"AccessDeniedException"},
  176. {"shape":"InternalServiceException"}
  177. ]
  178. },
  179. "ReadJob":{
  180. "name":"ReadJob",
  181. "http":{
  182. "method":"GET",
  183. "requestUri":"/2012-09-25/jobs/{Id}"
  184. },
  185. "input":{"shape":"ReadJobRequest"},
  186. "output":{"shape":"ReadJobResponse"},
  187. "errors":[
  188. {"shape":"ValidationException"},
  189. {"shape":"IncompatibleVersionException"},
  190. {"shape":"ResourceNotFoundException"},
  191. {"shape":"AccessDeniedException"},
  192. {"shape":"InternalServiceException"}
  193. ]
  194. },
  195. "ReadPipeline":{
  196. "name":"ReadPipeline",
  197. "http":{
  198. "method":"GET",
  199. "requestUri":"/2012-09-25/pipelines/{Id}"
  200. },
  201. "input":{"shape":"ReadPipelineRequest"},
  202. "output":{"shape":"ReadPipelineResponse"},
  203. "errors":[
  204. {"shape":"ValidationException"},
  205. {"shape":"IncompatibleVersionException"},
  206. {"shape":"ResourceNotFoundException"},
  207. {"shape":"AccessDeniedException"},
  208. {"shape":"InternalServiceException"}
  209. ]
  210. },
  211. "ReadPreset":{
  212. "name":"ReadPreset",
  213. "http":{
  214. "method":"GET",
  215. "requestUri":"/2012-09-25/presets/{Id}"
  216. },
  217. "input":{"shape":"ReadPresetRequest"},
  218. "output":{"shape":"ReadPresetResponse"},
  219. "errors":[
  220. {"shape":"ValidationException"},
  221. {"shape":"IncompatibleVersionException"},
  222. {"shape":"ResourceNotFoundException"},
  223. {"shape":"AccessDeniedException"},
  224. {"shape":"InternalServiceException"}
  225. ]
  226. },
  227. "TestRole":{
  228. "name":"TestRole",
  229. "http":{
  230. "method":"POST",
  231. "requestUri":"/2012-09-25/roleTests",
  232. "responseCode":200
  233. },
  234. "input":{"shape":"TestRoleRequest"},
  235. "output":{"shape":"TestRoleResponse"},
  236. "errors":[
  237. {"shape":"ValidationException"},
  238. {"shape":"IncompatibleVersionException"},
  239. {"shape":"ResourceNotFoundException"},
  240. {"shape":"AccessDeniedException"},
  241. {"shape":"InternalServiceException"}
  242. ]
  243. },
  244. "UpdatePipeline":{
  245. "name":"UpdatePipeline",
  246. "http":{
  247. "method":"PUT",
  248. "requestUri":"/2012-09-25/pipelines/{Id}",
  249. "responseCode":200
  250. },
  251. "input":{"shape":"UpdatePipelineRequest"},
  252. "output":{"shape":"UpdatePipelineResponse"},
  253. "errors":[
  254. {"shape":"ValidationException"},
  255. {"shape":"IncompatibleVersionException"},
  256. {"shape":"AccessDeniedException"},
  257. {"shape":"ResourceInUseException"},
  258. {"shape":"ResourceNotFoundException"},
  259. {"shape":"InternalServiceException"}
  260. ]
  261. },
  262. "UpdatePipelineNotifications":{
  263. "name":"UpdatePipelineNotifications",
  264. "http":{
  265. "method":"POST",
  266. "requestUri":"/2012-09-25/pipelines/{Id}/notifications"
  267. },
  268. "input":{"shape":"UpdatePipelineNotificationsRequest"},
  269. "output":{"shape":"UpdatePipelineNotificationsResponse"},
  270. "errors":[
  271. {"shape":"ValidationException"},
  272. {"shape":"IncompatibleVersionException"},
  273. {"shape":"ResourceNotFoundException"},
  274. {"shape":"ResourceInUseException"},
  275. {"shape":"AccessDeniedException"},
  276. {"shape":"InternalServiceException"}
  277. ]
  278. },
  279. "UpdatePipelineStatus":{
  280. "name":"UpdatePipelineStatus",
  281. "http":{
  282. "method":"POST",
  283. "requestUri":"/2012-09-25/pipelines/{Id}/status"
  284. },
  285. "input":{"shape":"UpdatePipelineStatusRequest"},
  286. "output":{"shape":"UpdatePipelineStatusResponse"},
  287. "errors":[
  288. {"shape":"ValidationException"},
  289. {"shape":"IncompatibleVersionException"},
  290. {"shape":"ResourceNotFoundException"},
  291. {"shape":"ResourceInUseException"},
  292. {"shape":"AccessDeniedException"},
  293. {"shape":"InternalServiceException"}
  294. ]
  295. }
  296. },
  297. "shapes":{
  298. "AccessControl":{
  299. "type":"string",
  300. "pattern":"(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)"
  301. },
  302. "AccessControls":{
  303. "type":"list",
  304. "member":{"shape":"AccessControl"},
  305. "max":30
  306. },
  307. "AccessDeniedException":{
  308. "type":"structure",
  309. "members":{
  310. },
  311. "error":{"httpStatusCode":403},
  312. "exception":true
  313. },
  314. "Artwork":{
  315. "type":"structure",
  316. "members":{
  317. "InputKey":{"shape":"WatermarkKey"},
  318. "MaxWidth":{"shape":"DigitsOrAuto"},
  319. "MaxHeight":{"shape":"DigitsOrAuto"},
  320. "SizingPolicy":{"shape":"SizingPolicy"},
  321. "PaddingPolicy":{"shape":"PaddingPolicy"},
  322. "AlbumArtFormat":{"shape":"JpgOrPng"},
  323. "Encryption":{"shape":"Encryption"}
  324. }
  325. },
  326. "Artworks":{
  327. "type":"list",
  328. "member":{"shape":"Artwork"}
  329. },
  330. "Ascending":{
  331. "type":"string",
  332. "pattern":"(^true$)|(^false$)"
  333. },
  334. "AspectRatio":{
  335. "type":"string",
  336. "pattern":"(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)"
  337. },
  338. "AudioBitDepth":{
  339. "type":"string",
  340. "pattern":"(^8$)|(^16$)|(^24$)|(^32$)"
  341. },
  342. "AudioBitOrder":{
  343. "type":"string",
  344. "pattern":"(^LittleEndian$)"
  345. },
  346. "AudioBitRate":{
  347. "type":"string",
  348. "pattern":"^\\d{1,3}$"
  349. },
  350. "AudioChannels":{
  351. "type":"string",
  352. "pattern":"(^auto$)|(^0$)|(^1$)|(^2$)"
  353. },
  354. "AudioCodec":{
  355. "type":"string",
  356. "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$)"
  357. },
  358. "AudioCodecOptions":{
  359. "type":"structure",
  360. "members":{
  361. "Profile":{"shape":"AudioCodecProfile"},
  362. "BitDepth":{"shape":"AudioBitDepth"},
  363. "BitOrder":{"shape":"AudioBitOrder"},
  364. "Signed":{"shape":"AudioSigned"}
  365. }
  366. },
  367. "AudioCodecProfile":{
  368. "type":"string",
  369. "pattern":"(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)"
  370. },
  371. "AudioPackingMode":{
  372. "type":"string",
  373. "pattern":"(^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$)"
  374. },
  375. "AudioParameters":{
  376. "type":"structure",
  377. "members":{
  378. "Codec":{"shape":"AudioCodec"},
  379. "SampleRate":{"shape":"AudioSampleRate"},
  380. "BitRate":{"shape":"AudioBitRate"},
  381. "Channels":{"shape":"AudioChannels"},
  382. "AudioPackingMode":{"shape":"AudioPackingMode"},
  383. "CodecOptions":{"shape":"AudioCodecOptions"}
  384. }
  385. },
  386. "AudioSampleRate":{
  387. "type":"string",
  388. "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$)"
  389. },
  390. "AudioSigned":{
  391. "type":"string",
  392. "pattern":"(^Unsigned$)|(^Signed$)"
  393. },
  394. "Base64EncodedString":{
  395. "type":"string",
  396. "pattern":"^$|(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)"
  397. },
  398. "BucketName":{
  399. "type":"string",
  400. "pattern":"^(\\w|\\.|-){1,255}$"
  401. },
  402. "CancelJobRequest":{
  403. "type":"structure",
  404. "required":["Id"],
  405. "members":{
  406. "Id":{
  407. "shape":"Id",
  408. "location":"uri",
  409. "locationName":"Id"
  410. }
  411. }
  412. },
  413. "CancelJobResponse":{
  414. "type":"structure",
  415. "members":{
  416. }
  417. },
  418. "CaptionFormat":{
  419. "type":"structure",
  420. "members":{
  421. "Format":{"shape":"CaptionFormatFormat"},
  422. "Pattern":{"shape":"CaptionFormatPattern"},
  423. "Encryption":{"shape":"Encryption"}
  424. }
  425. },
  426. "CaptionFormatFormat":{
  427. "type":"string",
  428. "pattern":"(^mov-text$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)|(^cea-708$)"
  429. },
  430. "CaptionFormatPattern":{
  431. "type":"string",
  432. "pattern":"(^$)|(^.*\\{language\\}.*$)"
  433. },
  434. "CaptionFormats":{
  435. "type":"list",
  436. "member":{"shape":"CaptionFormat"},
  437. "max":4
  438. },
  439. "CaptionMergePolicy":{
  440. "type":"string",
  441. "pattern":"(^MergeOverride$)|(^MergeRetain$)|(^Override$)"
  442. },
  443. "CaptionSource":{
  444. "type":"structure",
  445. "members":{
  446. "Key":{"shape":"LongKey"},
  447. "Language":{"shape":"Key"},
  448. "TimeOffset":{"shape":"TimeOffset"},
  449. "Label":{"shape":"Name"},
  450. "Encryption":{"shape":"Encryption"}
  451. }
  452. },
  453. "CaptionSources":{
  454. "type":"list",
  455. "member":{"shape":"CaptionSource"},
  456. "max":20
  457. },
  458. "Captions":{
  459. "type":"structure",
  460. "members":{
  461. "MergePolicy":{"shape":"CaptionMergePolicy"},
  462. "CaptionSources":{"shape":"CaptionSources"},
  463. "CaptionFormats":{"shape":"CaptionFormats"}
  464. }
  465. },
  466. "Clip":{
  467. "type":"structure",
  468. "members":{
  469. "TimeSpan":{"shape":"TimeSpan"}
  470. }
  471. },
  472. "CodecOption":{
  473. "type":"string",
  474. "max":255,
  475. "min":1
  476. },
  477. "CodecOptions":{
  478. "type":"map",
  479. "key":{"shape":"CodecOption"},
  480. "value":{"shape":"CodecOption"},
  481. "max":30
  482. },
  483. "Composition":{
  484. "type":"list",
  485. "member":{"shape":"Clip"}
  486. },
  487. "CreateJobOutput":{
  488. "type":"structure",
  489. "members":{
  490. "Key":{"shape":"Key"},
  491. "ThumbnailPattern":{"shape":"ThumbnailPattern"},
  492. "ThumbnailEncryption":{"shape":"Encryption"},
  493. "Rotate":{"shape":"Rotate"},
  494. "PresetId":{"shape":"Id"},
  495. "SegmentDuration":{"shape":"FloatString"},
  496. "Watermarks":{"shape":"JobWatermarks"},
  497. "AlbumArt":{"shape":"JobAlbumArt"},
  498. "Composition":{"shape":"Composition"},
  499. "Captions":{"shape":"Captions"},
  500. "Encryption":{"shape":"Encryption"}
  501. }
  502. },
  503. "CreateJobOutputs":{
  504. "type":"list",
  505. "member":{"shape":"CreateJobOutput"},
  506. "max":30
  507. },
  508. "CreateJobPlaylist":{
  509. "type":"structure",
  510. "members":{
  511. "Name":{"shape":"Filename"},
  512. "Format":{"shape":"PlaylistFormat"},
  513. "OutputKeys":{"shape":"OutputKeys"},
  514. "HlsContentProtection":{"shape":"HlsContentProtection"},
  515. "PlayReadyDrm":{"shape":"PlayReadyDrm"}
  516. }
  517. },
  518. "CreateJobPlaylists":{
  519. "type":"list",
  520. "member":{"shape":"CreateJobPlaylist"},
  521. "max":30
  522. },
  523. "CreateJobRequest":{
  524. "type":"structure",
  525. "required":[
  526. "PipelineId",
  527. "Input"
  528. ],
  529. "members":{
  530. "PipelineId":{"shape":"Id"},
  531. "Input":{"shape":"JobInput"},
  532. "Output":{"shape":"CreateJobOutput"},
  533. "Outputs":{"shape":"CreateJobOutputs"},
  534. "OutputKeyPrefix":{"shape":"Key"},
  535. "Playlists":{"shape":"CreateJobPlaylists"},
  536. "UserMetadata":{"shape":"UserMetadata"}
  537. }
  538. },
  539. "CreateJobResponse":{
  540. "type":"structure",
  541. "members":{
  542. "Job":{"shape":"Job"}
  543. }
  544. },
  545. "CreatePipelineRequest":{
  546. "type":"structure",
  547. "required":[
  548. "Name",
  549. "InputBucket",
  550. "Role"
  551. ],
  552. "members":{
  553. "Name":{"shape":"Name"},
  554. "InputBucket":{"shape":"BucketName"},
  555. "OutputBucket":{"shape":"BucketName"},
  556. "Role":{"shape":"Role"},
  557. "AwsKmsKeyArn":{"shape":"KeyArn"},
  558. "Notifications":{"shape":"Notifications"},
  559. "ContentConfig":{"shape":"PipelineOutputConfig"},
  560. "ThumbnailConfig":{"shape":"PipelineOutputConfig"}
  561. }
  562. },
  563. "CreatePipelineResponse":{
  564. "type":"structure",
  565. "members":{
  566. "Pipeline":{"shape":"Pipeline"},
  567. "Warnings":{"shape":"Warnings"}
  568. }
  569. },
  570. "CreatePresetRequest":{
  571. "type":"structure",
  572. "required":[
  573. "Name",
  574. "Container"
  575. ],
  576. "members":{
  577. "Name":{"shape":"Name"},
  578. "Description":{"shape":"Description"},
  579. "Container":{"shape":"PresetContainer"},
  580. "Video":{"shape":"VideoParameters"},
  581. "Audio":{"shape":"AudioParameters"},
  582. "Thumbnails":{"shape":"Thumbnails"}
  583. }
  584. },
  585. "CreatePresetResponse":{
  586. "type":"structure",
  587. "members":{
  588. "Preset":{"shape":"Preset"},
  589. "Warning":{"shape":"String"}
  590. }
  591. },
  592. "DeletePipelineRequest":{
  593. "type":"structure",
  594. "required":["Id"],
  595. "members":{
  596. "Id":{
  597. "shape":"Id",
  598. "location":"uri",
  599. "locationName":"Id"
  600. }
  601. }
  602. },
  603. "DeletePipelineResponse":{
  604. "type":"structure",
  605. "members":{
  606. }
  607. },
  608. "DeletePresetRequest":{
  609. "type":"structure",
  610. "required":["Id"],
  611. "members":{
  612. "Id":{
  613. "shape":"Id",
  614. "location":"uri",
  615. "locationName":"Id"
  616. }
  617. }
  618. },
  619. "DeletePresetResponse":{
  620. "type":"structure",
  621. "members":{
  622. }
  623. },
  624. "Description":{
  625. "type":"string",
  626. "max":255,
  627. "min":0
  628. },
  629. "DetectedProperties":{
  630. "type":"structure",
  631. "members":{
  632. "Width":{"shape":"NullableInteger"},
  633. "Height":{"shape":"NullableInteger"},
  634. "FrameRate":{"shape":"FloatString"},
  635. "FileSize":{"shape":"NullableLong"},
  636. "DurationMillis":{"shape":"NullableLong"}
  637. }
  638. },
  639. "Digits":{
  640. "type":"string",
  641. "pattern":"^\\d{1,5}$"
  642. },
  643. "DigitsOrAuto":{
  644. "type":"string",
  645. "pattern":"(^auto$)|(^\\d{2,4}$)"
  646. },
  647. "Encryption":{
  648. "type":"structure",
  649. "members":{
  650. "Mode":{"shape":"EncryptionMode"},
  651. "Key":{"shape":"Base64EncodedString"},
  652. "KeyMd5":{"shape":"Base64EncodedString"},
  653. "InitializationVector":{"shape":"ZeroTo255String"}
  654. }
  655. },
  656. "EncryptionMode":{
  657. "type":"string",
  658. "pattern":"(^s3$)|(^s3-aws-kms$)|(^aes-cbc-pkcs7$)|(^aes-ctr$)|(^aes-gcm$)"
  659. },
  660. "ExceptionMessages":{
  661. "type":"list",
  662. "member":{"shape":"String"}
  663. },
  664. "Filename":{
  665. "type":"string",
  666. "max":255,
  667. "min":1
  668. },
  669. "FixedGOP":{
  670. "type":"string",
  671. "pattern":"(^true$)|(^false$)"
  672. },
  673. "FloatString":{
  674. "type":"string",
  675. "pattern":"^\\d{1,5}(\\.\\d{0,5})?$"
  676. },
  677. "FrameRate":{
  678. "type":"string",
  679. "pattern":"(^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
  680. },
  681. "Grantee":{
  682. "type":"string",
  683. "max":255,
  684. "min":1
  685. },
  686. "GranteeType":{
  687. "type":"string",
  688. "pattern":"(^Canonical$)|(^Email$)|(^Group$)"
  689. },
  690. "HlsContentProtection":{
  691. "type":"structure",
  692. "members":{
  693. "Method":{"shape":"HlsContentProtectionMethod"},
  694. "Key":{"shape":"Base64EncodedString"},
  695. "KeyMd5":{"shape":"Base64EncodedString"},
  696. "InitializationVector":{"shape":"ZeroTo255String"},
  697. "LicenseAcquisitionUrl":{"shape":"ZeroTo512String"},
  698. "KeyStoragePolicy":{"shape":"KeyStoragePolicy"}
  699. }
  700. },
  701. "HlsContentProtectionMethod":{
  702. "type":"string",
  703. "pattern":"(^aes-128$)"
  704. },
  705. "HorizontalAlign":{
  706. "type":"string",
  707. "pattern":"(^Left$)|(^Right$)|(^Center$)"
  708. },
  709. "Id":{
  710. "type":"string",
  711. "pattern":"^\\d{13}-\\w{6}$"
  712. },
  713. "IncompatibleVersionException":{
  714. "type":"structure",
  715. "members":{
  716. },
  717. "error":{"httpStatusCode":400},
  718. "exception":true
  719. },
  720. "Interlaced":{
  721. "type":"string",
  722. "pattern":"(^auto$)|(^true$)|(^false$)"
  723. },
  724. "InternalServiceException":{
  725. "type":"structure",
  726. "members":{
  727. },
  728. "exception":true,
  729. "fault":true
  730. },
  731. "Job":{
  732. "type":"structure",
  733. "members":{
  734. "Id":{"shape":"Id"},
  735. "Arn":{"shape":"String"},
  736. "PipelineId":{"shape":"Id"},
  737. "Input":{"shape":"JobInput"},
  738. "Output":{"shape":"JobOutput"},
  739. "Outputs":{"shape":"JobOutputs"},
  740. "OutputKeyPrefix":{"shape":"Key"},
  741. "Playlists":{"shape":"Playlists"},
  742. "Status":{"shape":"JobStatus"},
  743. "UserMetadata":{"shape":"UserMetadata"},
  744. "Timing":{"shape":"Timing"}
  745. }
  746. },
  747. "JobAlbumArt":{
  748. "type":"structure",
  749. "members":{
  750. "MergePolicy":{"shape":"MergePolicy"},
  751. "Artwork":{"shape":"Artworks"}
  752. }
  753. },
  754. "JobContainer":{
  755. "type":"string",
  756. "pattern":"(^auto$)|(^3gp$)|(^asf$)|(^avi$)|(^divx$)|(^flv$)|(^mkv$)|(^mov$)|(^mp4$)|(^mpeg$)|(^mpeg-ps$)|(^mpeg-ts$)|(^mxf$)|(^ogg$)|(^ts$)|(^vob$)|(^wav$)|(^webm$)|(^mp3$)|(^m4a$)|(^aac$)"
  757. },
  758. "JobInput":{
  759. "type":"structure",
  760. "members":{
  761. "Key":{"shape":"LongKey"},
  762. "FrameRate":{"shape":"FrameRate"},
  763. "Resolution":{"shape":"Resolution"},
  764. "AspectRatio":{"shape":"AspectRatio"},
  765. "Interlaced":{"shape":"Interlaced"},
  766. "Container":{"shape":"JobContainer"},
  767. "Encryption":{"shape":"Encryption"},
  768. "DetectedProperties":{"shape":"DetectedProperties"}
  769. }
  770. },
  771. "JobOutput":{
  772. "type":"structure",
  773. "members":{
  774. "Id":{"shape":"String"},
  775. "Key":{"shape":"Key"},
  776. "ThumbnailPattern":{"shape":"ThumbnailPattern"},
  777. "ThumbnailEncryption":{"shape":"Encryption"},
  778. "Rotate":{"shape":"Rotate"},
  779. "PresetId":{"shape":"Id"},
  780. "SegmentDuration":{"shape":"FloatString"},
  781. "Status":{"shape":"JobStatus"},
  782. "StatusDetail":{"shape":"Description"},
  783. "Duration":{"shape":"NullableLong"},
  784. "Width":{"shape":"NullableInteger"},
  785. "Height":{"shape":"NullableInteger"},
  786. "FrameRate":{"shape":"FloatString"},
  787. "FileSize":{"shape":"NullableLong"},
  788. "DurationMillis":{"shape":"NullableLong"},
  789. "Watermarks":{"shape":"JobWatermarks"},
  790. "AlbumArt":{"shape":"JobAlbumArt"},
  791. "Composition":{"shape":"Composition"},
  792. "Captions":{"shape":"Captions"},
  793. "Encryption":{"shape":"Encryption"},
  794. "AppliedColorSpaceConversion":{"shape":"String"}
  795. }
  796. },
  797. "JobOutputs":{
  798. "type":"list",
  799. "member":{"shape":"JobOutput"}
  800. },
  801. "JobStatus":{
  802. "type":"string",
  803. "pattern":"(^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)"
  804. },
  805. "JobWatermark":{
  806. "type":"structure",
  807. "members":{
  808. "PresetWatermarkId":{"shape":"PresetWatermarkId"},
  809. "InputKey":{"shape":"WatermarkKey"},
  810. "Encryption":{"shape":"Encryption"}
  811. }
  812. },
  813. "JobWatermarks":{
  814. "type":"list",
  815. "member":{"shape":"JobWatermark"}
  816. },
  817. "Jobs":{
  818. "type":"list",
  819. "member":{"shape":"Job"}
  820. },
  821. "JpgOrPng":{
  822. "type":"string",
  823. "pattern":"(^jpg$)|(^png$)"
  824. },
  825. "Key":{
  826. "type":"string",
  827. "max":255,
  828. "min":1
  829. },
  830. "KeyArn":{
  831. "type":"string",
  832. "max":255,
  833. "min":0
  834. },
  835. "KeyIdGuid":{
  836. "type":"string",
  837. "pattern":"(^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$)|(^[0-9A-Fa-f]{32}$)"
  838. },
  839. "KeyStoragePolicy":{
  840. "type":"string",
  841. "pattern":"(^NoStore$)|(^WithVariantPlaylists$)"
  842. },
  843. "KeyframesMaxDist":{
  844. "type":"string",
  845. "pattern":"^\\d{1,6}$"
  846. },
  847. "LimitExceededException":{
  848. "type":"structure",
  849. "members":{
  850. },
  851. "error":{"httpStatusCode":429},
  852. "exception":true
  853. },
  854. "ListJobsByPipelineRequest":{
  855. "type":"structure",
  856. "required":["PipelineId"],
  857. "members":{
  858. "PipelineId":{
  859. "shape":"Id",
  860. "location":"uri",
  861. "locationName":"PipelineId"
  862. },
  863. "Ascending":{
  864. "shape":"Ascending",
  865. "location":"querystring",
  866. "locationName":"Ascending"
  867. },
  868. "PageToken":{
  869. "shape":"Id",
  870. "location":"querystring",
  871. "locationName":"PageToken"
  872. }
  873. }
  874. },
  875. "ListJobsByPipelineResponse":{
  876. "type":"structure",
  877. "members":{
  878. "Jobs":{"shape":"Jobs"},
  879. "NextPageToken":{"shape":"Id"}
  880. }
  881. },
  882. "ListJobsByStatusRequest":{
  883. "type":"structure",
  884. "required":["Status"],
  885. "members":{
  886. "Status":{
  887. "shape":"JobStatus",
  888. "location":"uri",
  889. "locationName":"Status"
  890. },
  891. "Ascending":{
  892. "shape":"Ascending",
  893. "location":"querystring",
  894. "locationName":"Ascending"
  895. },
  896. "PageToken":{
  897. "shape":"Id",
  898. "location":"querystring",
  899. "locationName":"PageToken"
  900. }
  901. }
  902. },
  903. "ListJobsByStatusResponse":{
  904. "type":"structure",
  905. "members":{
  906. "Jobs":{"shape":"Jobs"},
  907. "NextPageToken":{"shape":"Id"}
  908. }
  909. },
  910. "ListPipelinesRequest":{
  911. "type":"structure",
  912. "members":{
  913. "Ascending":{
  914. "shape":"Ascending",
  915. "location":"querystring",
  916. "locationName":"Ascending"
  917. },
  918. "PageToken":{
  919. "shape":"Id",
  920. "location":"querystring",
  921. "locationName":"PageToken"
  922. }
  923. }
  924. },
  925. "ListPipelinesResponse":{
  926. "type":"structure",
  927. "members":{
  928. "Pipelines":{"shape":"Pipelines"},
  929. "NextPageToken":{"shape":"Id"}
  930. }
  931. },
  932. "ListPresetsRequest":{
  933. "type":"structure",
  934. "members":{
  935. "Ascending":{
  936. "shape":"Ascending",
  937. "location":"querystring",
  938. "locationName":"Ascending"
  939. },
  940. "PageToken":{
  941. "shape":"Id",
  942. "location":"querystring",
  943. "locationName":"PageToken"
  944. }
  945. }
  946. },
  947. "ListPresetsResponse":{
  948. "type":"structure",
  949. "members":{
  950. "Presets":{"shape":"Presets"},
  951. "NextPageToken":{"shape":"Id"}
  952. }
  953. },
  954. "LongKey":{
  955. "type":"string",
  956. "max":1024,
  957. "min":1
  958. },
  959. "MaxFrameRate":{
  960. "type":"string",
  961. "pattern":"(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
  962. },
  963. "MergePolicy":{
  964. "type":"string",
  965. "pattern":"(^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)"
  966. },
  967. "Name":{
  968. "type":"string",
  969. "max":40,
  970. "min":1
  971. },
  972. "NonEmptyBase64EncodedString":{
  973. "type":"string",
  974. "pattern":"(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)"
  975. },
  976. "Notifications":{
  977. "type":"structure",
  978. "members":{
  979. "Progressing":{"shape":"SnsTopic"},
  980. "Completed":{"shape":"SnsTopic"},
  981. "Warning":{"shape":"SnsTopic"},
  982. "Error":{"shape":"SnsTopic"}
  983. }
  984. },
  985. "NullableInteger":{"type":"integer"},
  986. "NullableLong":{"type":"long"},
  987. "OneTo512String":{
  988. "type":"string",
  989. "max":512,
  990. "min":1
  991. },
  992. "Opacity":{
  993. "type":"string",
  994. "pattern":"^\\d{1,3}(\\.\\d{0,20})?$"
  995. },
  996. "OutputKeys":{
  997. "type":"list",
  998. "member":{"shape":"Key"},
  999. "max":30
  1000. },
  1001. "PaddingPolicy":{
  1002. "type":"string",
  1003. "pattern":"(^Pad$)|(^NoPad$)"
  1004. },
  1005. "Permission":{
  1006. "type":"structure",
  1007. "members":{
  1008. "GranteeType":{"shape":"GranteeType"},
  1009. "Grantee":{"shape":"Grantee"},
  1010. "Access":{"shape":"AccessControls"}
  1011. }
  1012. },
  1013. "Permissions":{
  1014. "type":"list",
  1015. "member":{"shape":"Permission"},
  1016. "max":30
  1017. },
  1018. "Pipeline":{
  1019. "type":"structure",
  1020. "members":{
  1021. "Id":{"shape":"Id"},
  1022. "Arn":{"shape":"String"},
  1023. "Name":{"shape":"Name"},
  1024. "Status":{"shape":"PipelineStatus"},
  1025. "InputBucket":{"shape":"BucketName"},
  1026. "OutputBucket":{"shape":"BucketName"},
  1027. "Role":{"shape":"Role"},
  1028. "AwsKmsKeyArn":{"shape":"KeyArn"},
  1029. "Notifications":{"shape":"Notifications"},
  1030. "ContentConfig":{"shape":"PipelineOutputConfig"},
  1031. "ThumbnailConfig":{"shape":"PipelineOutputConfig"}
  1032. }
  1033. },
  1034. "PipelineOutputConfig":{
  1035. "type":"structure",
  1036. "members":{
  1037. "Bucket":{"shape":"BucketName"},
  1038. "StorageClass":{"shape":"StorageClass"},
  1039. "Permissions":{"shape":"Permissions"}
  1040. }
  1041. },
  1042. "PipelineStatus":{
  1043. "type":"string",
  1044. "pattern":"(^Active$)|(^Paused$)"
  1045. },
  1046. "Pipelines":{
  1047. "type":"list",
  1048. "member":{"shape":"Pipeline"}
  1049. },
  1050. "PixelsOrPercent":{
  1051. "type":"string",
  1052. "pattern":"(^\\d{1,3}(\\.\\d{0,5})?%$)|(^\\d{1,4}?px$)"
  1053. },
  1054. "PlayReadyDrm":{
  1055. "type":"structure",
  1056. "members":{
  1057. "Format":{"shape":"PlayReadyDrmFormatString"},
  1058. "Key":{"shape":"NonEmptyBase64EncodedString"},
  1059. "KeyMd5":{"shape":"NonEmptyBase64EncodedString"},
  1060. "KeyId":{"shape":"KeyIdGuid"},
  1061. "InitializationVector":{"shape":"ZeroTo255String"},
  1062. "LicenseAcquisitionUrl":{"shape":"OneTo512String"}
  1063. }
  1064. },
  1065. "PlayReadyDrmFormatString":{
  1066. "type":"string",
  1067. "pattern":"(^microsoft$)|(^discretix-3.0$)"
  1068. },
  1069. "Playlist":{
  1070. "type":"structure",
  1071. "members":{
  1072. "Name":{"shape":"Filename"},
  1073. "Format":{"shape":"PlaylistFormat"},
  1074. "OutputKeys":{"shape":"OutputKeys"},
  1075. "HlsContentProtection":{"shape":"HlsContentProtection"},
  1076. "PlayReadyDrm":{"shape":"PlayReadyDrm"},
  1077. "Status":{"shape":"JobStatus"},
  1078. "StatusDetail":{"shape":"Description"}
  1079. }
  1080. },
  1081. "PlaylistFormat":{
  1082. "type":"string",
  1083. "pattern":"(^HLSv3$)|(^HLSv4$)|(^Smooth$)|(^MPEG-DASH$)"
  1084. },
  1085. "Playlists":{
  1086. "type":"list",
  1087. "member":{"shape":"Playlist"}
  1088. },
  1089. "Preset":{
  1090. "type":"structure",
  1091. "members":{
  1092. "Id":{"shape":"Id"},
  1093. "Arn":{"shape":"String"},
  1094. "Name":{"shape":"Name"},
  1095. "Description":{"shape":"Description"},
  1096. "Container":{"shape":"PresetContainer"},
  1097. "Audio":{"shape":"AudioParameters"},
  1098. "Video":{"shape":"VideoParameters"},
  1099. "Thumbnails":{"shape":"Thumbnails"},
  1100. "Type":{"shape":"PresetType"}
  1101. }
  1102. },
  1103. "PresetContainer":{
  1104. "type":"string",
  1105. "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)|(^wav$)"
  1106. },
  1107. "PresetType":{
  1108. "type":"string",
  1109. "pattern":"(^System$)|(^Custom$)"
  1110. },
  1111. "PresetWatermark":{
  1112. "type":"structure",
  1113. "members":{
  1114. "Id":{"shape":"PresetWatermarkId"},
  1115. "MaxWidth":{"shape":"PixelsOrPercent"},
  1116. "MaxHeight":{"shape":"PixelsOrPercent"},
  1117. "SizingPolicy":{"shape":"WatermarkSizingPolicy"},
  1118. "HorizontalAlign":{"shape":"HorizontalAlign"},
  1119. "HorizontalOffset":{"shape":"PixelsOrPercent"},
  1120. "VerticalAlign":{"shape":"VerticalAlign"},
  1121. "VerticalOffset":{"shape":"PixelsOrPercent"},
  1122. "Opacity":{"shape":"Opacity"},
  1123. "Target":{"shape":"Target"}
  1124. }
  1125. },
  1126. "PresetWatermarkId":{
  1127. "type":"string",
  1128. "max":40,
  1129. "min":1
  1130. },
  1131. "PresetWatermarks":{
  1132. "type":"list",
  1133. "member":{"shape":"PresetWatermark"}
  1134. },
  1135. "Presets":{
  1136. "type":"list",
  1137. "member":{"shape":"Preset"}
  1138. },
  1139. "ReadJobRequest":{
  1140. "type":"structure",
  1141. "required":["Id"],
  1142. "members":{
  1143. "Id":{
  1144. "shape":"Id",
  1145. "location":"uri",
  1146. "locationName":"Id"
  1147. }
  1148. }
  1149. },
  1150. "ReadJobResponse":{
  1151. "type":"structure",
  1152. "members":{
  1153. "Job":{"shape":"Job"}
  1154. }
  1155. },
  1156. "ReadPipelineRequest":{
  1157. "type":"structure",
  1158. "required":["Id"],
  1159. "members":{
  1160. "Id":{
  1161. "shape":"Id",
  1162. "location":"uri",
  1163. "locationName":"Id"
  1164. }
  1165. }
  1166. },
  1167. "ReadPipelineResponse":{
  1168. "type":"structure",
  1169. "members":{
  1170. "Pipeline":{"shape":"Pipeline"},
  1171. "Warnings":{"shape":"Warnings"}
  1172. }
  1173. },
  1174. "ReadPresetRequest":{
  1175. "type":"structure",
  1176. "required":["Id"],
  1177. "members":{
  1178. "Id":{
  1179. "shape":"Id",
  1180. "location":"uri",
  1181. "locationName":"Id"
  1182. }
  1183. }
  1184. },
  1185. "ReadPresetResponse":{
  1186. "type":"structure",
  1187. "members":{
  1188. "Preset":{"shape":"Preset"}
  1189. }
  1190. },
  1191. "Resolution":{
  1192. "type":"string",
  1193. "pattern":"(^auto$)|(^\\d{1,5}x\\d{1,5}$)"
  1194. },
  1195. "ResourceInUseException":{
  1196. "type":"structure",
  1197. "members":{
  1198. },
  1199. "error":{"httpStatusCode":409},
  1200. "exception":true
  1201. },
  1202. "ResourceNotFoundException":{
  1203. "type":"structure",
  1204. "members":{
  1205. },
  1206. "error":{"httpStatusCode":404},
  1207. "exception":true
  1208. },
  1209. "Role":{
  1210. "type":"string",
  1211. "pattern":"^arn:aws:iam::\\w{12}:role/.+$"
  1212. },
  1213. "Rotate":{
  1214. "type":"string",
  1215. "pattern":"(^auto$)|(^0$)|(^90$)|(^180$)|(^270$)"
  1216. },
  1217. "SizingPolicy":{
  1218. "type":"string",
  1219. "pattern":"(^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$)"
  1220. },
  1221. "SnsTopic":{
  1222. "type":"string",
  1223. "pattern":"(^$)|(^arn:aws:sns:.*:\\w{12}:.+$)"
  1224. },
  1225. "SnsTopics":{
  1226. "type":"list",
  1227. "member":{"shape":"SnsTopic"},
  1228. "max":30
  1229. },
  1230. "StorageClass":{
  1231. "type":"string",
  1232. "pattern":"(^ReducedRedundancy$)|(^Standard$)"
  1233. },
  1234. "String":{"type":"string"},
  1235. "Success":{
  1236. "type":"string",
  1237. "pattern":"(^true$)|(^false$)"
  1238. },
  1239. "Target":{
  1240. "type":"string",
  1241. "pattern":"(^Content$)|(^Frame$)"
  1242. },
  1243. "TestRoleRequest":{
  1244. "type":"structure",
  1245. "required":[
  1246. "Role",
  1247. "InputBucket",
  1248. "OutputBucket",
  1249. "Topics"
  1250. ],
  1251. "members":{
  1252. "Role":{"shape":"Role"},
  1253. "InputBucket":{"shape":"BucketName"},
  1254. "OutputBucket":{"shape":"BucketName"},
  1255. "Topics":{"shape":"SnsTopics"}
  1256. }
  1257. },
  1258. "TestRoleResponse":{
  1259. "type":"structure",
  1260. "members":{
  1261. "Success":{"shape":"Success"},
  1262. "Messages":{"shape":"ExceptionMessages"}
  1263. }
  1264. },
  1265. "ThumbnailPattern":{
  1266. "type":"string",
  1267. "pattern":"(^$)|(^.*\\{count\\}.*$)"
  1268. },
  1269. "ThumbnailResolution":{
  1270. "type":"string",
  1271. "pattern":"^\\d{1,5}x\\d{1,5}$"
  1272. },
  1273. "Thumbnails":{
  1274. "type":"structure",
  1275. "members":{
  1276. "Format":{"shape":"JpgOrPng"},
  1277. "Interval":{"shape":"Digits"},
  1278. "Resolution":{"shape":"ThumbnailResolution"},
  1279. "AspectRatio":{"shape":"AspectRatio"},
  1280. "MaxWidth":{"shape":"DigitsOrAuto"},
  1281. "MaxHeight":{"shape":"DigitsOrAuto"},
  1282. "SizingPolicy":{"shape":"SizingPolicy"},
  1283. "PaddingPolicy":{"shape":"PaddingPolicy"}
  1284. }
  1285. },
  1286. "Time":{
  1287. "type":"string",
  1288. "pattern":"(^\\d{1,5}(\\.\\d{0,3})?$)|(^([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\\.\\d{0,3})?$)"
  1289. },
  1290. "TimeOffset":{
  1291. "type":"string",
  1292. "pattern":"(^[+-]?\\d{1,5}(\\.\\d{0,3})?$)|(^[+-]?([0-1]?[0-9]:|2[0-3]:)?([0-5]?[0-9]:)?[0-5]?[0-9](\\.\\d{0,3})?$)"
  1293. },
  1294. "TimeSpan":{
  1295. "type":"structure",
  1296. "members":{
  1297. "StartTime":{"shape":"Time"},
  1298. "Duration":{"shape":"Time"}
  1299. }
  1300. },
  1301. "Timing":{
  1302. "type":"structure",
  1303. "members":{
  1304. "SubmitTimeMillis":{"shape":"NullableLong"},
  1305. "StartTimeMillis":{"shape":"NullableLong"},
  1306. "FinishTimeMillis":{"shape":"NullableLong"}
  1307. }
  1308. },
  1309. "UpdatePipelineNotificationsRequest":{
  1310. "type":"structure",
  1311. "required":[
  1312. "Id",
  1313. "Notifications"
  1314. ],
  1315. "members":{
  1316. "Id":{
  1317. "shape":"Id",
  1318. "location":"uri",
  1319. "locationName":"Id"
  1320. },
  1321. "Notifications":{"shape":"Notifications"}
  1322. }
  1323. },
  1324. "UpdatePipelineNotificationsResponse":{
  1325. "type":"structure",
  1326. "members":{
  1327. "Pipeline":{"shape":"Pipeline"}
  1328. }
  1329. },
  1330. "UpdatePipelineRequest":{
  1331. "type":"structure",
  1332. "required":["Id"],
  1333. "members":{
  1334. "Id":{
  1335. "shape":"Id",
  1336. "location":"uri",
  1337. "locationName":"Id"
  1338. },
  1339. "Name":{"shape":"Name"},
  1340. "InputBucket":{"shape":"BucketName"},
  1341. "Role":{"shape":"Role"},
  1342. "AwsKmsKeyArn":{"shape":"KeyArn"},
  1343. "Notifications":{"shape":"Notifications"},
  1344. "ContentConfig":{"shape":"PipelineOutputConfig"},
  1345. "ThumbnailConfig":{"shape":"PipelineOutputConfig"}
  1346. }
  1347. },
  1348. "UpdatePipelineResponse":{
  1349. "type":"structure",
  1350. "members":{
  1351. "Pipeline":{"shape":"Pipeline"},
  1352. "Warnings":{"shape":"Warnings"}
  1353. }
  1354. },
  1355. "UpdatePipelineStatusRequest":{
  1356. "type":"structure",
  1357. "required":[
  1358. "Id",
  1359. "Status"
  1360. ],
  1361. "members":{
  1362. "Id":{
  1363. "shape":"Id",
  1364. "location":"uri",
  1365. "locationName":"Id"
  1366. },
  1367. "Status":{"shape":"PipelineStatus"}
  1368. }
  1369. },
  1370. "UpdatePipelineStatusResponse":{
  1371. "type":"structure",
  1372. "members":{
  1373. "Pipeline":{"shape":"Pipeline"}
  1374. }
  1375. },
  1376. "UserMetadata":{
  1377. "type":"map",
  1378. "key":{"shape":"String"},
  1379. "value":{"shape":"String"}
  1380. },
  1381. "ValidationException":{
  1382. "type":"structure",
  1383. "members":{
  1384. },
  1385. "error":{"httpStatusCode":400},
  1386. "exception":true
  1387. },
  1388. "VerticalAlign":{
  1389. "type":"string",
  1390. "pattern":"(^Top$)|(^Bottom$)|(^Center$)"
  1391. },
  1392. "VideoBitRate":{
  1393. "type":"string",
  1394. "pattern":"(^\\d{2,5}$)|(^auto$)"
  1395. },
  1396. "VideoCodec":{
  1397. "type":"string",
  1398. "pattern":"(^H\\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$)"
  1399. },
  1400. "VideoParameters":{
  1401. "type":"structure",
  1402. "members":{
  1403. "Codec":{"shape":"VideoCodec"},
  1404. "CodecOptions":{"shape":"CodecOptions"},
  1405. "KeyframesMaxDist":{"shape":"KeyframesMaxDist"},
  1406. "FixedGOP":{"shape":"FixedGOP"},
  1407. "BitRate":{"shape":"VideoBitRate"},
  1408. "FrameRate":{"shape":"FrameRate"},
  1409. "MaxFrameRate":{"shape":"MaxFrameRate"},
  1410. "Resolution":{"shape":"Resolution"},
  1411. "AspectRatio":{"shape":"AspectRatio"},
  1412. "MaxWidth":{"shape":"DigitsOrAuto"},
  1413. "MaxHeight":{"shape":"DigitsOrAuto"},
  1414. "DisplayAspectRatio":{"shape":"AspectRatio"},
  1415. "SizingPolicy":{"shape":"SizingPolicy"},
  1416. "PaddingPolicy":{"shape":"PaddingPolicy"},
  1417. "Watermarks":{"shape":"PresetWatermarks"}
  1418. }
  1419. },
  1420. "Warning":{
  1421. "type":"structure",
  1422. "members":{
  1423. "Code":{"shape":"String"},
  1424. "Message":{"shape":"String"}
  1425. }
  1426. },
  1427. "Warnings":{
  1428. "type":"list",
  1429. "member":{"shape":"Warning"}
  1430. },
  1431. "WatermarkKey":{
  1432. "type":"string",
  1433. "max":1024,
  1434. "min":1,
  1435. "pattern":"(^.{1,1020}.jpg$)|(^.{1,1019}.jpeg$)|(^.{1,1020}.png$)"
  1436. },
  1437. "WatermarkSizingPolicy":{
  1438. "type":"string",
  1439. "pattern":"(^Fit$)|(^Stretch$)|(^ShrinkToFit$)"
  1440. },
  1441. "ZeroTo255String":{
  1442. "type":"string",
  1443. "max":255,
  1444. "min":0
  1445. },
  1446. "ZeroTo512String":{
  1447. "type":"string",
  1448. "max":512,
  1449. "min":0
  1450. }
  1451. }
  1452. }