@aws-sdk/client-mediaconnect 3.758.0 → 3.771.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +26 -1
  2. package/dist-cjs/index.js +96 -68
  3. package/dist-es/models/models_0.js +26 -13
  4. package/dist-es/protocols/Aws_restJson1.js +54 -0
  5. package/dist-es/waiters/waitForFlowActive.js +9 -0
  6. package/dist-types/MediaConnect.d.ts +26 -1
  7. package/dist-types/MediaConnectClient.d.ts +26 -1
  8. package/dist-types/commands/AddBridgeOutputsCommand.d.ts +17 -10
  9. package/dist-types/commands/AddBridgeSourcesCommand.d.ts +17 -10
  10. package/dist-types/commands/AddFlowMediaStreamsCommand.d.ts +13 -7
  11. package/dist-types/commands/AddFlowOutputsCommand.d.ts +24 -13
  12. package/dist-types/commands/AddFlowSourcesCommand.d.ts +18 -10
  13. package/dist-types/commands/AddFlowVpcInterfacesCommand.d.ts +15 -9
  14. package/dist-types/commands/CreateBridgeCommand.d.ts +19 -12
  15. package/dist-types/commands/CreateFlowCommand.d.ts +55 -17
  16. package/dist-types/commands/CreateGatewayCommand.d.ts +17 -10
  17. package/dist-types/commands/DeleteBridgeCommand.d.ts +15 -8
  18. package/dist-types/commands/DeleteFlowCommand.d.ts +13 -7
  19. package/dist-types/commands/DeleteGatewayCommand.d.ts +15 -8
  20. package/dist-types/commands/DeregisterGatewayInstanceCommand.d.ts +15 -8
  21. package/dist-types/commands/DescribeBridgeCommand.d.ts +17 -10
  22. package/dist-types/commands/DescribeFlowCommand.d.ts +40 -14
  23. package/dist-types/commands/DescribeFlowSourceMetadataCommand.d.ts +15 -7
  24. package/dist-types/commands/DescribeFlowSourceThumbnailCommand.d.ts +15 -7
  25. package/dist-types/commands/DescribeGatewayCommand.d.ts +17 -9
  26. package/dist-types/commands/DescribeGatewayInstanceCommand.d.ts +17 -8
  27. package/dist-types/commands/DescribeOfferingCommand.d.ts +11 -6
  28. package/dist-types/commands/DescribeReservationCommand.d.ts +11 -6
  29. package/dist-types/commands/GrantFlowEntitlementsCommand.d.ts +17 -10
  30. package/dist-types/commands/ListBridgesCommand.d.ts +12 -6
  31. package/dist-types/commands/ListEntitlementsCommand.d.ts +9 -5
  32. package/dist-types/commands/ListFlowsCommand.d.ts +9 -5
  33. package/dist-types/commands/ListGatewayInstancesCommand.d.ts +11 -6
  34. package/dist-types/commands/ListGatewaysCommand.d.ts +11 -6
  35. package/dist-types/commands/ListOfferingsCommand.d.ts +9 -5
  36. package/dist-types/commands/ListReservationsCommand.d.ts +9 -5
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -5
  38. package/dist-types/commands/PurchaseOfferingCommand.d.ts +13 -7
  39. package/dist-types/commands/RemoveBridgeOutputCommand.d.ts +15 -8
  40. package/dist-types/commands/RemoveBridgeSourceCommand.d.ts +15 -8
  41. package/dist-types/commands/RemoveFlowMediaStreamCommand.d.ts +13 -7
  42. package/dist-types/commands/RemoveFlowOutputCommand.d.ts +13 -7
  43. package/dist-types/commands/RemoveFlowSourceCommand.d.ts +14 -7
  44. package/dist-types/commands/RemoveFlowVpcInterfaceCommand.d.ts +14 -8
  45. package/dist-types/commands/RevokeFlowEntitlementCommand.d.ts +13 -7
  46. package/dist-types/commands/StartFlowCommand.d.ts +13 -7
  47. package/dist-types/commands/StopFlowCommand.d.ts +13 -7
  48. package/dist-types/commands/TagResourceCommand.d.ts +11 -5
  49. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  50. package/dist-types/commands/UpdateBridgeCommand.d.ts +17 -10
  51. package/dist-types/commands/UpdateBridgeOutputCommand.d.ts +17 -10
  52. package/dist-types/commands/UpdateBridgeSourceCommand.d.ts +17 -10
  53. package/dist-types/commands/UpdateBridgeStateCommand.d.ts +15 -8
  54. package/dist-types/commands/UpdateFlowCommand.d.ts +48 -13
  55. package/dist-types/commands/UpdateFlowEntitlementCommand.d.ts +15 -9
  56. package/dist-types/commands/UpdateFlowMediaStreamCommand.d.ts +13 -7
  57. package/dist-types/commands/UpdateFlowOutputCommand.d.ts +22 -12
  58. package/dist-types/commands/UpdateFlowSourceCommand.d.ts +18 -10
  59. package/dist-types/commands/UpdateGatewayInstanceCommand.d.ts +16 -8
  60. package/dist-types/index.d.ts +26 -1
  61. package/dist-types/models/models_0.d.ts +1955 -1327
  62. package/dist-types/ts3.4/models/models_0.d.ts +221 -185
  63. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,32 @@
6
6
 
7
7
  AWS SDK for JavaScript MediaConnect Client for Node.js, Browser and React Native.
8
8
 
9
- API for AWS Elemental MediaConnect
9
+ <p>Welcome to the Elemental MediaConnect API reference. </p>
10
+ <p>MediaConnect is a service that lets you ingest live video content into the cloud
11
+ and distribute it to destinations all over the world, both inside and outside the Amazon Web Services cloud. This API reference provides descriptions, syntax, and usage examples
12
+ for each of the actions and data types that are supported by MediaConnect. </p>
13
+ <p>Use the following links to get started with the MediaConnect API:</p>
14
+ <ul>
15
+ <li>
16
+ <p>
17
+ <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/API_Operations.html">Actions</a>: An
18
+ alphabetical list of all MediaConnect API operations.</p>
19
+ </li>
20
+ <li>
21
+ <p>
22
+ <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/API_Types.html">Data types</a>: An
23
+ alphabetical list of all MediaConnect data types.</p>
24
+ </li>
25
+ <li>
26
+ <p>
27
+ <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/CommonParameters.html">Common
28
+ parameters</a>: Parameters that all operations can use.</p>
29
+ </li>
30
+ <li>
31
+ <p>
32
+ <a href="https://docs.aws.amazon.com/mediaconnect/latest/api/CommonErrors.html">Common errors</a>: Client and server errors that all operations can return.</p>
33
+ </li>
34
+ </ul>
10
35
 
11
36
  ## Installing
12
37
 
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AddBridgeOutputsCommand: () => AddBridgeOutputsCommand,
25
25
  AddBridgeSourcesCommand: () => AddBridgeSourcesCommand,
26
26
  AddFlowMediaStreamsCommand: () => AddFlowMediaStreamsCommand,
@@ -60,6 +60,7 @@ __export(src_exports, {
60
60
  EncodingName: () => EncodingName,
61
61
  EntitlementStatus: () => EntitlementStatus,
62
62
  FailoverMode: () => FailoverMode,
63
+ FlowSize: () => FlowSize,
63
64
  ForbiddenException: () => ForbiddenException,
64
65
  GatewayState: () => GatewayState,
65
66
  GrantFlowEntitlements420Exception: () => GrantFlowEntitlements420Exception,
@@ -80,6 +81,7 @@ __export(src_exports, {
80
81
  MediaConnectClient: () => MediaConnectClient,
81
82
  MediaConnectServiceException: () => MediaConnectServiceException,
82
83
  MediaStreamType: () => MediaStreamType,
84
+ NdiState: () => NdiState,
83
85
  NetworkInterfaceType: () => NetworkInterfaceType,
84
86
  NotFoundException: () => NotFoundException,
85
87
  OutputStatus: () => OutputStatus,
@@ -133,7 +135,7 @@ __export(src_exports, {
133
135
  waitUntilFlowDeleted: () => waitUntilFlowDeleted,
134
136
  waitUntilFlowStandby: () => waitUntilFlowStandby
135
137
  });
136
- module.exports = __toCommonJS(src_exports);
138
+ module.exports = __toCommonJS(index_exports);
137
139
 
138
140
  // src/MediaConnectClient.ts
139
141
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -260,9 +262,9 @@ var MediaConnectClient = class extends import_smithy_client.Client {
260
262
  this.middlewareStack.use(
261
263
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
262
264
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMediaConnectHttpAuthSchemeParametersProvider,
263
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
265
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
264
266
  "aws.auth#sigv4": config.credentials
265
- })
267
+ }), "identityProviderConfigProvider")
266
268
  })
267
269
  );
268
270
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -309,6 +311,7 @@ var MediaConnectServiceException = class _MediaConnectServiceException extends i
309
311
  var Protocol = {
310
312
  cdi: "cdi",
311
313
  fujitsu_qos: "fujitsu-qos",
314
+ ndi_speed_hq: "ndi-speed-hq",
312
315
  rist: "rist",
313
316
  rtp: "rtp",
314
317
  rtp_fec: "rtp-fec",
@@ -463,10 +466,6 @@ var BadRequestException = class _BadRequestException extends MediaConnectService
463
466
  }
464
467
  name = "BadRequestException";
465
468
  $fault = "client";
466
- /**
467
- * The error message returned by AWS Elemental MediaConnect.
468
- * @public
469
- */
470
469
  Message;
471
470
  /**
472
471
  * @internal
@@ -487,10 +486,7 @@ var ConflictException = class _ConflictException extends MediaConnectServiceExce
487
486
  }
488
487
  name = "ConflictException";
489
488
  $fault = "client";
490
- /**
491
- * The error message returned by AWS Elemental MediaConnect.
492
- * @public
493
- */
489
+ $retryable = {};
494
490
  Message;
495
491
  /**
496
492
  * @internal
@@ -511,10 +507,6 @@ var ForbiddenException = class _ForbiddenException extends MediaConnectServiceEx
511
507
  }
512
508
  name = "ForbiddenException";
513
509
  $fault = "client";
514
- /**
515
- * The error message returned by AWS Elemental MediaConnect.
516
- * @public
517
- */
518
510
  Message;
519
511
  /**
520
512
  * @internal
@@ -535,10 +527,7 @@ var InternalServerErrorException = class _InternalServerErrorException extends M
535
527
  }
536
528
  name = "InternalServerErrorException";
537
529
  $fault = "server";
538
- /**
539
- * The error message returned by AWS Elemental MediaConnect.
540
- * @public
541
- */
530
+ $retryable = {};
542
531
  Message;
543
532
  /**
544
533
  * @internal
@@ -559,10 +548,6 @@ var NotFoundException = class _NotFoundException extends MediaConnectServiceExce
559
548
  }
560
549
  name = "NotFoundException";
561
550
  $fault = "client";
562
- /**
563
- * The error message returned by AWS Elemental MediaConnect.
564
- * @public
565
- */
566
551
  Message;
567
552
  /**
568
553
  * @internal
@@ -583,10 +568,7 @@ var ServiceUnavailableException = class _ServiceUnavailableException extends Med
583
568
  }
584
569
  name = "ServiceUnavailableException";
585
570
  $fault = "server";
586
- /**
587
- * The error message returned by AWS Elemental MediaConnect.
588
- * @public
589
- */
571
+ $retryable = {};
590
572
  Message;
591
573
  /**
592
574
  * @internal
@@ -607,10 +589,7 @@ var TooManyRequestsException = class _TooManyRequestsException extends MediaConn
607
589
  }
608
590
  name = "TooManyRequestsException";
609
591
  $fault = "client";
610
- /**
611
- * The error message returned by AWS Elemental MediaConnect.
612
- * @public
613
- */
592
+ $retryable = {};
614
593
  Message;
615
594
  /**
616
595
  * @internal
@@ -631,10 +610,6 @@ var AddFlowOutputs420Exception = class _AddFlowOutputs420Exception extends Media
631
610
  }
632
611
  name = "AddFlowOutputs420Exception";
633
612
  $fault = "client";
634
- /**
635
- * The error message returned by AWS Elemental MediaConnect.
636
- * @public
637
- */
638
613
  Message;
639
614
  /**
640
615
  * @internal
@@ -657,24 +632,12 @@ var BridgePlacement = {
657
632
  AVAILABLE: "AVAILABLE",
658
633
  LOCKED: "LOCKED"
659
634
  };
660
- var ConnectionStatus = {
661
- CONNECTED: "CONNECTED",
662
- DISCONNECTED: "DISCONNECTED"
663
- };
664
- var ContentQualityAnalysisState = {
665
- DISABLED: "DISABLED",
666
- ENABLED: "ENABLED"
667
- };
668
635
  var CreateBridge420Exception = class _CreateBridge420Exception extends MediaConnectServiceException {
669
636
  static {
670
637
  __name(this, "CreateBridge420Exception");
671
638
  }
672
639
  name = "CreateBridge420Exception";
673
640
  $fault = "client";
674
- /**
675
- * The error message returned by AWS Elemental MediaConnect.
676
- * @public
677
- */
678
641
  Message;
679
642
  /**
680
643
  * @internal
@@ -689,16 +652,25 @@ var CreateBridge420Exception = class _CreateBridge420Exception extends MediaConn
689
652
  this.Message = opts.Message;
690
653
  }
691
654
  };
655
+ var DesiredState = {
656
+ ACTIVE: "ACTIVE",
657
+ DELETED: "DELETED",
658
+ STANDBY: "STANDBY"
659
+ };
660
+ var ConnectionStatus = {
661
+ CONNECTED: "CONNECTED",
662
+ DISCONNECTED: "DISCONNECTED"
663
+ };
664
+ var ContentQualityAnalysisState = {
665
+ DISABLED: "DISABLED",
666
+ ENABLED: "ENABLED"
667
+ };
692
668
  var CreateFlow420Exception = class _CreateFlow420Exception extends MediaConnectServiceException {
693
669
  static {
694
670
  __name(this, "CreateFlow420Exception");
695
671
  }
696
672
  name = "CreateFlow420Exception";
697
673
  $fault = "client";
698
- /**
699
- * The error message returned by AWS Elemental MediaConnect.
700
- * @public
701
- */
702
674
  Message;
703
675
  /**
704
676
  * @internal
@@ -713,6 +685,14 @@ var CreateFlow420Exception = class _CreateFlow420Exception extends MediaConnectS
713
685
  this.Message = opts.Message;
714
686
  }
715
687
  };
688
+ var FlowSize = {
689
+ LARGE: "LARGE",
690
+ MEDIUM: "MEDIUM"
691
+ };
692
+ var NdiState = {
693
+ DISABLED: "DISABLED",
694
+ ENABLED: "ENABLED"
695
+ };
716
696
  var ThumbnailState = {
717
697
  DISABLED: "DISABLED",
718
698
  ENABLED: "ENABLED"
@@ -723,10 +703,6 @@ var CreateGateway420Exception = class _CreateGateway420Exception extends MediaCo
723
703
  }
724
704
  name = "CreateGateway420Exception";
725
705
  $fault = "client";
726
- /**
727
- * The error message returned by AWS Elemental MediaConnect.
728
- * @public
729
- */
730
706
  Message;
731
707
  /**
732
708
  * @internal
@@ -741,21 +717,12 @@ var CreateGateway420Exception = class _CreateGateway420Exception extends MediaCo
741
717
  this.Message = opts.Message;
742
718
  }
743
719
  };
744
- var DesiredState = {
745
- ACTIVE: "ACTIVE",
746
- DELETED: "DELETED",
747
- STANDBY: "STANDBY"
748
- };
749
720
  var GrantFlowEntitlements420Exception = class _GrantFlowEntitlements420Exception extends MediaConnectServiceException {
750
721
  static {
751
722
  __name(this, "GrantFlowEntitlements420Exception");
752
723
  }
753
724
  name = "GrantFlowEntitlements420Exception";
754
725
  $fault = "client";
755
- /**
756
- * The error message returned by AWS Elemental MediaConnect.
757
- * @public
758
- */
759
726
  Message;
760
727
  /**
761
728
  * @internal
@@ -900,9 +867,11 @@ var se_CreateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
900
867
  (0, import_smithy_client.take)(input, {
901
868
  availabilityZone: [, , `AvailabilityZone`],
902
869
  entitlements: [, (_) => se___listOfGrantEntitlementRequest(_, context), `Entitlements`],
870
+ flowSize: [, , `FlowSize`],
903
871
  maintenance: [, (_) => se_AddMaintenance(_, context), `Maintenance`],
904
872
  mediaStreams: [, (_) => se___listOfAddMediaStreamRequest(_, context), `MediaStreams`],
905
873
  name: [, , `Name`],
874
+ ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
906
875
  outputs: [, (_) => se___listOfAddOutputRequest(_, context), `Outputs`],
907
876
  source: [, (_) => se_SetSourceRequest(_, context), `Source`],
908
877
  sourceFailoverConfig: [, (_) => se_FailoverConfig(_, context), `SourceFailoverConfig`],
@@ -1366,6 +1335,7 @@ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1366
1335
  body = JSON.stringify(
1367
1336
  (0, import_smithy_client.take)(input, {
1368
1337
  maintenance: [, (_) => se_UpdateMaintenance(_, context), `Maintenance`],
1338
+ ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
1369
1339
  sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
1370
1340
  sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`]
1371
1341
  })
@@ -1436,6 +1406,8 @@ var se_UpdateFlowOutputCommand = /* @__PURE__ */ __name(async (input, context) =
1436
1406
  `MediaStreamOutputConfigurations`
1437
1407
  ],
1438
1408
  minLatency: [, , `MinLatency`],
1409
+ ndiProgramName: [, , `NdiProgramName`],
1410
+ ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
1439
1411
  outputStatus: [, , `OutputStatus`],
1440
1412
  port: [, , `Port`],
1441
1413
  protocol: [, , `Protocol`],
@@ -2526,6 +2498,11 @@ var se___listOfMediaStreamSourceConfigurationRequest = /* @__PURE__ */ __name((i
2526
2498
  return se_MediaStreamSourceConfigurationRequest(entry, context);
2527
2499
  });
2528
2500
  }, "se___listOfMediaStreamSourceConfigurationRequest");
2501
+ var se___listOfNdiDiscoveryServerConfig = /* @__PURE__ */ __name((input, context) => {
2502
+ return input.filter((e) => e != null).map((entry) => {
2503
+ return se_NdiDiscoveryServerConfig(entry, context);
2504
+ });
2505
+ }, "se___listOfNdiDiscoveryServerConfig");
2529
2506
  var se___listOfSetSourceRequest = /* @__PURE__ */ __name((input, context) => {
2530
2507
  return input.filter((e) => e != null).map((entry) => {
2531
2508
  return se_SetSourceRequest(entry, context);
@@ -2621,6 +2598,8 @@ var se_AddOutputRequest = /* @__PURE__ */ __name((input, context) => {
2621
2598
  ],
2622
2599
  minLatency: [, , `MinLatency`],
2623
2600
  name: [, , `Name`],
2601
+ ndiProgramName: [, , `NdiProgramName`],
2602
+ ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
2624
2603
  outputStatus: [, , `OutputStatus`],
2625
2604
  port: [, , `Port`],
2626
2605
  protocol: [, , `Protocol`],
@@ -2758,6 +2737,20 @@ var se_MulticastSourceSettings = /* @__PURE__ */ __name((input, context) => {
2758
2737
  multicastSourceIp: [, , `MulticastSourceIp`]
2759
2738
  });
2760
2739
  }, "se_MulticastSourceSettings");
2740
+ var se_NdiConfig = /* @__PURE__ */ __name((input, context) => {
2741
+ return (0, import_smithy_client.take)(input, {
2742
+ machineName: [, , `MachineName`],
2743
+ ndiDiscoveryServers: [, (_) => se___listOfNdiDiscoveryServerConfig(_, context), `NdiDiscoveryServers`],
2744
+ ndiState: [, , `NdiState`]
2745
+ });
2746
+ }, "se_NdiConfig");
2747
+ var se_NdiDiscoveryServerConfig = /* @__PURE__ */ __name((input, context) => {
2748
+ return (0, import_smithy_client.take)(input, {
2749
+ discoveryServerAddress: [, , `DiscoveryServerAddress`],
2750
+ discoveryServerPort: [, , `DiscoveryServerPort`],
2751
+ vpcInterfaceAdapter: [, , `VpcInterfaceAdapter`]
2752
+ });
2753
+ }, "se_NdiDiscoveryServerConfig");
2761
2754
  var se_SetGatewayBridgeSourceRequest = /* @__PURE__ */ __name((input, context) => {
2762
2755
  return (0, import_smithy_client.take)(input, {
2763
2756
  bridgeArn: [, , `BridgeArn`],
@@ -2987,6 +2980,12 @@ var de___listOfMessageDetail = /* @__PURE__ */ __name((output, context) => {
2987
2980
  });
2988
2981
  return retVal;
2989
2982
  }, "de___listOfMessageDetail");
2983
+ var de___listOfNdiDiscoveryServerConfig = /* @__PURE__ */ __name((output, context) => {
2984
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2985
+ return de_NdiDiscoveryServerConfig(entry, context);
2986
+ });
2987
+ return retVal;
2988
+ }, "de___listOfNdiDiscoveryServerConfig");
2990
2989
  var de___listOfOffering = /* @__PURE__ */ __name((output, context) => {
2991
2990
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2992
2991
  return de_Offering(entry, context);
@@ -3166,9 +3165,11 @@ var de_Flow = /* @__PURE__ */ __name((output, context) => {
3166
3165
  EgressIp: [, import_smithy_client.expectString, `egressIp`],
3167
3166
  Entitlements: [, (_) => de___listOfEntitlement(_, context), `entitlements`],
3168
3167
  FlowArn: [, import_smithy_client.expectString, `flowArn`],
3168
+ FlowSize: [, import_smithy_client.expectString, `flowSize`],
3169
3169
  Maintenance: [, (_) => de_Maintenance(_, context), `maintenance`],
3170
3170
  MediaStreams: [, (_) => de___listOfMediaStream(_, context), `mediaStreams`],
3171
3171
  Name: [, import_smithy_client.expectString, `name`],
3172
+ NdiConfig: [, (_) => de_NdiConfig(_, context), `ndiConfig`],
3172
3173
  Outputs: [, (_) => de___listOfOutput(_, context), `outputs`],
3173
3174
  Source: [, (_) => de_Source(_, context), `source`],
3174
3175
  SourceFailoverConfig: [, (_) => de_FailoverConfig(_, context), `sourceFailoverConfig`],
@@ -3366,6 +3367,20 @@ var de_MulticastSourceSettings = /* @__PURE__ */ __name((output, context) => {
3366
3367
  MulticastSourceIp: [, import_smithy_client.expectString, `multicastSourceIp`]
3367
3368
  });
3368
3369
  }, "de_MulticastSourceSettings");
3370
+ var de_NdiConfig = /* @__PURE__ */ __name((output, context) => {
3371
+ return (0, import_smithy_client.take)(output, {
3372
+ MachineName: [, import_smithy_client.expectString, `machineName`],
3373
+ NdiDiscoveryServers: [, (_) => de___listOfNdiDiscoveryServerConfig(_, context), `ndiDiscoveryServers`],
3374
+ NdiState: [, import_smithy_client.expectString, `ndiState`]
3375
+ });
3376
+ }, "de_NdiConfig");
3377
+ var de_NdiDiscoveryServerConfig = /* @__PURE__ */ __name((output, context) => {
3378
+ return (0, import_smithy_client.take)(output, {
3379
+ DiscoveryServerAddress: [, import_smithy_client.expectString, `discoveryServerAddress`],
3380
+ DiscoveryServerPort: [, import_smithy_client.expectInt32, `discoveryServerPort`],
3381
+ VpcInterfaceAdapter: [, import_smithy_client.expectString, `vpcInterfaceAdapter`]
3382
+ });
3383
+ }, "de_NdiDiscoveryServerConfig");
3369
3384
  var de_Offering = /* @__PURE__ */ __name((output, context) => {
3370
3385
  return (0, import_smithy_client.take)(output, {
3371
3386
  CurrencyCode: [, import_smithy_client.expectString, `currencyCode`],
@@ -3475,6 +3490,8 @@ var de_Transport = /* @__PURE__ */ __name((output, context) => {
3475
3490
  MaxLatency: [, import_smithy_client.expectInt32, `maxLatency`],
3476
3491
  MaxSyncBuffer: [, import_smithy_client.expectInt32, `maxSyncBuffer`],
3477
3492
  MinLatency: [, import_smithy_client.expectInt32, `minLatency`],
3493
+ NdiProgramName: [, import_smithy_client.expectString, `ndiProgramName`],
3494
+ NdiSpeedHqQuality: [, import_smithy_client.expectInt32, `ndiSpeedHqQuality`],
3478
3495
  Protocol: [, import_smithy_client.expectString, `protocol`],
3479
3496
  RemoteId: [, import_smithy_client.expectString, `remoteId`],
3480
3497
  SenderControlPort: [, import_smithy_client.expectInt32, `senderControlPort`],
@@ -4450,6 +4467,15 @@ var checkState = /* @__PURE__ */ __name(async (client, input) => {
4450
4467
  }
4451
4468
  } catch (e) {
4452
4469
  }
4470
+ try {
4471
+ const returnComparator = /* @__PURE__ */ __name(() => {
4472
+ return result.Flow.Status;
4473
+ }, "returnComparator");
4474
+ if (returnComparator() === "STANDBY") {
4475
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
4476
+ }
4477
+ } catch (e) {
4478
+ }
4453
4479
  try {
4454
4480
  const returnComparator = /* @__PURE__ */ __name(() => {
4455
4481
  return result.Flow.Status;
@@ -4690,13 +4716,15 @@ var waitUntilFlowStandby = /* @__PURE__ */ __name(async (params, input) => {
4690
4716
  AddFlowOutputs420Exception,
4691
4717
  FailoverMode,
4692
4718
  BridgePlacement,
4719
+ CreateBridge420Exception,
4720
+ DesiredState,
4693
4721
  ConnectionStatus,
4694
4722
  ContentQualityAnalysisState,
4695
- CreateBridge420Exception,
4696
4723
  CreateFlow420Exception,
4724
+ FlowSize,
4725
+ NdiState,
4697
4726
  ThumbnailState,
4698
4727
  CreateGateway420Exception,
4699
- DesiredState,
4700
4728
  GrantFlowEntitlements420Exception
4701
4729
  });
4702
4730
 
@@ -2,6 +2,7 @@ import { MediaConnectServiceException as __BaseException } from "./MediaConnectS
2
2
  export const Protocol = {
3
3
  cdi: "cdi",
4
4
  fujitsu_qos: "fujitsu-qos",
5
+ ndi_speed_hq: "ndi-speed-hq",
5
6
  rist: "rist",
6
7
  rtp: "rtp",
7
8
  rtp_fec: "rtp-fec",
@@ -167,6 +168,7 @@ export class BadRequestException extends __BaseException {
167
168
  export class ConflictException extends __BaseException {
168
169
  name = "ConflictException";
169
170
  $fault = "client";
171
+ $retryable = {};
170
172
  Message;
171
173
  constructor(opts) {
172
174
  super({
@@ -195,6 +197,7 @@ export class ForbiddenException extends __BaseException {
195
197
  export class InternalServerErrorException extends __BaseException {
196
198
  name = "InternalServerErrorException";
197
199
  $fault = "server";
200
+ $retryable = {};
198
201
  Message;
199
202
  constructor(opts) {
200
203
  super({
@@ -223,6 +226,7 @@ export class NotFoundException extends __BaseException {
223
226
  export class ServiceUnavailableException extends __BaseException {
224
227
  name = "ServiceUnavailableException";
225
228
  $fault = "server";
229
+ $retryable = {};
226
230
  Message;
227
231
  constructor(opts) {
228
232
  super({
@@ -237,6 +241,7 @@ export class ServiceUnavailableException extends __BaseException {
237
241
  export class TooManyRequestsException extends __BaseException {
238
242
  name = "TooManyRequestsException";
239
243
  $fault = "client";
244
+ $retryable = {};
240
245
  Message;
241
246
  constructor(opts) {
242
247
  super({
@@ -270,14 +275,6 @@ export const BridgePlacement = {
270
275
  AVAILABLE: "AVAILABLE",
271
276
  LOCKED: "LOCKED",
272
277
  };
273
- export const ConnectionStatus = {
274
- CONNECTED: "CONNECTED",
275
- DISCONNECTED: "DISCONNECTED",
276
- };
277
- export const ContentQualityAnalysisState = {
278
- DISABLED: "DISABLED",
279
- ENABLED: "ENABLED",
280
- };
281
278
  export class CreateBridge420Exception extends __BaseException {
282
279
  name = "CreateBridge420Exception";
283
280
  $fault = "client";
@@ -292,6 +289,19 @@ export class CreateBridge420Exception extends __BaseException {
292
289
  this.Message = opts.Message;
293
290
  }
294
291
  }
292
+ export const DesiredState = {
293
+ ACTIVE: "ACTIVE",
294
+ DELETED: "DELETED",
295
+ STANDBY: "STANDBY",
296
+ };
297
+ export const ConnectionStatus = {
298
+ CONNECTED: "CONNECTED",
299
+ DISCONNECTED: "DISCONNECTED",
300
+ };
301
+ export const ContentQualityAnalysisState = {
302
+ DISABLED: "DISABLED",
303
+ ENABLED: "ENABLED",
304
+ };
295
305
  export class CreateFlow420Exception extends __BaseException {
296
306
  name = "CreateFlow420Exception";
297
307
  $fault = "client";
@@ -306,6 +316,14 @@ export class CreateFlow420Exception extends __BaseException {
306
316
  this.Message = opts.Message;
307
317
  }
308
318
  }
319
+ export const FlowSize = {
320
+ LARGE: "LARGE",
321
+ MEDIUM: "MEDIUM",
322
+ };
323
+ export const NdiState = {
324
+ DISABLED: "DISABLED",
325
+ ENABLED: "ENABLED",
326
+ };
309
327
  export const ThumbnailState = {
310
328
  DISABLED: "DISABLED",
311
329
  ENABLED: "ENABLED",
@@ -324,11 +342,6 @@ export class CreateGateway420Exception extends __BaseException {
324
342
  this.Message = opts.Message;
325
343
  }
326
344
  }
327
- export const DesiredState = {
328
- ACTIVE: "ACTIVE",
329
- DELETED: "DELETED",
330
- STANDBY: "STANDBY",
331
- };
332
345
  export class GrantFlowEntitlements420Exception extends __BaseException {
333
346
  name = "GrantFlowEntitlements420Exception";
334
347
  $fault = "client";
@@ -116,9 +116,11 @@ export const se_CreateFlowCommand = async (input, context) => {
116
116
  body = JSON.stringify(take(input, {
117
117
  availabilityZone: [, , `AvailabilityZone`],
118
118
  entitlements: [, (_) => se___listOfGrantEntitlementRequest(_, context), `Entitlements`],
119
+ flowSize: [, , `FlowSize`],
119
120
  maintenance: [, (_) => se_AddMaintenance(_, context), `Maintenance`],
120
121
  mediaStreams: [, (_) => se___listOfAddMediaStreamRequest(_, context), `MediaStreams`],
121
122
  name: [, , `Name`],
123
+ ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
122
124
  outputs: [, (_) => se___listOfAddOutputRequest(_, context), `Outputs`],
123
125
  source: [, (_) => se_SetSourceRequest(_, context), `Source`],
124
126
  sourceFailoverConfig: [, (_) => se_FailoverConfig(_, context), `SourceFailoverConfig`],
@@ -564,6 +566,7 @@ export const se_UpdateFlowCommand = async (input, context) => {
564
566
  let body;
565
567
  body = JSON.stringify(take(input, {
566
568
  maintenance: [, (_) => se_UpdateMaintenance(_, context), `Maintenance`],
569
+ ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
567
570
  sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
568
571
  sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`],
569
572
  }));
@@ -628,6 +631,8 @@ export const se_UpdateFlowOutputCommand = async (input, context) => {
628
631
  `MediaStreamOutputConfigurations`,
629
632
  ],
630
633
  minLatency: [, , `MinLatency`],
634
+ ndiProgramName: [, , `NdiProgramName`],
635
+ ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
631
636
  outputStatus: [, , `OutputStatus`],
632
637
  port: [, , `Port`],
633
638
  protocol: [, , `Protocol`],
@@ -1735,6 +1740,13 @@ const se___listOfMediaStreamSourceConfigurationRequest = (input, context) => {
1735
1740
  return se_MediaStreamSourceConfigurationRequest(entry, context);
1736
1741
  });
1737
1742
  };
1743
+ const se___listOfNdiDiscoveryServerConfig = (input, context) => {
1744
+ return input
1745
+ .filter((e) => e != null)
1746
+ .map((entry) => {
1747
+ return se_NdiDiscoveryServerConfig(entry, context);
1748
+ });
1749
+ };
1738
1750
  const se___listOfSetSourceRequest = (input, context) => {
1739
1751
  return input
1740
1752
  .filter((e) => e != null)
@@ -1836,6 +1848,8 @@ const se_AddOutputRequest = (input, context) => {
1836
1848
  ],
1837
1849
  minLatency: [, , `MinLatency`],
1838
1850
  name: [, , `Name`],
1851
+ ndiProgramName: [, , `NdiProgramName`],
1852
+ ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
1839
1853
  outputStatus: [, , `OutputStatus`],
1840
1854
  port: [, , `Port`],
1841
1855
  protocol: [, , `Protocol`],
@@ -1973,6 +1987,20 @@ const se_MulticastSourceSettings = (input, context) => {
1973
1987
  multicastSourceIp: [, , `MulticastSourceIp`],
1974
1988
  });
1975
1989
  };
1990
+ const se_NdiConfig = (input, context) => {
1991
+ return take(input, {
1992
+ machineName: [, , `MachineName`],
1993
+ ndiDiscoveryServers: [, (_) => se___listOfNdiDiscoveryServerConfig(_, context), `NdiDiscoveryServers`],
1994
+ ndiState: [, , `NdiState`],
1995
+ });
1996
+ };
1997
+ const se_NdiDiscoveryServerConfig = (input, context) => {
1998
+ return take(input, {
1999
+ discoveryServerAddress: [, , `DiscoveryServerAddress`],
2000
+ discoveryServerPort: [, , `DiscoveryServerPort`],
2001
+ vpcInterfaceAdapter: [, , `VpcInterfaceAdapter`],
2002
+ });
2003
+ };
1976
2004
  const se_SetGatewayBridgeSourceRequest = (input, context) => {
1977
2005
  return take(input, {
1978
2006
  bridgeArn: [, , `BridgeArn`],
@@ -2234,6 +2262,14 @@ const de___listOfMessageDetail = (output, context) => {
2234
2262
  });
2235
2263
  return retVal;
2236
2264
  };
2265
+ const de___listOfNdiDiscoveryServerConfig = (output, context) => {
2266
+ const retVal = (output || [])
2267
+ .filter((e) => e != null)
2268
+ .map((entry) => {
2269
+ return de_NdiDiscoveryServerConfig(entry, context);
2270
+ });
2271
+ return retVal;
2272
+ };
2237
2273
  const de___listOfOffering = (output, context) => {
2238
2274
  const retVal = (output || [])
2239
2275
  .filter((e) => e != null)
@@ -2429,9 +2465,11 @@ const de_Flow = (output, context) => {
2429
2465
  EgressIp: [, __expectString, `egressIp`],
2430
2466
  Entitlements: [, (_) => de___listOfEntitlement(_, context), `entitlements`],
2431
2467
  FlowArn: [, __expectString, `flowArn`],
2468
+ FlowSize: [, __expectString, `flowSize`],
2432
2469
  Maintenance: [, (_) => de_Maintenance(_, context), `maintenance`],
2433
2470
  MediaStreams: [, (_) => de___listOfMediaStream(_, context), `mediaStreams`],
2434
2471
  Name: [, __expectString, `name`],
2472
+ NdiConfig: [, (_) => de_NdiConfig(_, context), `ndiConfig`],
2435
2473
  Outputs: [, (_) => de___listOfOutput(_, context), `outputs`],
2436
2474
  Source: [, (_) => de_Source(_, context), `source`],
2437
2475
  SourceFailoverConfig: [, (_) => de_FailoverConfig(_, context), `sourceFailoverConfig`],
@@ -2629,6 +2667,20 @@ const de_MulticastSourceSettings = (output, context) => {
2629
2667
  MulticastSourceIp: [, __expectString, `multicastSourceIp`],
2630
2668
  });
2631
2669
  };
2670
+ const de_NdiConfig = (output, context) => {
2671
+ return take(output, {
2672
+ MachineName: [, __expectString, `machineName`],
2673
+ NdiDiscoveryServers: [, (_) => de___listOfNdiDiscoveryServerConfig(_, context), `ndiDiscoveryServers`],
2674
+ NdiState: [, __expectString, `ndiState`],
2675
+ });
2676
+ };
2677
+ const de_NdiDiscoveryServerConfig = (output, context) => {
2678
+ return take(output, {
2679
+ DiscoveryServerAddress: [, __expectString, `discoveryServerAddress`],
2680
+ DiscoveryServerPort: [, __expectInt32, `discoveryServerPort`],
2681
+ VpcInterfaceAdapter: [, __expectString, `vpcInterfaceAdapter`],
2682
+ });
2683
+ };
2632
2684
  const de_Offering = (output, context) => {
2633
2685
  return take(output, {
2634
2686
  CurrencyCode: [, __expectString, `currencyCode`],
@@ -2738,6 +2790,8 @@ const de_Transport = (output, context) => {
2738
2790
  MaxLatency: [, __expectInt32, `maxLatency`],
2739
2791
  MaxSyncBuffer: [, __expectInt32, `maxSyncBuffer`],
2740
2792
  MinLatency: [, __expectInt32, `minLatency`],
2793
+ NdiProgramName: [, __expectString, `ndiProgramName`],
2794
+ NdiSpeedHqQuality: [, __expectInt32, `ndiSpeedHqQuality`],
2741
2795
  Protocol: [, __expectString, `protocol`],
2742
2796
  RemoteId: [, __expectString, `remoteId`],
2743
2797
  SenderControlPort: [, __expectInt32, `senderControlPort`],
@@ -32,6 +32,15 @@ const checkState = async (client, input) => {
32
32
  }
33
33
  }
34
34
  catch (e) { }
35
+ try {
36
+ const returnComparator = () => {
37
+ return result.Flow.Status;
38
+ };
39
+ if (returnComparator() === "STANDBY") {
40
+ return { state: WaiterState.FAILURE, reason };
41
+ }
42
+ }
43
+ catch (e) { }
35
44
  try {
36
45
  const returnComparator = () => {
37
46
  return result.Flow.Status;