@aws-sdk/client-mediaconnect 3.637.0 → 3.645.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/README.md CHANGED
@@ -330,6 +330,14 @@ DescribeFlowSourceMetadata
330
330
 
331
331
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconnect/command/DescribeFlowSourceMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowSourceMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowSourceMetadataCommandOutput/)
332
332
 
333
+ </details>
334
+ <details>
335
+ <summary>
336
+ DescribeFlowSourceThumbnail
337
+ </summary>
338
+
339
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mediaconnect/command/DescribeFlowSourceThumbnailCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowSourceThumbnailCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mediaconnect/Interface/DescribeFlowSourceThumbnailCommandOutput/)
340
+
333
341
  </details>
334
342
  <details>
335
343
  <summary>
package/dist-cjs/index.js CHANGED
@@ -48,6 +48,7 @@ __export(src_exports, {
48
48
  DescribeBridgeCommand: () => DescribeBridgeCommand,
49
49
  DescribeFlowCommand: () => DescribeFlowCommand,
50
50
  DescribeFlowSourceMetadataCommand: () => DescribeFlowSourceMetadataCommand,
51
+ DescribeFlowSourceThumbnailCommand: () => DescribeFlowSourceThumbnailCommand,
51
52
  DescribeGatewayCommand: () => DescribeGatewayCommand,
52
53
  DescribeGatewayInstanceCommand: () => DescribeGatewayInstanceCommand,
53
54
  DescribeOfferingCommand: () => DescribeOfferingCommand,
@@ -103,6 +104,7 @@ __export(src_exports, {
103
104
  StopFlowCommand: () => StopFlowCommand,
104
105
  TagResourceCommand: () => TagResourceCommand,
105
106
  Tcs: () => Tcs,
107
+ ThumbnailState: () => ThumbnailState,
106
108
  TooManyRequestsException: () => TooManyRequestsException,
107
109
  UntagResourceCommand: () => UntagResourceCommand,
108
110
  UpdateBridgeCommand: () => UpdateBridgeCommand,
@@ -640,6 +642,10 @@ var _CreateFlow420Exception = class _CreateFlow420Exception extends MediaConnect
640
642
  };
641
643
  __name(_CreateFlow420Exception, "CreateFlow420Exception");
642
644
  var CreateFlow420Exception = _CreateFlow420Exception;
645
+ var ThumbnailState = {
646
+ DISABLED: "DISABLED",
647
+ ENABLED: "ENABLED"
648
+ };
643
649
  var _CreateGateway420Exception = class _CreateGateway420Exception extends MediaConnectServiceException {
644
650
  /**
645
651
  * @internal
@@ -817,6 +823,7 @@ var se_CreateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
817
823
  outputs: [, (_) => se___listOfAddOutputRequest(_, context), `Outputs`],
818
824
  source: [, (_) => se_SetSourceRequest(_, context), `Source`],
819
825
  sourceFailoverConfig: [, (_) => se_FailoverConfig(_, context), `SourceFailoverConfig`],
826
+ sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`],
820
827
  sources: [, (_) => se___listOfSetSourceRequest(_, context), `Sources`],
821
828
  vpcInterfaces: [, (_) => se___listOfVpcInterfaceRequest(_, context), `VpcInterfaces`]
822
829
  })
@@ -907,6 +914,15 @@ var se_DescribeFlowSourceMetadataCommand = /* @__PURE__ */ __name(async (input,
907
914
  b.m("GET").h(headers).b(body);
908
915
  return b.build();
909
916
  }, "se_DescribeFlowSourceMetadataCommand");
917
+ var se_DescribeFlowSourceThumbnailCommand = /* @__PURE__ */ __name(async (input, context) => {
918
+ const b = (0, import_core.requestBuilder)(input, context);
919
+ const headers = {};
920
+ b.bp("/v1/flows/{FlowArn}/source-thumbnail");
921
+ b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
922
+ let body;
923
+ b.m("GET").h(headers).b(body);
924
+ return b.build();
925
+ }, "se_DescribeFlowSourceThumbnailCommand");
910
926
  var se_DescribeGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
911
927
  const b = (0, import_core.requestBuilder)(input, context);
912
928
  const headers = {};
@@ -1270,7 +1286,8 @@ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1270
1286
  body = JSON.stringify(
1271
1287
  (0, import_smithy_client.take)(input, {
1272
1288
  maintenance: [, (_) => se_UpdateMaintenance(_, context), `Maintenance`],
1273
- sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`]
1289
+ sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
1290
+ sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`]
1274
1291
  })
1275
1292
  );
1276
1293
  b.m("PUT").h(headers).b(body);
@@ -1643,6 +1660,20 @@ var de_DescribeFlowSourceMetadataCommand = /* @__PURE__ */ __name(async (output,
1643
1660
  Object.assign(contents, doc);
1644
1661
  return contents;
1645
1662
  }, "de_DescribeFlowSourceMetadataCommand");
1663
+ var de_DescribeFlowSourceThumbnailCommand = /* @__PURE__ */ __name(async (output, context) => {
1664
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1665
+ return de_CommandError(output, context);
1666
+ }
1667
+ const contents = (0, import_smithy_client.map)({
1668
+ $metadata: deserializeMetadata(output)
1669
+ });
1670
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1671
+ const doc = (0, import_smithy_client.take)(data, {
1672
+ ThumbnailDetails: [, (_) => de_ThumbnailDetails(_, context), `thumbnailDetails`]
1673
+ });
1674
+ Object.assign(contents, doc);
1675
+ return contents;
1676
+ }, "de_DescribeFlowSourceThumbnailCommand");
1646
1677
  var de_DescribeGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
1647
1678
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1648
1679
  return de_CommandError(output, context);
@@ -2606,6 +2637,11 @@ var se_MediaStreamSourceConfigurationRequest = /* @__PURE__ */ __name((input, co
2606
2637
  mediaStreamName: [, , `MediaStreamName`]
2607
2638
  });
2608
2639
  }, "se_MediaStreamSourceConfigurationRequest");
2640
+ var se_MonitoringConfig = /* @__PURE__ */ __name((input, context) => {
2641
+ return (0, import_smithy_client.take)(input, {
2642
+ thumbnailState: [, , `ThumbnailState`]
2643
+ });
2644
+ }, "se_MonitoringConfig");
2609
2645
  var se_SetGatewayBridgeSourceRequest = /* @__PURE__ */ __name((input, context) => {
2610
2646
  return (0, import_smithy_client.take)(input, {
2611
2647
  bridgeArn: [, , `BridgeArn`],
@@ -2983,6 +3019,7 @@ var de_Flow = /* @__PURE__ */ __name((output, context) => {
2983
3019
  Outputs: [, (_) => de___listOfOutput(_, context), `outputs`],
2984
3020
  Source: [, (_) => de_Source(_, context), `source`],
2985
3021
  SourceFailoverConfig: [, (_) => de_FailoverConfig(_, context), `sourceFailoverConfig`],
3022
+ SourceMonitoringConfig: [, (_) => de_MonitoringConfig(_, context), `sourceMonitoringConfig`],
2986
3023
  Sources: [, (_) => de___listOfSource(_, context), `sources`],
2987
3024
  Status: [, import_smithy_client.expectString, `status`],
2988
3025
  VpcInterfaces: [, (_) => de___listOfVpcInterface(_, context), `vpcInterfaces`]
@@ -3157,6 +3194,11 @@ var de_Messages = /* @__PURE__ */ __name((output, context) => {
3157
3194
  Errors: [, import_smithy_client._json, `errors`]
3158
3195
  });
3159
3196
  }, "de_Messages");
3197
+ var de_MonitoringConfig = /* @__PURE__ */ __name((output, context) => {
3198
+ return (0, import_smithy_client.take)(output, {
3199
+ ThumbnailState: [, import_smithy_client.expectString, `thumbnailState`]
3200
+ });
3201
+ }, "de_MonitoringConfig");
3160
3202
  var de_Offering = /* @__PURE__ */ __name((output, context) => {
3161
3203
  return (0, import_smithy_client.take)(output, {
3162
3204
  CurrencyCode: [, import_smithy_client.expectString, `currencyCode`],
@@ -3244,6 +3286,15 @@ var de_SourcePriority = /* @__PURE__ */ __name((output, context) => {
3244
3286
  PrimarySource: [, import_smithy_client.expectString, `primarySource`]
3245
3287
  });
3246
3288
  }, "de_SourcePriority");
3289
+ var de_ThumbnailDetails = /* @__PURE__ */ __name((output, context) => {
3290
+ return (0, import_smithy_client.take)(output, {
3291
+ FlowArn: [, import_smithy_client.expectString, `flowArn`],
3292
+ Thumbnail: [, import_smithy_client.expectString, `thumbnail`],
3293
+ ThumbnailMessages: [, (_) => de___listOfMessageDetail(_, context), `thumbnailMessages`],
3294
+ Timecode: [, import_smithy_client.expectString, `timecode`],
3295
+ Timestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `timestamp`]
3296
+ });
3297
+ }, "de_ThumbnailDetails");
3247
3298
  var de_Transport = /* @__PURE__ */ __name((output, context) => {
3248
3299
  return (0, import_smithy_client.take)(output, {
3249
3300
  CidrAllowList: [, import_smithy_client._json, `cidrAllowList`],
@@ -3572,6 +3623,22 @@ var _DescribeFlowSourceMetadataCommand = class _DescribeFlowSourceMetadataComman
3572
3623
  __name(_DescribeFlowSourceMetadataCommand, "DescribeFlowSourceMetadataCommand");
3573
3624
  var DescribeFlowSourceMetadataCommand = _DescribeFlowSourceMetadataCommand;
3574
3625
 
3626
+ // src/commands/DescribeFlowSourceThumbnailCommand.ts
3627
+
3628
+
3629
+
3630
+ var _DescribeFlowSourceThumbnailCommand = class _DescribeFlowSourceThumbnailCommand extends import_smithy_client.Command.classBuilder().ep({
3631
+ ...commonParams
3632
+ }).m(function(Command, cs, config, o) {
3633
+ return [
3634
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3635
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3636
+ ];
3637
+ }).s("MediaConnect", "DescribeFlowSourceThumbnail", {}).n("MediaConnectClient", "DescribeFlowSourceThumbnailCommand").f(void 0, void 0).ser(se_DescribeFlowSourceThumbnailCommand).de(de_DescribeFlowSourceThumbnailCommand).build() {
3638
+ };
3639
+ __name(_DescribeFlowSourceThumbnailCommand, "DescribeFlowSourceThumbnailCommand");
3640
+ var DescribeFlowSourceThumbnailCommand = _DescribeFlowSourceThumbnailCommand;
3641
+
3575
3642
  // src/commands/DescribeGatewayCommand.ts
3576
3643
 
3577
3644
 
@@ -4150,6 +4217,7 @@ var commands = {
4150
4217
  DescribeBridgeCommand,
4151
4218
  DescribeFlowCommand,
4152
4219
  DescribeFlowSourceMetadataCommand,
4220
+ DescribeFlowSourceThumbnailCommand,
4153
4221
  DescribeGatewayCommand,
4154
4222
  DescribeGatewayInstanceCommand,
4155
4223
  DescribeOfferingCommand,
@@ -4411,6 +4479,7 @@ var waitUntilFlowStandby = /* @__PURE__ */ __name(async (params, input) => {
4411
4479
  DescribeBridgeCommand,
4412
4480
  DescribeFlowCommand,
4413
4481
  DescribeFlowSourceMetadataCommand,
4482
+ DescribeFlowSourceThumbnailCommand,
4414
4483
  DescribeGatewayCommand,
4415
4484
  DescribeGatewayInstanceCommand,
4416
4485
  DescribeOfferingCommand,
@@ -4496,6 +4565,7 @@ var waitUntilFlowStandby = /* @__PURE__ */ __name(async (params, input) => {
4496
4565
  ConnectionStatus,
4497
4566
  CreateBridge420Exception,
4498
4567
  CreateFlow420Exception,
4568
+ ThumbnailState,
4499
4569
  CreateGateway420Exception,
4500
4570
  DesiredState,
4501
4571
  GrantFlowEntitlements420Exception
@@ -15,6 +15,7 @@ import { DeregisterGatewayInstanceCommand, } from "./commands/DeregisterGatewayI
15
15
  import { DescribeBridgeCommand, } from "./commands/DescribeBridgeCommand";
16
16
  import { DescribeFlowCommand, } from "./commands/DescribeFlowCommand";
17
17
  import { DescribeFlowSourceMetadataCommand, } from "./commands/DescribeFlowSourceMetadataCommand";
18
+ import { DescribeFlowSourceThumbnailCommand, } from "./commands/DescribeFlowSourceThumbnailCommand";
18
19
  import { DescribeGatewayCommand, } from "./commands/DescribeGatewayCommand";
19
20
  import { DescribeGatewayInstanceCommand, } from "./commands/DescribeGatewayInstanceCommand";
20
21
  import { DescribeOfferingCommand, } from "./commands/DescribeOfferingCommand";
@@ -68,6 +69,7 @@ const commands = {
68
69
  DescribeBridgeCommand,
69
70
  DescribeFlowCommand,
70
71
  DescribeFlowSourceMetadataCommand,
72
+ DescribeFlowSourceThumbnailCommand,
71
73
  DescribeGatewayCommand,
72
74
  DescribeGatewayInstanceCommand,
73
75
  DescribeOfferingCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeFlowSourceThumbnailCommand, se_DescribeFlowSourceThumbnailCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeFlowSourceThumbnailCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaConnect", "DescribeFlowSourceThumbnail", {})
19
+ .n("MediaConnectClient", "DescribeFlowSourceThumbnailCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeFlowSourceThumbnailCommand)
22
+ .de(de_DescribeFlowSourceThumbnailCommand)
23
+ .build() {
24
+ }
@@ -14,6 +14,7 @@ export * from "./DeregisterGatewayInstanceCommand";
14
14
  export * from "./DescribeBridgeCommand";
15
15
  export * from "./DescribeFlowCommand";
16
16
  export * from "./DescribeFlowSourceMetadataCommand";
17
+ export * from "./DescribeFlowSourceThumbnailCommand";
17
18
  export * from "./DescribeGatewayCommand";
18
19
  export * from "./DescribeGatewayInstanceCommand";
19
20
  export * from "./DescribeOfferingCommand";
@@ -292,6 +292,10 @@ export class CreateFlow420Exception extends __BaseException {
292
292
  this.Message = opts.Message;
293
293
  }
294
294
  }
295
+ export const ThumbnailState = {
296
+ DISABLED: "DISABLED",
297
+ ENABLED: "ENABLED",
298
+ };
295
299
  export class CreateGateway420Exception extends __BaseException {
296
300
  constructor(opts) {
297
301
  super({
@@ -122,6 +122,7 @@ export const se_CreateFlowCommand = async (input, context) => {
122
122
  outputs: [, (_) => se___listOfAddOutputRequest(_, context), `Outputs`],
123
123
  source: [, (_) => se_SetSourceRequest(_, context), `Source`],
124
124
  sourceFailoverConfig: [, (_) => se_FailoverConfig(_, context), `SourceFailoverConfig`],
125
+ sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`],
125
126
  sources: [, (_) => se___listOfSetSourceRequest(_, context), `Sources`],
126
127
  vpcInterfaces: [, (_) => se___listOfVpcInterfaceRequest(_, context), `VpcInterfaces`],
127
128
  }));
@@ -209,6 +210,15 @@ export const se_DescribeFlowSourceMetadataCommand = async (input, context) => {
209
210
  b.m("GET").h(headers).b(body);
210
211
  return b.build();
211
212
  };
213
+ export const se_DescribeFlowSourceThumbnailCommand = async (input, context) => {
214
+ const b = rb(input, context);
215
+ const headers = {};
216
+ b.bp("/v1/flows/{FlowArn}/source-thumbnail");
217
+ b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
218
+ let body;
219
+ b.m("GET").h(headers).b(body);
220
+ return b.build();
221
+ };
212
222
  export const se_DescribeGatewayCommand = async (input, context) => {
213
223
  const b = rb(input, context);
214
224
  const headers = {};
@@ -558,6 +568,7 @@ export const se_UpdateFlowCommand = async (input, context) => {
558
568
  body = JSON.stringify(take(input, {
559
569
  maintenance: [, (_) => se_UpdateMaintenance(_, context), `Maintenance`],
560
570
  sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
571
+ sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`],
561
572
  }));
562
573
  b.m("PUT").h(headers).b(body);
563
574
  return b.build();
@@ -919,6 +930,20 @@ export const de_DescribeFlowSourceMetadataCommand = async (output, context) => {
919
930
  Object.assign(contents, doc);
920
931
  return contents;
921
932
  };
933
+ export const de_DescribeFlowSourceThumbnailCommand = async (output, context) => {
934
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
935
+ return de_CommandError(output, context);
936
+ }
937
+ const contents = map({
938
+ $metadata: deserializeMetadata(output),
939
+ });
940
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
941
+ const doc = take(data, {
942
+ ThumbnailDetails: [, (_) => de_ThumbnailDetails(_, context), `thumbnailDetails`],
943
+ });
944
+ Object.assign(contents, doc);
945
+ return contents;
946
+ };
922
947
  export const de_DescribeGatewayCommand = async (output, context) => {
923
948
  if (output.statusCode !== 200 && output.statusCode >= 300) {
924
949
  return de_CommandError(output, context);
@@ -1906,6 +1931,11 @@ const se_MediaStreamSourceConfigurationRequest = (input, context) => {
1906
1931
  mediaStreamName: [, , `MediaStreamName`],
1907
1932
  });
1908
1933
  };
1934
+ const se_MonitoringConfig = (input, context) => {
1935
+ return take(input, {
1936
+ thumbnailState: [, , `ThumbnailState`],
1937
+ });
1938
+ };
1909
1939
  const se_SetGatewayBridgeSourceRequest = (input, context) => {
1910
1940
  return take(input, {
1911
1941
  bridgeArn: [, , `BridgeArn`],
@@ -2327,6 +2357,7 @@ const de_Flow = (output, context) => {
2327
2357
  Outputs: [, (_) => de___listOfOutput(_, context), `outputs`],
2328
2358
  Source: [, (_) => de_Source(_, context), `source`],
2329
2359
  SourceFailoverConfig: [, (_) => de_FailoverConfig(_, context), `sourceFailoverConfig`],
2360
+ SourceMonitoringConfig: [, (_) => de_MonitoringConfig(_, context), `sourceMonitoringConfig`],
2330
2361
  Sources: [, (_) => de___listOfSource(_, context), `sources`],
2331
2362
  Status: [, __expectString, `status`],
2332
2363
  VpcInterfaces: [, (_) => de___listOfVpcInterface(_, context), `vpcInterfaces`],
@@ -2501,6 +2532,11 @@ const de_Messages = (output, context) => {
2501
2532
  Errors: [, _json, `errors`],
2502
2533
  });
2503
2534
  };
2535
+ const de_MonitoringConfig = (output, context) => {
2536
+ return take(output, {
2537
+ ThumbnailState: [, __expectString, `thumbnailState`],
2538
+ });
2539
+ };
2504
2540
  const de_Offering = (output, context) => {
2505
2541
  return take(output, {
2506
2542
  CurrencyCode: [, __expectString, `currencyCode`],
@@ -2588,6 +2624,15 @@ const de_SourcePriority = (output, context) => {
2588
2624
  PrimarySource: [, __expectString, `primarySource`],
2589
2625
  });
2590
2626
  };
2627
+ const de_ThumbnailDetails = (output, context) => {
2628
+ return take(output, {
2629
+ FlowArn: [, __expectString, `flowArn`],
2630
+ Thumbnail: [, __expectString, `thumbnail`],
2631
+ ThumbnailMessages: [, (_) => de___listOfMessageDetail(_, context), `thumbnailMessages`],
2632
+ Timecode: [, __expectString, `timecode`],
2633
+ Timestamp: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `timestamp`],
2634
+ });
2635
+ };
2591
2636
  const de_Transport = (output, context) => {
2592
2637
  return take(output, {
2593
2638
  CidrAllowList: [, _json, `cidrAllowList`],
@@ -15,6 +15,7 @@ import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommand
15
15
  import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "./commands/DescribeBridgeCommand";
16
16
  import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "./commands/DescribeFlowCommand";
17
17
  import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "./commands/DescribeFlowSourceMetadataCommand";
18
+ import { DescribeFlowSourceThumbnailCommandInput, DescribeFlowSourceThumbnailCommandOutput } from "./commands/DescribeFlowSourceThumbnailCommand";
18
19
  import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
19
20
  import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "./commands/DescribeGatewayInstanceCommand";
20
21
  import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "./commands/DescribeOfferingCommand";
@@ -148,6 +149,12 @@ export interface MediaConnect {
148
149
  describeFlowSourceMetadata(args: DescribeFlowSourceMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowSourceMetadataCommandOutput>;
149
150
  describeFlowSourceMetadata(args: DescribeFlowSourceMetadataCommandInput, cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void): void;
150
151
  describeFlowSourceMetadata(args: DescribeFlowSourceMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void): void;
152
+ /**
153
+ * @see {@link DescribeFlowSourceThumbnailCommand}
154
+ */
155
+ describeFlowSourceThumbnail(args: DescribeFlowSourceThumbnailCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFlowSourceThumbnailCommandOutput>;
156
+ describeFlowSourceThumbnail(args: DescribeFlowSourceThumbnailCommandInput, cb: (err: any, data?: DescribeFlowSourceThumbnailCommandOutput) => void): void;
157
+ describeFlowSourceThumbnail(args: DescribeFlowSourceThumbnailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFlowSourceThumbnailCommandOutput) => void): void;
151
158
  /**
152
159
  * @see {@link DescribeGatewayCommand}
153
160
  */
@@ -23,6 +23,7 @@ import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommand
23
23
  import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "./commands/DescribeBridgeCommand";
24
24
  import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "./commands/DescribeFlowCommand";
25
25
  import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "./commands/DescribeFlowSourceMetadataCommand";
26
+ import { DescribeFlowSourceThumbnailCommandInput, DescribeFlowSourceThumbnailCommandOutput } from "./commands/DescribeFlowSourceThumbnailCommand";
26
27
  import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
27
28
  import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "./commands/DescribeGatewayInstanceCommand";
28
29
  import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "./commands/DescribeOfferingCommand";
@@ -64,11 +65,11 @@ export { __Client };
64
65
  /**
65
66
  * @public
66
67
  */
67
- export type ServiceInputTypes = AddBridgeOutputsCommandInput | AddBridgeSourcesCommandInput | AddFlowMediaStreamsCommandInput | AddFlowOutputsCommandInput | AddFlowSourcesCommandInput | AddFlowVpcInterfacesCommandInput | CreateBridgeCommandInput | CreateFlowCommandInput | CreateGatewayCommandInput | DeleteBridgeCommandInput | DeleteFlowCommandInput | DeleteGatewayCommandInput | DeregisterGatewayInstanceCommandInput | DescribeBridgeCommandInput | DescribeFlowCommandInput | DescribeFlowSourceMetadataCommandInput | DescribeGatewayCommandInput | DescribeGatewayInstanceCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | GrantFlowEntitlementsCommandInput | ListBridgesCommandInput | ListEntitlementsCommandInput | ListFlowsCommandInput | ListGatewayInstancesCommandInput | ListGatewaysCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RemoveBridgeOutputCommandInput | RemoveBridgeSourceCommandInput | RemoveFlowMediaStreamCommandInput | RemoveFlowOutputCommandInput | RemoveFlowSourceCommandInput | RemoveFlowVpcInterfaceCommandInput | RevokeFlowEntitlementCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBridgeCommandInput | UpdateBridgeOutputCommandInput | UpdateBridgeSourceCommandInput | UpdateBridgeStateCommandInput | UpdateFlowCommandInput | UpdateFlowEntitlementCommandInput | UpdateFlowMediaStreamCommandInput | UpdateFlowOutputCommandInput | UpdateFlowSourceCommandInput | UpdateGatewayInstanceCommandInput;
68
+ export type ServiceInputTypes = AddBridgeOutputsCommandInput | AddBridgeSourcesCommandInput | AddFlowMediaStreamsCommandInput | AddFlowOutputsCommandInput | AddFlowSourcesCommandInput | AddFlowVpcInterfacesCommandInput | CreateBridgeCommandInput | CreateFlowCommandInput | CreateGatewayCommandInput | DeleteBridgeCommandInput | DeleteFlowCommandInput | DeleteGatewayCommandInput | DeregisterGatewayInstanceCommandInput | DescribeBridgeCommandInput | DescribeFlowCommandInput | DescribeFlowSourceMetadataCommandInput | DescribeFlowSourceThumbnailCommandInput | DescribeGatewayCommandInput | DescribeGatewayInstanceCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | GrantFlowEntitlementsCommandInput | ListBridgesCommandInput | ListEntitlementsCommandInput | ListFlowsCommandInput | ListGatewayInstancesCommandInput | ListGatewaysCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RemoveBridgeOutputCommandInput | RemoveBridgeSourceCommandInput | RemoveFlowMediaStreamCommandInput | RemoveFlowOutputCommandInput | RemoveFlowSourceCommandInput | RemoveFlowVpcInterfaceCommandInput | RevokeFlowEntitlementCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBridgeCommandInput | UpdateBridgeOutputCommandInput | UpdateBridgeSourceCommandInput | UpdateBridgeStateCommandInput | UpdateFlowCommandInput | UpdateFlowEntitlementCommandInput | UpdateFlowMediaStreamCommandInput | UpdateFlowOutputCommandInput | UpdateFlowSourceCommandInput | UpdateGatewayInstanceCommandInput;
68
69
  /**
69
70
  * @public
70
71
  */
71
- export type ServiceOutputTypes = AddBridgeOutputsCommandOutput | AddBridgeSourcesCommandOutput | AddFlowMediaStreamsCommandOutput | AddFlowOutputsCommandOutput | AddFlowSourcesCommandOutput | AddFlowVpcInterfacesCommandOutput | CreateBridgeCommandOutput | CreateFlowCommandOutput | CreateGatewayCommandOutput | DeleteBridgeCommandOutput | DeleteFlowCommandOutput | DeleteGatewayCommandOutput | DeregisterGatewayInstanceCommandOutput | DescribeBridgeCommandOutput | DescribeFlowCommandOutput | DescribeFlowSourceMetadataCommandOutput | DescribeGatewayCommandOutput | DescribeGatewayInstanceCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | GrantFlowEntitlementsCommandOutput | ListBridgesCommandOutput | ListEntitlementsCommandOutput | ListFlowsCommandOutput | ListGatewayInstancesCommandOutput | ListGatewaysCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RemoveBridgeOutputCommandOutput | RemoveBridgeSourceCommandOutput | RemoveFlowMediaStreamCommandOutput | RemoveFlowOutputCommandOutput | RemoveFlowSourceCommandOutput | RemoveFlowVpcInterfaceCommandOutput | RevokeFlowEntitlementCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBridgeCommandOutput | UpdateBridgeOutputCommandOutput | UpdateBridgeSourceCommandOutput | UpdateBridgeStateCommandOutput | UpdateFlowCommandOutput | UpdateFlowEntitlementCommandOutput | UpdateFlowMediaStreamCommandOutput | UpdateFlowOutputCommandOutput | UpdateFlowSourceCommandOutput | UpdateGatewayInstanceCommandOutput;
72
+ export type ServiceOutputTypes = AddBridgeOutputsCommandOutput | AddBridgeSourcesCommandOutput | AddFlowMediaStreamsCommandOutput | AddFlowOutputsCommandOutput | AddFlowSourcesCommandOutput | AddFlowVpcInterfacesCommandOutput | CreateBridgeCommandOutput | CreateFlowCommandOutput | CreateGatewayCommandOutput | DeleteBridgeCommandOutput | DeleteFlowCommandOutput | DeleteGatewayCommandOutput | DeregisterGatewayInstanceCommandOutput | DescribeBridgeCommandOutput | DescribeFlowCommandOutput | DescribeFlowSourceMetadataCommandOutput | DescribeFlowSourceThumbnailCommandOutput | DescribeGatewayCommandOutput | DescribeGatewayInstanceCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | GrantFlowEntitlementsCommandOutput | ListBridgesCommandOutput | ListEntitlementsCommandOutput | ListFlowsCommandOutput | ListGatewayInstancesCommandOutput | ListGatewaysCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RemoveBridgeOutputCommandOutput | RemoveBridgeSourceCommandOutput | RemoveFlowMediaStreamCommandOutput | RemoveFlowOutputCommandOutput | RemoveFlowSourceCommandOutput | RemoveFlowVpcInterfaceCommandOutput | RevokeFlowEntitlementCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBridgeCommandOutput | UpdateBridgeOutputCommandOutput | UpdateBridgeSourceCommandOutput | UpdateBridgeStateCommandOutput | UpdateFlowCommandOutput | UpdateFlowEntitlementCommandOutput | UpdateFlowMediaStreamCommandOutput | UpdateFlowOutputCommandOutput | UpdateFlowSourceCommandOutput | UpdateGatewayInstanceCommandOutput;
72
73
  /**
73
74
  * @public
74
75
  */
@@ -256,6 +256,9 @@ declare const CreateFlowCommand_base: {
256
256
  * MaintenanceDay: "Monday" || "Tuesday" || "Wednesday" || "Thursday" || "Friday" || "Saturday" || "Sunday", // required
257
257
  * MaintenanceStartHour: "STRING_VALUE", // required
258
258
  * },
259
+ * SourceMonitoringConfig: { // MonitoringConfig
260
+ * ThumbnailState: "ENABLED" || "DISABLED",
261
+ * },
259
262
  * };
260
263
  * const command = new CreateFlowCommand(input);
261
264
  * const response = await client.send(command);
@@ -534,6 +537,9 @@ declare const CreateFlowCommand_base: {
534
537
  * // MaintenanceScheduledDate: "STRING_VALUE",
535
538
  * // MaintenanceStartHour: "STRING_VALUE",
536
539
  * // },
540
+ * // SourceMonitoringConfig: { // MonitoringConfig
541
+ * // ThumbnailState: "ENABLED" || "DISABLED",
542
+ * // },
537
543
  * // },
538
544
  * // };
539
545
  *
@@ -314,6 +314,9 @@ declare const DescribeFlowCommand_base: {
314
314
  * // MaintenanceScheduledDate: "STRING_VALUE",
315
315
  * // MaintenanceStartHour: "STRING_VALUE",
316
316
  * // },
317
+ * // SourceMonitoringConfig: { // MonitoringConfig
318
+ * // ThumbnailState: "ENABLED" || "DISABLED",
319
+ * // },
317
320
  * // },
318
321
  * // Messages: { // Messages
319
322
  * // Errors: "<__listOf__string>", // required
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
4
+ import { DescribeFlowSourceThumbnailRequest, DescribeFlowSourceThumbnailResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeFlowSourceThumbnailCommand}.
14
+ */
15
+ export interface DescribeFlowSourceThumbnailCommandInput extends DescribeFlowSourceThumbnailRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeFlowSourceThumbnailCommand}.
21
+ */
22
+ export interface DescribeFlowSourceThumbnailCommandOutput extends DescribeFlowSourceThumbnailResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeFlowSourceThumbnailCommand_base: {
25
+ new (input: DescribeFlowSourceThumbnailCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFlowSourceThumbnailCommandInput, DescribeFlowSourceThumbnailCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeFlowSourceThumbnailCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFlowSourceThumbnailCommandInput, DescribeFlowSourceThumbnailCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Displays the thumbnail details of a flow's source stream.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MediaConnectClient, DescribeFlowSourceThumbnailCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, DescribeFlowSourceThumbnailCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
36
+ * const client = new MediaConnectClient(config);
37
+ * const input = { // DescribeFlowSourceThumbnailRequest
38
+ * FlowArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeFlowSourceThumbnailCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeFlowSourceThumbnailResponse
43
+ * // ThumbnailDetails: { // ThumbnailDetails
44
+ * // FlowArn: "STRING_VALUE", // required
45
+ * // Thumbnail: "STRING_VALUE",
46
+ * // ThumbnailMessages: [ // __listOfMessageDetail // required
47
+ * // { // MessageDetail
48
+ * // Code: "STRING_VALUE", // required
49
+ * // Message: "STRING_VALUE", // required
50
+ * // ResourceName: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // Timecode: "STRING_VALUE",
54
+ * // Timestamp: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DescribeFlowSourceThumbnailCommandInput - {@link DescribeFlowSourceThumbnailCommandInput}
61
+ * @returns {@link DescribeFlowSourceThumbnailCommandOutput}
62
+ * @see {@link DescribeFlowSourceThumbnailCommandInput} for command's `input` shape.
63
+ * @see {@link DescribeFlowSourceThumbnailCommandOutput} for command's `response` shape.
64
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
65
+ *
66
+ * @throws {@link BadRequestException} (client fault)
67
+ * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
68
+ *
69
+ * @throws {@link ForbiddenException} (client fault)
70
+ * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
71
+ *
72
+ * @throws {@link InternalServerErrorException} (server fault)
73
+ * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
74
+ *
75
+ * @throws {@link NotFoundException} (client fault)
76
+ * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
77
+ *
78
+ * @throws {@link ServiceUnavailableException} (server fault)
79
+ * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
80
+ *
81
+ * @throws {@link TooManyRequestsException} (client fault)
82
+ * Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
83
+ *
84
+ * @throws {@link MediaConnectServiceException}
85
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class DescribeFlowSourceThumbnailCommand extends DescribeFlowSourceThumbnailCommand_base {
90
+ }
@@ -49,6 +49,9 @@ declare const UpdateFlowCommand_base: {
49
49
  * MaintenanceScheduledDate: "STRING_VALUE",
50
50
  * MaintenanceStartHour: "STRING_VALUE",
51
51
  * },
52
+ * SourceMonitoringConfig: { // MonitoringConfig
53
+ * ThumbnailState: "ENABLED" || "DISABLED",
54
+ * },
52
55
  * };
53
56
  * const command = new UpdateFlowCommand(input);
54
57
  * const response = await client.send(command);
@@ -327,6 +330,9 @@ declare const UpdateFlowCommand_base: {
327
330
  * // MaintenanceScheduledDate: "STRING_VALUE",
328
331
  * // MaintenanceStartHour: "STRING_VALUE",
329
332
  * // },
333
+ * // SourceMonitoringConfig: { // MonitoringConfig
334
+ * // ThumbnailState: "ENABLED" || "DISABLED",
335
+ * // },
330
336
  * // },
331
337
  * // };
332
338
  *
@@ -14,6 +14,7 @@ export * from "./DeregisterGatewayInstanceCommand";
14
14
  export * from "./DescribeBridgeCommand";
15
15
  export * from "./DescribeFlowCommand";
16
16
  export * from "./DescribeFlowSourceMetadataCommand";
17
+ export * from "./DescribeFlowSourceThumbnailCommand";
17
18
  export * from "./DescribeGatewayCommand";
18
19
  export * from "./DescribeGatewayInstanceCommand";
19
20
  export * from "./DescribeOfferingCommand";
@@ -2712,6 +2712,29 @@ export declare class CreateFlow420Exception extends __BaseException {
2712
2712
  */
2713
2713
  constructor(opts: __ExceptionOptionType<CreateFlow420Exception, __BaseException>);
2714
2714
  }
2715
+ /**
2716
+ * @public
2717
+ * @enum
2718
+ */
2719
+ export declare const ThumbnailState: {
2720
+ readonly DISABLED: "DISABLED";
2721
+ readonly ENABLED: "ENABLED";
2722
+ };
2723
+ /**
2724
+ * @public
2725
+ */
2726
+ export type ThumbnailState = (typeof ThumbnailState)[keyof typeof ThumbnailState];
2727
+ /**
2728
+ * The settings for source monitoring.
2729
+ * @public
2730
+ */
2731
+ export interface MonitoringConfig {
2732
+ /**
2733
+ * The state of thumbnail monitoring.
2734
+ * @public
2735
+ */
2736
+ ThumbnailState?: ThumbnailState;
2737
+ }
2715
2738
  /**
2716
2739
  * Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
2717
2740
  * @public
@@ -2763,6 +2786,11 @@ export interface CreateFlowRequest {
2763
2786
  * @public
2764
2787
  */
2765
2788
  Maintenance?: AddMaintenance;
2789
+ /**
2790
+ * The settings for source monitoring.
2791
+ * @public
2792
+ */
2793
+ SourceMonitoringConfig?: MonitoringConfig;
2766
2794
  }
2767
2795
  /**
2768
2796
  * The settings for a flow, including its source, outputs, and entitlements.
@@ -2835,6 +2863,11 @@ export interface Flow {
2835
2863
  * @public
2836
2864
  */
2837
2865
  Maintenance?: Maintenance;
2866
+ /**
2867
+ * The settings for source monitoring.
2868
+ * @public
2869
+ */
2870
+ SourceMonitoringConfig?: MonitoringConfig;
2838
2871
  }
2839
2872
  /**
2840
2873
  * @public
@@ -3123,6 +3156,57 @@ export interface DescribeFlowSourceMetadataResponse {
3123
3156
  */
3124
3157
  TransportMediaInfo?: TransportMediaInfo;
3125
3158
  }
3159
+ /**
3160
+ * @public
3161
+ */
3162
+ export interface DescribeFlowSourceThumbnailRequest {
3163
+ /**
3164
+ * The Amazon Resource Name (ARN) of the flow.
3165
+ * @public
3166
+ */
3167
+ FlowArn: string | undefined;
3168
+ }
3169
+ /**
3170
+ * The details of the thumbnail, including thumbnail base64 string, timecode and the time when thumbnail was generated.
3171
+ * @public
3172
+ */
3173
+ export interface ThumbnailDetails {
3174
+ /**
3175
+ * The ARN of the flow that DescribeFlowSourceThumbnail was performed on.
3176
+ * @public
3177
+ */
3178
+ FlowArn: string | undefined;
3179
+ /**
3180
+ * Thumbnail Base64 string.
3181
+ * @public
3182
+ */
3183
+ Thumbnail?: string;
3184
+ /**
3185
+ * Status code and messages about the flow source thumbnail.
3186
+ * @public
3187
+ */
3188
+ ThumbnailMessages: MessageDetail[] | undefined;
3189
+ /**
3190
+ * Timecode of thumbnail.
3191
+ * @public
3192
+ */
3193
+ Timecode?: string;
3194
+ /**
3195
+ * The timestamp of when thumbnail was generated.
3196
+ * @public
3197
+ */
3198
+ Timestamp?: Date;
3199
+ }
3200
+ /**
3201
+ * @public
3202
+ */
3203
+ export interface DescribeFlowSourceThumbnailResponse {
3204
+ /**
3205
+ * The details of the thumbnail, including thumbnail base64 string, timecode and the time when thumbnail was generated.
3206
+ * @public
3207
+ */
3208
+ ThumbnailDetails?: ThumbnailDetails;
3209
+ }
3126
3210
  /**
3127
3211
  * @public
3128
3212
  */
@@ -4150,6 +4234,11 @@ export interface UpdateFlowRequest {
4150
4234
  * @public
4151
4235
  */
4152
4236
  Maintenance?: UpdateMaintenance;
4237
+ /**
4238
+ * The settings for source monitoring.
4239
+ * @public
4240
+ */
4241
+ SourceMonitoringConfig?: MonitoringConfig;
4153
4242
  }
4154
4243
  /**
4155
4244
  * @public
@@ -16,6 +16,7 @@ import { DeregisterGatewayInstanceCommandInput, DeregisterGatewayInstanceCommand
16
16
  import { DescribeBridgeCommandInput, DescribeBridgeCommandOutput } from "../commands/DescribeBridgeCommand";
17
17
  import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "../commands/DescribeFlowCommand";
18
18
  import { DescribeFlowSourceMetadataCommandInput, DescribeFlowSourceMetadataCommandOutput } from "../commands/DescribeFlowSourceMetadataCommand";
19
+ import { DescribeFlowSourceThumbnailCommandInput, DescribeFlowSourceThumbnailCommandOutput } from "../commands/DescribeFlowSourceThumbnailCommand";
19
20
  import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "../commands/DescribeGatewayCommand";
20
21
  import { DescribeGatewayInstanceCommandInput, DescribeGatewayInstanceCommandOutput } from "../commands/DescribeGatewayInstanceCommand";
21
22
  import { DescribeOfferingCommandInput, DescribeOfferingCommandOutput } from "../commands/DescribeOfferingCommand";
@@ -115,6 +116,10 @@ export declare const se_DescribeFlowCommand: (input: DescribeFlowCommandInput, c
115
116
  * serializeAws_restJson1DescribeFlowSourceMetadataCommand
116
117
  */
117
118
  export declare const se_DescribeFlowSourceMetadataCommand: (input: DescribeFlowSourceMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
+ /**
120
+ * serializeAws_restJson1DescribeFlowSourceThumbnailCommand
121
+ */
122
+ export declare const se_DescribeFlowSourceThumbnailCommand: (input: DescribeFlowSourceThumbnailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
123
  /**
119
124
  * serializeAws_restJson1DescribeGatewayCommand
120
125
  */
@@ -319,6 +324,10 @@ export declare const de_DescribeFlowCommand: (output: __HttpResponse, context: _
319
324
  * deserializeAws_restJson1DescribeFlowSourceMetadataCommand
320
325
  */
321
326
  export declare const de_DescribeFlowSourceMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFlowSourceMetadataCommandOutput>;
327
+ /**
328
+ * deserializeAws_restJson1DescribeFlowSourceThumbnailCommand
329
+ */
330
+ export declare const de_DescribeFlowSourceThumbnailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFlowSourceThumbnailCommandOutput>;
322
331
  /**
323
332
  * deserializeAws_restJson1DescribeGatewayCommand
324
333
  */
@@ -63,6 +63,10 @@ import {
63
63
  DescribeFlowSourceMetadataCommandInput,
64
64
  DescribeFlowSourceMetadataCommandOutput,
65
65
  } from "./commands/DescribeFlowSourceMetadataCommand";
66
+ import {
67
+ DescribeFlowSourceThumbnailCommandInput,
68
+ DescribeFlowSourceThumbnailCommandOutput,
69
+ } from "./commands/DescribeFlowSourceThumbnailCommand";
66
70
  import {
67
71
  DescribeGatewayCommandInput,
68
72
  DescribeGatewayCommandOutput,
@@ -413,6 +417,19 @@ export interface MediaConnect {
413
417
  options: __HttpHandlerOptions,
414
418
  cb: (err: any, data?: DescribeFlowSourceMetadataCommandOutput) => void
415
419
  ): void;
420
+ describeFlowSourceThumbnail(
421
+ args: DescribeFlowSourceThumbnailCommandInput,
422
+ options?: __HttpHandlerOptions
423
+ ): Promise<DescribeFlowSourceThumbnailCommandOutput>;
424
+ describeFlowSourceThumbnail(
425
+ args: DescribeFlowSourceThumbnailCommandInput,
426
+ cb: (err: any, data?: DescribeFlowSourceThumbnailCommandOutput) => void
427
+ ): void;
428
+ describeFlowSourceThumbnail(
429
+ args: DescribeFlowSourceThumbnailCommandInput,
430
+ options: __HttpHandlerOptions,
431
+ cb: (err: any, data?: DescribeFlowSourceThumbnailCommandOutput) => void
432
+ ): void;
416
433
  describeGateway(
417
434
  args: DescribeGatewayCommandInput,
418
435
  options?: __HttpHandlerOptions
@@ -109,6 +109,10 @@ import {
109
109
  DescribeFlowSourceMetadataCommandInput,
110
110
  DescribeFlowSourceMetadataCommandOutput,
111
111
  } from "./commands/DescribeFlowSourceMetadataCommand";
112
+ import {
113
+ DescribeFlowSourceThumbnailCommandInput,
114
+ DescribeFlowSourceThumbnailCommandOutput,
115
+ } from "./commands/DescribeFlowSourceThumbnailCommand";
112
116
  import {
113
117
  DescribeGatewayCommandInput,
114
118
  DescribeGatewayCommandOutput,
@@ -273,6 +277,7 @@ export type ServiceInputTypes =
273
277
  | DescribeBridgeCommandInput
274
278
  | DescribeFlowCommandInput
275
279
  | DescribeFlowSourceMetadataCommandInput
280
+ | DescribeFlowSourceThumbnailCommandInput
276
281
  | DescribeGatewayCommandInput
277
282
  | DescribeGatewayInstanceCommandInput
278
283
  | DescribeOfferingCommandInput
@@ -325,6 +330,7 @@ export type ServiceOutputTypes =
325
330
  | DescribeBridgeCommandOutput
326
331
  | DescribeFlowCommandOutput
327
332
  | DescribeFlowSourceMetadataCommandOutput
333
+ | DescribeFlowSourceThumbnailCommandOutput
328
334
  | DescribeGatewayCommandOutput
329
335
  | DescribeGatewayInstanceCommandOutput
330
336
  | DescribeOfferingCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MediaConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MediaConnectClient";
8
+ import {
9
+ DescribeFlowSourceThumbnailRequest,
10
+ DescribeFlowSourceThumbnailResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeFlowSourceThumbnailCommandInput
15
+ extends DescribeFlowSourceThumbnailRequest {}
16
+ export interface DescribeFlowSourceThumbnailCommandOutput
17
+ extends DescribeFlowSourceThumbnailResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeFlowSourceThumbnailCommand_base: {
20
+ new (
21
+ input: DescribeFlowSourceThumbnailCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeFlowSourceThumbnailCommandInput,
24
+ DescribeFlowSourceThumbnailCommandOutput,
25
+ MediaConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DescribeFlowSourceThumbnailCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeFlowSourceThumbnailCommandInput,
33
+ DescribeFlowSourceThumbnailCommandOutput,
34
+ MediaConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeFlowSourceThumbnailCommand extends DescribeFlowSourceThumbnailCommand_base {}
@@ -14,6 +14,7 @@ export * from "./DeregisterGatewayInstanceCommand";
14
14
  export * from "./DescribeBridgeCommand";
15
15
  export * from "./DescribeFlowCommand";
16
16
  export * from "./DescribeFlowSourceMetadataCommand";
17
+ export * from "./DescribeFlowSourceThumbnailCommand";
17
18
  export * from "./DescribeGatewayCommand";
18
19
  export * from "./DescribeGatewayInstanceCommand";
19
20
  export * from "./DescribeOfferingCommand";
@@ -775,6 +775,15 @@ export declare class CreateFlow420Exception extends __BaseException {
775
775
  opts: __ExceptionOptionType<CreateFlow420Exception, __BaseException>
776
776
  );
777
777
  }
778
+ export declare const ThumbnailState: {
779
+ readonly DISABLED: "DISABLED";
780
+ readonly ENABLED: "ENABLED";
781
+ };
782
+ export type ThumbnailState =
783
+ (typeof ThumbnailState)[keyof typeof ThumbnailState];
784
+ export interface MonitoringConfig {
785
+ ThumbnailState?: ThumbnailState;
786
+ }
778
787
  export interface CreateFlowRequest {
779
788
  AvailabilityZone?: string;
780
789
  Entitlements?: GrantEntitlementRequest[];
@@ -786,6 +795,7 @@ export interface CreateFlowRequest {
786
795
  Sources?: SetSourceRequest[];
787
796
  VpcInterfaces?: VpcInterfaceRequest[];
788
797
  Maintenance?: AddMaintenance;
798
+ SourceMonitoringConfig?: MonitoringConfig;
789
799
  }
790
800
  export interface Flow {
791
801
  AvailabilityZone: string | undefined;
@@ -802,6 +812,7 @@ export interface Flow {
802
812
  Status: Status | undefined;
803
813
  VpcInterfaces?: VpcInterface[];
804
814
  Maintenance?: Maintenance;
815
+ SourceMonitoringConfig?: MonitoringConfig;
805
816
  }
806
817
  export interface CreateFlowResponse {
807
818
  Flow?: Flow;
@@ -885,6 +896,19 @@ export interface DescribeFlowSourceMetadataResponse {
885
896
  Timestamp?: Date;
886
897
  TransportMediaInfo?: TransportMediaInfo;
887
898
  }
899
+ export interface DescribeFlowSourceThumbnailRequest {
900
+ FlowArn: string | undefined;
901
+ }
902
+ export interface ThumbnailDetails {
903
+ FlowArn: string | undefined;
904
+ Thumbnail?: string;
905
+ ThumbnailMessages: MessageDetail[] | undefined;
906
+ Timecode?: string;
907
+ Timestamp?: Date;
908
+ }
909
+ export interface DescribeFlowSourceThumbnailResponse {
910
+ ThumbnailDetails?: ThumbnailDetails;
911
+ }
888
912
  export interface DescribeGatewayRequest {
889
913
  GatewayArn: string | undefined;
890
914
  }
@@ -1170,6 +1194,7 @@ export interface UpdateFlowRequest {
1170
1194
  FlowArn: string | undefined;
1171
1195
  SourceFailoverConfig?: UpdateFailoverConfig;
1172
1196
  Maintenance?: UpdateMaintenance;
1197
+ SourceMonitoringConfig?: MonitoringConfig;
1173
1198
  }
1174
1199
  export interface UpdateFlowResponse {
1175
1200
  Flow?: Flow;
@@ -67,6 +67,10 @@ import {
67
67
  DescribeFlowSourceMetadataCommandInput,
68
68
  DescribeFlowSourceMetadataCommandOutput,
69
69
  } from "../commands/DescribeFlowSourceMetadataCommand";
70
+ import {
71
+ DescribeFlowSourceThumbnailCommandInput,
72
+ DescribeFlowSourceThumbnailCommandOutput,
73
+ } from "../commands/DescribeFlowSourceThumbnailCommand";
70
74
  import {
71
75
  DescribeGatewayCommandInput,
72
76
  DescribeGatewayCommandOutput,
@@ -271,6 +275,10 @@ export declare const se_DescribeFlowSourceMetadataCommand: (
271
275
  input: DescribeFlowSourceMetadataCommandInput,
272
276
  context: __SerdeContext
273
277
  ) => Promise<__HttpRequest>;
278
+ export declare const se_DescribeFlowSourceThumbnailCommand: (
279
+ input: DescribeFlowSourceThumbnailCommandInput,
280
+ context: __SerdeContext
281
+ ) => Promise<__HttpRequest>;
274
282
  export declare const se_DescribeGatewayCommand: (
275
283
  input: DescribeGatewayCommandInput,
276
284
  context: __SerdeContext
@@ -475,6 +483,10 @@ export declare const de_DescribeFlowSourceMetadataCommand: (
475
483
  output: __HttpResponse,
476
484
  context: __SerdeContext
477
485
  ) => Promise<DescribeFlowSourceMetadataCommandOutput>;
486
+ export declare const de_DescribeFlowSourceThumbnailCommand: (
487
+ output: __HttpResponse,
488
+ context: __SerdeContext
489
+ ) => Promise<DescribeFlowSourceThumbnailCommandOutput>;
478
490
  export declare const de_DescribeGatewayCommand: (
479
491
  output: __HttpResponse,
480
492
  context: __SerdeContext
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.637.0",
4
+ "version": "3.645.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,17 +20,17 @@
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.637.0",
24
- "@aws-sdk/client-sts": "3.637.0",
23
+ "@aws-sdk/client-sso-oidc": "3.645.0",
24
+ "@aws-sdk/client-sts": "3.645.0",
25
25
  "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.637.0",
26
+ "@aws-sdk/credential-provider-node": "3.645.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.637.0",
30
+ "@aws-sdk/middleware-user-agent": "3.645.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.637.0",
33
+ "@aws-sdk/util-endpoints": "3.645.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",