UNPKG

22.3 kBJSONView Raw
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 "serviceId": "Elastic Transcoder",
9 "signatureVersion": "v4",
10 "uid": "elastictranscoder-2012-09-25"
11 },
12 "operations": {
13 "CancelJob": {
14 "http": {
15 "method": "DELETE",
16 "requestUri": "/2012-09-25/jobs/{Id}",
17 "responseCode": 202
18 },
19 "input": {
20 "type": "structure",
21 "required": [
22 "Id"
23 ],
24 "members": {
25 "Id": {
26 "location": "uri",
27 "locationName": "Id"
28 }
29 }
30 },
31 "output": {
32 "type": "structure",
33 "members": {}
34 }
35 },
36 "CreateJob": {
37 "http": {
38 "requestUri": "/2012-09-25/jobs",
39 "responseCode": 201
40 },
41 "input": {
42 "type": "structure",
43 "required": [
44 "PipelineId"
45 ],
46 "members": {
47 "PipelineId": {},
48 "Input": {
49 "shape": "S5"
50 },
51 "Inputs": {
52 "shape": "St"
53 },
54 "Output": {
55 "shape": "Su"
56 },
57 "Outputs": {
58 "type": "list",
59 "member": {
60 "shape": "Su"
61 }
62 },
63 "OutputKeyPrefix": {},
64 "Playlists": {
65 "type": "list",
66 "member": {
67 "type": "structure",
68 "members": {
69 "Name": {},
70 "Format": {},
71 "OutputKeys": {
72 "shape": "S1l"
73 },
74 "HlsContentProtection": {
75 "shape": "S1m"
76 },
77 "PlayReadyDrm": {
78 "shape": "S1q"
79 }
80 }
81 }
82 },
83 "UserMetadata": {
84 "shape": "S1v"
85 }
86 }
87 },
88 "output": {
89 "type": "structure",
90 "members": {
91 "Job": {
92 "shape": "S1y"
93 }
94 }
95 }
96 },
97 "CreatePipeline": {
98 "http": {
99 "requestUri": "/2012-09-25/pipelines",
100 "responseCode": 201
101 },
102 "input": {
103 "type": "structure",
104 "required": [
105 "Name",
106 "InputBucket",
107 "Role"
108 ],
109 "members": {
110 "Name": {},
111 "InputBucket": {},
112 "OutputBucket": {},
113 "Role": {},
114 "AwsKmsKeyArn": {},
115 "Notifications": {
116 "shape": "S2a"
117 },
118 "ContentConfig": {
119 "shape": "S2c"
120 },
121 "ThumbnailConfig": {
122 "shape": "S2c"
123 }
124 }
125 },
126 "output": {
127 "type": "structure",
128 "members": {
129 "Pipeline": {
130 "shape": "S2l"
131 },
132 "Warnings": {
133 "shape": "S2n"
134 }
135 }
136 }
137 },
138 "CreatePreset": {
139 "http": {
140 "requestUri": "/2012-09-25/presets",
141 "responseCode": 201
142 },
143 "input": {
144 "type": "structure",
145 "required": [
146 "Name",
147 "Container"
148 ],
149 "members": {
150 "Name": {},
151 "Description": {},
152 "Container": {},
153 "Video": {
154 "shape": "S2r"
155 },
156 "Audio": {
157 "shape": "S37"
158 },
159 "Thumbnails": {
160 "shape": "S3i"
161 }
162 }
163 },
164 "output": {
165 "type": "structure",
166 "members": {
167 "Preset": {
168 "shape": "S3m"
169 },
170 "Warning": {}
171 }
172 }
173 },
174 "DeletePipeline": {
175 "http": {
176 "method": "DELETE",
177 "requestUri": "/2012-09-25/pipelines/{Id}",
178 "responseCode": 202
179 },
180 "input": {
181 "type": "structure",
182 "required": [
183 "Id"
184 ],
185 "members": {
186 "Id": {
187 "location": "uri",
188 "locationName": "Id"
189 }
190 }
191 },
192 "output": {
193 "type": "structure",
194 "members": {}
195 }
196 },
197 "DeletePreset": {
198 "http": {
199 "method": "DELETE",
200 "requestUri": "/2012-09-25/presets/{Id}",
201 "responseCode": 202
202 },
203 "input": {
204 "type": "structure",
205 "required": [
206 "Id"
207 ],
208 "members": {
209 "Id": {
210 "location": "uri",
211 "locationName": "Id"
212 }
213 }
214 },
215 "output": {
216 "type": "structure",
217 "members": {}
218 }
219 },
220 "ListJobsByPipeline": {
221 "http": {
222 "method": "GET",
223 "requestUri": "/2012-09-25/jobsByPipeline/{PipelineId}"
224 },
225 "input": {
226 "type": "structure",
227 "required": [
228 "PipelineId"
229 ],
230 "members": {
231 "PipelineId": {
232 "location": "uri",
233 "locationName": "PipelineId"
234 },
235 "Ascending": {
236 "location": "querystring",
237 "locationName": "Ascending"
238 },
239 "PageToken": {
240 "location": "querystring",
241 "locationName": "PageToken"
242 }
243 }
244 },
245 "output": {
246 "type": "structure",
247 "members": {
248 "Jobs": {
249 "shape": "S3v"
250 },
251 "NextPageToken": {}
252 }
253 }
254 },
255 "ListJobsByStatus": {
256 "http": {
257 "method": "GET",
258 "requestUri": "/2012-09-25/jobsByStatus/{Status}"
259 },
260 "input": {
261 "type": "structure",
262 "required": [
263 "Status"
264 ],
265 "members": {
266 "Status": {
267 "location": "uri",
268 "locationName": "Status"
269 },
270 "Ascending": {
271 "location": "querystring",
272 "locationName": "Ascending"
273 },
274 "PageToken": {
275 "location": "querystring",
276 "locationName": "PageToken"
277 }
278 }
279 },
280 "output": {
281 "type": "structure",
282 "members": {
283 "Jobs": {
284 "shape": "S3v"
285 },
286 "NextPageToken": {}
287 }
288 }
289 },
290 "ListPipelines": {
291 "http": {
292 "method": "GET",
293 "requestUri": "/2012-09-25/pipelines"
294 },
295 "input": {
296 "type": "structure",
297 "members": {
298 "Ascending": {
299 "location": "querystring",
300 "locationName": "Ascending"
301 },
302 "PageToken": {
303 "location": "querystring",
304 "locationName": "PageToken"
305 }
306 }
307 },
308 "output": {
309 "type": "structure",
310 "members": {
311 "Pipelines": {
312 "type": "list",
313 "member": {
314 "shape": "S2l"
315 }
316 },
317 "NextPageToken": {}
318 }
319 }
320 },
321 "ListPresets": {
322 "http": {
323 "method": "GET",
324 "requestUri": "/2012-09-25/presets"
325 },
326 "input": {
327 "type": "structure",
328 "members": {
329 "Ascending": {
330 "location": "querystring",
331 "locationName": "Ascending"
332 },
333 "PageToken": {
334 "location": "querystring",
335 "locationName": "PageToken"
336 }
337 }
338 },
339 "output": {
340 "type": "structure",
341 "members": {
342 "Presets": {
343 "type": "list",
344 "member": {
345 "shape": "S3m"
346 }
347 },
348 "NextPageToken": {}
349 }
350 }
351 },
352 "ReadJob": {
353 "http": {
354 "method": "GET",
355 "requestUri": "/2012-09-25/jobs/{Id}"
356 },
357 "input": {
358 "type": "structure",
359 "required": [
360 "Id"
361 ],
362 "members": {
363 "Id": {
364 "location": "uri",
365 "locationName": "Id"
366 }
367 }
368 },
369 "output": {
370 "type": "structure",
371 "members": {
372 "Job": {
373 "shape": "S1y"
374 }
375 }
376 }
377 },
378 "ReadPipeline": {
379 "http": {
380 "method": "GET",
381 "requestUri": "/2012-09-25/pipelines/{Id}"
382 },
383 "input": {
384 "type": "structure",
385 "required": [
386 "Id"
387 ],
388 "members": {
389 "Id": {
390 "location": "uri",
391 "locationName": "Id"
392 }
393 }
394 },
395 "output": {
396 "type": "structure",
397 "members": {
398 "Pipeline": {
399 "shape": "S2l"
400 },
401 "Warnings": {
402 "shape": "S2n"
403 }
404 }
405 }
406 },
407 "ReadPreset": {
408 "http": {
409 "method": "GET",
410 "requestUri": "/2012-09-25/presets/{Id}"
411 },
412 "input": {
413 "type": "structure",
414 "required": [
415 "Id"
416 ],
417 "members": {
418 "Id": {
419 "location": "uri",
420 "locationName": "Id"
421 }
422 }
423 },
424 "output": {
425 "type": "structure",
426 "members": {
427 "Preset": {
428 "shape": "S3m"
429 }
430 }
431 }
432 },
433 "TestRole": {
434 "http": {
435 "requestUri": "/2012-09-25/roleTests",
436 "responseCode": 200
437 },
438 "input": {
439 "type": "structure",
440 "required": [
441 "Role",
442 "InputBucket",
443 "OutputBucket",
444 "Topics"
445 ],
446 "members": {
447 "Role": {},
448 "InputBucket": {},
449 "OutputBucket": {},
450 "Topics": {
451 "type": "list",
452 "member": {}
453 }
454 },
455 "deprecated": true
456 },
457 "output": {
458 "type": "structure",
459 "members": {
460 "Success": {},
461 "Messages": {
462 "type": "list",
463 "member": {}
464 }
465 },
466 "deprecated": true
467 },
468 "deprecated": true
469 },
470 "UpdatePipeline": {
471 "http": {
472 "method": "PUT",
473 "requestUri": "/2012-09-25/pipelines/{Id}",
474 "responseCode": 200
475 },
476 "input": {
477 "type": "structure",
478 "required": [
479 "Id"
480 ],
481 "members": {
482 "Id": {
483 "location": "uri",
484 "locationName": "Id"
485 },
486 "Name": {},
487 "InputBucket": {},
488 "Role": {},
489 "AwsKmsKeyArn": {},
490 "Notifications": {
491 "shape": "S2a"
492 },
493 "ContentConfig": {
494 "shape": "S2c"
495 },
496 "ThumbnailConfig": {
497 "shape": "S2c"
498 }
499 }
500 },
501 "output": {
502 "type": "structure",
503 "members": {
504 "Pipeline": {
505 "shape": "S2l"
506 },
507 "Warnings": {
508 "shape": "S2n"
509 }
510 }
511 }
512 },
513 "UpdatePipelineNotifications": {
514 "http": {
515 "requestUri": "/2012-09-25/pipelines/{Id}/notifications"
516 },
517 "input": {
518 "type": "structure",
519 "required": [
520 "Id",
521 "Notifications"
522 ],
523 "members": {
524 "Id": {
525 "location": "uri",
526 "locationName": "Id"
527 },
528 "Notifications": {
529 "shape": "S2a"
530 }
531 }
532 },
533 "output": {
534 "type": "structure",
535 "members": {
536 "Pipeline": {
537 "shape": "S2l"
538 }
539 }
540 }
541 },
542 "UpdatePipelineStatus": {
543 "http": {
544 "requestUri": "/2012-09-25/pipelines/{Id}/status"
545 },
546 "input": {
547 "type": "structure",
548 "required": [
549 "Id",
550 "Status"
551 ],
552 "members": {
553 "Id": {
554 "location": "uri",
555 "locationName": "Id"
556 },
557 "Status": {}
558 }
559 },
560 "output": {
561 "type": "structure",
562 "members": {
563 "Pipeline": {
564 "shape": "S2l"
565 }
566 }
567 }
568 }
569 },
570 "shapes": {
571 "S5": {
572 "type": "structure",
573 "members": {
574 "Key": {},
575 "FrameRate": {},
576 "Resolution": {},
577 "AspectRatio": {},
578 "Interlaced": {},
579 "Container": {},
580 "Encryption": {
581 "shape": "Sc"
582 },
583 "TimeSpan": {
584 "shape": "Sg"
585 },
586 "InputCaptions": {
587 "type": "structure",
588 "members": {
589 "MergePolicy": {},
590 "CaptionSources": {
591 "shape": "Sk"
592 }
593 }
594 },
595 "DetectedProperties": {
596 "type": "structure",
597 "members": {
598 "Width": {
599 "type": "integer"
600 },
601 "Height": {
602 "type": "integer"
603 },
604 "FrameRate": {},
605 "FileSize": {
606 "type": "long"
607 },
608 "DurationMillis": {
609 "type": "long"
610 }
611 }
612 }
613 }
614 },
615 "Sc": {
616 "type": "structure",
617 "members": {
618 "Mode": {},
619 "Key": {},
620 "KeyMd5": {},
621 "InitializationVector": {}
622 }
623 },
624 "Sg": {
625 "type": "structure",
626 "members": {
627 "StartTime": {},
628 "Duration": {}
629 }
630 },
631 "Sk": {
632 "type": "list",
633 "member": {
634 "type": "structure",
635 "members": {
636 "Key": {},
637 "Language": {},
638 "TimeOffset": {},
639 "Label": {},
640 "Encryption": {
641 "shape": "Sc"
642 }
643 }
644 }
645 },
646 "St": {
647 "type": "list",
648 "member": {
649 "shape": "S5"
650 }
651 },
652 "Su": {
653 "type": "structure",
654 "members": {
655 "Key": {},
656 "ThumbnailPattern": {},
657 "ThumbnailEncryption": {
658 "shape": "Sc"
659 },
660 "Rotate": {},
661 "PresetId": {},
662 "SegmentDuration": {},
663 "Watermarks": {
664 "shape": "Sx"
665 },
666 "AlbumArt": {
667 "shape": "S11"
668 },
669 "Composition": {
670 "shape": "S19",
671 "deprecated": true
672 },
673 "Captions": {
674 "shape": "S1b"
675 },
676 "Encryption": {
677 "shape": "Sc"
678 }
679 }
680 },
681 "Sx": {
682 "type": "list",
683 "member": {
684 "type": "structure",
685 "members": {
686 "PresetWatermarkId": {},
687 "InputKey": {},
688 "Encryption": {
689 "shape": "Sc"
690 }
691 }
692 }
693 },
694 "S11": {
695 "type": "structure",
696 "members": {
697 "MergePolicy": {},
698 "Artwork": {
699 "type": "list",
700 "member": {
701 "type": "structure",
702 "members": {
703 "InputKey": {},
704 "MaxWidth": {},
705 "MaxHeight": {},
706 "SizingPolicy": {},
707 "PaddingPolicy": {},
708 "AlbumArtFormat": {},
709 "Encryption": {
710 "shape": "Sc"
711 }
712 }
713 }
714 }
715 }
716 },
717 "S19": {
718 "type": "list",
719 "member": {
720 "type": "structure",
721 "members": {
722 "TimeSpan": {
723 "shape": "Sg"
724 }
725 },
726 "deprecated": true
727 },
728 "deprecated": true
729 },
730 "S1b": {
731 "type": "structure",
732 "members": {
733 "MergePolicy": {
734 "deprecated": true
735 },
736 "CaptionSources": {
737 "shape": "Sk",
738 "deprecated": true
739 },
740 "CaptionFormats": {
741 "type": "list",
742 "member": {
743 "type": "structure",
744 "members": {
745 "Format": {},
746 "Pattern": {},
747 "Encryption": {
748 "shape": "Sc"
749 }
750 }
751 }
752 }
753 }
754 },
755 "S1l": {
756 "type": "list",
757 "member": {}
758 },
759 "S1m": {
760 "type": "structure",
761 "members": {
762 "Method": {},
763 "Key": {},
764 "KeyMd5": {},
765 "InitializationVector": {},
766 "LicenseAcquisitionUrl": {},
767 "KeyStoragePolicy": {}
768 }
769 },
770 "S1q": {
771 "type": "structure",
772 "members": {
773 "Format": {},
774 "Key": {},
775 "KeyMd5": {},
776 "KeyId": {},
777 "InitializationVector": {},
778 "LicenseAcquisitionUrl": {}
779 }
780 },
781 "S1v": {
782 "type": "map",
783 "key": {},
784 "value": {}
785 },
786 "S1y": {
787 "type": "structure",
788 "members": {
789 "Id": {},
790 "Arn": {},
791 "PipelineId": {},
792 "Input": {
793 "shape": "S5"
794 },
795 "Inputs": {
796 "shape": "St"
797 },
798 "Output": {
799 "shape": "S1z"
800 },
801 "Outputs": {
802 "type": "list",
803 "member": {
804 "shape": "S1z"
805 }
806 },
807 "OutputKeyPrefix": {},
808 "Playlists": {
809 "type": "list",
810 "member": {
811 "type": "structure",
812 "members": {
813 "Name": {},
814 "Format": {},
815 "OutputKeys": {
816 "shape": "S1l"
817 },
818 "HlsContentProtection": {
819 "shape": "S1m"
820 },
821 "PlayReadyDrm": {
822 "shape": "S1q"
823 },
824 "Status": {},
825 "StatusDetail": {}
826 }
827 }
828 },
829 "Status": {},
830 "UserMetadata": {
831 "shape": "S1v"
832 },
833 "Timing": {
834 "type": "structure",
835 "members": {
836 "SubmitTimeMillis": {
837 "type": "long"
838 },
839 "StartTimeMillis": {
840 "type": "long"
841 },
842 "FinishTimeMillis": {
843 "type": "long"
844 }
845 }
846 }
847 }
848 },
849 "S1z": {
850 "type": "structure",
851 "members": {
852 "Id": {},
853 "Key": {},
854 "ThumbnailPattern": {},
855 "ThumbnailEncryption": {
856 "shape": "Sc"
857 },
858 "Rotate": {},
859 "PresetId": {},
860 "SegmentDuration": {},
861 "Status": {},
862 "StatusDetail": {},
863 "Duration": {
864 "type": "long"
865 },
866 "Width": {
867 "type": "integer"
868 },
869 "Height": {
870 "type": "integer"
871 },
872 "FrameRate": {},
873 "FileSize": {
874 "type": "long"
875 },
876 "DurationMillis": {
877 "type": "long"
878 },
879 "Watermarks": {
880 "shape": "Sx"
881 },
882 "AlbumArt": {
883 "shape": "S11"
884 },
885 "Composition": {
886 "shape": "S19",
887 "deprecated": true
888 },
889 "Captions": {
890 "shape": "S1b"
891 },
892 "Encryption": {
893 "shape": "Sc"
894 },
895 "AppliedColorSpaceConversion": {}
896 }
897 },
898 "S2a": {
899 "type": "structure",
900 "members": {
901 "Progressing": {},
902 "Completed": {},
903 "Warning": {},
904 "Error": {}
905 }
906 },
907 "S2c": {
908 "type": "structure",
909 "members": {
910 "Bucket": {},
911 "StorageClass": {},
912 "Permissions": {
913 "type": "list",
914 "member": {
915 "type": "structure",
916 "members": {
917 "GranteeType": {},
918 "Grantee": {},
919 "Access": {
920 "type": "list",
921 "member": {}
922 }
923 }
924 }
925 }
926 }
927 },
928 "S2l": {
929 "type": "structure",
930 "members": {
931 "Id": {},
932 "Arn": {},
933 "Name": {},
934 "Status": {},
935 "InputBucket": {},
936 "OutputBucket": {},
937 "Role": {},
938 "AwsKmsKeyArn": {},
939 "Notifications": {
940 "shape": "S2a"
941 },
942 "ContentConfig": {
943 "shape": "S2c"
944 },
945 "ThumbnailConfig": {
946 "shape": "S2c"
947 }
948 }
949 },
950 "S2n": {
951 "type": "list",
952 "member": {
953 "type": "structure",
954 "members": {
955 "Code": {},
956 "Message": {}
957 }
958 }
959 },
960 "S2r": {
961 "type": "structure",
962 "members": {
963 "Codec": {},
964 "CodecOptions": {
965 "type": "map",
966 "key": {},
967 "value": {}
968 },
969 "KeyframesMaxDist": {},
970 "FixedGOP": {},
971 "BitRate": {},
972 "FrameRate": {},
973 "MaxFrameRate": {},
974 "Resolution": {},
975 "AspectRatio": {},
976 "MaxWidth": {},
977 "MaxHeight": {},
978 "DisplayAspectRatio": {},
979 "SizingPolicy": {},
980 "PaddingPolicy": {},
981 "Watermarks": {
982 "type": "list",
983 "member": {
984 "type": "structure",
985 "members": {
986 "Id": {},
987 "MaxWidth": {},
988 "MaxHeight": {},
989 "SizingPolicy": {},
990 "HorizontalAlign": {},
991 "HorizontalOffset": {},
992 "VerticalAlign": {},
993 "VerticalOffset": {},
994 "Opacity": {},
995 "Target": {}
996 }
997 }
998 }
999 }
1000 },
1001 "S37": {
1002 "type": "structure",
1003 "members": {
1004 "Codec": {},
1005 "SampleRate": {},
1006 "BitRate": {},
1007 "Channels": {},
1008 "AudioPackingMode": {},
1009 "CodecOptions": {
1010 "type": "structure",
1011 "members": {
1012 "Profile": {},
1013 "BitDepth": {},
1014 "BitOrder": {},
1015 "Signed": {}
1016 }
1017 }
1018 }
1019 },
1020 "S3i": {
1021 "type": "structure",
1022 "members": {
1023 "Format": {},
1024 "Interval": {},
1025 "Resolution": {},
1026 "AspectRatio": {},
1027 "MaxWidth": {},
1028 "MaxHeight": {},
1029 "SizingPolicy": {},
1030 "PaddingPolicy": {}
1031 }
1032 },
1033 "S3m": {
1034 "type": "structure",
1035 "members": {
1036 "Id": {},
1037 "Arn": {},
1038 "Name": {},
1039 "Description": {},
1040 "Container": {},
1041 "Audio": {
1042 "shape": "S37"
1043 },
1044 "Video": {
1045 "shape": "S2r"
1046 },
1047 "Thumbnails": {
1048 "shape": "S3i"
1049 },
1050 "Type": {}
1051 }
1052 },
1053 "S3v": {
1054 "type": "list",
1055 "member": {
1056 "shape": "S1y"
1057 }
1058 }
1059 }
1060}
\No newline at end of file