Skip to content

Commit c0288fd

Browse files
author
awstools
committed
feat(client-mediaconnect): AWS Elemental MediaConnect now supports Content Quality Analysis for enhanced source stream monitoring. This enables you to track specific audio and video metrics in transport stream source flows, ensuring your content meets quality standards.
1 parent c5a3b23 commit c0288fd

File tree

6 files changed

+544
-14
lines changed

6 files changed

+544
-14
lines changed

clients/client-mediaconnect/src/commands/CreateFlowCommand.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,27 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
259259
* },
260260
* SourceMonitoringConfig: { // MonitoringConfig
261261
* ThumbnailState: "ENABLED" || "DISABLED",
262+
* AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
263+
* { // AudioMonitoringSetting
264+
* SilentAudio: { // SilentAudio
265+
* State: "ENABLED" || "DISABLED",
266+
* ThresholdSeconds: Number("int"),
267+
* },
268+
* },
269+
* ],
270+
* ContentQualityAnalysisState: "ENABLED" || "DISABLED",
271+
* VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
272+
* { // VideoMonitoringSetting
273+
* BlackFrames: { // BlackFrames
274+
* State: "ENABLED" || "DISABLED",
275+
* ThresholdSeconds: Number("int"),
276+
* },
277+
* FrozenFrames: { // FrozenFrames
278+
* State: "ENABLED" || "DISABLED",
279+
* ThresholdSeconds: Number("int"),
280+
* },
281+
* },
282+
* ],
262283
* },
263284
* };
264285
* const command = new CreateFlowCommand(input);
@@ -540,6 +561,27 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
540561
* // },
541562
* // SourceMonitoringConfig: { // MonitoringConfig
542563
* // ThumbnailState: "ENABLED" || "DISABLED",
564+
* // AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
565+
* // { // AudioMonitoringSetting
566+
* // SilentAudio: { // SilentAudio
567+
* // State: "ENABLED" || "DISABLED",
568+
* // ThresholdSeconds: Number("int"),
569+
* // },
570+
* // },
571+
* // ],
572+
* // ContentQualityAnalysisState: "ENABLED" || "DISABLED",
573+
* // VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
574+
* // { // VideoMonitoringSetting
575+
* // BlackFrames: { // BlackFrames
576+
* // State: "ENABLED" || "DISABLED",
577+
* // ThresholdSeconds: Number("int"),
578+
* // },
579+
* // FrozenFrames: { // FrozenFrames
580+
* // State: "ENABLED" || "DISABLED",
581+
* // ThresholdSeconds: Number("int"),
582+
* // },
583+
* // },
584+
* // ],
543585
* // },
544586
* // },
545587
* // };

clients/client-mediaconnect/src/commands/DescribeFlowCommand.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,27 @@ export interface DescribeFlowCommandOutput extends DescribeFlowResponse, __Metad
317317
* // },
318318
* // SourceMonitoringConfig: { // MonitoringConfig
319319
* // ThumbnailState: "ENABLED" || "DISABLED",
320+
* // AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
321+
* // { // AudioMonitoringSetting
322+
* // SilentAudio: { // SilentAudio
323+
* // State: "ENABLED" || "DISABLED",
324+
* // ThresholdSeconds: Number("int"),
325+
* // },
326+
* // },
327+
* // ],
328+
* // ContentQualityAnalysisState: "ENABLED" || "DISABLED",
329+
* // VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
330+
* // { // VideoMonitoringSetting
331+
* // BlackFrames: { // BlackFrames
332+
* // State: "ENABLED" || "DISABLED",
333+
* // ThresholdSeconds: Number("int"),
334+
* // },
335+
* // FrozenFrames: { // FrozenFrames
336+
* // State: "ENABLED" || "DISABLED",
337+
* // ThresholdSeconds: Number("int"),
338+
* // },
339+
* // },
340+
* // ],
320341
* // },
321342
* // },
322343
* // Messages: { // Messages

clients/client-mediaconnect/src/commands/UpdateFlowCommand.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,27 @@ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataB
5252
* },
5353
* SourceMonitoringConfig: { // MonitoringConfig
5454
* ThumbnailState: "ENABLED" || "DISABLED",
55+
* AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
56+
* { // AudioMonitoringSetting
57+
* SilentAudio: { // SilentAudio
58+
* State: "ENABLED" || "DISABLED",
59+
* ThresholdSeconds: Number("int"),
60+
* },
61+
* },
62+
* ],
63+
* ContentQualityAnalysisState: "ENABLED" || "DISABLED",
64+
* VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
65+
* { // VideoMonitoringSetting
66+
* BlackFrames: { // BlackFrames
67+
* State: "ENABLED" || "DISABLED",
68+
* ThresholdSeconds: Number("int"),
69+
* },
70+
* FrozenFrames: { // FrozenFrames
71+
* State: "ENABLED" || "DISABLED",
72+
* ThresholdSeconds: Number("int"),
73+
* },
74+
* },
75+
* ],
5576
* },
5677
* };
5778
* const command = new UpdateFlowCommand(input);
@@ -333,6 +354,27 @@ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataB
333354
* // },
334355
* // SourceMonitoringConfig: { // MonitoringConfig
335356
* // ThumbnailState: "ENABLED" || "DISABLED",
357+
* // AudioMonitoringSettings: [ // __listOfAudioMonitoringSetting
358+
* // { // AudioMonitoringSetting
359+
* // SilentAudio: { // SilentAudio
360+
* // State: "ENABLED" || "DISABLED",
361+
* // ThresholdSeconds: Number("int"),
362+
* // },
363+
* // },
364+
* // ],
365+
* // ContentQualityAnalysisState: "ENABLED" || "DISABLED",
366+
* // VideoMonitoringSettings: [ // __listOfVideoMonitoringSetting
367+
* // { // VideoMonitoringSetting
368+
* // BlackFrames: { // BlackFrames
369+
* // State: "ENABLED" || "DISABLED",
370+
* // ThresholdSeconds: Number("int"),
371+
* // },
372+
* // FrozenFrames: { // FrozenFrames
373+
* // State: "ENABLED" || "DISABLED",
374+
* // ThresholdSeconds: Number("int"),
375+
* // },
376+
* // },
377+
* // ],
336378
* // },
337379
* // },
338380
* // };

clients/client-mediaconnect/src/models/models_0.ts

Lines changed: 131 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,50 @@ export interface AddOutputRequest {
707707
OutputStatus?: OutputStatus | undefined;
708708
}
709709

710+
/**
711+
* @public
712+
* @enum
713+
*/
714+
export const State = {
715+
DISABLED: "DISABLED",
716+
ENABLED: "ENABLED",
717+
} as const;
718+
719+
/**
720+
* @public
721+
*/
722+
export type State = (typeof State)[keyof typeof State];
723+
724+
/**
725+
* Configures settings for the SilentAudio metric.
726+
* @public
727+
*/
728+
export interface SilentAudio {
729+
/**
730+
* Indicates whether the SilentAudio metric is enabled or disabled.
731+
* @public
732+
*/
733+
State?: State | undefined;
734+
735+
/**
736+
* Specifies the number of consecutive seconds of silence that triggers an event or alert.
737+
* @public
738+
*/
739+
ThresholdSeconds?: number | undefined;
740+
}
741+
742+
/**
743+
* Specifies the configuration for audio stream metrics monitoring.
744+
* @public
745+
*/
746+
export interface AudioMonitoringSetting {
747+
/**
748+
* Detects periods of silence.
749+
* @public
750+
*/
751+
SilentAudio?: SilentAudio | undefined;
752+
}
753+
710754
/**
711755
* The output of the bridge. A flow output is delivered to the AWS cloud.
712756
* @public
@@ -2377,6 +2421,60 @@ export interface TransportStreamProgram {
23772421
Streams: TransportStream[] | undefined;
23782422
}
23792423

2424+
/**
2425+
* Configures settings for the BlackFrames metric.
2426+
* @public
2427+
*/
2428+
export interface BlackFrames {
2429+
/**
2430+
* Indicates whether the BlackFrames metric is enabled or disabled.
2431+
* @public
2432+
*/
2433+
State?: State | undefined;
2434+
2435+
/**
2436+
* Specifies the number of consecutive seconds of black frames that triggers an event or alert.
2437+
* @public
2438+
*/
2439+
ThresholdSeconds?: number | undefined;
2440+
}
2441+
2442+
/**
2443+
* Configures settings for the FrozenFrames metric.
2444+
* @public
2445+
*/
2446+
export interface FrozenFrames {
2447+
/**
2448+
* Indicates whether the FrozenFrames metric is enabled or disabled.
2449+
* @public
2450+
*/
2451+
State?: State | undefined;
2452+
2453+
/**
2454+
* Specifies the number of consecutive seconds of a static image that triggers an event or alert.
2455+
* @public
2456+
*/
2457+
ThresholdSeconds?: number | undefined;
2458+
}
2459+
2460+
/**
2461+
* Specifies the configuration for video stream metrics monitoring.
2462+
* @public
2463+
*/
2464+
export interface VideoMonitoringSetting {
2465+
/**
2466+
* Detects video frames that are black.
2467+
* @public
2468+
*/
2469+
BlackFrames?: BlackFrames | undefined;
2470+
2471+
/**
2472+
* Detects video frames that have not changed.
2473+
* @public
2474+
*/
2475+
FrozenFrames?: FrozenFrames | undefined;
2476+
}
2477+
23802478
/**
23812479
* @public
23822480
* @enum
@@ -2999,20 +3097,6 @@ export interface SourcePriority {
29993097
PrimarySource?: string | undefined;
30003098
}
30013099

3002-
/**
3003-
* @public
3004-
* @enum
3005-
*/
3006-
export const State = {
3007-
DISABLED: "DISABLED",
3008-
ENABLED: "ENABLED",
3009-
} as const;
3010-
3011-
/**
3012-
* @public
3013-
*/
3014-
export type State = (typeof State)[keyof typeof State];
3015-
30163100
/**
30173101
* The settings for source failover.
30183102
* @public
@@ -3113,6 +3197,21 @@ export const ConnectionStatus = {
31133197
*/
31143198
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
31153199

3200+
/**
3201+
* @public
3202+
* @enum
3203+
*/
3204+
export const ContentQualityAnalysisState = {
3205+
DISABLED: "DISABLED",
3206+
ENABLED: "ENABLED",
3207+
} as const;
3208+
3209+
/**
3210+
* @public
3211+
*/
3212+
export type ContentQualityAnalysisState =
3213+
(typeof ContentQualityAnalysisState)[keyof typeof ContentQualityAnalysisState];
3214+
31163215
/**
31173216
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
31183217
* @public
@@ -3248,6 +3347,24 @@ export interface MonitoringConfig {
32483347
* @public
32493348
*/
32503349
ThumbnailState?: ThumbnailState | undefined;
3350+
3351+
/**
3352+
* Contains the settings for audio stream metrics monitoring.
3353+
* @public
3354+
*/
3355+
AudioMonitoringSettings?: AudioMonitoringSetting[] | undefined;
3356+
3357+
/**
3358+
* Indicates whether content quality analysis is enabled or disabled.
3359+
* @public
3360+
*/
3361+
ContentQualityAnalysisState?: ContentQualityAnalysisState | undefined;
3362+
3363+
/**
3364+
* Contains the settings for video stream metrics monitoring.
3365+
* @public
3366+
*/
3367+
VideoMonitoringSettings?: VideoMonitoringSetting[] | undefined;
32513368
}
32523369

32533370
/**

0 commit comments

Comments
 (0)