UNPKG

23.8 kBJSONView Raw
1{
2 "metadata": {
3 "apiVersion": "2018-11-14",
4 "endpointPrefix": "mediaconnect",
5 "signingName": "mediaconnect",
6 "serviceFullName": "AWS MediaConnect",
7 "serviceId": "MediaConnect",
8 "protocol": "rest-json",
9 "jsonVersion": "1.1",
10 "uid": "mediaconnect-2018-11-14",
11 "signatureVersion": "v4"
12 },
13 "operations": {
14 "AddFlowOutputs": {
15 "http": {
16 "requestUri": "/v1/flows/{flowArn}/outputs",
17 "responseCode": 201
18 },
19 "input": {
20 "type": "structure",
21 "members": {
22 "FlowArn": {
23 "location": "uri",
24 "locationName": "flowArn"
25 },
26 "Outputs": {
27 "shape": "S3",
28 "locationName": "outputs"
29 }
30 },
31 "required": [
32 "FlowArn",
33 "Outputs"
34 ]
35 },
36 "output": {
37 "type": "structure",
38 "members": {
39 "FlowArn": {
40 "locationName": "flowArn"
41 },
42 "Outputs": {
43 "shape": "Sb",
44 "locationName": "outputs"
45 }
46 }
47 }
48 },
49 "CreateFlow": {
50 "http": {
51 "requestUri": "/v1/flows",
52 "responseCode": 201
53 },
54 "input": {
55 "type": "structure",
56 "members": {
57 "AvailabilityZone": {
58 "locationName": "availabilityZone"
59 },
60 "Entitlements": {
61 "shape": "Sf",
62 "locationName": "entitlements"
63 },
64 "Name": {
65 "locationName": "name"
66 },
67 "Outputs": {
68 "shape": "S3",
69 "locationName": "outputs"
70 },
71 "Source": {
72 "locationName": "source",
73 "type": "structure",
74 "members": {
75 "Decryption": {
76 "shape": "S5",
77 "locationName": "decryption"
78 },
79 "Description": {
80 "locationName": "description"
81 },
82 "EntitlementArn": {
83 "locationName": "entitlementArn"
84 },
85 "IngestPort": {
86 "locationName": "ingestPort",
87 "type": "integer"
88 },
89 "MaxBitrate": {
90 "locationName": "maxBitrate",
91 "type": "integer"
92 },
93 "MaxLatency": {
94 "locationName": "maxLatency",
95 "type": "integer"
96 },
97 "Name": {
98 "locationName": "name"
99 },
100 "Protocol": {
101 "locationName": "protocol"
102 },
103 "StreamId": {
104 "locationName": "streamId"
105 },
106 "WhitelistCidr": {
107 "locationName": "whitelistCidr"
108 }
109 }
110 }
111 },
112 "required": [
113 "Source",
114 "Name"
115 ]
116 },
117 "output": {
118 "type": "structure",
119 "members": {
120 "Flow": {
121 "shape": "Sk",
122 "locationName": "flow"
123 }
124 }
125 }
126 },
127 "DeleteFlow": {
128 "http": {
129 "method": "DELETE",
130 "requestUri": "/v1/flows/{flowArn}",
131 "responseCode": 202
132 },
133 "input": {
134 "type": "structure",
135 "members": {
136 "FlowArn": {
137 "location": "uri",
138 "locationName": "flowArn"
139 }
140 },
141 "required": [
142 "FlowArn"
143 ]
144 },
145 "output": {
146 "type": "structure",
147 "members": {
148 "FlowArn": {
149 "locationName": "flowArn"
150 },
151 "Status": {
152 "locationName": "status"
153 }
154 }
155 }
156 },
157 "DescribeFlow": {
158 "http": {
159 "method": "GET",
160 "requestUri": "/v1/flows/{flowArn}",
161 "responseCode": 200
162 },
163 "input": {
164 "type": "structure",
165 "members": {
166 "FlowArn": {
167 "location": "uri",
168 "locationName": "flowArn"
169 }
170 },
171 "required": [
172 "FlowArn"
173 ]
174 },
175 "output": {
176 "type": "structure",
177 "members": {
178 "Flow": {
179 "shape": "Sk",
180 "locationName": "flow"
181 },
182 "Messages": {
183 "locationName": "messages",
184 "type": "structure",
185 "members": {
186 "Errors": {
187 "shape": "Sh",
188 "locationName": "errors"
189 }
190 },
191 "required": [
192 "Errors"
193 ]
194 }
195 }
196 }
197 },
198 "GrantFlowEntitlements": {
199 "http": {
200 "requestUri": "/v1/flows/{flowArn}/entitlements",
201 "responseCode": 200
202 },
203 "input": {
204 "type": "structure",
205 "members": {
206 "Entitlements": {
207 "shape": "Sf",
208 "locationName": "entitlements"
209 },
210 "FlowArn": {
211 "location": "uri",
212 "locationName": "flowArn"
213 }
214 },
215 "required": [
216 "FlowArn",
217 "Entitlements"
218 ]
219 },
220 "output": {
221 "type": "structure",
222 "members": {
223 "Entitlements": {
224 "shape": "Sl",
225 "locationName": "entitlements"
226 },
227 "FlowArn": {
228 "locationName": "flowArn"
229 }
230 }
231 }
232 },
233 "ListEntitlements": {
234 "http": {
235 "method": "GET",
236 "requestUri": "/v1/entitlements",
237 "responseCode": 200
238 },
239 "input": {
240 "type": "structure",
241 "members": {
242 "MaxResults": {
243 "location": "querystring",
244 "locationName": "maxResults",
245 "type": "integer"
246 },
247 "NextToken": {
248 "location": "querystring",
249 "locationName": "nextToken"
250 }
251 }
252 },
253 "output": {
254 "type": "structure",
255 "members": {
256 "Entitlements": {
257 "locationName": "entitlements",
258 "type": "list",
259 "member": {
260 "type": "structure",
261 "members": {
262 "EntitlementArn": {
263 "locationName": "entitlementArn"
264 },
265 "EntitlementName": {
266 "locationName": "entitlementName"
267 }
268 },
269 "required": [
270 "EntitlementArn",
271 "EntitlementName"
272 ]
273 }
274 },
275 "NextToken": {
276 "locationName": "nextToken"
277 }
278 }
279 }
280 },
281 "ListFlows": {
282 "http": {
283 "method": "GET",
284 "requestUri": "/v1/flows",
285 "responseCode": 200
286 },
287 "input": {
288 "type": "structure",
289 "members": {
290 "MaxResults": {
291 "location": "querystring",
292 "locationName": "maxResults",
293 "type": "integer"
294 },
295 "NextToken": {
296 "location": "querystring",
297 "locationName": "nextToken"
298 }
299 }
300 },
301 "output": {
302 "type": "structure",
303 "members": {
304 "Flows": {
305 "locationName": "flows",
306 "type": "list",
307 "member": {
308 "type": "structure",
309 "members": {
310 "AvailabilityZone": {
311 "locationName": "availabilityZone"
312 },
313 "Description": {
314 "locationName": "description"
315 },
316 "FlowArn": {
317 "locationName": "flowArn"
318 },
319 "Name": {
320 "locationName": "name"
321 },
322 "SourceType": {
323 "locationName": "sourceType"
324 },
325 "Status": {
326 "locationName": "status"
327 }
328 },
329 "required": [
330 "Status",
331 "Description",
332 "SourceType",
333 "AvailabilityZone",
334 "FlowArn",
335 "Name"
336 ]
337 }
338 },
339 "NextToken": {
340 "locationName": "nextToken"
341 }
342 }
343 }
344 },
345 "ListTagsForResource": {
346 "http": {
347 "method": "GET",
348 "requestUri": "/tags/{resourceArn}",
349 "responseCode": 200
350 },
351 "input": {
352 "type": "structure",
353 "members": {
354 "ResourceArn": {
355 "location": "uri",
356 "locationName": "resourceArn"
357 }
358 },
359 "required": [
360 "ResourceArn"
361 ]
362 },
363 "output": {
364 "type": "structure",
365 "members": {
366 "Tags": {
367 "shape": "S18",
368 "locationName": "tags"
369 }
370 }
371 }
372 },
373 "RemoveFlowOutput": {
374 "http": {
375 "method": "DELETE",
376 "requestUri": "/v1/flows/{flowArn}/outputs/{outputArn}",
377 "responseCode": 202
378 },
379 "input": {
380 "type": "structure",
381 "members": {
382 "FlowArn": {
383 "location": "uri",
384 "locationName": "flowArn"
385 },
386 "OutputArn": {
387 "location": "uri",
388 "locationName": "outputArn"
389 }
390 },
391 "required": [
392 "FlowArn",
393 "OutputArn"
394 ]
395 },
396 "output": {
397 "type": "structure",
398 "members": {
399 "FlowArn": {
400 "locationName": "flowArn"
401 },
402 "OutputArn": {
403 "locationName": "outputArn"
404 }
405 }
406 }
407 },
408 "RevokeFlowEntitlement": {
409 "http": {
410 "method": "DELETE",
411 "requestUri": "/v1/flows/{flowArn}/entitlements/{entitlementArn}",
412 "responseCode": 202
413 },
414 "input": {
415 "type": "structure",
416 "members": {
417 "EntitlementArn": {
418 "location": "uri",
419 "locationName": "entitlementArn"
420 },
421 "FlowArn": {
422 "location": "uri",
423 "locationName": "flowArn"
424 }
425 },
426 "required": [
427 "FlowArn",
428 "EntitlementArn"
429 ]
430 },
431 "output": {
432 "type": "structure",
433 "members": {
434 "EntitlementArn": {
435 "locationName": "entitlementArn"
436 },
437 "FlowArn": {
438 "locationName": "flowArn"
439 }
440 }
441 }
442 },
443 "StartFlow": {
444 "http": {
445 "requestUri": "/v1/flows/start/{flowArn}",
446 "responseCode": 202
447 },
448 "input": {
449 "type": "structure",
450 "members": {
451 "FlowArn": {
452 "location": "uri",
453 "locationName": "flowArn"
454 }
455 },
456 "required": [
457 "FlowArn"
458 ]
459 },
460 "output": {
461 "type": "structure",
462 "members": {
463 "FlowArn": {
464 "locationName": "flowArn"
465 },
466 "Status": {
467 "locationName": "status"
468 }
469 }
470 }
471 },
472 "StopFlow": {
473 "http": {
474 "requestUri": "/v1/flows/stop/{flowArn}",
475 "responseCode": 202
476 },
477 "input": {
478 "type": "structure",
479 "members": {
480 "FlowArn": {
481 "location": "uri",
482 "locationName": "flowArn"
483 }
484 },
485 "required": [
486 "FlowArn"
487 ]
488 },
489 "output": {
490 "type": "structure",
491 "members": {
492 "FlowArn": {
493 "locationName": "flowArn"
494 },
495 "Status": {
496 "locationName": "status"
497 }
498 }
499 }
500 },
501 "TagResource": {
502 "http": {
503 "requestUri": "/tags/{resourceArn}",
504 "responseCode": 204
505 },
506 "input": {
507 "type": "structure",
508 "members": {
509 "ResourceArn": {
510 "location": "uri",
511 "locationName": "resourceArn"
512 },
513 "Tags": {
514 "shape": "S18",
515 "locationName": "tags"
516 }
517 },
518 "required": [
519 "ResourceArn",
520 "Tags"
521 ]
522 }
523 },
524 "UntagResource": {
525 "http": {
526 "method": "DELETE",
527 "requestUri": "/tags/{resourceArn}",
528 "responseCode": 204
529 },
530 "input": {
531 "type": "structure",
532 "members": {
533 "ResourceArn": {
534 "location": "uri",
535 "locationName": "resourceArn"
536 },
537 "TagKeys": {
538 "shape": "Sh",
539 "location": "querystring",
540 "locationName": "tagKeys"
541 }
542 },
543 "required": [
544 "TagKeys",
545 "ResourceArn"
546 ]
547 }
548 },
549 "UpdateFlowEntitlement": {
550 "http": {
551 "method": "PUT",
552 "requestUri": "/v1/flows/{flowArn}/entitlements/{entitlementArn}",
553 "responseCode": 202
554 },
555 "input": {
556 "type": "structure",
557 "members": {
558 "Description": {
559 "locationName": "description"
560 },
561 "Encryption": {
562 "shape": "S1k",
563 "locationName": "encryption"
564 },
565 "EntitlementArn": {
566 "location": "uri",
567 "locationName": "entitlementArn"
568 },
569 "FlowArn": {
570 "location": "uri",
571 "locationName": "flowArn"
572 },
573 "Subscribers": {
574 "shape": "Sh",
575 "locationName": "subscribers"
576 }
577 },
578 "required": [
579 "FlowArn",
580 "EntitlementArn"
581 ]
582 },
583 "output": {
584 "type": "structure",
585 "members": {
586 "Entitlement": {
587 "shape": "Sm",
588 "locationName": "entitlement"
589 },
590 "FlowArn": {
591 "locationName": "flowArn"
592 }
593 }
594 }
595 },
596 "UpdateFlowOutput": {
597 "http": {
598 "method": "PUT",
599 "requestUri": "/v1/flows/{flowArn}/outputs/{outputArn}",
600 "responseCode": 202
601 },
602 "input": {
603 "type": "structure",
604 "members": {
605 "Description": {
606 "locationName": "description"
607 },
608 "Destination": {
609 "locationName": "destination"
610 },
611 "Encryption": {
612 "shape": "S1k",
613 "locationName": "encryption"
614 },
615 "FlowArn": {
616 "location": "uri",
617 "locationName": "flowArn"
618 },
619 "MaxLatency": {
620 "locationName": "maxLatency",
621 "type": "integer"
622 },
623 "OutputArn": {
624 "location": "uri",
625 "locationName": "outputArn"
626 },
627 "Port": {
628 "locationName": "port",
629 "type": "integer"
630 },
631 "Protocol": {
632 "locationName": "protocol"
633 },
634 "SmoothingLatency": {
635 "locationName": "smoothingLatency",
636 "type": "integer"
637 },
638 "StreamId": {
639 "locationName": "streamId"
640 }
641 },
642 "required": [
643 "FlowArn",
644 "OutputArn"
645 ]
646 },
647 "output": {
648 "type": "structure",
649 "members": {
650 "FlowArn": {
651 "locationName": "flowArn"
652 },
653 "Output": {
654 "shape": "Sc",
655 "locationName": "output"
656 }
657 }
658 }
659 },
660 "UpdateFlowSource": {
661 "http": {
662 "method": "PUT",
663 "requestUri": "/v1/flows/{flowArn}/source/{sourceArn}",
664 "responseCode": 202
665 },
666 "input": {
667 "type": "structure",
668 "members": {
669 "Decryption": {
670 "shape": "S1k",
671 "locationName": "decryption"
672 },
673 "Description": {
674 "locationName": "description"
675 },
676 "EntitlementArn": {
677 "locationName": "entitlementArn"
678 },
679 "FlowArn": {
680 "location": "uri",
681 "locationName": "flowArn"
682 },
683 "IngestPort": {
684 "locationName": "ingestPort",
685 "type": "integer"
686 },
687 "MaxBitrate": {
688 "locationName": "maxBitrate",
689 "type": "integer"
690 },
691 "MaxLatency": {
692 "locationName": "maxLatency",
693 "type": "integer"
694 },
695 "Protocol": {
696 "locationName": "protocol"
697 },
698 "SourceArn": {
699 "location": "uri",
700 "locationName": "sourceArn"
701 },
702 "StreamId": {
703 "locationName": "streamId"
704 },
705 "WhitelistCidr": {
706 "locationName": "whitelistCidr"
707 }
708 },
709 "required": [
710 "FlowArn",
711 "SourceArn"
712 ]
713 },
714 "output": {
715 "type": "structure",
716 "members": {
717 "FlowArn": {
718 "locationName": "flowArn"
719 },
720 "Source": {
721 "shape": "Sn",
722 "locationName": "source"
723 }
724 }
725 }
726 }
727 },
728 "shapes": {
729 "S3": {
730 "type": "list",
731 "member": {
732 "type": "structure",
733 "members": {
734 "Description": {
735 "locationName": "description"
736 },
737 "Destination": {
738 "locationName": "destination"
739 },
740 "Encryption": {
741 "shape": "S5",
742 "locationName": "encryption"
743 },
744 "MaxLatency": {
745 "locationName": "maxLatency",
746 "type": "integer"
747 },
748 "Name": {
749 "locationName": "name"
750 },
751 "Port": {
752 "locationName": "port",
753 "type": "integer"
754 },
755 "Protocol": {
756 "locationName": "protocol"
757 },
758 "SmoothingLatency": {
759 "locationName": "smoothingLatency",
760 "type": "integer"
761 },
762 "StreamId": {
763 "locationName": "streamId"
764 }
765 },
766 "required": [
767 "Destination",
768 "Port",
769 "Protocol"
770 ]
771 }
772 },
773 "S5": {
774 "type": "structure",
775 "members": {
776 "Algorithm": {
777 "locationName": "algorithm"
778 },
779 "KeyType": {
780 "locationName": "keyType"
781 },
782 "RoleArn": {
783 "locationName": "roleArn"
784 },
785 "SecretArn": {
786 "locationName": "secretArn"
787 }
788 },
789 "required": [
790 "SecretArn",
791 "Algorithm",
792 "RoleArn"
793 ]
794 },
795 "Sb": {
796 "type": "list",
797 "member": {
798 "shape": "Sc"
799 }
800 },
801 "Sc": {
802 "type": "structure",
803 "members": {
804 "Description": {
805 "locationName": "description"
806 },
807 "Destination": {
808 "locationName": "destination"
809 },
810 "Encryption": {
811 "shape": "S5",
812 "locationName": "encryption"
813 },
814 "EntitlementArn": {
815 "locationName": "entitlementArn"
816 },
817 "MediaLiveInputArn": {
818 "locationName": "mediaLiveInputArn"
819 },
820 "Name": {
821 "locationName": "name"
822 },
823 "OutputArn": {
824 "locationName": "outputArn"
825 },
826 "Port": {
827 "locationName": "port",
828 "type": "integer"
829 },
830 "Transport": {
831 "shape": "Sd",
832 "locationName": "transport"
833 }
834 },
835 "required": [
836 "OutputArn",
837 "Name"
838 ]
839 },
840 "Sd": {
841 "type": "structure",
842 "members": {
843 "MaxBitrate": {
844 "locationName": "maxBitrate",
845 "type": "integer"
846 },
847 "MaxLatency": {
848 "locationName": "maxLatency",
849 "type": "integer"
850 },
851 "Protocol": {
852 "locationName": "protocol"
853 },
854 "SmoothingLatency": {
855 "locationName": "smoothingLatency",
856 "type": "integer"
857 },
858 "StreamId": {
859 "locationName": "streamId"
860 }
861 },
862 "required": [
863 "Protocol"
864 ]
865 },
866 "Sf": {
867 "type": "list",
868 "member": {
869 "type": "structure",
870 "members": {
871 "Description": {
872 "locationName": "description"
873 },
874 "Encryption": {
875 "shape": "S5",
876 "locationName": "encryption"
877 },
878 "Name": {
879 "locationName": "name"
880 },
881 "Subscribers": {
882 "shape": "Sh",
883 "locationName": "subscribers"
884 }
885 },
886 "required": [
887 "Subscribers"
888 ]
889 }
890 },
891 "Sh": {
892 "type": "list",
893 "member": {}
894 },
895 "Sk": {
896 "type": "structure",
897 "members": {
898 "AvailabilityZone": {
899 "locationName": "availabilityZone"
900 },
901 "Description": {
902 "locationName": "description"
903 },
904 "EgressIp": {
905 "locationName": "egressIp"
906 },
907 "Entitlements": {
908 "shape": "Sl",
909 "locationName": "entitlements"
910 },
911 "FlowArn": {
912 "locationName": "flowArn"
913 },
914 "Name": {
915 "locationName": "name"
916 },
917 "Outputs": {
918 "shape": "Sb",
919 "locationName": "outputs"
920 },
921 "Source": {
922 "shape": "Sn",
923 "locationName": "source"
924 },
925 "Status": {
926 "locationName": "status"
927 }
928 },
929 "required": [
930 "Status",
931 "Entitlements",
932 "Outputs",
933 "AvailabilityZone",
934 "FlowArn",
935 "Source",
936 "Name"
937 ]
938 },
939 "Sl": {
940 "type": "list",
941 "member": {
942 "shape": "Sm"
943 }
944 },
945 "Sm": {
946 "type": "structure",
947 "members": {
948 "Description": {
949 "locationName": "description"
950 },
951 "Encryption": {
952 "shape": "S5",
953 "locationName": "encryption"
954 },
955 "EntitlementArn": {
956 "locationName": "entitlementArn"
957 },
958 "Name": {
959 "locationName": "name"
960 },
961 "Subscribers": {
962 "shape": "Sh",
963 "locationName": "subscribers"
964 }
965 },
966 "required": [
967 "EntitlementArn",
968 "Subscribers",
969 "Name"
970 ]
971 },
972 "Sn": {
973 "type": "structure",
974 "members": {
975 "Decryption": {
976 "shape": "S5",
977 "locationName": "decryption"
978 },
979 "Description": {
980 "locationName": "description"
981 },
982 "EntitlementArn": {
983 "locationName": "entitlementArn"
984 },
985 "IngestIp": {
986 "locationName": "ingestIp"
987 },
988 "IngestPort": {
989 "locationName": "ingestPort",
990 "type": "integer"
991 },
992 "Name": {
993 "locationName": "name"
994 },
995 "SourceArn": {
996 "locationName": "sourceArn"
997 },
998 "Transport": {
999 "shape": "Sd",
1000 "locationName": "transport"
1001 },
1002 "WhitelistCidr": {
1003 "locationName": "whitelistCidr"
1004 }
1005 },
1006 "required": [
1007 "SourceArn",
1008 "Name"
1009 ]
1010 },
1011 "S18": {
1012 "type": "map",
1013 "key": {},
1014 "value": {}
1015 },
1016 "S1k": {
1017 "type": "structure",
1018 "members": {
1019 "Algorithm": {
1020 "locationName": "algorithm"
1021 },
1022 "KeyType": {
1023 "locationName": "keyType"
1024 },
1025 "RoleArn": {
1026 "locationName": "roleArn"
1027 },
1028 "SecretArn": {
1029 "locationName": "secretArn"
1030 }
1031 }
1032 }
1033 }
1034}
\No newline at end of file