@aws-sdk/client-mediaconnect 3.716.0 → 3.721.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.
package/dist-cjs/index.js CHANGED
@@ -35,6 +35,7 @@ __export(src_exports, {
35
35
  Colorimetry: () => Colorimetry,
36
36
  ConflictException: () => ConflictException,
37
37
  ConnectionStatus: () => ConnectionStatus,
38
+ ContentQualityAnalysisState: () => ContentQualityAnalysisState,
38
39
  CreateBridge420Exception: () => CreateBridge420Exception,
39
40
  CreateBridgeCommand: () => CreateBridgeCommand,
40
41
  CreateFlow420Exception: () => CreateFlow420Exception,
@@ -371,6 +372,10 @@ var OutputStatus = {
371
372
  DISABLED: "DISABLED",
372
373
  ENABLED: "ENABLED"
373
374
  };
375
+ var State = {
376
+ DISABLED: "DISABLED",
377
+ ENABLED: "ENABLED"
378
+ };
374
379
  var EntitlementStatus = {
375
380
  DISABLED: "DISABLED",
376
381
  ENABLED: "ENABLED"
@@ -594,10 +599,6 @@ var FailoverMode = {
594
599
  FAILOVER: "FAILOVER",
595
600
  MERGE: "MERGE"
596
601
  };
597
- var State = {
598
- DISABLED: "DISABLED",
599
- ENABLED: "ENABLED"
600
- };
601
602
  var BridgePlacement = {
602
603
  AVAILABLE: "AVAILABLE",
603
604
  LOCKED: "LOCKED"
@@ -606,6 +607,10 @@ var ConnectionStatus = {
606
607
  CONNECTED: "CONNECTED",
607
608
  DISCONNECTED: "DISCONNECTED"
608
609
  };
610
+ var ContentQualityAnalysisState = {
611
+ DISABLED: "DISABLED",
612
+ ENABLED: "ENABLED"
613
+ };
609
614
  var _CreateBridge420Exception = class _CreateBridge420Exception extends MediaConnectServiceException {
610
615
  /**
611
616
  * @internal
@@ -2408,6 +2413,11 @@ var se___listOfAddOutputRequest = /* @__PURE__ */ __name((input, context) => {
2408
2413
  return se_AddOutputRequest(entry, context);
2409
2414
  });
2410
2415
  }, "se___listOfAddOutputRequest");
2416
+ var se___listOfAudioMonitoringSetting = /* @__PURE__ */ __name((input, context) => {
2417
+ return input.filter((e) => e != null).map((entry) => {
2418
+ return se_AudioMonitoringSetting(entry, context);
2419
+ });
2420
+ }, "se___listOfAudioMonitoringSetting");
2411
2421
  var se___listOfDestinationConfigurationRequest = /* @__PURE__ */ __name((input, context) => {
2412
2422
  return input.filter((e) => e != null).map((entry) => {
2413
2423
  return se_DestinationConfigurationRequest(entry, context);
@@ -2443,6 +2453,11 @@ var se___listOfSetSourceRequest = /* @__PURE__ */ __name((input, context) => {
2443
2453
  return se_SetSourceRequest(entry, context);
2444
2454
  });
2445
2455
  }, "se___listOfSetSourceRequest");
2456
+ var se___listOfVideoMonitoringSetting = /* @__PURE__ */ __name((input, context) => {
2457
+ return input.filter((e) => e != null).map((entry) => {
2458
+ return se_VideoMonitoringSetting(entry, context);
2459
+ });
2460
+ }, "se___listOfVideoMonitoringSetting");
2446
2461
  var se___listOfVpcInterfaceRequest = /* @__PURE__ */ __name((input, context) => {
2447
2462
  return input.filter((e) => e != null).map((entry) => {
2448
2463
  return se_VpcInterfaceRequest(entry, context);
@@ -2538,6 +2553,17 @@ var se_AddOutputRequest = /* @__PURE__ */ __name((input, context) => {
2538
2553
  vpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `VpcInterfaceAttachment`]
2539
2554
  });
2540
2555
  }, "se_AddOutputRequest");
2556
+ var se_AudioMonitoringSetting = /* @__PURE__ */ __name((input, context) => {
2557
+ return (0, import_smithy_client.take)(input, {
2558
+ silentAudio: [, (_) => se_SilentAudio(_, context), `SilentAudio`]
2559
+ });
2560
+ }, "se_AudioMonitoringSetting");
2561
+ var se_BlackFrames = /* @__PURE__ */ __name((input, context) => {
2562
+ return (0, import_smithy_client.take)(input, {
2563
+ state: [, , `State`],
2564
+ thresholdSeconds: [, , `ThresholdSeconds`]
2565
+ });
2566
+ }, "se_BlackFrames");
2541
2567
  var se_DestinationConfigurationRequest = /* @__PURE__ */ __name((input, context) => {
2542
2568
  return (0, import_smithy_client.take)(input, {
2543
2569
  destinationIp: [, , `DestinationIp`],
@@ -2583,6 +2609,12 @@ var se_FmtpRequest = /* @__PURE__ */ __name((input, context) => {
2583
2609
  tcs: [, , `Tcs`]
2584
2610
  });
2585
2611
  }, "se_FmtpRequest");
2612
+ var se_FrozenFrames = /* @__PURE__ */ __name((input, context) => {
2613
+ return (0, import_smithy_client.take)(input, {
2614
+ state: [, , `State`],
2615
+ thresholdSeconds: [, , `ThresholdSeconds`]
2616
+ });
2617
+ }, "se_FrozenFrames");
2586
2618
  var se_GatewayNetwork = /* @__PURE__ */ __name((input, context) => {
2587
2619
  return (0, import_smithy_client.take)(input, {
2588
2620
  cidrBlock: [, , `CidrBlock`],
@@ -2637,7 +2669,10 @@ var se_MediaStreamSourceConfigurationRequest = /* @__PURE__ */ __name((input, co
2637
2669
  }, "se_MediaStreamSourceConfigurationRequest");
2638
2670
  var se_MonitoringConfig = /* @__PURE__ */ __name((input, context) => {
2639
2671
  return (0, import_smithy_client.take)(input, {
2640
- thumbnailState: [, , `ThumbnailState`]
2672
+ audioMonitoringSettings: [, (_) => se___listOfAudioMonitoringSetting(_, context), `AudioMonitoringSettings`],
2673
+ contentQualityAnalysisState: [, , `ContentQualityAnalysisState`],
2674
+ thumbnailState: [, , `ThumbnailState`],
2675
+ videoMonitoringSettings: [, (_) => se___listOfVideoMonitoringSetting(_, context), `VideoMonitoringSettings`]
2641
2676
  });
2642
2677
  }, "se_MonitoringConfig");
2643
2678
  var se_MulticastSourceSettings = /* @__PURE__ */ __name((input, context) => {
@@ -2678,6 +2713,12 @@ var se_SetSourceRequest = /* @__PURE__ */ __name((input, context) => {
2678
2713
  whitelistCidr: [, , `WhitelistCidr`]
2679
2714
  });
2680
2715
  }, "se_SetSourceRequest");
2716
+ var se_SilentAudio = /* @__PURE__ */ __name((input, context) => {
2717
+ return (0, import_smithy_client.take)(input, {
2718
+ state: [, , `State`],
2719
+ thresholdSeconds: [, , `ThresholdSeconds`]
2720
+ });
2721
+ }, "se_SilentAudio");
2681
2722
  var se_SourcePriority = /* @__PURE__ */ __name((input, context) => {
2682
2723
  return (0, import_smithy_client.take)(input, {
2683
2724
  primarySource: [, , `PrimarySource`]
@@ -2752,6 +2793,12 @@ var se_UpdateMaintenance = /* @__PURE__ */ __name((input, context) => {
2752
2793
  maintenanceStartHour: [, , `MaintenanceStartHour`]
2753
2794
  });
2754
2795
  }, "se_UpdateMaintenance");
2796
+ var se_VideoMonitoringSetting = /* @__PURE__ */ __name((input, context) => {
2797
+ return (0, import_smithy_client.take)(input, {
2798
+ blackFrames: [, (_) => se_BlackFrames(_, context), `BlackFrames`],
2799
+ frozenFrames: [, (_) => se_FrozenFrames(_, context), `FrozenFrames`]
2800
+ });
2801
+ }, "se_VideoMonitoringSetting");
2755
2802
  var se_VpcInterfaceAttachment = /* @__PURE__ */ __name((input, context) => {
2756
2803
  return (0, import_smithy_client.take)(input, {
2757
2804
  vpcInterfaceName: [, , `VpcInterfaceName`]
@@ -2766,6 +2813,12 @@ var se_VpcInterfaceRequest = /* @__PURE__ */ __name((input, context) => {
2766
2813
  subnetId: [, , `SubnetId`]
2767
2814
  });
2768
2815
  }, "se_VpcInterfaceRequest");
2816
+ var de___listOfAudioMonitoringSetting = /* @__PURE__ */ __name((output, context) => {
2817
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2818
+ return de_AudioMonitoringSetting(entry, context);
2819
+ });
2820
+ return retVal;
2821
+ }, "de___listOfAudioMonitoringSetting");
2769
2822
  var de___listOfBridgeOutput = /* @__PURE__ */ __name((output, context) => {
2770
2823
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2771
2824
  return de_BridgeOutput(entry, context);
@@ -2892,12 +2945,29 @@ var de___listOfTransportStreamProgram = /* @__PURE__ */ __name((output, context)
2892
2945
  });
2893
2946
  return retVal;
2894
2947
  }, "de___listOfTransportStreamProgram");
2948
+ var de___listOfVideoMonitoringSetting = /* @__PURE__ */ __name((output, context) => {
2949
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2950
+ return de_VideoMonitoringSetting(entry, context);
2951
+ });
2952
+ return retVal;
2953
+ }, "de___listOfVideoMonitoringSetting");
2895
2954
  var de___listOfVpcInterface = /* @__PURE__ */ __name((output, context) => {
2896
2955
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2897
2956
  return de_VpcInterface(entry, context);
2898
2957
  });
2899
2958
  return retVal;
2900
2959
  }, "de___listOfVpcInterface");
2960
+ var de_AudioMonitoringSetting = /* @__PURE__ */ __name((output, context) => {
2961
+ return (0, import_smithy_client.take)(output, {
2962
+ SilentAudio: [, (_) => de_SilentAudio(_, context), `silentAudio`]
2963
+ });
2964
+ }, "de_AudioMonitoringSetting");
2965
+ var de_BlackFrames = /* @__PURE__ */ __name((output, context) => {
2966
+ return (0, import_smithy_client.take)(output, {
2967
+ State: [, import_smithy_client.expectString, `state`],
2968
+ ThresholdSeconds: [, import_smithy_client.expectInt32, `thresholdSeconds`]
2969
+ });
2970
+ }, "de_BlackFrames");
2901
2971
  var de_Bridge = /* @__PURE__ */ __name((output, context) => {
2902
2972
  return (0, import_smithy_client.take)(output, {
2903
2973
  BridgeArn: [, import_smithy_client.expectString, `bridgeArn`],
@@ -3047,6 +3117,12 @@ var de_FrameResolution = /* @__PURE__ */ __name((output, context) => {
3047
3117
  FrameWidth: [, import_smithy_client.expectInt32, `frameWidth`]
3048
3118
  });
3049
3119
  }, "de_FrameResolution");
3120
+ var de_FrozenFrames = /* @__PURE__ */ __name((output, context) => {
3121
+ return (0, import_smithy_client.take)(output, {
3122
+ State: [, import_smithy_client.expectString, `state`],
3123
+ ThresholdSeconds: [, import_smithy_client.expectInt32, `thresholdSeconds`]
3124
+ });
3125
+ }, "de_FrozenFrames");
3050
3126
  var de_Gateway = /* @__PURE__ */ __name((output, context) => {
3051
3127
  return (0, import_smithy_client.take)(output, {
3052
3128
  EgressCidrBlocks: [, import_smithy_client._json, `egressCidrBlocks`],
@@ -3201,7 +3277,10 @@ var de_Messages = /* @__PURE__ */ __name((output, context) => {
3201
3277
  }, "de_Messages");
3202
3278
  var de_MonitoringConfig = /* @__PURE__ */ __name((output, context) => {
3203
3279
  return (0, import_smithy_client.take)(output, {
3204
- ThumbnailState: [, import_smithy_client.expectString, `thumbnailState`]
3280
+ AudioMonitoringSettings: [, (_) => de___listOfAudioMonitoringSetting(_, context), `audioMonitoringSettings`],
3281
+ ContentQualityAnalysisState: [, import_smithy_client.expectString, `contentQualityAnalysisState`],
3282
+ ThumbnailState: [, import_smithy_client.expectString, `thumbnailState`],
3283
+ VideoMonitoringSettings: [, (_) => de___listOfVideoMonitoringSetting(_, context), `videoMonitoringSettings`]
3205
3284
  });
3206
3285
  }, "de_MonitoringConfig");
3207
3286
  var de_MulticastSourceSettings = /* @__PURE__ */ __name((output, context) => {
@@ -3268,6 +3347,12 @@ var de_ResourceSpecification = /* @__PURE__ */ __name((output, context) => {
3268
3347
  ResourceType: [, import_smithy_client.expectString, `resourceType`]
3269
3348
  });
3270
3349
  }, "de_ResourceSpecification");
3350
+ var de_SilentAudio = /* @__PURE__ */ __name((output, context) => {
3351
+ return (0, import_smithy_client.take)(output, {
3352
+ State: [, import_smithy_client.expectString, `state`],
3353
+ ThresholdSeconds: [, import_smithy_client.expectInt32, `thresholdSeconds`]
3354
+ });
3355
+ }, "de_SilentAudio");
3271
3356
  var de_Source = /* @__PURE__ */ __name((output, context) => {
3272
3357
  return (0, import_smithy_client.take)(output, {
3273
3358
  DataTransferSubscriberFeePercent: [, import_smithy_client.expectInt32, `dataTransferSubscriberFeePercent`],
@@ -3348,6 +3433,12 @@ var de_TransportStreamProgram = /* @__PURE__ */ __name((output, context) => {
3348
3433
  Streams: [, (_) => de___listOfTransportStream(_, context), `streams`]
3349
3434
  });
3350
3435
  }, "de_TransportStreamProgram");
3436
+ var de_VideoMonitoringSetting = /* @__PURE__ */ __name((output, context) => {
3437
+ return (0, import_smithy_client.take)(output, {
3438
+ BlackFrames: [, (_) => de_BlackFrames(_, context), `blackFrames`],
3439
+ FrozenFrames: [, (_) => de_FrozenFrames(_, context), `frozenFrames`]
3440
+ });
3441
+ }, "de_VideoMonitoringSetting");
3351
3442
  var de_VpcInterface = /* @__PURE__ */ __name((output, context) => {
3352
3443
  return (0, import_smithy_client.take)(output, {
3353
3444
  Name: [, import_smithy_client.expectString, `name`],
@@ -4445,6 +4536,7 @@ var waitUntilFlowStandby = /* @__PURE__ */ __name(async (params, input) => {
4445
4536
  EncodingName,
4446
4537
  EncoderProfile,
4447
4538
  OutputStatus,
4539
+ State,
4448
4540
  EntitlementStatus,
4449
4541
  BridgeState,
4450
4542
  MaintenanceDay,
@@ -4466,9 +4558,9 @@ var waitUntilFlowStandby = /* @__PURE__ */ __name(async (params, input) => {
4466
4558
  TooManyRequestsException,
4467
4559
  AddFlowOutputs420Exception,
4468
4560
  FailoverMode,
4469
- State,
4470
4561
  BridgePlacement,
4471
4562
  ConnectionStatus,
4563
+ ContentQualityAnalysisState,
4472
4564
  CreateBridge420Exception,
4473
4565
  CreateFlow420Exception,
4474
4566
  ThumbnailState,
@@ -71,6 +71,10 @@ export const OutputStatus = {
71
71
  DISABLED: "DISABLED",
72
72
  ENABLED: "ENABLED",
73
73
  };
74
+ export const State = {
75
+ DISABLED: "DISABLED",
76
+ ENABLED: "ENABLED",
77
+ };
74
78
  export const EntitlementStatus = {
75
79
  DISABLED: "DISABLED",
76
80
  ENABLED: "ENABLED",
@@ -254,10 +258,6 @@ export const FailoverMode = {
254
258
  FAILOVER: "FAILOVER",
255
259
  MERGE: "MERGE",
256
260
  };
257
- export const State = {
258
- DISABLED: "DISABLED",
259
- ENABLED: "ENABLED",
260
- };
261
261
  export const BridgePlacement = {
262
262
  AVAILABLE: "AVAILABLE",
263
263
  LOCKED: "LOCKED",
@@ -266,6 +266,10 @@ export const ConnectionStatus = {
266
266
  CONNECTED: "CONNECTED",
267
267
  DISCONNECTED: "DISCONNECTED",
268
268
  };
269
+ export const ContentQualityAnalysisState = {
270
+ DISABLED: "DISABLED",
271
+ ENABLED: "ENABLED",
272
+ };
269
273
  export class CreateBridge420Exception extends __BaseException {
270
274
  constructor(opts) {
271
275
  super({
@@ -1686,6 +1686,13 @@ const se___listOfAddOutputRequest = (input, context) => {
1686
1686
  return se_AddOutputRequest(entry, context);
1687
1687
  });
1688
1688
  };
1689
+ const se___listOfAudioMonitoringSetting = (input, context) => {
1690
+ return input
1691
+ .filter((e) => e != null)
1692
+ .map((entry) => {
1693
+ return se_AudioMonitoringSetting(entry, context);
1694
+ });
1695
+ };
1689
1696
  const se___listOfDestinationConfigurationRequest = (input, context) => {
1690
1697
  return input
1691
1698
  .filter((e) => e != null)
@@ -1735,6 +1742,13 @@ const se___listOfSetSourceRequest = (input, context) => {
1735
1742
  return se_SetSourceRequest(entry, context);
1736
1743
  });
1737
1744
  };
1745
+ const se___listOfVideoMonitoringSetting = (input, context) => {
1746
+ return input
1747
+ .filter((e) => e != null)
1748
+ .map((entry) => {
1749
+ return se_VideoMonitoringSetting(entry, context);
1750
+ });
1751
+ };
1738
1752
  const se___listOfVpcInterfaceRequest = (input, context) => {
1739
1753
  return input
1740
1754
  .filter((e) => e != null)
@@ -1832,6 +1846,17 @@ const se_AddOutputRequest = (input, context) => {
1832
1846
  vpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `VpcInterfaceAttachment`],
1833
1847
  });
1834
1848
  };
1849
+ const se_AudioMonitoringSetting = (input, context) => {
1850
+ return take(input, {
1851
+ silentAudio: [, (_) => se_SilentAudio(_, context), `SilentAudio`],
1852
+ });
1853
+ };
1854
+ const se_BlackFrames = (input, context) => {
1855
+ return take(input, {
1856
+ state: [, , `State`],
1857
+ thresholdSeconds: [, , `ThresholdSeconds`],
1858
+ });
1859
+ };
1835
1860
  const se_DestinationConfigurationRequest = (input, context) => {
1836
1861
  return take(input, {
1837
1862
  destinationIp: [, , `DestinationIp`],
@@ -1877,6 +1902,12 @@ const se_FmtpRequest = (input, context) => {
1877
1902
  tcs: [, , `Tcs`],
1878
1903
  });
1879
1904
  };
1905
+ const se_FrozenFrames = (input, context) => {
1906
+ return take(input, {
1907
+ state: [, , `State`],
1908
+ thresholdSeconds: [, , `ThresholdSeconds`],
1909
+ });
1910
+ };
1880
1911
  const se_GatewayNetwork = (input, context) => {
1881
1912
  return take(input, {
1882
1913
  cidrBlock: [, , `CidrBlock`],
@@ -1931,7 +1962,10 @@ const se_MediaStreamSourceConfigurationRequest = (input, context) => {
1931
1962
  };
1932
1963
  const se_MonitoringConfig = (input, context) => {
1933
1964
  return take(input, {
1965
+ audioMonitoringSettings: [, (_) => se___listOfAudioMonitoringSetting(_, context), `AudioMonitoringSettings`],
1966
+ contentQualityAnalysisState: [, , `ContentQualityAnalysisState`],
1934
1967
  thumbnailState: [, , `ThumbnailState`],
1968
+ videoMonitoringSettings: [, (_) => se___listOfVideoMonitoringSetting(_, context), `VideoMonitoringSettings`],
1935
1969
  });
1936
1970
  };
1937
1971
  const se_MulticastSourceSettings = (input, context) => {
@@ -1972,6 +2006,12 @@ const se_SetSourceRequest = (input, context) => {
1972
2006
  whitelistCidr: [, , `WhitelistCidr`],
1973
2007
  });
1974
2008
  };
2009
+ const se_SilentAudio = (input, context) => {
2010
+ return take(input, {
2011
+ state: [, , `State`],
2012
+ thresholdSeconds: [, , `ThresholdSeconds`],
2013
+ });
2014
+ };
1975
2015
  const se_SourcePriority = (input, context) => {
1976
2016
  return take(input, {
1977
2017
  primarySource: [, , `PrimarySource`],
@@ -2046,6 +2086,12 @@ const se_UpdateMaintenance = (input, context) => {
2046
2086
  maintenanceStartHour: [, , `MaintenanceStartHour`],
2047
2087
  });
2048
2088
  };
2089
+ const se_VideoMonitoringSetting = (input, context) => {
2090
+ return take(input, {
2091
+ blackFrames: [, (_) => se_BlackFrames(_, context), `BlackFrames`],
2092
+ frozenFrames: [, (_) => se_FrozenFrames(_, context), `FrozenFrames`],
2093
+ });
2094
+ };
2049
2095
  const se_VpcInterfaceAttachment = (input, context) => {
2050
2096
  return take(input, {
2051
2097
  vpcInterfaceName: [, , `VpcInterfaceName`],
@@ -2060,6 +2106,14 @@ const se_VpcInterfaceRequest = (input, context) => {
2060
2106
  subnetId: [, , `SubnetId`],
2061
2107
  });
2062
2108
  };
2109
+ const de___listOfAudioMonitoringSetting = (output, context) => {
2110
+ const retVal = (output || [])
2111
+ .filter((e) => e != null)
2112
+ .map((entry) => {
2113
+ return de_AudioMonitoringSetting(entry, context);
2114
+ });
2115
+ return retVal;
2116
+ };
2063
2117
  const de___listOfBridgeOutput = (output, context) => {
2064
2118
  const retVal = (output || [])
2065
2119
  .filter((e) => e != null)
@@ -2228,6 +2282,14 @@ const de___listOfTransportStreamProgram = (output, context) => {
2228
2282
  });
2229
2283
  return retVal;
2230
2284
  };
2285
+ const de___listOfVideoMonitoringSetting = (output, context) => {
2286
+ const retVal = (output || [])
2287
+ .filter((e) => e != null)
2288
+ .map((entry) => {
2289
+ return de_VideoMonitoringSetting(entry, context);
2290
+ });
2291
+ return retVal;
2292
+ };
2231
2293
  const de___listOfVpcInterface = (output, context) => {
2232
2294
  const retVal = (output || [])
2233
2295
  .filter((e) => e != null)
@@ -2236,6 +2298,17 @@ const de___listOfVpcInterface = (output, context) => {
2236
2298
  });
2237
2299
  return retVal;
2238
2300
  };
2301
+ const de_AudioMonitoringSetting = (output, context) => {
2302
+ return take(output, {
2303
+ SilentAudio: [, (_) => de_SilentAudio(_, context), `silentAudio`],
2304
+ });
2305
+ };
2306
+ const de_BlackFrames = (output, context) => {
2307
+ return take(output, {
2308
+ State: [, __expectString, `state`],
2309
+ ThresholdSeconds: [, __expectInt32, `thresholdSeconds`],
2310
+ });
2311
+ };
2239
2312
  const de_Bridge = (output, context) => {
2240
2313
  return take(output, {
2241
2314
  BridgeArn: [, __expectString, `bridgeArn`],
@@ -2385,6 +2458,12 @@ const de_FrameResolution = (output, context) => {
2385
2458
  FrameWidth: [, __expectInt32, `frameWidth`],
2386
2459
  });
2387
2460
  };
2461
+ const de_FrozenFrames = (output, context) => {
2462
+ return take(output, {
2463
+ State: [, __expectString, `state`],
2464
+ ThresholdSeconds: [, __expectInt32, `thresholdSeconds`],
2465
+ });
2466
+ };
2388
2467
  const de_Gateway = (output, context) => {
2389
2468
  return take(output, {
2390
2469
  EgressCidrBlocks: [, _json, `egressCidrBlocks`],
@@ -2539,7 +2618,10 @@ const de_Messages = (output, context) => {
2539
2618
  };
2540
2619
  const de_MonitoringConfig = (output, context) => {
2541
2620
  return take(output, {
2621
+ AudioMonitoringSettings: [, (_) => de___listOfAudioMonitoringSetting(_, context), `audioMonitoringSettings`],
2622
+ ContentQualityAnalysisState: [, __expectString, `contentQualityAnalysisState`],
2542
2623
  ThumbnailState: [, __expectString, `thumbnailState`],
2624
+ VideoMonitoringSettings: [, (_) => de___listOfVideoMonitoringSetting(_, context), `videoMonitoringSettings`],
2543
2625
  });
2544
2626
  };
2545
2627
  const de_MulticastSourceSettings = (output, context) => {
@@ -2606,6 +2688,12 @@ const de_ResourceSpecification = (output, context) => {
2606
2688
  ResourceType: [, __expectString, `resourceType`],
2607
2689
  });
2608
2690
  };
2691
+ const de_SilentAudio = (output, context) => {
2692
+ return take(output, {
2693
+ State: [, __expectString, `state`],
2694
+ ThresholdSeconds: [, __expectInt32, `thresholdSeconds`],
2695
+ });
2696
+ };
2609
2697
  const de_Source = (output, context) => {
2610
2698
  return take(output, {
2611
2699
  DataTransferSubscriberFeePercent: [, __expectInt32, `dataTransferSubscriberFeePercent`],
@@ -2686,6 +2774,12 @@ const de_TransportStreamProgram = (output, context) => {
2686
2774
  Streams: [, (_) => de___listOfTransportStream(_, context), `streams`],
2687
2775
  });
2688
2776
  };
2777
+ const de_VideoMonitoringSetting = (output, context) => {
2778
+ return take(output, {
2779
+ BlackFrames: [, (_) => de_BlackFrames(_, context), `blackFrames`],
2780
+ FrozenFrames: [, (_) => de_FrozenFrames(_, context), `frozenFrames`],
2781
+ });
2782
+ };
2689
2783
  const de_VpcInterface = (output, context) => {
2690
2784
  return take(output, {
2691
2785
  Name: [, __expectString, `name`],
@@ -258,6 +258,27 @@ declare const CreateFlowCommand_base: {
258
258
  * },
259
259
  * SourceMonitoringConfig: { // MonitoringConfig
260
260
  * ThumbnailState: "ENABLED" || "DISABLED",
261
+ * AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
262
+ * { // AudioMonitoringSetting
263
+ * SilentAudio: { // SilentAudio
264
+ * State: "ENABLED" || "DISABLED",
265
+ * ThresholdSeconds: Number("int"),
266
+ * },
267
+ * },
268
+ * ],
269
+ * ContentQualityAnalysisState: "ENABLED" || "DISABLED",
270
+ * VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
271
+ * { // VideoMonitoringSetting
272
+ * BlackFrames: { // BlackFrames
273
+ * State: "ENABLED" || "DISABLED",
274
+ * ThresholdSeconds: Number("int"),
275
+ * },
276
+ * FrozenFrames: { // FrozenFrames
277
+ * State: "ENABLED" || "DISABLED",
278
+ * ThresholdSeconds: Number("int"),
279
+ * },
280
+ * },
281
+ * ],
261
282
  * },
262
283
  * };
263
284
  * const command = new CreateFlowCommand(input);
@@ -539,6 +560,27 @@ declare const CreateFlowCommand_base: {
539
560
  * // },
540
561
  * // SourceMonitoringConfig: { // MonitoringConfig
541
562
  * // ThumbnailState: "ENABLED" || "DISABLED",
563
+ * // AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
564
+ * // { // AudioMonitoringSetting
565
+ * // SilentAudio: { // SilentAudio
566
+ * // State: "ENABLED" || "DISABLED",
567
+ * // ThresholdSeconds: Number("int"),
568
+ * // },
569
+ * // },
570
+ * // ],
571
+ * // ContentQualityAnalysisState: "ENABLED" || "DISABLED",
572
+ * // VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
573
+ * // { // VideoMonitoringSetting
574
+ * // BlackFrames: { // BlackFrames
575
+ * // State: "ENABLED" || "DISABLED",
576
+ * // ThresholdSeconds: Number("int"),
577
+ * // },
578
+ * // FrozenFrames: { // FrozenFrames
579
+ * // State: "ENABLED" || "DISABLED",
580
+ * // ThresholdSeconds: Number("int"),
581
+ * // },
582
+ * // },
583
+ * // ],
542
584
  * // },
543
585
  * // },
544
586
  * // };
@@ -316,6 +316,27 @@ declare const DescribeFlowCommand_base: {
316
316
  * // },
317
317
  * // SourceMonitoringConfig: { // MonitoringConfig
318
318
  * // ThumbnailState: "ENABLED" || "DISABLED",
319
+ * // AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
320
+ * // { // AudioMonitoringSetting
321
+ * // SilentAudio: { // SilentAudio
322
+ * // State: "ENABLED" || "DISABLED",
323
+ * // ThresholdSeconds: Number("int"),
324
+ * // },
325
+ * // },
326
+ * // ],
327
+ * // ContentQualityAnalysisState: "ENABLED" || "DISABLED",
328
+ * // VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
329
+ * // { // VideoMonitoringSetting
330
+ * // BlackFrames: { // BlackFrames
331
+ * // State: "ENABLED" || "DISABLED",
332
+ * // ThresholdSeconds: Number("int"),
333
+ * // },
334
+ * // FrozenFrames: { // FrozenFrames
335
+ * // State: "ENABLED" || "DISABLED",
336
+ * // ThresholdSeconds: Number("int"),
337
+ * // },
338
+ * // },
339
+ * // ],
319
340
  * // },
320
341
  * // },
321
342
  * // Messages: { // Messages
@@ -51,6 +51,27 @@ declare const UpdateFlowCommand_base: {
51
51
  * },
52
52
  * SourceMonitoringConfig: { // MonitoringConfig
53
53
  * ThumbnailState: "ENABLED" || "DISABLED",
54
+ * AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
55
+ * { // AudioMonitoringSetting
56
+ * SilentAudio: { // SilentAudio
57
+ * State: "ENABLED" || "DISABLED",
58
+ * ThresholdSeconds: Number("int"),
59
+ * },
60
+ * },
61
+ * ],
62
+ * ContentQualityAnalysisState: "ENABLED" || "DISABLED",
63
+ * VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
64
+ * { // VideoMonitoringSetting
65
+ * BlackFrames: { // BlackFrames
66
+ * State: "ENABLED" || "DISABLED",
67
+ * ThresholdSeconds: Number("int"),
68
+ * },
69
+ * FrozenFrames: { // FrozenFrames
70
+ * State: "ENABLED" || "DISABLED",
71
+ * ThresholdSeconds: Number("int"),
72
+ * },
73
+ * },
74
+ * ],
54
75
  * },
55
76
  * };
56
77
  * const command = new UpdateFlowCommand(input);
@@ -332,6 +353,27 @@ declare const UpdateFlowCommand_base: {
332
353
  * // },
333
354
  * // SourceMonitoringConfig: { // MonitoringConfig
334
355
  * // ThumbnailState: "ENABLED" || "DISABLED",
356
+ * // AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
357
+ * // { // AudioMonitoringSetting
358
+ * // SilentAudio: { // SilentAudio
359
+ * // State: "ENABLED" || "DISABLED",
360
+ * // ThresholdSeconds: Number("int"),
361
+ * // },
362
+ * // },
363
+ * // ],
364
+ * // ContentQualityAnalysisState: "ENABLED" || "DISABLED",
365
+ * // VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
366
+ * // { // VideoMonitoringSetting
367
+ * // BlackFrames: { // BlackFrames
368
+ * // State: "ENABLED" || "DISABLED",
369
+ * // ThresholdSeconds: Number("int"),
370
+ * // },
371
+ * // FrozenFrames: { // FrozenFrames
372
+ * // State: "ENABLED" || "DISABLED",
373
+ * // ThresholdSeconds: Number("int"),
374
+ * // },
375
+ * // },
376
+ * // ],
335
377
  * // },
336
378
  * // },
337
379
  * // };
@@ -611,6 +611,45 @@ export interface AddOutputRequest {
611
611
  */
612
612
  OutputStatus?: OutputStatus | undefined;
613
613
  }
614
+ /**
615
+ * @public
616
+ * @enum
617
+ */
618
+ export declare const State: {
619
+ readonly DISABLED: "DISABLED";
620
+ readonly ENABLED: "ENABLED";
621
+ };
622
+ /**
623
+ * @public
624
+ */
625
+ export type State = (typeof State)[keyof typeof State];
626
+ /**
627
+ * Configures settings for the SilentAudio metric.
628
+ * @public
629
+ */
630
+ export interface SilentAudio {
631
+ /**
632
+ * Indicates whether the SilentAudio metric is enabled or disabled.
633
+ * @public
634
+ */
635
+ State?: State | undefined;
636
+ /**
637
+ * Specifies the number of consecutive seconds of silence that triggers an event or alert.
638
+ * @public
639
+ */
640
+ ThresholdSeconds?: number | undefined;
641
+ }
642
+ /**
643
+ * Specifies the configuration for audio stream metrics monitoring.
644
+ * @public
645
+ */
646
+ export interface AudioMonitoringSetting {
647
+ /**
648
+ * Detects periods of silence.
649
+ * @public
650
+ */
651
+ SilentAudio?: SilentAudio | undefined;
652
+ }
614
653
  /**
615
654
  * The output of the bridge. A flow output is delivered to the AWS cloud.
616
655
  * @public
@@ -2050,6 +2089,54 @@ export interface TransportStreamProgram {
2050
2089
  */
2051
2090
  Streams: TransportStream[] | undefined;
2052
2091
  }
2092
+ /**
2093
+ * Configures settings for the BlackFrames metric.
2094
+ * @public
2095
+ */
2096
+ export interface BlackFrames {
2097
+ /**
2098
+ * Indicates whether the BlackFrames metric is enabled or disabled.
2099
+ * @public
2100
+ */
2101
+ State?: State | undefined;
2102
+ /**
2103
+ * Specifies the number of consecutive seconds of black frames that triggers an event or alert.
2104
+ * @public
2105
+ */
2106
+ ThresholdSeconds?: number | undefined;
2107
+ }
2108
+ /**
2109
+ * Configures settings for the FrozenFrames metric.
2110
+ * @public
2111
+ */
2112
+ export interface FrozenFrames {
2113
+ /**
2114
+ * Indicates whether the FrozenFrames metric is enabled or disabled.
2115
+ * @public
2116
+ */
2117
+ State?: State | undefined;
2118
+ /**
2119
+ * Specifies the number of consecutive seconds of a static image that triggers an event or alert.
2120
+ * @public
2121
+ */
2122
+ ThresholdSeconds?: number | undefined;
2123
+ }
2124
+ /**
2125
+ * Specifies the configuration for video stream metrics monitoring.
2126
+ * @public
2127
+ */
2128
+ export interface VideoMonitoringSetting {
2129
+ /**
2130
+ * Detects video frames that are black.
2131
+ * @public
2132
+ */
2133
+ BlackFrames?: BlackFrames | undefined;
2134
+ /**
2135
+ * Detects video frames that have not changed.
2136
+ * @public
2137
+ */
2138
+ FrozenFrames?: FrozenFrames | undefined;
2139
+ }
2053
2140
  /**
2054
2141
  * @public
2055
2142
  * @enum
@@ -2550,18 +2637,6 @@ export interface SourcePriority {
2550
2637
  */
2551
2638
  PrimarySource?: string | undefined;
2552
2639
  }
2553
- /**
2554
- * @public
2555
- * @enum
2556
- */
2557
- export declare const State: {
2558
- readonly DISABLED: "DISABLED";
2559
- readonly ENABLED: "ENABLED";
2560
- };
2561
- /**
2562
- * @public
2563
- */
2564
- export type State = (typeof State)[keyof typeof State];
2565
2640
  /**
2566
2641
  * The settings for source failover.
2567
2642
  * @public
@@ -2648,6 +2723,18 @@ export declare const ConnectionStatus: {
2648
2723
  * @public
2649
2724
  */
2650
2725
  export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
2726
+ /**
2727
+ * @public
2728
+ * @enum
2729
+ */
2730
+ export declare const ContentQualityAnalysisState: {
2731
+ readonly DISABLED: "DISABLED";
2732
+ readonly ENABLED: "ENABLED";
2733
+ };
2734
+ /**
2735
+ * @public
2736
+ */
2737
+ export type ContentQualityAnalysisState = (typeof ContentQualityAnalysisState)[keyof typeof ContentQualityAnalysisState];
2651
2738
  /**
2652
2739
  * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
2653
2740
  * @public
@@ -2755,6 +2842,21 @@ export interface MonitoringConfig {
2755
2842
  * @public
2756
2843
  */
2757
2844
  ThumbnailState?: ThumbnailState | undefined;
2845
+ /**
2846
+ * Contains the settings for audio stream metrics monitoring.
2847
+ * @public
2848
+ */
2849
+ AudioMonitoringSettings?: AudioMonitoringSetting[] | undefined;
2850
+ /**
2851
+ * Indicates whether content quality analysis is enabled or disabled.
2852
+ * @public
2853
+ */
2854
+ ContentQualityAnalysisState?: ContentQualityAnalysisState | undefined;
2855
+ /**
2856
+ * Contains the settings for video stream metrics monitoring.
2857
+ * @public
2858
+ */
2859
+ VideoMonitoringSettings?: VideoMonitoringSetting[] | undefined;
2758
2860
  }
2759
2861
  /**
2760
2862
  * Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
@@ -190,6 +190,18 @@ export interface AddOutputRequest {
190
190
  VpcInterfaceAttachment?: VpcInterfaceAttachment | undefined;
191
191
  OutputStatus?: OutputStatus | undefined;
192
192
  }
193
+ export declare const State: {
194
+ readonly DISABLED: "DISABLED";
195
+ readonly ENABLED: "ENABLED";
196
+ };
197
+ export type State = (typeof State)[keyof typeof State];
198
+ export interface SilentAudio {
199
+ State?: State | undefined;
200
+ ThresholdSeconds?: number | undefined;
201
+ }
202
+ export interface AudioMonitoringSetting {
203
+ SilentAudio?: SilentAudio | undefined;
204
+ }
193
205
  export interface BridgeFlowOutput {
194
206
  FlowArn: string | undefined;
195
207
  FlowSourceArn: string | undefined;
@@ -570,6 +582,18 @@ export interface TransportStreamProgram {
570
582
  ProgramPid: number | undefined;
571
583
  Streams: TransportStream[] | undefined;
572
584
  }
585
+ export interface BlackFrames {
586
+ State?: State | undefined;
587
+ ThresholdSeconds?: number | undefined;
588
+ }
589
+ export interface FrozenFrames {
590
+ State?: State | undefined;
591
+ ThresholdSeconds?: number | undefined;
592
+ }
593
+ export interface VideoMonitoringSetting {
594
+ BlackFrames?: BlackFrames | undefined;
595
+ FrozenFrames?: FrozenFrames | undefined;
596
+ }
573
597
  export declare const NetworkInterfaceType: {
574
598
  readonly efa: "efa";
575
599
  readonly ena: "ena";
@@ -725,11 +749,6 @@ export type FailoverMode = (typeof FailoverMode)[keyof typeof FailoverMode];
725
749
  export interface SourcePriority {
726
750
  PrimarySource?: string | undefined;
727
751
  }
728
- export declare const State: {
729
- readonly DISABLED: "DISABLED";
730
- readonly ENABLED: "ENABLED";
731
- };
732
- export type State = (typeof State)[keyof typeof State];
733
752
  export interface FailoverConfig {
734
753
  FailoverMode?: FailoverMode | undefined;
735
754
  RecoveryWindow?: number | undefined;
@@ -760,6 +779,12 @@ export declare const ConnectionStatus: {
760
779
  };
761
780
  export type ConnectionStatus =
762
781
  (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
782
+ export declare const ContentQualityAnalysisState: {
783
+ readonly DISABLED: "DISABLED";
784
+ readonly ENABLED: "ENABLED";
785
+ };
786
+ export type ContentQualityAnalysisState =
787
+ (typeof ContentQualityAnalysisState)[keyof typeof ContentQualityAnalysisState];
763
788
  export declare class CreateBridge420Exception extends __BaseException {
764
789
  readonly name: "CreateBridge420Exception";
765
790
  readonly $fault: "client";
@@ -796,6 +821,9 @@ export type ThumbnailState =
796
821
  (typeof ThumbnailState)[keyof typeof ThumbnailState];
797
822
  export interface MonitoringConfig {
798
823
  ThumbnailState?: ThumbnailState | undefined;
824
+ AudioMonitoringSettings?: AudioMonitoringSetting[] | undefined;
825
+ ContentQualityAnalysisState?: ContentQualityAnalysisState | undefined;
826
+ VideoMonitoringSettings?: VideoMonitoringSetting[] | undefined;
799
827
  }
800
828
  export interface CreateFlowRequest {
801
829
  AvailabilityZone?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconnect",
3
3
  "description": "AWS SDK for JavaScript Mediaconnect Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.721.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediaconnect",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
23
+ "@aws-sdk/client-sso-oidc": "3.721.0",
24
+ "@aws-sdk/client-sts": "3.721.0",
25
25
  "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
26
+ "@aws-sdk/credential-provider-node": "3.721.0",
27
27
  "@aws-sdk/middleware-host-header": "3.714.0",
28
28
  "@aws-sdk/middleware-logger": "3.714.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
30
+ "@aws-sdk/middleware-user-agent": "3.721.0",
31
31
  "@aws-sdk/region-config-resolver": "3.714.0",
32
32
  "@aws-sdk/types": "3.714.0",
33
33
  "@aws-sdk/util-endpoints": "3.714.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
35
+ "@aws-sdk/util-user-agent-node": "3.721.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",