@aws-sdk/client-mediaconnect 3.974.0 → 3.978.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist-cjs/index.js +344 -182
  2. package/dist-es/MediaConnect.js +47 -1
  3. package/dist-es/models/enums.js +5 -0
  4. package/dist-es/schemas/schemas_0.js +102 -42
  5. package/dist-es/waiters/index.js +1 -0
  6. package/dist-es/waiters/waitForInputActive.js +9 -0
  7. package/dist-es/waiters/waitForOutputActive.js +9 -0
  8. package/dist-es/waiters/waitForOutputUnrouted.js +46 -0
  9. package/dist-types/MediaConnect.d.ts +138 -1
  10. package/dist-types/commands/AddFlowOutputsCommand.d.ts +3 -0
  11. package/dist-types/commands/AddFlowSourcesCommand.d.ts +6 -0
  12. package/dist-types/commands/CreateFlowCommand.d.ts +25 -2
  13. package/dist-types/commands/DescribeFlowCommand.d.ts +14 -1
  14. package/dist-types/commands/DescribeFlowSourceMetadataCommand.d.ts +34 -0
  15. package/dist-types/commands/StartRouterInputCommand.d.ts +1 -1
  16. package/dist-types/commands/StopRouterInputCommand.d.ts +1 -1
  17. package/dist-types/commands/UpdateFlowCommand.d.ts +20 -3
  18. package/dist-types/commands/UpdateFlowOutputCommand.d.ts +3 -0
  19. package/dist-types/commands/UpdateFlowSourceCommand.d.ts +7 -1
  20. package/dist-types/commands/UpdateRouterInputCommand.d.ts +1 -1
  21. package/dist-types/models/enums.d.ts +13 -0
  22. package/dist-types/models/models_0.d.ts +203 -172
  23. package/dist-types/models/models_1.d.ts +127 -2
  24. package/dist-types/schemas/schemas_0.d.ts +6 -0
  25. package/dist-types/ts3.4/MediaConnect.d.ts +176 -1
  26. package/dist-types/ts3.4/commands/StartRouterInputCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/StopRouterInputCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/UpdateRouterInputCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +41 -35
  31. package/dist-types/ts3.4/models/models_1.d.ts +36 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  33. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  34. package/dist-types/ts3.4/waiters/waitForOutputUnrouted.d.ts +11 -0
  35. package/dist-types/waiters/index.d.ts +1 -0
  36. package/dist-types/waiters/waitForOutputUnrouted.d.ts +14 -0
  37. package/package.json +17 -17
@@ -82,6 +82,27 @@ import { UpdateRouterInputCommand, } from "./commands/UpdateRouterInputCommand";
82
82
  import { UpdateRouterNetworkInterfaceCommand, } from "./commands/UpdateRouterNetworkInterfaceCommand";
83
83
  import { UpdateRouterOutputCommand, } from "./commands/UpdateRouterOutputCommand";
84
84
  import { MediaConnectClient } from "./MediaConnectClient";
85
+ import { paginateListBridges } from "./pagination/ListBridgesPaginator";
86
+ import { paginateListEntitlements } from "./pagination/ListEntitlementsPaginator";
87
+ import { paginateListFlows } from "./pagination/ListFlowsPaginator";
88
+ import { paginateListGatewayInstances } from "./pagination/ListGatewayInstancesPaginator";
89
+ import { paginateListGateways } from "./pagination/ListGatewaysPaginator";
90
+ import { paginateListOfferings } from "./pagination/ListOfferingsPaginator";
91
+ import { paginateListReservations } from "./pagination/ListReservationsPaginator";
92
+ import { paginateListRouterInputs } from "./pagination/ListRouterInputsPaginator";
93
+ import { paginateListRouterNetworkInterfaces } from "./pagination/ListRouterNetworkInterfacesPaginator";
94
+ import { paginateListRouterOutputs } from "./pagination/ListRouterOutputsPaginator";
95
+ import { waitUntilFlowActive } from "./waiters/waitForFlowActive";
96
+ import { waitUntilFlowDeleted } from "./waiters/waitForFlowDeleted";
97
+ import { waitUntilFlowStandby } from "./waiters/waitForFlowStandby";
98
+ import { waitUntilInputActive } from "./waiters/waitForInputActive";
99
+ import { waitUntilInputDeleted } from "./waiters/waitForInputDeleted";
100
+ import { waitUntilInputStandby } from "./waiters/waitForInputStandby";
101
+ import { waitUntilOutputActive } from "./waiters/waitForOutputActive";
102
+ import { waitUntilOutputDeleted } from "./waiters/waitForOutputDeleted";
103
+ import { waitUntilOutputRouted } from "./waiters/waitForOutputRouted";
104
+ import { waitUntilOutputStandby } from "./waiters/waitForOutputStandby";
105
+ import { waitUntilOutputUnrouted } from "./waiters/waitForOutputUnrouted";
85
106
  const commands = {
86
107
  AddBridgeOutputsCommand,
87
108
  AddBridgeSourcesCommand,
@@ -166,6 +187,31 @@ const commands = {
166
187
  UpdateRouterNetworkInterfaceCommand,
167
188
  UpdateRouterOutputCommand,
168
189
  };
190
+ const paginators = {
191
+ paginateListBridges,
192
+ paginateListEntitlements,
193
+ paginateListFlows,
194
+ paginateListGatewayInstances,
195
+ paginateListGateways,
196
+ paginateListOfferings,
197
+ paginateListReservations,
198
+ paginateListRouterInputs,
199
+ paginateListRouterNetworkInterfaces,
200
+ paginateListRouterOutputs,
201
+ };
202
+ const waiters = {
203
+ waitUntilFlowActive,
204
+ waitUntilFlowDeleted,
205
+ waitUntilFlowStandby,
206
+ waitUntilInputStandby,
207
+ waitUntilInputDeleted,
208
+ waitUntilInputActive,
209
+ waitUntilOutputUnrouted,
210
+ waitUntilOutputDeleted,
211
+ waitUntilOutputActive,
212
+ waitUntilOutputStandby,
213
+ waitUntilOutputRouted,
214
+ };
169
215
  export class MediaConnect extends MediaConnectClient {
170
216
  }
171
- createAggregatedClient(commands, MediaConnect);
217
+ createAggregatedClient(commands, MediaConnect, { paginators, waiters });
@@ -289,8 +289,13 @@ export const ContentQualityAnalysisState = {
289
289
  DISABLED: "DISABLED",
290
290
  ENABLED: "ENABLED",
291
291
  };
292
+ export const EncodingProfile = {
293
+ CONTRIBUTION_H264_DEFAULT: "CONTRIBUTION_H264_DEFAULT",
294
+ DISTRIBUTION_H264_DEFAULT: "DISTRIBUTION_H264_DEFAULT",
295
+ };
292
296
  export const FlowSize = {
293
297
  LARGE: "LARGE",
298
+ LARGE_4X: "LARGE_4X",
294
299
  MEDIUM: "MEDIUM",
295
300
  };
296
301
  export const NdiState = {
@@ -34,6 +34,7 @@ const _AMSu = "AudioMonitoringSettings";
34
34
  const _AOC = "AssociatedOutputCount";
35
35
  const _AOR = "AddOutputRequest";
36
36
  const _AR = "AllowRules";
37
+ const _AS = "ActiveSource";
37
38
  const _AZ = "AvailabilityZone";
38
39
  const _Al = "Algorithm";
39
40
  const _Ar = "Arn";
@@ -167,9 +168,10 @@ const _DROR = "DeleteRouterOutputRequest";
167
168
  const _DRORe = "DeleteRouterOutputResponse";
168
169
  const _DRR = "DescribeReservationRequest";
169
170
  const _DRRe = "DescribeReservationResponse";
170
- const _DS = "DesiredState";
171
+ const _DS = "DiscoveredSources";
171
172
  const _DSA = "DiscoveryServerAddress";
172
173
  const _DSP = "DiscoveryServerPort";
174
+ const _DSe = "DesiredState";
173
175
  const _DTE = "DestinationTransitEncryption";
174
176
  const _DTSFP = "DataTransferSubscriberFeePercent";
175
177
  const _DU = "DurationUnits";
@@ -180,8 +182,9 @@ const _Def = "Default";
180
182
  const _Du = "Duration";
181
183
  const _E = "Encryption";
182
184
  const _EA = "EntitlementArn";
183
- const _EC = "EncryptionConfiguration";
185
+ const _EC = "EncodingConfig";
184
186
  const _ECB = "EgressCidrBlocks";
187
+ const _ECn = "EncryptionConfiguration";
185
188
  const _EF = "ExactFramerate";
186
189
  const _EGB = "EgressGatewayBridge";
187
190
  const _EI = "EgressIp";
@@ -190,9 +193,10 @@ const _EKC = "EncryptionKeyConfiguration";
190
193
  const _EKT = "EncryptionKeyType";
191
194
  const _EN = "EntitlementName";
192
195
  const _ENn = "EncodingName";
193
- const _EP = "EncodingParameters";
196
+ const _EP = "EncodingProfile";
194
197
  const _EPR = "EncodingParametersRequest";
195
- const _EPn = "EncoderProfile";
198
+ const _EPn = "EncodingParameters";
199
+ const _EPnc = "EncoderProfile";
196
200
  const _ES = "EntitlementStatus";
197
201
  const _ET = "EntitlementTags";
198
202
  const _En = "Entitlements";
@@ -345,6 +349,7 @@ const _MD = "MaintenanceDay";
345
349
  const _MDa = "MaintenanceDeadline";
346
350
  const _MDe = "MessageDetail";
347
351
  const _MI = "MulticastIp";
352
+ const _MIe = "MediaInfo";
348
353
  const _ML = "MaxLatency";
349
354
  const _MLI = "MediaLiveInput";
350
355
  const _MLIA = "MediaLiveInputArn";
@@ -397,17 +402,23 @@ const _NDNII = "NonDeletedNetworkInterfaceIds";
397
402
  const _NDS = "NdiDiscoveryServers";
398
403
  const _NDSC = "NdiDiscoveryServerConfig";
399
404
  const _NFE = "NotFoundException";
405
+ const _NI = "NdiInfo";
400
406
  const _NIA = "NetworkInterfaceArn";
401
407
  const _NIAe = "NetworkInterfaceArns";
402
408
  const _NII = "NetworkInterfaceIds";
403
409
  const _NIRL = "NetworkInterfaceRuleList";
404
410
  const _NIT = "NetworkInterfaceType";
405
411
  const _NITe = "NetworkInterfaceTypes";
412
+ const _NMI = "NdiMediaInfo";
413
+ const _NMSI = "NdiMediaStreamInfo";
406
414
  const _NN = "NetworkName";
407
415
  const _NO = "NetworkOutput";
408
416
  const _NPN = "NdiProgramName";
409
417
  const _NS = "NetworkSource";
410
418
  const _NSHQ = "NdiSpeedHqQuality";
419
+ const _NSI = "NdiSourceInfo";
420
+ const _NSMI = "NdiSourceMetadataInfo";
421
+ const _NSS = "NdiSourceSettings";
411
422
  const _NSd = "NdiState";
412
423
  const _NT = "NextToken";
413
424
  const _Ne = "Networks";
@@ -715,6 +726,7 @@ const _VIN = "VpcInterfaceName";
715
726
  const _VIR = "VpcInterfaceRequest";
716
727
  const _VIT = "VpcInterfaceTags";
717
728
  const _VIp = "VpcInterface";
729
+ const _VMB = "VideoMaxBitrate";
718
730
  const _VMS = "VideoMonitoringSettings";
719
731
  const _VMSi = "VideoMonitoringSetting";
720
732
  const _VRNIC = "VpcRouterNetworkInterfaceConfiguration";
@@ -726,6 +738,7 @@ const _aIC = "associatedInputCount";
726
738
  const _aMS = "audioMonitoringSettings";
727
739
  const _aOC = "associatedOutputCount";
728
740
  const _aR = "allowRules";
741
+ const _aS = "activeSource";
729
742
  const _aZ = "availabilityZone";
730
743
  const _al = "algorithm";
731
744
  const _ar = "arn";
@@ -768,9 +781,10 @@ const _dI = "destinationIp";
768
781
  const _dIA = "destinationIpAddress";
769
782
  const _dIe = "deviceId";
770
783
  const _dP = "destinationPort";
771
- const _dS = "desiredState";
784
+ const _dS = "discoveredSources";
772
785
  const _dSA = "discoveryServerAddress";
773
786
  const _dSP = "discoveryServerPort";
787
+ const _dSe = "desiredState";
774
788
  const _dTE = "destinationTransitEncryption";
775
789
  const _dTSFP = "dataTransferSubscriberFeePercent";
776
790
  const _dU = "durationUnits";
@@ -781,8 +795,9 @@ const _def = "default";
781
795
  const _du = "duration";
782
796
  const _e = "error";
783
797
  const _eA = "entitlementArn";
784
- const _eC = "encryptionConfiguration";
798
+ const _eC = "encodingConfig";
785
799
  const _eCB = "egressCidrBlocks";
800
+ const _eCn = "encryptionConfiguration";
786
801
  const _eF = "exactFramerate";
787
802
  const _eGB = "egressGatewayBridge";
788
803
  const _eI = "egressIp";
@@ -791,8 +806,9 @@ const _eKC = "encryptionKeyConfiguration";
791
806
  const _eKT = "encryptionKeyType";
792
807
  const _eN = "entitlementName";
793
808
  const _eNn = "encodingName";
794
- const _eP = "encoderProfile";
795
- const _ePn = "encodingParameters";
809
+ const _eP = "encodingProfile";
810
+ const _ePn = "encoderProfile";
811
+ const _ePnc = "encodingParameters";
796
812
  const _eS = "entitlementStatus";
797
813
  const _eT = "entitlementTags";
798
814
  const _en = "encryption";
@@ -809,8 +825,8 @@ const _fH = "frameHeight";
809
825
  const _fM = "failoverMode";
810
826
  const _fO = "flowOutput";
811
827
  const _fOA = "flowOutputArn";
812
- const _fR = "frameRate";
813
- const _fRr = "frameResolution";
828
+ const _fR = "frameResolution";
829
+ const _fRr = "frameRate";
814
830
  const _fS = "flowSource";
815
831
  const _fSA = "flowSourceArn";
816
832
  const _fSl = "flowSize";
@@ -880,6 +896,8 @@ const _lOMSOCR = "__listOfMediaStreamOutputConfigurationRequest";
880
896
  const _lOMSSC = "__listOfMediaStreamSourceConfiguration";
881
897
  const _lOMSSCR = "__listOfMediaStreamSourceConfigurationRequest";
882
898
  const _lONDSC = "__listOfNdiDiscoveryServerConfig";
899
+ const _lONMSI = "__listOfNdiMediaStreamInfo";
900
+ const _lONSI = "__listOfNdiSourceInfo";
883
901
  const _lOO = "__listOfOffering";
884
902
  const _lOOi = "__listOfOutput";
885
903
  const _lOR = "__listOfReservation";
@@ -899,6 +917,7 @@ const _mCe = "messageCount";
899
917
  const _mD = "maintenanceDay";
900
918
  const _mDa = "maintenanceDeadline";
901
919
  const _mI = "multicastIp";
920
+ const _mIe = "mediaInfo";
902
921
  const _mL = "maxLatency";
903
922
  const _mLI = "mediaLiveInput";
904
923
  const _mLIA = "mediaLiveInputArn";
@@ -934,6 +953,7 @@ const _nC = "ndiConfig";
934
953
  const _nCa = "nameContains";
935
954
  const _nDNII = "nonDeletedNetworkInterfaceIds";
936
955
  const _nDS = "ndiDiscoveryServers";
956
+ const _nI = "ndiInfo";
937
957
  const _nIA = "networkInterfaceArn";
938
958
  const _nIAe = "networkInterfaceArns";
939
959
  const _nII = "networkInterfaceIds";
@@ -944,6 +964,7 @@ const _nO = "networkOutput";
944
964
  const _nPN = "ndiProgramName";
945
965
  const _nS = "networkSource";
946
966
  const _nSHQ = "ndiSpeedHqQuality";
967
+ const _nSS = "ndiSourceSettings";
947
968
  const _nSd = "ndiState";
948
969
  const _nT = "nextToken";
949
970
  const _ne = "networks";
@@ -1092,6 +1113,7 @@ const _vIA = "vpcInterfaceAttachment";
1092
1113
  const _vIAp = "vpcInterfaceAdapter";
1093
1114
  const _vIN = "vpcInterfaceName";
1094
1115
  const _vIT = "vpcInterfaceTags";
1116
+ const _vMB = "videoMaxBitrate";
1095
1117
  const _vMS = "videoMonitoringSettings";
1096
1118
  const _w = "window";
1097
1119
  const _wC = "whitelistCidr";
@@ -1346,8 +1368,8 @@ export var CreateFlow420Exception$ = [-3, n0, _CFE,
1346
1368
  TypeRegistry.for(n0).registerError(CreateFlow420Exception$, CreateFlow420Exception);
1347
1369
  export var CreateFlowRequest$ = [3, n0, _CFR,
1348
1370
  0,
1349
- [_N, _AZ, _En, _MS, _O, _So, _SFC, _S, _VI, _Ma, _SMC, _FSl, _NC, _FT],
1350
- [[0, { [_jN]: _n }], [0, { [_jN]: _aZ }], [() => __listOfGrantEntitlementRequest, { [_jN]: _ent }], [() => __listOfAddMediaStreamRequest, { [_jN]: _mS }], [() => __listOfAddOutputRequest, { [_jN]: _o }], [() => SetSourceRequest$, { [_jN]: _so }], [() => FailoverConfig$, { [_jN]: _sFC }], [() => __listOfSetSourceRequest, { [_jN]: _s }], [() => __listOfVpcInterfaceRequest, { [_jN]: _vI }], [() => AddMaintenance$, { [_jN]: _ma }], [() => MonitoringConfig$, { [_jN]: _sMC }], [0, { [_jN]: _fSl }], [() => NdiConfig$, { [_jN]: _nC }], [128 | 0, { [_jN]: _fT }]], 1
1371
+ [_N, _AZ, _En, _MS, _O, _So, _SFC, _S, _VI, _Ma, _SMC, _FSl, _NC, _EC, _FT],
1372
+ [[0, { [_jN]: _n }], [0, { [_jN]: _aZ }], [() => __listOfGrantEntitlementRequest, { [_jN]: _ent }], [() => __listOfAddMediaStreamRequest, { [_jN]: _mS }], [() => __listOfAddOutputRequest, { [_jN]: _o }], [() => SetSourceRequest$, { [_jN]: _so }], [() => FailoverConfig$, { [_jN]: _sFC }], [() => __listOfSetSourceRequest, { [_jN]: _s }], [() => __listOfVpcInterfaceRequest, { [_jN]: _vI }], [() => AddMaintenance$, { [_jN]: _ma }], [() => MonitoringConfig$, { [_jN]: _sMC }], [0, { [_jN]: _fSl }], [() => NdiConfig$, { [_jN]: _nC }], [() => EncodingConfig$, { [_jN]: _eC }], [128 | 0, { [_jN]: _fT }]], 1
1351
1373
  ];
1352
1374
  export var CreateFlowResponse$ = [3, n0, _CFRr,
1353
1375
  0,
@@ -1502,8 +1524,8 @@ export var DescribeFlowSourceMetadataRequest$ = [3, n0, _DFSMR,
1502
1524
  ];
1503
1525
  export var DescribeFlowSourceMetadataResponse$ = [3, n0, _DFSMRe,
1504
1526
  0,
1505
- [_FA, _Me, _Tim, _TMI],
1506
- [[0, { [_jN]: _fA }], [() => __listOfMessageDetail, { [_jN]: _me }], [5, { [_jN]: _tim }], [() => TransportMediaInfo$, { [_jN]: _tMI }]]
1527
+ [_FA, _Me, _Tim, _TMI, _NI],
1528
+ [[0, { [_jN]: _fA }], [() => __listOfMessageDetail, { [_jN]: _me }], [5, { [_jN]: _tim }], [() => TransportMediaInfo$, { [_jN]: _tMI }], [() => NdiSourceMetadataInfo$, { [_jN]: _nI }]]
1507
1529
  ];
1508
1530
  export var DescribeFlowSourceThumbnailRequest$ = [3, n0, _DFSTR,
1509
1531
  0,
@@ -1570,15 +1592,20 @@ export var EgressGatewayBridge$ = [3, n0, _EGB,
1570
1592
  [_MB, _II],
1571
1593
  [[1, { [_jN]: _mB }], [0, { [_jN]: _iI }]], 1
1572
1594
  ];
1573
- export var EncodingParameters$ = [3, n0, _EP,
1595
+ export var EncodingConfig$ = [3, n0, _EC,
1574
1596
  0,
1575
- [_CF, _EPn],
1576
- [[1, { [_jN]: _cF }], [0, { [_jN]: _eP }]], 2
1597
+ [_EP, _VMB],
1598
+ [[0, { [_jN]: _eP }], [1, { [_jN]: _vMB }]]
1599
+ ];
1600
+ export var EncodingParameters$ = [3, n0, _EPn,
1601
+ 0,
1602
+ [_CF, _EPnc],
1603
+ [[1, { [_jN]: _cF }], [0, { [_jN]: _ePn }]], 2
1577
1604
  ];
1578
1605
  export var EncodingParametersRequest$ = [3, n0, _EPR,
1579
1606
  0,
1580
- [_CF, _EPn],
1581
- [[1, { [_jN]: _cF }], [0, { [_jN]: _eP }]], 2
1607
+ [_CF, _EPnc],
1608
+ [[1, { [_jN]: _cF }], [0, { [_jN]: _ePn }]], 2
1582
1609
  ];
1583
1610
  export var Encryption$ = [3, n0, _E,
1584
1611
  0,
@@ -1612,8 +1639,8 @@ export var FailoverRouterInputStreamDetails$ = [3, n0, _FRISD,
1612
1639
  ];
1613
1640
  export var Flow$ = [3, n0, _F,
1614
1641
  0,
1615
- [_AZ, _En, _FA, _N, _O, _So, _Sta, _D, _EI, _MS, _SFC, _S, _VI, _Ma, _SMC, _FSl, _NC],
1616
- [[0, { [_jN]: _aZ }], [() => __listOfEntitlement, { [_jN]: _ent }], [0, { [_jN]: _fA }], [0, { [_jN]: _n }], [() => __listOfOutput, { [_jN]: _o }], [() => Source$, { [_jN]: _so }], [0, { [_jN]: _sta }], [0, { [_jN]: _d }], [0, { [_jN]: _eI }], [() => __listOfMediaStream, { [_jN]: _mS }], [() => FailoverConfig$, { [_jN]: _sFC }], [() => __listOfSource, { [_jN]: _s }], [() => __listOfVpcInterface, { [_jN]: _vI }], [() => Maintenance$, { [_jN]: _ma }], [() => MonitoringConfig$, { [_jN]: _sMC }], [0, { [_jN]: _fSl }], [() => NdiConfig$, { [_jN]: _nC }]], 7
1642
+ [_AZ, _En, _FA, _N, _O, _So, _Sta, _D, _EI, _MS, _SFC, _S, _VI, _Ma, _SMC, _FSl, _NC, _EC],
1643
+ [[0, { [_jN]: _aZ }], [() => __listOfEntitlement, { [_jN]: _ent }], [0, { [_jN]: _fA }], [0, { [_jN]: _n }], [() => __listOfOutput, { [_jN]: _o }], [() => Source$, { [_jN]: _so }], [0, { [_jN]: _sta }], [0, { [_jN]: _d }], [0, { [_jN]: _eI }], [() => __listOfMediaStream, { [_jN]: _mS }], [() => FailoverConfig$, { [_jN]: _sFC }], [() => __listOfSource, { [_jN]: _s }], [() => __listOfVpcInterface, { [_jN]: _vI }], [() => Maintenance$, { [_jN]: _ma }], [() => MonitoringConfig$, { [_jN]: _sMC }], [0, { [_jN]: _fSl }], [() => NdiConfig$, { [_jN]: _nC }], [() => EncodingConfig$, { [_jN]: _eC }]], 7
1617
1644
  ];
1618
1645
  export var FlowTransitEncryption$ = [3, n0, _FTE,
1619
1646
  0,
@@ -1985,13 +2012,13 @@ export var MediaStreamAttributesRequest$ = [3, n0, _MSAR,
1985
2012
  ];
1986
2013
  export var MediaStreamOutputConfiguration$ = [3, n0, _MSOCe,
1987
2014
  0,
1988
- [_ENn, _MSN, _DCe, _EP],
1989
- [[0, { [_jN]: _eNn }], [0, { [_jN]: _mSN }], [() => __listOfDestinationConfiguration, { [_jN]: _dC }], [() => EncodingParameters$, { [_jN]: _ePn }]], 2
2015
+ [_ENn, _MSN, _DCe, _EPn],
2016
+ [[0, { [_jN]: _eNn }], [0, { [_jN]: _mSN }], [() => __listOfDestinationConfiguration, { [_jN]: _dC }], [() => EncodingParameters$, { [_jN]: _ePnc }]], 2
1990
2017
  ];
1991
2018
  export var MediaStreamOutputConfigurationRequest$ = [3, n0, _MSOCR,
1992
2019
  0,
1993
- [_ENn, _MSN, _DCe, _EP],
1994
- [[0, { [_jN]: _eNn }], [0, { [_jN]: _mSN }], [() => __listOfDestinationConfigurationRequest, { [_jN]: _dC }], [() => EncodingParametersRequest$, { [_jN]: _ePn }]], 2
2020
+ [_ENn, _MSN, _DCe, _EPn],
2021
+ [[0, { [_jN]: _eNn }], [0, { [_jN]: _mSN }], [() => __listOfDestinationConfigurationRequest, { [_jN]: _dC }], [() => EncodingParametersRequest$, { [_jN]: _ePnc }]], 2
1995
2022
  ];
1996
2023
  export var MediaStreamSourceConfiguration$ = [3, n0, _MSSC,
1997
2024
  0,
@@ -2048,6 +2075,31 @@ export var NdiDiscoveryServerConfig$ = [3, n0, _NDSC,
2048
2075
  [_DSA, _VIAp, _DSP],
2049
2076
  [[0, { [_jN]: _dSA }], [0, { [_jN]: _vIAp }], [1, { [_jN]: _dSP }]], 2
2050
2077
  ];
2078
+ export var NdiMediaInfo$ = [3, n0, _NMI,
2079
+ 0,
2080
+ [_Str],
2081
+ [[() => __listOfNdiMediaStreamInfo, { [_jN]: _str }]], 1
2082
+ ];
2083
+ export var NdiMediaStreamInfo$ = [3, n0, _NMSI,
2084
+ 0,
2085
+ [_STt, _Cod, _SI, _SM, _FRr, _FRra, _Ch, _SR],
2086
+ [[0, { [_jN]: _sTt }], [0, { [_jN]: _cod }], [1, { [_jN]: _sI }], [0, { [_jN]: _sM }], [() => FrameResolution$, { [_jN]: _fR }], [0, { [_jN]: _fRr }], [1, { [_jN]: _ch }], [1, { [_jN]: _sR }]], 3
2087
+ ];
2088
+ export var NdiSourceInfo$ = [3, n0, _NSI,
2089
+ 0,
2090
+ [_SN],
2091
+ [[0, { [_jN]: _sN }]], 1
2092
+ ];
2093
+ export var NdiSourceMetadataInfo$ = [3, n0, _NSMI,
2094
+ 0,
2095
+ [_DS, _MIe, _Me, _AS],
2096
+ [[() => __listOfNdiSourceInfo, { [_jN]: _dS }], [() => NdiMediaInfo$, { [_jN]: _mIe }], [() => __listOfMessageDetail, { [_jN]: _me }], [() => NdiSourceInfo$, { [_jN]: _aS }]], 3
2097
+ ];
2098
+ export var NdiSourceSettings$ = [3, n0, _NSS,
2099
+ 0,
2100
+ [_SN],
2101
+ [[0, { [_jN]: _sN }]]
2102
+ ];
2051
2103
  export var NotFoundException$ = [-3, n0, _NFE,
2052
2104
  { [_e]: _c, [_hE]: 404 },
2053
2105
  [_M],
@@ -2285,8 +2337,8 @@ export var SetGatewayBridgeSourceRequest$ = [3, n0, _SGBSR,
2285
2337
  ];
2286
2338
  export var SetSourceRequest$ = [3, n0, _SSR,
2287
2339
  0,
2288
- [_Dec, _D, _EA, _IPn, _MB, _ML, _MSB, _MSSCe, _MLi, _N, _Pr, _SCP, _SIAe, _SLA, _SLP, _SI, _VIN, _WC, _GBS, _STo, _RIS, _RITDo],
2289
- [[() => Encryption$, { [_jN]: _dec }], [0, { [_jN]: _d }], [0, { [_jN]: _eA }], [1, { [_jN]: _iPn }], [1, { [_jN]: _mB }], [1, { [_jN]: _mL }], [1, { [_jN]: _mSB }], [() => __listOfMediaStreamSourceConfigurationRequest, { [_jN]: _mSSC }], [1, { [_jN]: _mLi }], [0, { [_jN]: _n }], [0, { [_jN]: _pr }], [1, { [_jN]: _sCP }], [0, { [_jN]: _sIAe }], [0, { [_jN]: _sLA }], [1, { [_jN]: _sLP }], [0, { [_jN]: _sI }], [0, { [_jN]: _vIN }], [0, { [_jN]: _wC }], [() => SetGatewayBridgeSourceRequest$, { [_jN]: _gBS }], [128 | 0, { [_jN]: _sTo }], [0, { [_jN]: _rIS }], [() => FlowTransitEncryption$, { [_jN]: _rITD }]]
2340
+ [_Dec, _D, _EA, _IPn, _MB, _ML, _MSB, _MSSCe, _MLi, _N, _Pr, _SCP, _SIAe, _SLA, _SLP, _SI, _VIN, _WC, _GBS, _NSS, _STo, _RIS, _RITDo],
2341
+ [[() => Encryption$, { [_jN]: _dec }], [0, { [_jN]: _d }], [0, { [_jN]: _eA }], [1, { [_jN]: _iPn }], [1, { [_jN]: _mB }], [1, { [_jN]: _mL }], [1, { [_jN]: _mSB }], [() => __listOfMediaStreamSourceConfigurationRequest, { [_jN]: _mSSC }], [1, { [_jN]: _mLi }], [0, { [_jN]: _n }], [0, { [_jN]: _pr }], [1, { [_jN]: _sCP }], [0, { [_jN]: _sIAe }], [0, { [_jN]: _sLA }], [1, { [_jN]: _sLP }], [0, { [_jN]: _sI }], [0, { [_jN]: _vIN }], [0, { [_jN]: _wC }], [() => SetGatewayBridgeSourceRequest$, { [_jN]: _gBS }], [() => NdiSourceSettings$, { [_jN]: _nSS }], [128 | 0, { [_jN]: _sTo }], [0, { [_jN]: _rIS }], [() => FlowTransitEncryption$, { [_jN]: _rITD }]]
2290
2342
  ];
2291
2343
  export var SilentAudio$ = [3, n0, _SA,
2292
2344
  0,
@@ -2310,8 +2362,8 @@ export var SrtCallerRouterInputConfiguration$ = [3, n0, _SCRIC,
2310
2362
  ];
2311
2363
  export var SrtCallerRouterOutputConfiguration$ = [3, n0, _SCROC,
2312
2364
  0,
2313
- [_DA, _DP, _MLM, _SI, _EC],
2314
- [[0, { [_jN]: _dA }], [1, { [_jN]: _dP }], [1, { [_jN]: _mLM }], [0, { [_jN]: _sI }], [() => SrtEncryptionConfiguration$, { [_jN]: _eC }]], 3
2365
+ [_DA, _DP, _MLM, _SI, _ECn],
2366
+ [[0, { [_jN]: _dA }], [1, { [_jN]: _dP }], [1, { [_jN]: _mLM }], [0, { [_jN]: _sI }], [() => SrtEncryptionConfiguration$, { [_jN]: _eCn }]], 3
2315
2367
  ];
2316
2368
  export var SrtDecryptionConfiguration$ = [3, n0, _SDC,
2317
2369
  0,
@@ -2330,8 +2382,8 @@ export var SrtListenerRouterInputConfiguration$ = [3, n0, _SLRIC,
2330
2382
  ];
2331
2383
  export var SrtListenerRouterOutputConfiguration$ = [3, n0, _SLROC,
2332
2384
  0,
2333
- [_P, _MLM, _EC],
2334
- [[1, { [_jN]: _p }], [1, { [_jN]: _mLM }], [() => SrtEncryptionConfiguration$, { [_jN]: _eC }]], 2
2385
+ [_P, _MLM, _ECn],
2386
+ [[1, { [_jN]: _p }], [1, { [_jN]: _mLM }], [() => SrtEncryptionConfiguration$, { [_jN]: _eCn }]], 2
2335
2387
  ];
2336
2388
  export var StandardRouterInputConfiguration$ = [3, n0, _SRIC,
2337
2389
  0,
@@ -2446,8 +2498,8 @@ export var TooManyRequestsException$ = [-3, n0, _TMRE,
2446
2498
  TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
2447
2499
  export var Transport$ = [3, n0, _Tr,
2448
2500
  0,
2449
- [_Pr, _CAL, _MB, _ML, _MSB, _MLi, _RI, _SCP, _SIAe, _SL, _SLA, _SLP, _SI, _NSHQ, _NPN],
2450
- [[0, { [_jN]: _pr }], [64 | 0, { [_jN]: _cAL }], [1, { [_jN]: _mB }], [1, { [_jN]: _mL }], [1, { [_jN]: _mSB }], [1, { [_jN]: _mLi }], [0, { [_jN]: _rI }], [1, { [_jN]: _sCP }], [0, { [_jN]: _sIAe }], [1, { [_jN]: _sL }], [0, { [_jN]: _sLA }], [1, { [_jN]: _sLP }], [0, { [_jN]: _sI }], [1, { [_jN]: _nSHQ }], [0, { [_jN]: _nPN }]], 1
2501
+ [_Pr, _CAL, _MB, _ML, _MSB, _MLi, _RI, _SCP, _SIAe, _SL, _SLA, _SLP, _SI, _NSHQ, _NPN, _NSS],
2502
+ [[0, { [_jN]: _pr }], [64 | 0, { [_jN]: _cAL }], [1, { [_jN]: _mB }], [1, { [_jN]: _mL }], [1, { [_jN]: _mSB }], [1, { [_jN]: _mLi }], [0, { [_jN]: _rI }], [1, { [_jN]: _sCP }], [0, { [_jN]: _sIAe }], [1, { [_jN]: _sL }], [0, { [_jN]: _sLA }], [1, { [_jN]: _sLP }], [0, { [_jN]: _sI }], [1, { [_jN]: _nSHQ }], [0, { [_jN]: _nPN }], [() => NdiSourceSettings$, { [_jN]: _nSS }]], 1
2451
2503
  ];
2452
2504
  export var TransportMediaInfo$ = [3, n0, _TMI,
2453
2505
  0,
@@ -2457,7 +2509,7 @@ export var TransportMediaInfo$ = [3, n0, _TMI,
2457
2509
  export var TransportStream$ = [3, n0, _TSr,
2458
2510
  0,
2459
2511
  [_Pi, _STt, _Ch, _Cod, _FRra, _FRr, _SR, _SS],
2460
- [[1, { [_jN]: _pi }], [0, { [_jN]: _sTt }], [1, { [_jN]: _ch }], [0, { [_jN]: _cod }], [0, { [_jN]: _fR }], [() => FrameResolution$, { [_jN]: _fRr }], [1, { [_jN]: _sR }], [1, { [_jN]: _sS }]], 2
2512
+ [[1, { [_jN]: _pi }], [0, { [_jN]: _sTt }], [1, { [_jN]: _ch }], [0, { [_jN]: _cod }], [0, { [_jN]: _fRr }], [() => FrameResolution$, { [_jN]: _fR }], [1, { [_jN]: _sR }], [1, { [_jN]: _sS }]], 2
2461
2513
  ];
2462
2514
  export var TransportStreamProgram$ = [3, n0, _TSP,
2463
2515
  0,
@@ -2521,13 +2573,13 @@ export var UpdateBridgeSourceResponse$ = [3, n0, _UBSRp,
2521
2573
  ];
2522
2574
  export var UpdateBridgeStateRequest$ = [3, n0, _UBSRpd,
2523
2575
  0,
2524
- [_BA, _DS],
2525
- [[0, 1], [0, { [_jN]: _dS }]], 2
2576
+ [_BA, _DSe],
2577
+ [[0, 1], [0, { [_jN]: _dSe }]], 2
2526
2578
  ];
2527
2579
  export var UpdateBridgeStateResponse$ = [3, n0, _UBSRpda,
2528
2580
  0,
2529
- [_BA, _DS],
2530
- [[0, { [_jN]: _bA }], [0, { [_jN]: _dS }]]
2581
+ [_BA, _DSe],
2582
+ [[0, { [_jN]: _bA }], [0, { [_jN]: _dSe }]]
2531
2583
  ];
2532
2584
  export var UpdateEgressGatewayBridgeRequest$ = [3, n0, _UEGBR,
2533
2585
  0,
@@ -2576,8 +2628,8 @@ export var UpdateFlowOutputResponse$ = [3, n0, _UFORp,
2576
2628
  ];
2577
2629
  export var UpdateFlowRequest$ = [3, n0, _UFR,
2578
2630
  0,
2579
- [_FA, _SFC, _Ma, _SMC, _NC, _FSl],
2580
- [[0, 1], [() => UpdateFailoverConfig$, { [_jN]: _sFC }], [() => UpdateMaintenance$, { [_jN]: _ma }], [() => MonitoringConfig$, { [_jN]: _sMC }], [() => NdiConfig$, { [_jN]: _nC }], [0, { [_jN]: _fSl }]], 1
2631
+ [_FA, _SFC, _Ma, _SMC, _NC, _FSl, _EC],
2632
+ [[0, 1], [() => UpdateFailoverConfig$, { [_jN]: _sFC }], [() => UpdateMaintenance$, { [_jN]: _ma }], [() => MonitoringConfig$, { [_jN]: _sMC }], [() => NdiConfig$, { [_jN]: _nC }], [0, { [_jN]: _fSl }], [() => EncodingConfig$, { [_jN]: _eC }]], 1
2581
2633
  ];
2582
2634
  export var UpdateFlowResponse$ = [3, n0, _UFRp,
2583
2635
  0,
@@ -2586,8 +2638,8 @@ export var UpdateFlowResponse$ = [3, n0, _UFRp,
2586
2638
  ];
2587
2639
  export var UpdateFlowSourceRequest$ = [3, n0, _UFSR,
2588
2640
  0,
2589
- [_FA, _SAo, _Dec, _D, _EA, _IPn, _MB, _ML, _MSB, _MSSCe, _MLi, _Pr, _SCP, _SIAe, _SLA, _SLP, _SI, _VIN, _WC, _GBS, _RIS, _RITDo],
2590
- [[0, 1], [0, 1], [() => UpdateEncryption$, { [_jN]: _dec }], [0, { [_jN]: _d }], [0, { [_jN]: _eA }], [1, { [_jN]: _iPn }], [1, { [_jN]: _mB }], [1, { [_jN]: _mL }], [1, { [_jN]: _mSB }], [() => __listOfMediaStreamSourceConfigurationRequest, { [_jN]: _mSSC }], [1, { [_jN]: _mLi }], [0, { [_jN]: _pr }], [1, { [_jN]: _sCP }], [0, { [_jN]: _sIAe }], [0, { [_jN]: _sLA }], [1, { [_jN]: _sLP }], [0, { [_jN]: _sI }], [0, { [_jN]: _vIN }], [0, { [_jN]: _wC }], [() => UpdateGatewayBridgeSourceRequest$, { [_jN]: _gBS }], [0, { [_jN]: _rIS }], [() => FlowTransitEncryption$, { [_jN]: _rITD }]], 2
2641
+ [_FA, _SAo, _Dec, _D, _EA, _IPn, _MB, _ML, _MSB, _MSSCe, _MLi, _Pr, _SCP, _SIAe, _SLA, _SLP, _SI, _VIN, _WC, _GBS, _NSS, _RIS, _RITDo],
2642
+ [[0, 1], [0, 1], [() => UpdateEncryption$, { [_jN]: _dec }], [0, { [_jN]: _d }], [0, { [_jN]: _eA }], [1, { [_jN]: _iPn }], [1, { [_jN]: _mB }], [1, { [_jN]: _mL }], [1, { [_jN]: _mSB }], [() => __listOfMediaStreamSourceConfigurationRequest, { [_jN]: _mSSC }], [1, { [_jN]: _mLi }], [0, { [_jN]: _pr }], [1, { [_jN]: _sCP }], [0, { [_jN]: _sIAe }], [0, { [_jN]: _sLA }], [1, { [_jN]: _sLP }], [0, { [_jN]: _sI }], [0, { [_jN]: _vIN }], [0, { [_jN]: _wC }], [() => UpdateGatewayBridgeSourceRequest$, { [_jN]: _gBS }], [() => NdiSourceSettings$, { [_jN]: _nSS }], [0, { [_jN]: _rIS }], [() => FlowTransitEncryption$, { [_jN]: _rITD }]], 2
2591
2643
  ];
2592
2644
  export var UpdateFlowSourceResponse$ = [3, n0, _UFSRp,
2593
2645
  0,
@@ -2787,6 +2839,14 @@ var __listOfNdiDiscoveryServerConfig = [1, n0, _lONDSC,
2787
2839
  0, [() => NdiDiscoveryServerConfig$,
2788
2840
  0]
2789
2841
  ];
2842
+ var __listOfNdiMediaStreamInfo = [1, n0, _lONMSI,
2843
+ 0, [() => NdiMediaStreamInfo$,
2844
+ 0]
2845
+ ];
2846
+ var __listOfNdiSourceInfo = [1, n0, _lONSI,
2847
+ 0, [() => NdiSourceInfo$,
2848
+ 0]
2849
+ ];
2790
2850
  var __listOfOffering = [1, n0, _lOO,
2791
2851
  0, [() => Offering$,
2792
2852
  0]
@@ -4,6 +4,7 @@ export * from "./waitForFlowStandby";
4
4
  export * from "./waitForInputStandby";
5
5
  export * from "./waitForInputDeleted";
6
6
  export * from "./waitForInputActive";
7
+ export * from "./waitForOutputUnrouted";
7
8
  export * from "./waitForOutputDeleted";
8
9
  export * from "./waitForOutputActive";
9
10
  export * from "./waitForOutputStandby";
@@ -32,6 +32,15 @@ const checkState = async (client, input) => {
32
32
  }
33
33
  }
34
34
  catch (e) { }
35
+ try {
36
+ const returnComparator = () => {
37
+ return result.RouterInput.State;
38
+ };
39
+ if (returnComparator() === "MIGRATING") {
40
+ return { state: WaiterState.RETRY, reason };
41
+ }
42
+ }
43
+ catch (e) { }
35
44
  try {
36
45
  const returnComparator = () => {
37
46
  return result.RouterInput.State;
@@ -32,6 +32,15 @@ const checkState = async (client, input) => {
32
32
  }
33
33
  }
34
34
  catch (e) { }
35
+ try {
36
+ const returnComparator = () => {
37
+ return result.RouterOutput.State;
38
+ };
39
+ if (returnComparator() === "MIGRATING") {
40
+ return { state: WaiterState.RETRY, reason };
41
+ }
42
+ }
43
+ catch (e) { }
35
44
  try {
36
45
  const returnComparator = () => {
37
46
  return result.RouterOutput.State;
@@ -0,0 +1,46 @@
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
+ import { GetRouterOutputCommand } from "../commands/GetRouterOutputCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetRouterOutputCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.RouterOutput.RoutedState;
11
+ };
12
+ if (returnComparator() === "UNROUTED") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.RouterOutput.RoutedState;
20
+ };
21
+ if (returnComparator() === "ROUTING") {
22
+ return { state: WaiterState.RETRY, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ if (exception.name && exception.name == "InternalServerErrorException") {
30
+ return { state: WaiterState.RETRY, reason };
31
+ }
32
+ if (exception.name && exception.name == "ServiceUnavailableException") {
33
+ return { state: WaiterState.RETRY, reason };
34
+ }
35
+ }
36
+ return { state: WaiterState.RETRY, reason };
37
+ };
38
+ export const waitForOutputUnrouted = async (params, input) => {
39
+ const serviceDefaults = { minDelay: 3, maxDelay: 120 };
40
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
41
+ };
42
+ export const waitUntilOutputUnrouted = async (params, input) => {
43
+ const serviceDefaults = { minDelay: 3, maxDelay: 120 };
44
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
45
+ return checkExceptions(result);
46
+ };