@aws-sdk/client-transcribe-streaming 3.750.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +84 -138
  2. package/package.json +13 -13
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
  AudioStream: () => AudioStream,
25
25
  AudioStreamFilterSensitiveLog: () => AudioStreamFilterSensitiveLog,
26
26
  BadRequestException: () => BadRequestException,
@@ -80,7 +80,7 @@ __export(src_exports, {
80
80
  VocabularyFilterMethod: () => VocabularyFilterMethod,
81
81
  __Client: () => import_smithy_client.Client
82
82
  });
83
- module.exports = __toCommonJS(src_exports);
83
+ module.exports = __toCommonJS(index_exports);
84
84
 
85
85
  // src/TranscribeStreamingClient.ts
86
86
  var import_middleware_eventstream = require("@aws-sdk/middleware-eventstream");
@@ -213,9 +213,9 @@ var TranscribeStreamingClient = class extends import_smithy_client.Client {
213
213
  this.middlewareStack.use(
214
214
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
215
215
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTranscribeStreamingHttpAuthSchemeParametersProvider,
216
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
216
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
217
217
  "aws.auth#sigv4": config.credentials
218
- })
218
+ }), "identityProviderConfigProvider")
219
219
  })
220
220
  );
221
221
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -274,10 +274,8 @@ var ContentRedactionOutput = {
274
274
  var AudioStream;
275
275
  ((AudioStream2) => {
276
276
  AudioStream2.visit = /* @__PURE__ */ __name((value, visitor) => {
277
- if (value.AudioEvent !== void 0)
278
- return visitor.AudioEvent(value.AudioEvent);
279
- if (value.ConfigurationEvent !== void 0)
280
- return visitor.ConfigurationEvent(value.ConfigurationEvent);
277
+ if (value.AudioEvent !== void 0) return visitor.AudioEvent(value.AudioEvent);
278
+ if (value.ConfigurationEvent !== void 0) return visitor.ConfigurationEvent(value.ConfigurationEvent);
281
279
  return visitor._(value.$unknown[0], value.$unknown[1]);
282
280
  }, "visit");
283
281
  })(AudioStream || (AudioStream = {}));
@@ -401,18 +399,13 @@ var Sentiment = {
401
399
  var CallAnalyticsTranscriptResultStream;
402
400
  ((CallAnalyticsTranscriptResultStream3) => {
403
401
  CallAnalyticsTranscriptResultStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
404
- if (value.UtteranceEvent !== void 0)
405
- return visitor.UtteranceEvent(value.UtteranceEvent);
406
- if (value.CategoryEvent !== void 0)
407
- return visitor.CategoryEvent(value.CategoryEvent);
408
- if (value.BadRequestException !== void 0)
409
- return visitor.BadRequestException(value.BadRequestException);
410
- if (value.LimitExceededException !== void 0)
411
- return visitor.LimitExceededException(value.LimitExceededException);
402
+ if (value.UtteranceEvent !== void 0) return visitor.UtteranceEvent(value.UtteranceEvent);
403
+ if (value.CategoryEvent !== void 0) return visitor.CategoryEvent(value.CategoryEvent);
404
+ if (value.BadRequestException !== void 0) return visitor.BadRequestException(value.BadRequestException);
405
+ if (value.LimitExceededException !== void 0) return visitor.LimitExceededException(value.LimitExceededException);
412
406
  if (value.InternalFailureException !== void 0)
413
407
  return visitor.InternalFailureException(value.InternalFailureException);
414
- if (value.ConflictException !== void 0)
415
- return visitor.ConflictException(value.ConflictException);
408
+ if (value.ConflictException !== void 0) return visitor.ConflictException(value.ConflictException);
416
409
  if (value.ServiceUnavailableException !== void 0)
417
410
  return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
418
411
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -546,12 +539,9 @@ var MedicalScribeSessionControlEventType = {
546
539
  var MedicalScribeInputStream;
547
540
  ((MedicalScribeInputStream2) => {
548
541
  MedicalScribeInputStream2.visit = /* @__PURE__ */ __name((value, visitor) => {
549
- if (value.AudioEvent !== void 0)
550
- return visitor.AudioEvent(value.AudioEvent);
551
- if (value.SessionControlEvent !== void 0)
552
- return visitor.SessionControlEvent(value.SessionControlEvent);
553
- if (value.ConfigurationEvent !== void 0)
554
- return visitor.ConfigurationEvent(value.ConfigurationEvent);
542
+ if (value.AudioEvent !== void 0) return visitor.AudioEvent(value.AudioEvent);
543
+ if (value.SessionControlEvent !== void 0) return visitor.SessionControlEvent(value.SessionControlEvent);
544
+ if (value.ConfigurationEvent !== void 0) return visitor.ConfigurationEvent(value.ConfigurationEvent);
555
545
  return visitor._(value.$unknown[0], value.$unknown[1]);
556
546
  }, "visit");
557
547
  })(MedicalScribeInputStream || (MedicalScribeInputStream = {}));
@@ -562,16 +552,12 @@ var MedicalScribeTranscriptItemType = {
562
552
  var MedicalScribeResultStream;
563
553
  ((MedicalScribeResultStream3) => {
564
554
  MedicalScribeResultStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
565
- if (value.TranscriptEvent !== void 0)
566
- return visitor.TranscriptEvent(value.TranscriptEvent);
567
- if (value.BadRequestException !== void 0)
568
- return visitor.BadRequestException(value.BadRequestException);
569
- if (value.LimitExceededException !== void 0)
570
- return visitor.LimitExceededException(value.LimitExceededException);
555
+ if (value.TranscriptEvent !== void 0) return visitor.TranscriptEvent(value.TranscriptEvent);
556
+ if (value.BadRequestException !== void 0) return visitor.BadRequestException(value.BadRequestException);
557
+ if (value.LimitExceededException !== void 0) return visitor.LimitExceededException(value.LimitExceededException);
571
558
  if (value.InternalFailureException !== void 0)
572
559
  return visitor.InternalFailureException(value.InternalFailureException);
573
- if (value.ConflictException !== void 0)
574
- return visitor.ConflictException(value.ConflictException);
560
+ if (value.ConflictException !== void 0) return visitor.ConflictException(value.ConflictException);
575
561
  if (value.ServiceUnavailableException !== void 0)
576
562
  return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
577
563
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -580,16 +566,12 @@ var MedicalScribeResultStream;
580
566
  var MedicalTranscriptResultStream;
581
567
  ((MedicalTranscriptResultStream3) => {
582
568
  MedicalTranscriptResultStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
583
- if (value.TranscriptEvent !== void 0)
584
- return visitor.TranscriptEvent(value.TranscriptEvent);
585
- if (value.BadRequestException !== void 0)
586
- return visitor.BadRequestException(value.BadRequestException);
587
- if (value.LimitExceededException !== void 0)
588
- return visitor.LimitExceededException(value.LimitExceededException);
569
+ if (value.TranscriptEvent !== void 0) return visitor.TranscriptEvent(value.TranscriptEvent);
570
+ if (value.BadRequestException !== void 0) return visitor.BadRequestException(value.BadRequestException);
571
+ if (value.LimitExceededException !== void 0) return visitor.LimitExceededException(value.LimitExceededException);
589
572
  if (value.InternalFailureException !== void 0)
590
573
  return visitor.InternalFailureException(value.InternalFailureException);
591
- if (value.ConflictException !== void 0)
592
- return visitor.ConflictException(value.ConflictException);
574
+ if (value.ConflictException !== void 0) return visitor.ConflictException(value.ConflictException);
593
575
  if (value.ServiceUnavailableException !== void 0)
594
576
  return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
595
577
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -620,88 +602,58 @@ var Type = {
620
602
  var TranscriptResultStream;
621
603
  ((TranscriptResultStream3) => {
622
604
  TranscriptResultStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
623
- if (value.TranscriptEvent !== void 0)
624
- return visitor.TranscriptEvent(value.TranscriptEvent);
625
- if (value.BadRequestException !== void 0)
626
- return visitor.BadRequestException(value.BadRequestException);
627
- if (value.LimitExceededException !== void 0)
628
- return visitor.LimitExceededException(value.LimitExceededException);
605
+ if (value.TranscriptEvent !== void 0) return visitor.TranscriptEvent(value.TranscriptEvent);
606
+ if (value.BadRequestException !== void 0) return visitor.BadRequestException(value.BadRequestException);
607
+ if (value.LimitExceededException !== void 0) return visitor.LimitExceededException(value.LimitExceededException);
629
608
  if (value.InternalFailureException !== void 0)
630
609
  return visitor.InternalFailureException(value.InternalFailureException);
631
- if (value.ConflictException !== void 0)
632
- return visitor.ConflictException(value.ConflictException);
610
+ if (value.ConflictException !== void 0) return visitor.ConflictException(value.ConflictException);
633
611
  if (value.ServiceUnavailableException !== void 0)
634
612
  return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
635
613
  return visitor._(value.$unknown[0], value.$unknown[1]);
636
614
  }, "visit");
637
615
  })(TranscriptResultStream || (TranscriptResultStream = {}));
638
616
  var AudioStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
639
- if (obj.AudioEvent !== void 0)
640
- return { AudioEvent: obj.AudioEvent };
641
- if (obj.ConfigurationEvent !== void 0)
642
- return { ConfigurationEvent: obj.ConfigurationEvent };
643
- if (obj.$unknown !== void 0)
644
- return { [obj.$unknown[0]]: "UNKNOWN" };
617
+ if (obj.AudioEvent !== void 0) return { AudioEvent: obj.AudioEvent };
618
+ if (obj.ConfigurationEvent !== void 0) return { ConfigurationEvent: obj.ConfigurationEvent };
619
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
645
620
  }, "AudioStreamFilterSensitiveLog");
646
621
  var CallAnalyticsTranscriptResultStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
647
- if (obj.UtteranceEvent !== void 0)
648
- return { UtteranceEvent: obj.UtteranceEvent };
649
- if (obj.CategoryEvent !== void 0)
650
- return { CategoryEvent: obj.CategoryEvent };
651
- if (obj.BadRequestException !== void 0)
652
- return { BadRequestException: obj.BadRequestException };
653
- if (obj.LimitExceededException !== void 0)
654
- return { LimitExceededException: obj.LimitExceededException };
655
- if (obj.InternalFailureException !== void 0)
656
- return { InternalFailureException: obj.InternalFailureException };
657
- if (obj.ConflictException !== void 0)
658
- return { ConflictException: obj.ConflictException };
622
+ if (obj.UtteranceEvent !== void 0) return { UtteranceEvent: obj.UtteranceEvent };
623
+ if (obj.CategoryEvent !== void 0) return { CategoryEvent: obj.CategoryEvent };
624
+ if (obj.BadRequestException !== void 0) return { BadRequestException: obj.BadRequestException };
625
+ if (obj.LimitExceededException !== void 0) return { LimitExceededException: obj.LimitExceededException };
626
+ if (obj.InternalFailureException !== void 0) return { InternalFailureException: obj.InternalFailureException };
627
+ if (obj.ConflictException !== void 0) return { ConflictException: obj.ConflictException };
659
628
  if (obj.ServiceUnavailableException !== void 0)
660
629
  return { ServiceUnavailableException: obj.ServiceUnavailableException };
661
- if (obj.$unknown !== void 0)
662
- return { [obj.$unknown[0]]: "UNKNOWN" };
630
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
663
631
  }, "CallAnalyticsTranscriptResultStreamFilterSensitiveLog");
664
632
  var MedicalScribeInputStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
665
- if (obj.AudioEvent !== void 0)
666
- return { AudioEvent: obj.AudioEvent };
667
- if (obj.SessionControlEvent !== void 0)
668
- return { SessionControlEvent: obj.SessionControlEvent };
669
- if (obj.ConfigurationEvent !== void 0)
670
- return { ConfigurationEvent: obj.ConfigurationEvent };
671
- if (obj.$unknown !== void 0)
672
- return { [obj.$unknown[0]]: "UNKNOWN" };
633
+ if (obj.AudioEvent !== void 0) return { AudioEvent: obj.AudioEvent };
634
+ if (obj.SessionControlEvent !== void 0) return { SessionControlEvent: obj.SessionControlEvent };
635
+ if (obj.ConfigurationEvent !== void 0) return { ConfigurationEvent: obj.ConfigurationEvent };
636
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
673
637
  }, "MedicalScribeInputStreamFilterSensitiveLog");
674
638
  var MedicalScribeResultStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
675
- if (obj.TranscriptEvent !== void 0)
676
- return { TranscriptEvent: obj.TranscriptEvent };
677
- if (obj.BadRequestException !== void 0)
678
- return { BadRequestException: obj.BadRequestException };
679
- if (obj.LimitExceededException !== void 0)
680
- return { LimitExceededException: obj.LimitExceededException };
681
- if (obj.InternalFailureException !== void 0)
682
- return { InternalFailureException: obj.InternalFailureException };
683
- if (obj.ConflictException !== void 0)
684
- return { ConflictException: obj.ConflictException };
639
+ if (obj.TranscriptEvent !== void 0) return { TranscriptEvent: obj.TranscriptEvent };
640
+ if (obj.BadRequestException !== void 0) return { BadRequestException: obj.BadRequestException };
641
+ if (obj.LimitExceededException !== void 0) return { LimitExceededException: obj.LimitExceededException };
642
+ if (obj.InternalFailureException !== void 0) return { InternalFailureException: obj.InternalFailureException };
643
+ if (obj.ConflictException !== void 0) return { ConflictException: obj.ConflictException };
685
644
  if (obj.ServiceUnavailableException !== void 0)
686
645
  return { ServiceUnavailableException: obj.ServiceUnavailableException };
687
- if (obj.$unknown !== void 0)
688
- return { [obj.$unknown[0]]: "UNKNOWN" };
646
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
689
647
  }, "MedicalScribeResultStreamFilterSensitiveLog");
690
648
  var MedicalTranscriptResultStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
691
- if (obj.TranscriptEvent !== void 0)
692
- return { TranscriptEvent: obj.TranscriptEvent };
693
- if (obj.BadRequestException !== void 0)
694
- return { BadRequestException: obj.BadRequestException };
695
- if (obj.LimitExceededException !== void 0)
696
- return { LimitExceededException: obj.LimitExceededException };
697
- if (obj.InternalFailureException !== void 0)
698
- return { InternalFailureException: obj.InternalFailureException };
699
- if (obj.ConflictException !== void 0)
700
- return { ConflictException: obj.ConflictException };
649
+ if (obj.TranscriptEvent !== void 0) return { TranscriptEvent: obj.TranscriptEvent };
650
+ if (obj.BadRequestException !== void 0) return { BadRequestException: obj.BadRequestException };
651
+ if (obj.LimitExceededException !== void 0) return { LimitExceededException: obj.LimitExceededException };
652
+ if (obj.InternalFailureException !== void 0) return { InternalFailureException: obj.InternalFailureException };
653
+ if (obj.ConflictException !== void 0) return { ConflictException: obj.ConflictException };
701
654
  if (obj.ServiceUnavailableException !== void 0)
702
655
  return { ServiceUnavailableException: obj.ServiceUnavailableException };
703
- if (obj.$unknown !== void 0)
704
- return { [obj.$unknown[0]]: "UNKNOWN" };
656
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
705
657
  }, "MedicalTranscriptResultStreamFilterSensitiveLog");
706
658
  var StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
707
659
  ...obj,
@@ -732,20 +684,14 @@ var StartStreamTranscriptionRequestFilterSensitiveLog = /* @__PURE__ */ __name((
732
684
  ...obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }
733
685
  }), "StartStreamTranscriptionRequestFilterSensitiveLog");
734
686
  var TranscriptResultStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
735
- if (obj.TranscriptEvent !== void 0)
736
- return { TranscriptEvent: obj.TranscriptEvent };
737
- if (obj.BadRequestException !== void 0)
738
- return { BadRequestException: obj.BadRequestException };
739
- if (obj.LimitExceededException !== void 0)
740
- return { LimitExceededException: obj.LimitExceededException };
741
- if (obj.InternalFailureException !== void 0)
742
- return { InternalFailureException: obj.InternalFailureException };
743
- if (obj.ConflictException !== void 0)
744
- return { ConflictException: obj.ConflictException };
687
+ if (obj.TranscriptEvent !== void 0) return { TranscriptEvent: obj.TranscriptEvent };
688
+ if (obj.BadRequestException !== void 0) return { BadRequestException: obj.BadRequestException };
689
+ if (obj.LimitExceededException !== void 0) return { LimitExceededException: obj.LimitExceededException };
690
+ if (obj.InternalFailureException !== void 0) return { InternalFailureException: obj.InternalFailureException };
691
+ if (obj.ConflictException !== void 0) return { ConflictException: obj.ConflictException };
745
692
  if (obj.ServiceUnavailableException !== void 0)
746
693
  return { ServiceUnavailableException: obj.ServiceUnavailableException };
747
- if (obj.$unknown !== void 0)
748
- return { [obj.$unknown[0]]: "UNKNOWN" };
694
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
749
695
  }, "TranscriptResultStreamFilterSensitiveLog");
750
696
  var StartStreamTranscriptionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
751
697
  ...obj,
@@ -873,7 +819,7 @@ var de_GetMedicalScribeStreamCommand = /* @__PURE__ */ __name(async (output, con
873
819
  });
874
820
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
875
821
  const doc = (0, import_smithy_client.take)(data, {
876
- MedicalScribeStreamDetails: (_) => de_MedicalScribeStreamDetails(_, context)
822
+ MedicalScribeStreamDetails: /* @__PURE__ */ __name((_) => de_MedicalScribeStreamDetails(_, context), "MedicalScribeStreamDetails")
877
823
  });
878
824
  Object.assign(contents, doc);
879
825
  return contents;
@@ -1091,18 +1037,18 @@ var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutp
1091
1037
  }, "de_ServiceUnavailableExceptionRes");
1092
1038
  var se_AudioStream = /* @__PURE__ */ __name((input, context) => {
1093
1039
  const eventMarshallingVisitor = /* @__PURE__ */ __name((event) => AudioStream.visit(event, {
1094
- AudioEvent: (value) => se_AudioEvent_event(value, context),
1095
- ConfigurationEvent: (value) => se_ConfigurationEvent_event(value, context),
1096
- _: (value) => value
1040
+ AudioEvent: /* @__PURE__ */ __name((value) => se_AudioEvent_event(value, context), "AudioEvent"),
1041
+ ConfigurationEvent: /* @__PURE__ */ __name((value) => se_ConfigurationEvent_event(value, context), "ConfigurationEvent"),
1042
+ _: /* @__PURE__ */ __name((value) => value, "_")
1097
1043
  }), "eventMarshallingVisitor");
1098
1044
  return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
1099
1045
  }, "se_AudioStream");
1100
1046
  var se_MedicalScribeInputStream = /* @__PURE__ */ __name((input, context) => {
1101
1047
  const eventMarshallingVisitor = /* @__PURE__ */ __name((event) => MedicalScribeInputStream.visit(event, {
1102
- AudioEvent: (value) => se_MedicalScribeAudioEvent_event(value, context),
1103
- SessionControlEvent: (value) => se_MedicalScribeSessionControlEvent_event(value, context),
1104
- ConfigurationEvent: (value) => se_MedicalScribeConfigurationEvent_event(value, context),
1105
- _: (value) => value
1048
+ AudioEvent: /* @__PURE__ */ __name((value) => se_MedicalScribeAudioEvent_event(value, context), "AudioEvent"),
1049
+ SessionControlEvent: /* @__PURE__ */ __name((value) => se_MedicalScribeSessionControlEvent_event(value, context), "SessionControlEvent"),
1050
+ ConfigurationEvent: /* @__PURE__ */ __name((value) => se_MedicalScribeConfigurationEvent_event(value, context), "ConfigurationEvent"),
1051
+ _: /* @__PURE__ */ __name((value) => value, "_")
1106
1052
  }), "eventMarshallingVisitor");
1107
1053
  return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
1108
1054
  }, "se_MedicalScribeInputStream");
@@ -1387,8 +1333,8 @@ var de_UtteranceEvent_event = /* @__PURE__ */ __name(async (output, context) =>
1387
1333
  }, "de_UtteranceEvent_event");
1388
1334
  var de_Alternative = /* @__PURE__ */ __name((output, context) => {
1389
1335
  return (0, import_smithy_client.take)(output, {
1390
- Entities: (_) => de_EntityList(_, context),
1391
- Items: (_) => de_ItemList(_, context),
1336
+ Entities: /* @__PURE__ */ __name((_) => de_EntityList(_, context), "Entities"),
1337
+ Items: /* @__PURE__ */ __name((_) => de_ItemList(_, context), "Items"),
1392
1338
  Transcript: import_smithy_client.expectString
1393
1339
  });
1394
1340
  }, "de_Alternative");
@@ -1479,8 +1425,8 @@ var de_LanguageWithScore = /* @__PURE__ */ __name((output, context) => {
1479
1425
  }, "de_LanguageWithScore");
1480
1426
  var de_MedicalAlternative = /* @__PURE__ */ __name((output, context) => {
1481
1427
  return (0, import_smithy_client.take)(output, {
1482
- Entities: (_) => de_MedicalEntityList(_, context),
1483
- Items: (_) => de_MedicalItemList(_, context),
1428
+ Entities: /* @__PURE__ */ __name((_) => de_MedicalEntityList(_, context), "Entities"),
1429
+ Items: /* @__PURE__ */ __name((_) => de_MedicalItemList(_, context), "Items"),
1484
1430
  Transcript: import_smithy_client.expectString
1485
1431
  });
1486
1432
  }, "de_MedicalAlternative");
@@ -1523,7 +1469,7 @@ var de_MedicalItemList = /* @__PURE__ */ __name((output, context) => {
1523
1469
  }, "de_MedicalItemList");
1524
1470
  var de_MedicalResult = /* @__PURE__ */ __name((output, context) => {
1525
1471
  return (0, import_smithy_client.take)(output, {
1526
- Alternatives: (_) => de_MedicalAlternativeList(_, context),
1472
+ Alternatives: /* @__PURE__ */ __name((_) => de_MedicalAlternativeList(_, context), "Alternatives"),
1527
1473
  ChannelId: import_smithy_client.expectString,
1528
1474
  EndTime: import_smithy_client.limitedParseDouble,
1529
1475
  IsPartial: import_smithy_client.expectBoolean,
@@ -1548,8 +1494,8 @@ var de_MedicalScribeStreamDetails = /* @__PURE__ */ __name((output, context) =>
1548
1494
  PostStreamAnalyticsSettings: import_smithy_client._json,
1549
1495
  ResourceAccessRoleArn: import_smithy_client.expectString,
1550
1496
  SessionId: import_smithy_client.expectString,
1551
- StreamCreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1552
- StreamEndedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1497
+ StreamCreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StreamCreatedAt"),
1498
+ StreamEndedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StreamEndedAt"),
1553
1499
  StreamStatus: import_smithy_client.expectString,
1554
1500
  VocabularyFilterMethod: import_smithy_client.expectString,
1555
1501
  VocabularyFilterName: import_smithy_client.expectString,
@@ -1558,7 +1504,7 @@ var de_MedicalScribeStreamDetails = /* @__PURE__ */ __name((output, context) =>
1558
1504
  }, "de_MedicalScribeStreamDetails");
1559
1505
  var de_MedicalScribeTranscriptEvent = /* @__PURE__ */ __name((output, context) => {
1560
1506
  return (0, import_smithy_client.take)(output, {
1561
- TranscriptSegment: (_) => de_MedicalScribeTranscriptSegment(_, context)
1507
+ TranscriptSegment: /* @__PURE__ */ __name((_) => de_MedicalScribeTranscriptSegment(_, context), "TranscriptSegment")
1562
1508
  });
1563
1509
  }, "de_MedicalScribeTranscriptEvent");
1564
1510
  var de_MedicalScribeTranscriptItem = /* @__PURE__ */ __name((output, context) => {
@@ -1584,28 +1530,28 @@ var de_MedicalScribeTranscriptSegment = /* @__PURE__ */ __name((output, context)
1584
1530
  Content: import_smithy_client.expectString,
1585
1531
  EndAudioTime: import_smithy_client.limitedParseDouble,
1586
1532
  IsPartial: import_smithy_client.expectBoolean,
1587
- Items: (_) => de_MedicalScribeTranscriptItemList(_, context),
1533
+ Items: /* @__PURE__ */ __name((_) => de_MedicalScribeTranscriptItemList(_, context), "Items"),
1588
1534
  SegmentId: import_smithy_client.expectString
1589
1535
  });
1590
1536
  }, "de_MedicalScribeTranscriptSegment");
1591
1537
  var de_MedicalTranscript = /* @__PURE__ */ __name((output, context) => {
1592
1538
  return (0, import_smithy_client.take)(output, {
1593
- Results: (_) => de_MedicalResultList(_, context)
1539
+ Results: /* @__PURE__ */ __name((_) => de_MedicalResultList(_, context), "Results")
1594
1540
  });
1595
1541
  }, "de_MedicalTranscript");
1596
1542
  var de_MedicalTranscriptEvent = /* @__PURE__ */ __name((output, context) => {
1597
1543
  return (0, import_smithy_client.take)(output, {
1598
- Transcript: (_) => de_MedicalTranscript(_, context)
1544
+ Transcript: /* @__PURE__ */ __name((_) => de_MedicalTranscript(_, context), "Transcript")
1599
1545
  });
1600
1546
  }, "de_MedicalTranscriptEvent");
1601
1547
  var de_Result = /* @__PURE__ */ __name((output, context) => {
1602
1548
  return (0, import_smithy_client.take)(output, {
1603
- Alternatives: (_) => de_AlternativeList(_, context),
1549
+ Alternatives: /* @__PURE__ */ __name((_) => de_AlternativeList(_, context), "Alternatives"),
1604
1550
  ChannelId: import_smithy_client.expectString,
1605
1551
  EndTime: import_smithy_client.limitedParseDouble,
1606
1552
  IsPartial: import_smithy_client.expectBoolean,
1607
1553
  LanguageCode: import_smithy_client.expectString,
1608
- LanguageIdentification: (_) => de_LanguageIdentification(_, context),
1554
+ LanguageIdentification: /* @__PURE__ */ __name((_) => de_LanguageIdentification(_, context), "LanguageIdentification"),
1609
1555
  ResultId: import_smithy_client.expectString,
1610
1556
  StartTime: import_smithy_client.limitedParseDouble
1611
1557
  });
@@ -1618,22 +1564,22 @@ var de_ResultList = /* @__PURE__ */ __name((output, context) => {
1618
1564
  }, "de_ResultList");
1619
1565
  var de_Transcript = /* @__PURE__ */ __name((output, context) => {
1620
1566
  return (0, import_smithy_client.take)(output, {
1621
- Results: (_) => de_ResultList(_, context)
1567
+ Results: /* @__PURE__ */ __name((_) => de_ResultList(_, context), "Results")
1622
1568
  });
1623
1569
  }, "de_Transcript");
1624
1570
  var de_TranscriptEvent = /* @__PURE__ */ __name((output, context) => {
1625
1571
  return (0, import_smithy_client.take)(output, {
1626
- Transcript: (_) => de_Transcript(_, context)
1572
+ Transcript: /* @__PURE__ */ __name((_) => de_Transcript(_, context), "Transcript")
1627
1573
  });
1628
1574
  }, "de_TranscriptEvent");
1629
1575
  var de_UtteranceEvent = /* @__PURE__ */ __name((output, context) => {
1630
1576
  return (0, import_smithy_client.take)(output, {
1631
1577
  BeginOffsetMillis: import_smithy_client.expectLong,
1632
1578
  EndOffsetMillis: import_smithy_client.expectLong,
1633
- Entities: (_) => de_CallAnalyticsEntityList(_, context),
1579
+ Entities: /* @__PURE__ */ __name((_) => de_CallAnalyticsEntityList(_, context), "Entities"),
1634
1580
  IsPartial: import_smithy_client.expectBoolean,
1635
1581
  IssuesDetected: import_smithy_client._json,
1636
- Items: (_) => de_CallAnalyticsItemList(_, context),
1582
+ Items: /* @__PURE__ */ __name((_) => de_CallAnalyticsItemList(_, context), "Items"),
1637
1583
  ParticipantRole: import_smithy_client.expectString,
1638
1584
  Sentiment: import_smithy_client.expectString,
1639
1585
  Transcript: import_smithy_client.expectString,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe-streaming",
3
3
  "description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
4
- "version": "3.750.0",
4
+ "version": "3.772.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-transcribe-streaming",
@@ -22,23 +22,23 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.750.0",
26
- "@aws-sdk/credential-provider-node": "3.750.0",
25
+ "@aws-sdk/core": "3.758.0",
26
+ "@aws-sdk/credential-provider-node": "3.772.0",
27
27
  "@aws-sdk/eventstream-handler-node": "3.734.0",
28
28
  "@aws-sdk/middleware-eventstream": "3.734.0",
29
29
  "@aws-sdk/middleware-host-header": "3.734.0",
30
30
  "@aws-sdk/middleware-logger": "3.734.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
32
32
  "@aws-sdk/middleware-sdk-transcribe-streaming": "3.734.0",
33
- "@aws-sdk/middleware-user-agent": "3.750.0",
33
+ "@aws-sdk/middleware-user-agent": "3.758.0",
34
34
  "@aws-sdk/middleware-websocket": "3.734.0",
35
35
  "@aws-sdk/region-config-resolver": "3.734.0",
36
36
  "@aws-sdk/types": "3.734.0",
37
37
  "@aws-sdk/util-endpoints": "3.743.0",
38
38
  "@aws-sdk/util-user-agent-browser": "3.734.0",
39
- "@aws-sdk/util-user-agent-node": "3.750.0",
39
+ "@aws-sdk/util-user-agent-node": "3.758.0",
40
40
  "@smithy/config-resolver": "^4.0.1",
41
- "@smithy/core": "^3.1.4",
41
+ "@smithy/core": "^3.1.5",
42
42
  "@smithy/eventstream-serde-browser": "^4.0.1",
43
43
  "@smithy/eventstream-serde-config-resolver": "^4.0.1",
44
44
  "@smithy/eventstream-serde-node": "^4.0.1",
@@ -46,21 +46,21 @@
46
46
  "@smithy/hash-node": "^4.0.1",
47
47
  "@smithy/invalid-dependency": "^4.0.1",
48
48
  "@smithy/middleware-content-length": "^4.0.1",
49
- "@smithy/middleware-endpoint": "^4.0.5",
50
- "@smithy/middleware-retry": "^4.0.6",
49
+ "@smithy/middleware-endpoint": "^4.0.6",
50
+ "@smithy/middleware-retry": "^4.0.7",
51
51
  "@smithy/middleware-serde": "^4.0.2",
52
52
  "@smithy/middleware-stack": "^4.0.1",
53
53
  "@smithy/node-config-provider": "^4.0.1",
54
- "@smithy/node-http-handler": "^4.0.2",
54
+ "@smithy/node-http-handler": "^4.0.3",
55
55
  "@smithy/protocol-http": "^5.0.1",
56
- "@smithy/smithy-client": "^4.1.5",
56
+ "@smithy/smithy-client": "^4.1.6",
57
57
  "@smithy/types": "^4.1.0",
58
58
  "@smithy/url-parser": "^4.0.1",
59
59
  "@smithy/util-base64": "^4.0.0",
60
60
  "@smithy/util-body-length-browser": "^4.0.0",
61
61
  "@smithy/util-body-length-node": "^4.0.0",
62
- "@smithy/util-defaults-mode-browser": "^4.0.6",
63
- "@smithy/util-defaults-mode-node": "^4.0.6",
62
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
63
+ "@smithy/util-defaults-mode-node": "^4.0.7",
64
64
  "@smithy/util-endpoints": "^3.0.1",
65
65
  "@smithy/util-middleware": "^4.0.1",
66
66
  "@smithy/util-retry": "^4.0.1",