mediaconnect.d.ts
61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class MediaConnect extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: MediaConnect.Types.ClientConfiguration)
config: Config & MediaConnect.Types.ClientConfiguration;
/**
* Adds outputs to an existing flow. You can create up to 50 outputs per flow.
*/
addFlowOutputs(params: MediaConnect.Types.AddFlowOutputsRequest, callback?: (err: AWSError, data: MediaConnect.Types.AddFlowOutputsResponse) => void): Request<MediaConnect.Types.AddFlowOutputsResponse, AWSError>;
/**
* Adds outputs to an existing flow. You can create up to 50 outputs per flow.
*/
addFlowOutputs(callback?: (err: AWSError, data: MediaConnect.Types.AddFlowOutputsResponse) => void): Request<MediaConnect.Types.AddFlowOutputsResponse, AWSError>;
/**
* Adds Sources to flow
*/
addFlowSources(params: MediaConnect.Types.AddFlowSourcesRequest, callback?: (err: AWSError, data: MediaConnect.Types.AddFlowSourcesResponse) => void): Request<MediaConnect.Types.AddFlowSourcesResponse, AWSError>;
/**
* Adds Sources to flow
*/
addFlowSources(callback?: (err: AWSError, data: MediaConnect.Types.AddFlowSourcesResponse) => void): Request<MediaConnect.Types.AddFlowSourcesResponse, AWSError>;
/**
* Adds VPC interfaces to flow
*/
addFlowVpcInterfaces(params: MediaConnect.Types.AddFlowVpcInterfacesRequest, callback?: (err: AWSError, data: MediaConnect.Types.AddFlowVpcInterfacesResponse) => void): Request<MediaConnect.Types.AddFlowVpcInterfacesResponse, AWSError>;
/**
* Adds VPC interfaces to flow
*/
addFlowVpcInterfaces(callback?: (err: AWSError, data: MediaConnect.Types.AddFlowVpcInterfacesResponse) => void): Request<MediaConnect.Types.AddFlowVpcInterfacesResponse, AWSError>;
/**
* Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
*/
createFlow(params: MediaConnect.Types.CreateFlowRequest, callback?: (err: AWSError, data: MediaConnect.Types.CreateFlowResponse) => void): Request<MediaConnect.Types.CreateFlowResponse, AWSError>;
/**
* Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
*/
createFlow(callback?: (err: AWSError, data: MediaConnect.Types.CreateFlowResponse) => void): Request<MediaConnect.Types.CreateFlowResponse, AWSError>;
/**
* Deletes a flow. Before you can delete a flow, you must stop the flow.
*/
deleteFlow(params: MediaConnect.Types.DeleteFlowRequest, callback?: (err: AWSError, data: MediaConnect.Types.DeleteFlowResponse) => void): Request<MediaConnect.Types.DeleteFlowResponse, AWSError>;
/**
* Deletes a flow. Before you can delete a flow, you must stop the flow.
*/
deleteFlow(callback?: (err: AWSError, data: MediaConnect.Types.DeleteFlowResponse) => void): Request<MediaConnect.Types.DeleteFlowResponse, AWSError>;
/**
* Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.
*/
describeFlow(params: MediaConnect.Types.DescribeFlowRequest, callback?: (err: AWSError, data: MediaConnect.Types.DescribeFlowResponse) => void): Request<MediaConnect.Types.DescribeFlowResponse, AWSError>;
/**
* Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.
*/
describeFlow(callback?: (err: AWSError, data: MediaConnect.Types.DescribeFlowResponse) => void): Request<MediaConnect.Types.DescribeFlowResponse, AWSError>;
/**
* Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
*/
describeOffering(params: MediaConnect.Types.DescribeOfferingRequest, callback?: (err: AWSError, data: MediaConnect.Types.DescribeOfferingResponse) => void): Request<MediaConnect.Types.DescribeOfferingResponse, AWSError>;
/**
* Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
*/
describeOffering(callback?: (err: AWSError, data: MediaConnect.Types.DescribeOfferingResponse) => void): Request<MediaConnect.Types.DescribeOfferingResponse, AWSError>;
/**
* Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
*/
describeReservation(params: MediaConnect.Types.DescribeReservationRequest, callback?: (err: AWSError, data: MediaConnect.Types.DescribeReservationResponse) => void): Request<MediaConnect.Types.DescribeReservationResponse, AWSError>;
/**
* Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
*/
describeReservation(callback?: (err: AWSError, data: MediaConnect.Types.DescribeReservationResponse) => void): Request<MediaConnect.Types.DescribeReservationResponse, AWSError>;
/**
* Grants entitlements to an existing flow.
*/
grantFlowEntitlements(params: MediaConnect.Types.GrantFlowEntitlementsRequest, callback?: (err: AWSError, data: MediaConnect.Types.GrantFlowEntitlementsResponse) => void): Request<MediaConnect.Types.GrantFlowEntitlementsResponse, AWSError>;
/**
* Grants entitlements to an existing flow.
*/
grantFlowEntitlements(callback?: (err: AWSError, data: MediaConnect.Types.GrantFlowEntitlementsResponse) => void): Request<MediaConnect.Types.GrantFlowEntitlementsResponse, AWSError>;
/**
* Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
*/
listEntitlements(params: MediaConnect.Types.ListEntitlementsRequest, callback?: (err: AWSError, data: MediaConnect.Types.ListEntitlementsResponse) => void): Request<MediaConnect.Types.ListEntitlementsResponse, AWSError>;
/**
* Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
*/
listEntitlements(callback?: (err: AWSError, data: MediaConnect.Types.ListEntitlementsResponse) => void): Request<MediaConnect.Types.ListEntitlementsResponse, AWSError>;
/**
* Displays a list of flows that are associated with this account. This request returns a paginated result.
*/
listFlows(params: MediaConnect.Types.ListFlowsRequest, callback?: (err: AWSError, data: MediaConnect.Types.ListFlowsResponse) => void): Request<MediaConnect.Types.ListFlowsResponse, AWSError>;
/**
* Displays a list of flows that are associated with this account. This request returns a paginated result.
*/
listFlows(callback?: (err: AWSError, data: MediaConnect.Types.ListFlowsResponse) => void): Request<MediaConnect.Types.ListFlowsResponse, AWSError>;
/**
* Displays a list of all offerings that are available to this account in the current AWS Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.
*/
listOfferings(params: MediaConnect.Types.ListOfferingsRequest, callback?: (err: AWSError, data: MediaConnect.Types.ListOfferingsResponse) => void): Request<MediaConnect.Types.ListOfferingsResponse, AWSError>;
/**
* Displays a list of all offerings that are available to this account in the current AWS Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.
*/
listOfferings(callback?: (err: AWSError, data: MediaConnect.Types.ListOfferingsResponse) => void): Request<MediaConnect.Types.ListOfferingsResponse, AWSError>;
/**
* Displays a list of all reservations that have been purchased by this account in the current AWS Region. This list includes all reservations in all states (such as active and expired).
*/
listReservations(params: MediaConnect.Types.ListReservationsRequest, callback?: (err: AWSError, data: MediaConnect.Types.ListReservationsResponse) => void): Request<MediaConnect.Types.ListReservationsResponse, AWSError>;
/**
* Displays a list of all reservations that have been purchased by this account in the current AWS Region. This list includes all reservations in all states (such as active and expired).
*/
listReservations(callback?: (err: AWSError, data: MediaConnect.Types.ListReservationsResponse) => void): Request<MediaConnect.Types.ListReservationsResponse, AWSError>;
/**
* List all tags on an AWS Elemental MediaConnect resource
*/
listTagsForResource(params: MediaConnect.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: MediaConnect.Types.ListTagsForResourceResponse) => void): Request<MediaConnect.Types.ListTagsForResourceResponse, AWSError>;
/**
* List all tags on an AWS Elemental MediaConnect resource
*/
listTagsForResource(callback?: (err: AWSError, data: MediaConnect.Types.ListTagsForResourceResponse) => void): Request<MediaConnect.Types.ListTagsForResourceResponse, AWSError>;
/**
* Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
*/
purchaseOffering(params: MediaConnect.Types.PurchaseOfferingRequest, callback?: (err: AWSError, data: MediaConnect.Types.PurchaseOfferingResponse) => void): Request<MediaConnect.Types.PurchaseOfferingResponse, AWSError>;
/**
* Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
*/
purchaseOffering(callback?: (err: AWSError, data: MediaConnect.Types.PurchaseOfferingResponse) => void): Request<MediaConnect.Types.PurchaseOfferingResponse, AWSError>;
/**
* Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.
*/
removeFlowOutput(params: MediaConnect.Types.RemoveFlowOutputRequest, callback?: (err: AWSError, data: MediaConnect.Types.RemoveFlowOutputResponse) => void): Request<MediaConnect.Types.RemoveFlowOutputResponse, AWSError>;
/**
* Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.
*/
removeFlowOutput(callback?: (err: AWSError, data: MediaConnect.Types.RemoveFlowOutputResponse) => void): Request<MediaConnect.Types.RemoveFlowOutputResponse, AWSError>;
/**
* Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
*/
removeFlowSource(params: MediaConnect.Types.RemoveFlowSourceRequest, callback?: (err: AWSError, data: MediaConnect.Types.RemoveFlowSourceResponse) => void): Request<MediaConnect.Types.RemoveFlowSourceResponse, AWSError>;
/**
* Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
*/
removeFlowSource(callback?: (err: AWSError, data: MediaConnect.Types.RemoveFlowSourceResponse) => void): Request<MediaConnect.Types.RemoveFlowSourceResponse, AWSError>;
/**
* Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
*/
removeFlowVpcInterface(params: MediaConnect.Types.RemoveFlowVpcInterfaceRequest, callback?: (err: AWSError, data: MediaConnect.Types.RemoveFlowVpcInterfaceResponse) => void): Request<MediaConnect.Types.RemoveFlowVpcInterfaceResponse, AWSError>;
/**
* Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
*/
removeFlowVpcInterface(callback?: (err: AWSError, data: MediaConnect.Types.RemoveFlowVpcInterfaceResponse) => void): Request<MediaConnect.Types.RemoveFlowVpcInterfaceResponse, AWSError>;
/**
* Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
*/
revokeFlowEntitlement(params: MediaConnect.Types.RevokeFlowEntitlementRequest, callback?: (err: AWSError, data: MediaConnect.Types.RevokeFlowEntitlementResponse) => void): Request<MediaConnect.Types.RevokeFlowEntitlementResponse, AWSError>;
/**
* Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
*/
revokeFlowEntitlement(callback?: (err: AWSError, data: MediaConnect.Types.RevokeFlowEntitlementResponse) => void): Request<MediaConnect.Types.RevokeFlowEntitlementResponse, AWSError>;
/**
* Starts a flow.
*/
startFlow(params: MediaConnect.Types.StartFlowRequest, callback?: (err: AWSError, data: MediaConnect.Types.StartFlowResponse) => void): Request<MediaConnect.Types.StartFlowResponse, AWSError>;
/**
* Starts a flow.
*/
startFlow(callback?: (err: AWSError, data: MediaConnect.Types.StartFlowResponse) => void): Request<MediaConnect.Types.StartFlowResponse, AWSError>;
/**
* Stops a flow.
*/
stopFlow(params: MediaConnect.Types.StopFlowRequest, callback?: (err: AWSError, data: MediaConnect.Types.StopFlowResponse) => void): Request<MediaConnect.Types.StopFlowResponse, AWSError>;
/**
* Stops a flow.
*/
stopFlow(callback?: (err: AWSError, data: MediaConnect.Types.StopFlowResponse) => void): Request<MediaConnect.Types.StopFlowResponse, AWSError>;
/**
* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
*/
tagResource(params: MediaConnect.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
*/
tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes specified tags from a resource.
*/
untagResource(params: MediaConnect.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Deletes specified tags from a resource.
*/
untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Updates flow
*/
updateFlow(params: MediaConnect.Types.UpdateFlowRequest, callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowResponse) => void): Request<MediaConnect.Types.UpdateFlowResponse, AWSError>;
/**
* Updates flow
*/
updateFlow(callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowResponse) => void): Request<MediaConnect.Types.UpdateFlowResponse, AWSError>;
/**
* You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.
*/
updateFlowEntitlement(params: MediaConnect.Types.UpdateFlowEntitlementRequest, callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowEntitlementResponse) => void): Request<MediaConnect.Types.UpdateFlowEntitlementResponse, AWSError>;
/**
* You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.
*/
updateFlowEntitlement(callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowEntitlementResponse) => void): Request<MediaConnect.Types.UpdateFlowEntitlementResponse, AWSError>;
/**
* Updates an existing flow output.
*/
updateFlowOutput(params: MediaConnect.Types.UpdateFlowOutputRequest, callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowOutputResponse) => void): Request<MediaConnect.Types.UpdateFlowOutputResponse, AWSError>;
/**
* Updates an existing flow output.
*/
updateFlowOutput(callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowOutputResponse) => void): Request<MediaConnect.Types.UpdateFlowOutputResponse, AWSError>;
/**
* Updates the source of a flow.
*/
updateFlowSource(params: MediaConnect.Types.UpdateFlowSourceRequest, callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowSourceResponse) => void): Request<MediaConnect.Types.UpdateFlowSourceResponse, AWSError>;
/**
* Updates the source of a flow.
*/
updateFlowSource(callback?: (err: AWSError, data: MediaConnect.Types.UpdateFlowSourceResponse) => void): Request<MediaConnect.Types.UpdateFlowSourceResponse, AWSError>;
}
declare namespace MediaConnect {
export interface AddFlowOutputsRequest {
/**
* The flow that you want to add outputs to.
*/
FlowArn: __string;
/**
* A list of outputs that you want to add.
*/
Outputs: __listOfAddOutputRequest;
}
export interface AddFlowOutputsResponse {
/**
* The ARN of the flow that these outputs were added to.
*/
FlowArn?: __string;
/**
* The details of the newly added outputs.
*/
Outputs?: __listOfOutput;
}
export interface AddFlowSourcesRequest {
/**
* The flow that you want to mutate.
*/
FlowArn: __string;
/**
* A list of sources that you want to add.
*/
Sources: __listOfSetSourceRequest;
}
export interface AddFlowSourcesResponse {
/**
* The ARN of the flow that these sources were added to.
*/
FlowArn?: __string;
/**
* The details of the newly added sources.
*/
Sources?: __listOfSource;
}
export interface AddFlowVpcInterfacesRequest {
/**
* The flow that you want to mutate.
*/
FlowArn: __string;
/**
* A list of VPC interfaces that you want to add.
*/
VpcInterfaces: __listOfVpcInterfaceRequest;
}
export interface AddFlowVpcInterfacesResponse {
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
FlowArn?: __string;
/**
* The details of the newly added VPC interfaces.
*/
VpcInterfaces?: __listOfVpcInterface;
}
export interface AddOutputRequest {
/**
* The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
CidrAllowList?: __listOf__string;
/**
* A description of the output. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the end user.
*/
Description?: __string;
/**
* The IP address from which video will be sent to output destinations.
*/
Destination?: __string;
/**
* The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
*/
Encryption?: Encryption;
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
MaxLatency?: __integer;
/**
* The name of the output. This value must be unique within the current flow.
*/
Name?: __string;
/**
* The port to use when content is distributed to this output.
*/
Port?: __integer;
/**
* The protocol to use for the output.
*/
Protocol: Protocol;
/**
* The remote ID for the Zixi-pull output stream.
*/
RemoteId?: __string;
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
SmoothingLatency?: __integer;
/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
StreamId?: __string;
/**
* The name of the VPC interface attachment to use for this output.
*/
VpcInterfaceAttachment?: VpcInterfaceAttachment;
}
export type Algorithm = "aes128"|"aes192"|"aes256"|string;
export interface CreateFlowRequest {
/**
* The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
*/
AvailabilityZone?: __string;
/**
* The entitlements that you want to grant on a flow.
*/
Entitlements?: __listOfGrantEntitlementRequest;
/**
* The name of the flow.
*/
Name: __string;
/**
* The outputs that you want to add to this flow.
*/
Outputs?: __listOfAddOutputRequest;
Source?: SetSourceRequest;
SourceFailoverConfig?: FailoverConfig;
Sources?: __listOfSetSourceRequest;
/**
* The VPC interfaces you want on the flow.
*/
VpcInterfaces?: __listOfVpcInterfaceRequest;
}
export interface CreateFlowResponse {
Flow?: Flow;
}
export interface DeleteFlowRequest {
/**
* The ARN of the flow that you want to delete.
*/
FlowArn: __string;
}
export interface DeleteFlowResponse {
/**
* The ARN of the flow that was deleted.
*/
FlowArn?: __string;
/**
* The status of the flow when the DeleteFlow process begins.
*/
Status?: Status;
}
export interface DescribeFlowRequest {
/**
* The ARN of the flow that you want to describe.
*/
FlowArn: __string;
}
export interface DescribeFlowResponse {
Flow?: Flow;
Messages?: Messages;
}
export interface DescribeOfferingRequest {
/**
* The Amazon Resource Name (ARN) of the offering.
*/
OfferingArn: __string;
}
export interface DescribeOfferingResponse {
Offering?: Offering;
}
export interface DescribeReservationRequest {
/**
* The Amazon Resource Name (ARN) of the reservation.
*/
ReservationArn: __string;
}
export interface DescribeReservationResponse {
Reservation?: Reservation;
}
export type DurationUnits = "MONTHS"|string;
export interface Encryption {
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
*/
Algorithm: Algorithm;
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.
*/
ConstantInitializationVector?: __string;
/**
* The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
DeviceId?: __string;
/**
* The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
*/
KeyType?: KeyType;
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
Region?: __string;
/**
* An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
ResourceId?: __string;
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).
*/
RoleArn: __string;
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.
*/
SecretArn?: __string;
/**
* The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
Url?: __string;
}
export interface Entitlement {
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
DataTransferSubscriberFeePercent?: __integer;
/**
* A description of the entitlement.
*/
Description?: __string;
/**
* The type of encryption that will be used on the output that is associated with this entitlement.
*/
Encryption?: Encryption;
/**
* The ARN of the entitlement.
*/
EntitlementArn: __string;
/**
* An indication of whether the entitlement is enabled.
*/
EntitlementStatus?: EntitlementStatus;
/**
* The name of the entitlement.
*/
Name: __string;
/**
* The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
*/
Subscribers: __listOf__string;
}
export type EntitlementStatus = "ENABLED"|"DISABLED"|string;
export interface FailoverConfig {
/**
* Search window time to look for dash-7 packets
*/
RecoveryWindow?: __integer;
State?: State;
}
export interface Flow {
/**
* The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.
*/
AvailabilityZone: __string;
/**
* A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
*/
Description?: __string;
/**
* The IP address from which video will be sent to output destinations.
*/
EgressIp?: __string;
/**
* The entitlements in this flow.
*/
Entitlements: __listOfEntitlement;
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.
*/
FlowArn: __string;
/**
* The name of the flow.
*/
Name: __string;
/**
* The outputs in this flow.
*/
Outputs: __listOfOutput;
Source: Source;
SourceFailoverConfig?: FailoverConfig;
Sources?: __listOfSource;
/**
* The current status of the flow.
*/
Status: Status;
/**
* The VPC Interfaces for this flow.
*/
VpcInterfaces?: __listOfVpcInterface;
}
export interface GrantEntitlementRequest {
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
DataTransferSubscriberFeePercent?: __integer;
/**
* A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
*/
Description?: __string;
/**
* The type of encryption that will be used on the output that is associated with this entitlement.
*/
Encryption?: Encryption;
/**
* An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.
*/
EntitlementStatus?: EntitlementStatus;
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
Name?: __string;
/**
* The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.
*/
Subscribers: __listOf__string;
}
export interface GrantFlowEntitlementsRequest {
/**
* The list of entitlements that you want to grant.
*/
Entitlements: __listOfGrantEntitlementRequest;
/**
* The flow that you want to grant entitlements on.
*/
FlowArn: __string;
}
export interface GrantFlowEntitlementsResponse {
/**
* The entitlements that were just granted.
*/
Entitlements?: __listOfEntitlement;
/**
* The ARN of the flow that these entitlements were granted to.
*/
FlowArn?: __string;
}
export type KeyType = "speke"|"static-key"|string;
export interface ListEntitlementsRequest {
/**
* The maximum number of results to return per API request. For example, you submit a ListEntitlements request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 20 results per page.
*/
MaxResults?: MaxResults;
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.
*/
NextToken?: __string;
}
export interface ListEntitlementsResponse {
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
Entitlements?: __listOfListedEntitlement;
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.
*/
NextToken?: __string;
}
export interface ListFlowsRequest {
/**
* The maximum number of results to return per API request. For example, you submit a ListFlows request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 10 results per page.
*/
MaxResults?: MaxResults;
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListFlows request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListFlows request a second time and specify the NextToken value.
*/
NextToken?: __string;
}
export interface ListFlowsResponse {
/**
* A list of flow summaries.
*/
Flows?: __listOfListedFlow;
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListFlows request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListFlows request a second time and specify the NextToken value.
*/
NextToken?: __string;
}
export interface ListOfferingsRequest {
/**
* The maximum number of results to return per API request. For example, you submit a ListOfferings request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 10 results per page.
*/
MaxResults?: MaxResults;
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
*/
NextToken?: __string;
}
export interface ListOfferingsResponse {
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
*/
NextToken?: __string;
/**
* A list of offerings that are available to this account in the current AWS Region.
*/
Offerings?: __listOfOffering;
}
export interface ListReservationsRequest {
/**
* The maximum number of results to return per API request. For example, you submit a ListReservations request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 10 results per page.
*/
MaxResults?: MaxResults;
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListReservations request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
*/
NextToken?: __string;
}
export interface ListReservationsResponse {
/**
* The token that identifies which batch of results that you want to see. For example, you submit a ListReservations request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListReservations request a second time and specify the NextToken value.
*/
NextToken?: __string;
/**
* A list of all reservations that have been purchased by this account in the current AWS Region.
*/
Reservations?: __listOfReservation;
}
export interface ListTagsForResourceRequest {
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect resource for which to list the tags.
*/
ResourceArn: __string;
}
export interface ListTagsForResourceResponse {
/**
* A map from tag keys to values. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
*/
Tags?: __mapOf__string;
}
export interface ListedEntitlement {
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
DataTransferSubscriberFeePercent?: __integer;
/**
* The ARN of the entitlement.
*/
EntitlementArn: __string;
/**
* The name of the entitlement.
*/
EntitlementName: __string;
}
export interface ListedFlow {
/**
* The Availability Zone that the flow was created in.
*/
AvailabilityZone: __string;
/**
* A description of the flow.
*/
Description: __string;
/**
* The ARN of the flow.
*/
FlowArn: __string;
/**
* The name of the flow.
*/
Name: __string;
/**
* The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
SourceType: SourceType;
/**
* The current status of the flow.
*/
Status: Status;
}
export type MaxResults = number;
export interface Messages {
/**
* A list of errors that might have been generated from processes on this flow.
*/
Errors: __listOf__string;
}
export interface Offering {
/**
* The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
*/
CurrencyCode: __string;
/**
* The length of time that your reservation would be active.
*/
Duration: __integer;
/**
* The unit of measurement for the duration of the offering.
*/
DurationUnits: DurationUnits;
/**
* The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
*/
OfferingArn: __string;
/**
* A description of the offering.
*/
OfferingDescription: __string;
/**
* The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
*/
PricePerUnit: __string;
/**
* The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
*/
PriceUnits: PriceUnits;
/**
* A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
*/
ResourceSpecification: ResourceSpecification;
}
export interface Output {
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
DataTransferSubscriberFeePercent?: __integer;
/**
* A description of the output.
*/
Description?: __string;
/**
* The address where you want to send the output.
*/
Destination?: __string;
/**
* The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
*/
Encryption?: Encryption;
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows.
*/
EntitlementArn?: __string;
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.
*/
MediaLiveInputArn?: __string;
/**
* The name of the output. This value must be unique within the current flow.
*/
Name: __string;
/**
* The ARN of the output.
*/
OutputArn: __string;
/**
* The port to use when content is distributed to this output.
*/
Port?: __integer;
/**
* Attributes related to the transport stream that are used in the output.
*/
Transport?: Transport;
/**
* The name of the VPC interface attachment to use for this output.
*/
VpcInterfaceAttachment?: VpcInterfaceAttachment;
}
export type PriceUnits = "HOURLY"|string;
export type Protocol = "zixi-push"|"rtp-fec"|"rtp"|"zixi-pull"|"rist"|string;
export interface PurchaseOfferingRequest {
/**
* The Amazon Resource Name (ARN) of the offering.
*/
OfferingArn: __string;
/**
* The name that you want to use for the reservation.
*/
ReservationName: __string;
/**
* The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today's date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z.
*/
Start: __string;
}
export interface PurchaseOfferingResponse {
Reservation?: Reservation;
}
export interface RemoveFlowOutputRequest {
/**
* The flow that you want to remove an output from.
*/
FlowArn: __string;
/**
* The ARN of the output that you want to remove.
*/
OutputArn: __string;
}
export interface RemoveFlowOutputResponse {
/**
* The ARN of the flow that is associated with the output you removed.
*/
FlowArn?: __string;
/**
* The ARN of the output that was removed.
*/
OutputArn?: __string;
}
export interface RemoveFlowSourceRequest {
/**
* The flow that you want to remove a source from.
*/
FlowArn: __string;
/**
* The ARN of the source that you want to remove.
*/
SourceArn: __string;
}
export interface RemoveFlowSourceResponse {
/**
* The ARN of the flow that is associated with the source you removed.
*/
FlowArn?: __string;
/**
* The ARN of the source that was removed.
*/
SourceArn?: __string;
}
export interface RemoveFlowVpcInterfaceRequest {
/**
* The flow that you want to remove a VPC interface from.
*/
FlowArn: __string;
/**
* The name of the VPC interface that you want to remove.
*/
VpcInterfaceName: __string;
}
export interface RemoveFlowVpcInterfaceResponse {
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
FlowArn?: __string;
/**
* IDs of network interfaces associated with the removed VPC interface that Media Connect was unable to remove.
*/
NonDeletedNetworkInterfaceIds?: __listOf__string;
/**
* The name of the VPC interface that was removed.
*/
VpcInterfaceName?: __string;
}
export interface Reservation {
/**
* The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.
*/
CurrencyCode: __string;
/**
* The length of time that this reservation is active. MediaConnect defines this value in the offering.
*/
Duration: __integer;
/**
* The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.
*/
DurationUnits: DurationUnits;
/**
* The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.
*/
End: __string;
/**
* The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
*/
OfferingArn: __string;
/**
* A description of the offering. MediaConnect defines this value in the offering.
*/
OfferingDescription: __string;
/**
* The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.
*/
PricePerUnit: __string;
/**
* The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.
*/
PriceUnits: PriceUnits;
/**
* The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.
*/
ReservationArn: __string;
/**
* The name that you assigned to the reservation when you purchased the offering.
*/
ReservationName: __string;
/**
* The status of your reservation.
*/
ReservationState: ReservationState;
/**
* A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.
*/
ResourceSpecification: ResourceSpecification;
/**
* The day and time that the reservation becomes active. You set this value when you purchase the offering.
*/
Start: __string;
}
export type ReservationState = "ACTIVE"|"EXPIRED"|"PROCESSING"|"CANCELED"|string;
export interface ResourceSpecification {
/**
* The amount of outbound bandwidth that is discounted in the offering.
*/
ReservedBitrate?: __integer;
/**
* The type of resource and the unit that is being billed for.
*/
ResourceType: ResourceType;
}
export type ResourceType = "Mbps_Outbound_Bandwidth"|string;
export interface RevokeFlowEntitlementRequest {
/**
* The ARN of the entitlement that you want to revoke.
*/
EntitlementArn: __string;
/**
* The flow that you want to revoke an entitlement from.
*/
FlowArn: __string;
}
export interface RevokeFlowEntitlementResponse {
/**
* The ARN of the entitlement that was revoked.
*/
EntitlementArn?: __string;
/**
* The ARN of the flow that the entitlement was revoked from.
*/
FlowArn?: __string;
}
export interface SetSourceRequest {
/**
* The type of encryption that is used on the content ingested from this source.
*/
Decryption?: Encryption;
/**
* A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
*/
Description?: __string;
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.
*/
EntitlementArn?: __string;
/**
* The port that the flow will be listening on for incoming content.
*/
IngestPort?: __integer;
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
MaxBitrate?: __integer;
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
*/
MaxLatency?: __integer;
/**
* The name of the source.
*/
Name?: __string;
/**
* The protocol that is used by the source.
*/
Protocol?: Protocol;
/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
StreamId?: __string;
/**
* The name of the VPC interface to use for this source.
*/
VpcInterfaceName?: __string;
/**
* The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
WhitelistCidr?: __string;
}
export interface Source {
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
DataTransferSubscriberFeePercent?: __integer;
/**
* The type of encryption that is used on the content ingested from this source.
*/
Decryption?: Encryption;
/**
* A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
*/
Description?: __string;
/**
* The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.
*/
EntitlementArn?: __string;
/**
* The IP address that the flow will be listening on for incoming content.
*/
IngestIp?: __string;
/**
* The port that the flow will be listening on for incoming content.
*/
IngestPort?: __integer;
/**
* The name of the source.
*/
Name: __string;
/**
* The ARN of the source.
*/
SourceArn: __string;
/**
* Attributes related to the transport stream that are used in the source.
*/
Transport?: Transport;
/**
* The name of the VPC Interface this Source is configured with.
*/
VpcInterfaceName?: __string;
/**
* The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
WhitelistCidr?: __string;
}
export type SourceType = "OWNED"|"ENTITLED"|string;
export interface StartFlowRequest {
/**
* The ARN of the flow that you want to start.
*/
FlowArn: __string;
}
export interface StartFlowResponse {
/**
* The ARN of the flow that you started.
*/
FlowArn?: __string;
/**
* The status of the flow when the StartFlow process begins.
*/
Status?: Status;
}
export type State = "ENABLED"|"DISABLED"|string;
export type Status = "STANDBY"|"ACTIVE"|"UPDATING"|"DELETING"|"STARTING"|"STOPPING"|"ERROR"|string;
export interface StopFlowRequest {
/**
* The ARN of the flow that you want to stop.
*/
FlowArn: __string;
}
export interface StopFlowResponse {
/**
* The ARN of the flow that you stopped.
*/
FlowArn?: __string;
/**
* The status of the flow when the StopFlow process begins.
*/
Status?: Status;
}
export interface TagResourceRequest {
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect resource to which to add tags.
*/
ResourceArn: __string;
/**
* A map from tag keys to values. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
*/
Tags: __mapOf__string;
}
export interface Transport {
/**
* The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
CidrAllowList?: __listOf__string;
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
MaxBitrate?: __integer;
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
*/
MaxLatency?: __integer;
/**
* The protocol that is used by the source or output.
*/
Protocol: Protocol;
/**
* The remote ID for the Zixi-pull stream.
*/
RemoteId?: __string;
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
SmoothingLatency?: __integer;
/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
StreamId?: __string;
}
export interface UntagResourceRequest {
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect resource from which to delete tags.
*/
ResourceArn: __string;
/**
* The keys of the tags to be removed.
*/
TagKeys: __listOf__string;
}
export interface UpdateEncryption {
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).
*/
Algorithm?: Algorithm;
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.
*/
ConstantInitializationVector?: __string;
/**
* The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
DeviceId?: __string;
/**
* The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
*/
KeyType?: KeyType;
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
Region?: __string;
/**
* An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
ResourceId?: __string;
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).
*/
RoleArn?: __string;
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.
*/
SecretArn?: __string;
/**
* The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.
*/
Url?: __string;
}
export interface UpdateFailoverConfig {
/**
* Recovery window time to look for dash-7 packets
*/
RecoveryWindow?: __integer;
State?: State;
}
export interface UpdateFlowEntitlementRequest {
/**
* A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
*/
Description?: __string;
/**
* The type of encryption that will be used on the output associated with this entitlement.
*/
Encryption?: UpdateEncryption;
/**
* The ARN of the entitlement that you want to update.
*/
EntitlementArn: __string;
/**
* An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.
*/
EntitlementStatus?: EntitlementStatus;
/**
* The flow that is associated with the entitlement that you want to update.
*/
FlowArn: __string;
/**
* The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
*/
Subscribers?: __listOf__string;
}
export interface UpdateFlowEntitlementResponse {
/**
* The new configuration of the entitlement that you updated.
*/
Entitlement?: Entitlement;
/**
* The ARN of the flow that this entitlement was granted on.
*/
FlowArn?: __string;
}
export interface UpdateFlowOutputRequest {
/**
* The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
CidrAllowList?: __listOf__string;
/**
* A description of the output. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the end user.
*/
Description?: __string;
/**
* The IP address where you want to send the output.
*/
Destination?: __string;
/**
* The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
*/
Encryption?: UpdateEncryption;
/**
* The flow that is associated with the output that you want to update.
*/
FlowArn: __string;
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
MaxLatency?: __integer;
/**
* The ARN of the output that you want to update.
*/
OutputArn: __string;
/**
* The port to use when content is distributed to this output.
*/
Port?: __integer;
/**
* The protocol to use for the output.
*/
Protocol?: Protocol;
/**
* The remote ID for the Zixi-pull stream.
*/
RemoteId?: __string;
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
SmoothingLatency?: __integer;
/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
StreamId?: __string;
/**
* The name of the VPC interface attachment to use for this output.
*/
VpcInterfaceAttachment?: VpcInterfaceAttachment;
}
export interface UpdateFlowOutputResponse {
/**
* The ARN of the flow that is associated with the updated output.
*/
FlowArn?: __string;
/**
* The new settings of the output that you updated.
*/
Output?: Output;
}
export interface UpdateFlowRequest {
/**
* The flow that you want to update.
*/
FlowArn: __string;
SourceFailoverConfig?: UpdateFailoverConfig;
}
export interface UpdateFlowResponse {
Flow?: Flow;
}
export interface UpdateFlowSourceRequest {
/**
* The type of encryption used on the content ingested from this source.
*/
Decryption?: UpdateEncryption;
/**
* A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.
*/
Description?: __string;
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.
*/
EntitlementArn?: __string;
/**
* The flow that is associated with the source that you want to update.
*/
FlowArn: __string;
/**
* The port that the flow will be listening on for incoming content.
*/
IngestPort?: __integer;
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
MaxBitrate?: __integer;
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
*/
MaxLatency?: __integer;
/**
* The protocol that is used by the source.
*/
Protocol?: Protocol;
/**
* The ARN of the source that you want to update.
*/
SourceArn: __string;
/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
StreamId?: __string;
/**
* The name of the VPC Interface to configure this Source with.
*/
VpcInterfaceName?: __string;
/**
* The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
*/
WhitelistCidr?: __string;
}
export interface UpdateFlowSourceResponse {
/**
* The ARN of the flow that you want to update.
*/
FlowArn?: __string;
/**
* The settings for the source of the flow.
*/
Source?: Source;
}
export interface VpcInterface {
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
Name: __string;
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
NetworkInterfaceIds: __listOf__string;
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
RoleArn: __string;
/**
* Security Group IDs to be used on ENI.
*/
SecurityGroupIds: __listOf__string;
/**
* Subnet must be in the AZ of the Flow
*/
SubnetId: __string;
}
export interface VpcInterfaceAttachment {
/**
* The name of the VPC interface to use for this output.
*/
VpcInterfaceName?: __string;
}
export interface VpcInterfaceRequest {
/**
* The name of the VPC Interface. This value must be unique within the current flow.
*/
Name: __string;
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
RoleArn: __string;
/**
* Security Group IDs to be used on ENI.
*/
SecurityGroupIds: __listOf__string;
/**
* Subnet must be in the AZ of the Flow
*/
SubnetId: __string;
}
export type __integer = number;
export type __listOfAddOutputRequest = AddOutputRequest[];
export type __listOfEntitlement = Entitlement[];
export type __listOfGrantEntitlementRequest = GrantEntitlementRequest[];
export type __listOfListedEntitlement = ListedEntitlement[];
export type __listOfListedFlow = ListedFlow[];
export type __listOfOffering = Offering[];
export type __listOfOutput = Output[];
export type __listOfReservation = Reservation[];
export type __listOfSetSourceRequest = SetSourceRequest[];
export type __listOfSource = Source[];
export type __listOfVpcInterface = VpcInterface[];
export type __listOfVpcInterfaceRequest = VpcInterfaceRequest[];
export type __listOf__string = __string[];
export type __mapOf__string = {[key: string]: __string};
export type __string = string;
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2018-11-14"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the MediaConnect client.
*/
export import Types = MediaConnect;
}
export = MediaConnect;