@aws-sdk/client-mediaconnect 3.716.0 → 3.723.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.
@@ -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).
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -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;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.723.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,57 +20,57 @@
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",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
+ "@smithy/util-waiter": "^4.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@tsconfig/node16": "16.1.3",
66
- "@types/node": "^16.18.96",
65
+ "@tsconfig/node18": "18.2.4",
66
+ "@types/node": "^18.19.69",
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~4.9.5"
70
+ "typescript": "~5.2.2"
71
71
  },
72
72
  "engines": {
73
- "node": ">=16.0.0"
73
+ "node": ">=18.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {