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