@aws-sdk/client-transcribe-streaming 3.987.0 → 3.989.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.
@@ -0,0 +1,610 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartMedicalScribeStreamRequest$ = exports.StartCallAnalyticsStreamTranscriptionResponse$ = exports.StartCallAnalyticsStreamTranscriptionRequest$ = exports.Result$ = exports.PostCallAnalyticsSettings$ = exports.PointsOfInterest$ = exports.MedicalTranscriptEvent$ = exports.MedicalTranscript$ = exports.MedicalScribeTranscriptSegment$ = exports.MedicalScribeTranscriptItem$ = exports.MedicalScribeTranscriptEvent$ = exports.MedicalScribeStreamDetails$ = exports.MedicalScribeSessionControlEvent$ = exports.MedicalScribePostStreamAnalyticsSettings$ = exports.MedicalScribePostStreamAnalyticsResult$ = exports.MedicalScribePatientContext$ = exports.MedicalScribeEncryptionSettings$ = exports.MedicalScribeContext$ = exports.MedicalScribeConfigurationEvent$ = exports.MedicalScribeChannelDefinition$ = exports.MedicalScribeAudioEvent$ = exports.MedicalResult$ = exports.MedicalItem$ = exports.MedicalEntity$ = exports.MedicalAlternative$ = exports.LanguageWithScore$ = exports.Item$ = exports.IssueDetected$ = exports.GetMedicalScribeStreamResponse$ = exports.GetMedicalScribeStreamRequest$ = exports.Entity$ = exports.ConfigurationEvent$ = exports.ClinicalNoteGenerationSettings$ = exports.ClinicalNoteGenerationResult$ = exports.CharacterOffsets$ = exports.ChannelDefinition$ = exports.CategoryEvent$ = exports.CallAnalyticsLanguageWithScore$ = exports.CallAnalyticsItem$ = exports.CallAnalyticsEntity$ = exports.AudioEvent$ = exports.Alternative$ = exports.errorTypeRegistries = exports.ServiceUnavailableException$ = exports.ResourceNotFoundException$ = exports.LimitExceededException$ = exports.InternalFailureException$ = exports.ConflictException$ = exports.BadRequestException$ = exports.TranscribeStreamingServiceException$ = void 0;
4
+ exports.StartStreamTranscription$ = exports.StartMedicalStreamTranscription$ = exports.StartMedicalScribeStream$ = exports.StartCallAnalyticsStreamTranscription$ = exports.GetMedicalScribeStream$ = exports.TranscriptResultStream$ = exports.MedicalTranscriptResultStream$ = exports.MedicalScribeResultStream$ = exports.MedicalScribeInputStream$ = exports.CallAnalyticsTranscriptResultStream$ = exports.AudioStream$ = exports.UtteranceEvent$ = exports.TranscriptEvent$ = exports.Transcript$ = exports.TimestampRange$ = exports.StartStreamTranscriptionResponse$ = exports.StartStreamTranscriptionRequest$ = exports.StartMedicalStreamTranscriptionResponse$ = exports.StartMedicalStreamTranscriptionRequest$ = exports.StartMedicalScribeStreamResponse$ = void 0;
5
+ const _A = "Alternative";
6
+ const _AC = "AudioChunk";
7
+ const _AE = "AudioEvent";
8
+ const _AL = "AlternativeList";
9
+ const _AS = "AudioStream";
10
+ const _Al = "Alternatives";
11
+ const _B = "Begin";
12
+ const _BAT = "BeginAudioTime";
13
+ const _BOM = "BeginOffsetMillis";
14
+ const _BRE = "BadRequestException";
15
+ const _C = "Category";
16
+ const _CAE = "CallAnalyticsEntity";
17
+ const _CAEL = "CallAnalyticsEntityList";
18
+ const _CAI = "CallAnalyticsItem";
19
+ const _CAIL = "CallAnalyticsItemList";
20
+ const _CALI = "CallAnalyticsLanguageIdentification";
21
+ const _CALWS = "CallAnalyticsLanguageWithScore";
22
+ const _CATRS = "CallAnalyticsTranscriptResultStream";
23
+ const _CD = "ChannelDefinition";
24
+ const _CDh = "ChannelDefinitions";
25
+ const _CE = "ConflictException";
26
+ const _CEa = "CategoryEvent";
27
+ const _CEo = "ConfigurationEvent";
28
+ const _CI = "ChannelId";
29
+ const _CIT = "ContentIdentificationType";
30
+ const _CNGR = "ClinicalNoteGenerationResult";
31
+ const _CNGS = "ClinicalNoteGenerationSettings";
32
+ const _CNOL = "ClinicalNoteOutputLocation";
33
+ const _CO = "CharacterOffsets";
34
+ const _CRO = "ContentRedactionOutput";
35
+ const _CRT = "ContentRedactionType";
36
+ const _Co = "Content";
37
+ const _Con = "Confidence";
38
+ const _DARA = "DataAccessRoleArn";
39
+ const _E = "Entities";
40
+ const _EAT = "EndAudioTime";
41
+ const _ECI = "EnableChannelIdentification";
42
+ const _EL = "EntityList";
43
+ const _EOM = "EndOffsetMillis";
44
+ const _EPRS = "EnablePartialResultsStabilization";
45
+ const _ES = "EncryptionSettings";
46
+ const _ET = "EndTime";
47
+ const _En = "End";
48
+ const _Ent = "Entity";
49
+ const _FR = "FailureReason";
50
+ const _GMSS = "GetMedicalScribeStream";
51
+ const _GMSSR = "GetMedicalScribeStreamRequest";
52
+ const _GMSSRe = "GetMedicalScribeStreamResponse";
53
+ const _I = "Items";
54
+ const _ID = "IssueDetected";
55
+ const _IDs = "IssuesDetected";
56
+ const _IFE = "InternalFailureException";
57
+ const _IL = "IdentifyLanguage";
58
+ const _ILt = "ItemList";
59
+ const _IML = "IdentifyMultipleLanguages";
60
+ const _IP = "IsPartial";
61
+ const _IS = "InputStream";
62
+ const _It = "Item";
63
+ const _KEC = "KmsEncryptionContext";
64
+ const _KKI = "KmsKeyId";
65
+ const _LC = "LanguageCode";
66
+ const _LEE = "LimitExceededException";
67
+ const _LI = "LanguageIdentification";
68
+ const _LMN = "LanguageModelName";
69
+ const _LO = "LanguageOptions";
70
+ const _LWS = "LanguageWithScore";
71
+ const _M = "Message";
72
+ const _MA = "MedicalAlternative";
73
+ const _MAL = "MedicalAlternativeList";
74
+ const _MC = "MatchedCategories";
75
+ const _MCD = "MatchedCategoryDetails";
76
+ const _MD = "MatchedDetails";
77
+ const _ME = "MedicalEntity";
78
+ const _MEL = "MedicalEntityList";
79
+ const _MEe = "MediaEncoding";
80
+ const _MI = "MedicalItem";
81
+ const _MIL = "MedicalItemList";
82
+ const _MR = "MedicalResult";
83
+ const _MRL = "MedicalResultList";
84
+ const _MSAE = "MedicalScribeAudioEvent";
85
+ const _MSC = "MedicalScribeContext";
86
+ const _MSCD = "MedicalScribeChannelDefinition";
87
+ const _MSCDe = "MedicalScribeChannelDefinitions";
88
+ const _MSCE = "MedicalScribeConfigurationEvent";
89
+ const _MSCP = "MedicalScribeContextProvided";
90
+ const _MSES = "MedicalScribeEncryptionSettings";
91
+ const _MSIS = "MedicalScribeInputStream";
92
+ const _MSPC = "MedicalScribePatientContext";
93
+ const _MSPSAR = "MedicalScribePostStreamAnalyticsResult";
94
+ const _MSPSAS = "MedicalScribePostStreamAnalyticsSettings";
95
+ const _MSRH = "MediaSampleRateHertz";
96
+ const _MSRS = "MedicalScribeResultStream";
97
+ const _MSSCE = "MedicalScribeSessionControlEvent";
98
+ const _MSSD = "MedicalScribeStreamDetails";
99
+ const _MSTE = "MedicalScribeTranscriptEvent";
100
+ const _MSTI = "MedicalScribeTranscriptItem";
101
+ const _MSTIL = "MedicalScribeTranscriptItemList";
102
+ const _MSTS = "MedicalScribeTranscriptSegment";
103
+ const _MT = "MedicalTranscript";
104
+ const _MTE = "MedicalTranscriptEvent";
105
+ const _MTRS = "MedicalTranscriptResultStream";
106
+ const _NOC = "NumberOfChannels";
107
+ const _NT = "NoteTemplate";
108
+ const _OBN = "OutputBucketName";
109
+ const _OEKMSKI = "OutputEncryptionKMSKeyId";
110
+ const _OL = "OutputLocation";
111
+ const _P = "Pronouns";
112
+ const _PC = "PatientContext";
113
+ const _PCAS = "PostCallAnalyticsSettings";
114
+ const _PET = "PiiEntityTypes";
115
+ const _PL = "PreferredLanguage";
116
+ const _POI = "PointsOfInterest";
117
+ const _PR = "ParticipantRole";
118
+ const _PRS = "PartialResultsStability";
119
+ const _PSAR = "PostStreamAnalyticsResult";
120
+ const _PSAS = "PostStreamAnalyticsSettings";
121
+ const _R = "Results";
122
+ const _RARA = "ResourceAccessRoleArn";
123
+ const _RI = "ResultId";
124
+ const _RIe = "RequestId";
125
+ const _RL = "ResultList";
126
+ const _RNFE = "ResourceNotFoundException";
127
+ const _RS = "ResultStream";
128
+ const _Re = "Result";
129
+ const _S = "Stable";
130
+ const _SCA = "StreamCreatedAt";
131
+ const _SCAST = "StartCallAnalyticsStreamTranscription";
132
+ const _SCASTR = "StartCallAnalyticsStreamTranscriptionRequest";
133
+ const _SCASTRt = "StartCallAnalyticsStreamTranscriptionResponse";
134
+ const _SCE = "SessionControlEvent";
135
+ const _SEA = "StreamEndedAt";
136
+ const _SI = "SessionId";
137
+ const _SIe = "SegmentId";
138
+ const _SMSS = "StartMedicalScribeStream";
139
+ const _SMSSR = "StartMedicalScribeStreamRequest";
140
+ const _SMSSRt = "StartMedicalScribeStreamResponse";
141
+ const _SMST = "StartMedicalStreamTranscription";
142
+ const _SMSTR = "StartMedicalStreamTranscriptionRequest";
143
+ const _SMSTRt = "StartMedicalStreamTranscriptionResponse";
144
+ const _SS = "StreamStatus";
145
+ const _SSL = "ShowSpeakerLabel";
146
+ const _SST = "StartStreamTranscription";
147
+ const _SSTR = "StartStreamTranscriptionRequest";
148
+ const _SSTRt = "StartStreamTranscriptionResponse";
149
+ const _ST = "StartTime";
150
+ const _SUE = "ServiceUnavailableException";
151
+ const _Sc = "Score";
152
+ const _Se = "Sentiment";
153
+ const _Sp = "Speaker";
154
+ const _Spe = "Specialty";
155
+ const _St = "Status";
156
+ const _T = "Transcript";
157
+ const _TE = "TranscriptEvent";
158
+ const _TOL = "TranscriptOutputLocation";
159
+ const _TR = "TimestampRanges";
160
+ const _TRS = "TranscriptResultStream";
161
+ const _TRi = "TimestampRange";
162
+ const _TS = "TranscriptSegment";
163
+ const _Ty = "Type";
164
+ const _UE = "UtteranceEvent";
165
+ const _UI = "UtteranceId";
166
+ const _VFM = "VocabularyFilterMatch";
167
+ const _VFMo = "VocabularyFilterMethod";
168
+ const _VFN = "VocabularyFilterName";
169
+ const _VFNo = "VocabularyFilterNames";
170
+ const _VN = "VocabularyName";
171
+ const _VNo = "VocabularyNames";
172
+ const _c = "client";
173
+ const _e = "error";
174
+ const _eP = "eventPayload";
175
+ const _h = "http";
176
+ const _hE = "httpError";
177
+ const _hH = "httpHeader";
178
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.transcribestreaming";
179
+ const _se = "server";
180
+ const _st = "streaming";
181
+ const _xari = "x-amzn-request-id";
182
+ const _xatcit = "x-amzn-transcribe-content-identification-type";
183
+ const _xatcrt = "x-amzn-transcribe-content-redaction-type";
184
+ const _xateci = "x-amzn-transcribe-enable-channel-identification";
185
+ const _xateprs = "x-amzn-transcribe-enable-partial-results-stabilization";
186
+ const _xatil = "x-amzn-transcribe-identify-language";
187
+ const _xatiml = "x-amzn-transcribe-identify-multiple-languages";
188
+ const _xatlc = "x-amzn-transcribe-language-code";
189
+ const _xatlmn = "x-amzn-transcribe-language-model-name";
190
+ const _xatlo = "x-amzn-transcribe-language-options";
191
+ const _xatme = "x-amzn-transcribe-media-encoding";
192
+ const _xatnoc = "x-amzn-transcribe-number-of-channels";
193
+ const _xatpet = "x-amzn-transcribe-pii-entity-types";
194
+ const _xatpl = "x-amzn-transcribe-preferred-language";
195
+ const _xatprs = "x-amzn-transcribe-partial-results-stability";
196
+ const _xats = "x-amzn-transcribe-specialty";
197
+ const _xatsi = "x-amzn-transcribe-session-id";
198
+ const _xatsr = "x-amzn-transcribe-sample-rate";
199
+ const _xatssl = "x-amzn-transcribe-show-speaker-label";
200
+ const _xatt = "x-amzn-transcribe-type";
201
+ const _xatvfm = "x-amzn-transcribe-vocabulary-filter-method";
202
+ const _xatvfn = "x-amzn-transcribe-vocabulary-filter-name";
203
+ const _xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names";
204
+ const _xatvn = "x-amzn-transcribe-vocabulary-name";
205
+ const _xatvn_ = "x-amzn-transcribe-vocabulary-names";
206
+ const n0 = "com.amazonaws.transcribestreaming";
207
+ const schema_1 = require("@smithy/core/schema");
208
+ const errors_1 = require("../models/errors");
209
+ const TranscribeStreamingServiceException_1 = require("../models/TranscribeStreamingServiceException");
210
+ const _s_registry = schema_1.TypeRegistry.for(_s);
211
+ exports.TranscribeStreamingServiceException$ = [-3, _s, "TranscribeStreamingServiceException", 0, [], []];
212
+ _s_registry.registerError(exports.TranscribeStreamingServiceException$, TranscribeStreamingServiceException_1.TranscribeStreamingServiceException);
213
+ const n0_registry = schema_1.TypeRegistry.for(n0);
214
+ exports.BadRequestException$ = [-3, n0, _BRE,
215
+ { [_e]: _c, [_hE]: 400 },
216
+ [_M],
217
+ [0]
218
+ ];
219
+ n0_registry.registerError(exports.BadRequestException$, errors_1.BadRequestException);
220
+ exports.ConflictException$ = [-3, n0, _CE,
221
+ { [_e]: _c, [_hE]: 409 },
222
+ [_M],
223
+ [0]
224
+ ];
225
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
226
+ exports.InternalFailureException$ = [-3, n0, _IFE,
227
+ { [_e]: _se, [_hE]: 500 },
228
+ [_M],
229
+ [0]
230
+ ];
231
+ n0_registry.registerError(exports.InternalFailureException$, errors_1.InternalFailureException);
232
+ exports.LimitExceededException$ = [-3, n0, _LEE,
233
+ { [_e]: _c, [_hE]: 429 },
234
+ [_M],
235
+ [0]
236
+ ];
237
+ n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
238
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
239
+ { [_e]: _c, [_hE]: 404 },
240
+ [_M],
241
+ [0]
242
+ ];
243
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
244
+ exports.ServiceUnavailableException$ = [-3, n0, _SUE,
245
+ { [_e]: _se, [_hE]: 503 },
246
+ [_M],
247
+ [0]
248
+ ];
249
+ n0_registry.registerError(exports.ServiceUnavailableException$, errors_1.ServiceUnavailableException);
250
+ exports.errorTypeRegistries = [
251
+ _s_registry,
252
+ n0_registry,
253
+ ];
254
+ var Pronouns = [0, n0, _P, 8, 0];
255
+ exports.Alternative$ = [3, n0, _A,
256
+ 0,
257
+ [_T, _I, _E],
258
+ [0, () => ItemList, () => EntityList]
259
+ ];
260
+ exports.AudioEvent$ = [3, n0, _AE,
261
+ 0,
262
+ [_AC],
263
+ [[21, { [_eP]: 1 }]]
264
+ ];
265
+ exports.CallAnalyticsEntity$ = [3, n0, _CAE,
266
+ 0,
267
+ [_BOM, _EOM, _C, _Ty, _Co, _Con],
268
+ [1, 1, 0, 0, 0, 1]
269
+ ];
270
+ exports.CallAnalyticsItem$ = [3, n0, _CAI,
271
+ 0,
272
+ [_BOM, _EOM, _Ty, _Co, _Con, _VFM, _S],
273
+ [1, 1, 0, 0, 1, 2, 2]
274
+ ];
275
+ exports.CallAnalyticsLanguageWithScore$ = [3, n0, _CALWS,
276
+ 0,
277
+ [_LC, _Sc],
278
+ [0, 1]
279
+ ];
280
+ exports.CategoryEvent$ = [3, n0, _CEa,
281
+ 0,
282
+ [_MC, _MD],
283
+ [64 | 0, () => MatchedCategoryDetails]
284
+ ];
285
+ exports.ChannelDefinition$ = [3, n0, _CD,
286
+ 0,
287
+ [_CI, _PR],
288
+ [1, 0], 2
289
+ ];
290
+ exports.CharacterOffsets$ = [3, n0, _CO,
291
+ 0,
292
+ [_B, _En],
293
+ [1, 1]
294
+ ];
295
+ exports.ClinicalNoteGenerationResult$ = [3, n0, _CNGR,
296
+ 0,
297
+ [_CNOL, _TOL, _St, _FR],
298
+ [0, 0, 0, 0]
299
+ ];
300
+ exports.ClinicalNoteGenerationSettings$ = [3, n0, _CNGS,
301
+ 0,
302
+ [_OBN, _NT],
303
+ [0, 0], 1
304
+ ];
305
+ exports.ConfigurationEvent$ = [3, n0, _CEo,
306
+ 0,
307
+ [_CDh, _PCAS],
308
+ [() => ChannelDefinitions, () => exports.PostCallAnalyticsSettings$]
309
+ ];
310
+ exports.Entity$ = [3, n0, _Ent,
311
+ 0,
312
+ [_ST, _ET, _C, _Ty, _Co, _Con],
313
+ [1, 1, 0, 0, 0, 1]
314
+ ];
315
+ exports.GetMedicalScribeStreamRequest$ = [3, n0, _GMSSR,
316
+ 0,
317
+ [_SI],
318
+ [[0, 1]], 1
319
+ ];
320
+ exports.GetMedicalScribeStreamResponse$ = [3, n0, _GMSSRe,
321
+ 0,
322
+ [_MSSD],
323
+ [() => exports.MedicalScribeStreamDetails$]
324
+ ];
325
+ exports.IssueDetected$ = [3, n0, _ID,
326
+ 0,
327
+ [_CO],
328
+ [() => exports.CharacterOffsets$]
329
+ ];
330
+ exports.Item$ = [3, n0, _It,
331
+ 0,
332
+ [_ST, _ET, _Ty, _Co, _VFM, _Sp, _Con, _S],
333
+ [1, 1, 0, 0, 2, 0, 1, 2]
334
+ ];
335
+ exports.LanguageWithScore$ = [3, n0, _LWS,
336
+ 0,
337
+ [_LC, _Sc],
338
+ [0, 1]
339
+ ];
340
+ exports.MedicalAlternative$ = [3, n0, _MA,
341
+ 0,
342
+ [_T, _I, _E],
343
+ [0, () => MedicalItemList, () => MedicalEntityList]
344
+ ];
345
+ exports.MedicalEntity$ = [3, n0, _ME,
346
+ 0,
347
+ [_ST, _ET, _C, _Co, _Con],
348
+ [1, 1, 0, 0, 1]
349
+ ];
350
+ exports.MedicalItem$ = [3, n0, _MI,
351
+ 0,
352
+ [_ST, _ET, _Ty, _Co, _Con, _Sp],
353
+ [1, 1, 0, 0, 1, 0]
354
+ ];
355
+ exports.MedicalResult$ = [3, n0, _MR,
356
+ 0,
357
+ [_RI, _ST, _ET, _IP, _Al, _CI],
358
+ [0, 1, 1, 2, () => MedicalAlternativeList, 0]
359
+ ];
360
+ exports.MedicalScribeAudioEvent$ = [3, n0, _MSAE,
361
+ 0,
362
+ [_AC],
363
+ [[21, { [_eP]: 1 }]], 1
364
+ ];
365
+ exports.MedicalScribeChannelDefinition$ = [3, n0, _MSCD,
366
+ 0,
367
+ [_CI, _PR],
368
+ [1, 0], 2
369
+ ];
370
+ exports.MedicalScribeConfigurationEvent$ = [3, n0, _MSCE,
371
+ 0,
372
+ [_RARA, _PSAS, _VN, _VFN, _VFMo, _CDh, _ES, _MSC],
373
+ [0, () => exports.MedicalScribePostStreamAnalyticsSettings$, 0, 0, 0, () => MedicalScribeChannelDefinitions, () => exports.MedicalScribeEncryptionSettings$, [() => exports.MedicalScribeContext$, 0]], 2
374
+ ];
375
+ exports.MedicalScribeContext$ = [3, n0, _MSC,
376
+ 0,
377
+ [_PC],
378
+ [[() => exports.MedicalScribePatientContext$, 0]]
379
+ ];
380
+ exports.MedicalScribeEncryptionSettings$ = [3, n0, _MSES,
381
+ 0,
382
+ [_KKI, _KEC],
383
+ [0, 128 | 0], 1
384
+ ];
385
+ exports.MedicalScribePatientContext$ = [3, n0, _MSPC,
386
+ 0,
387
+ [_P],
388
+ [[() => Pronouns, 0]]
389
+ ];
390
+ exports.MedicalScribePostStreamAnalyticsResult$ = [3, n0, _MSPSAR,
391
+ 0,
392
+ [_CNGR],
393
+ [() => exports.ClinicalNoteGenerationResult$]
394
+ ];
395
+ exports.MedicalScribePostStreamAnalyticsSettings$ = [3, n0, _MSPSAS,
396
+ 0,
397
+ [_CNGS],
398
+ [() => exports.ClinicalNoteGenerationSettings$], 1
399
+ ];
400
+ exports.MedicalScribeSessionControlEvent$ = [3, n0, _MSSCE,
401
+ 0,
402
+ [_Ty],
403
+ [0], 1
404
+ ];
405
+ exports.MedicalScribeStreamDetails$ = [3, n0, _MSSD,
406
+ 0,
407
+ [_SI, _SCA, _SEA, _LC, _MSRH, _MEe, _VN, _VFN, _VFMo, _RARA, _CDh, _ES, _SS, _PSAS, _PSAR, _MSCP],
408
+ [0, 4, 4, 0, 1, 0, 0, 0, 0, 0, () => MedicalScribeChannelDefinitions, () => exports.MedicalScribeEncryptionSettings$, 0, () => exports.MedicalScribePostStreamAnalyticsSettings$, () => exports.MedicalScribePostStreamAnalyticsResult$, 2]
409
+ ];
410
+ exports.MedicalScribeTranscriptEvent$ = [3, n0, _MSTE,
411
+ 0,
412
+ [_TS],
413
+ [() => exports.MedicalScribeTranscriptSegment$]
414
+ ];
415
+ exports.MedicalScribeTranscriptItem$ = [3, n0, _MSTI,
416
+ 0,
417
+ [_BAT, _EAT, _Ty, _Con, _Co, _VFM],
418
+ [1, 1, 0, 1, 0, 2]
419
+ ];
420
+ exports.MedicalScribeTranscriptSegment$ = [3, n0, _MSTS,
421
+ 0,
422
+ [_SIe, _BAT, _EAT, _Co, _I, _IP, _CI],
423
+ [0, 1, 1, 0, () => MedicalScribeTranscriptItemList, 2, 0]
424
+ ];
425
+ exports.MedicalTranscript$ = [3, n0, _MT,
426
+ 0,
427
+ [_R],
428
+ [() => MedicalResultList]
429
+ ];
430
+ exports.MedicalTranscriptEvent$ = [3, n0, _MTE,
431
+ 0,
432
+ [_T],
433
+ [() => exports.MedicalTranscript$]
434
+ ];
435
+ exports.PointsOfInterest$ = [3, n0, _POI,
436
+ 0,
437
+ [_TR],
438
+ [() => TimestampRanges]
439
+ ];
440
+ exports.PostCallAnalyticsSettings$ = [3, n0, _PCAS,
441
+ 0,
442
+ [_OL, _DARA, _CRO, _OEKMSKI],
443
+ [0, 0, 0, 0], 2
444
+ ];
445
+ exports.Result$ = [3, n0, _Re,
446
+ 0,
447
+ [_RI, _ST, _ET, _IP, _Al, _CI, _LC, _LI],
448
+ [0, 1, 1, 2, () => AlternativeList, 0, 0, () => LanguageIdentification]
449
+ ];
450
+ exports.StartCallAnalyticsStreamTranscriptionRequest$ = [3, n0, _SCASTR,
451
+ 0,
452
+ [_MSRH, _MEe, _AS, _LC, _VN, _SI, _VFN, _VFMo, _LMN, _IL, _LO, _PL, _VNo, _VFNo, _EPRS, _PRS, _CIT, _CRT, _PET],
453
+ [[1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => exports.AudioStream$, 16], [0, { [_hH]: _xatlc }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }]], 3
454
+ ];
455
+ exports.StartCallAnalyticsStreamTranscriptionResponse$ = [3, n0, _SCASTRt,
456
+ 0,
457
+ [_RIe, _LC, _MSRH, _MEe, _VN, _SI, _CATRS, _VFN, _VFMo, _LMN, _IL, _LO, _PL, _VNo, _VFNo, _EPRS, _PRS, _CIT, _CRT, _PET],
458
+ [[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [() => exports.CallAnalyticsTranscriptResultStream$, 16], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }]]
459
+ ];
460
+ exports.StartMedicalScribeStreamRequest$ = [3, n0, _SMSSR,
461
+ 0,
462
+ [_LC, _MSRH, _MEe, _IS, _SI],
463
+ [[0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => exports.MedicalScribeInputStream$, 16], [0, { [_hH]: _xatsi }]], 4
464
+ ];
465
+ exports.StartMedicalScribeStreamResponse$ = [3, n0, _SMSSRt,
466
+ 0,
467
+ [_SI, _RIe, _LC, _MSRH, _MEe, _RS],
468
+ [[0, { [_hH]: _xatsi }], [0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => exports.MedicalScribeResultStream$, 16]]
469
+ ];
470
+ exports.StartMedicalStreamTranscriptionRequest$ = [3, n0, _SMSTR,
471
+ 0,
472
+ [_LC, _MSRH, _MEe, _Spe, _Ty, _AS, _VN, _SSL, _SI, _ECI, _NOC, _CIT],
473
+ [[0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xats }], [0, { [_hH]: _xatt }], [() => exports.AudioStream$, 16], [0, { [_hH]: _xatvn }], [2, { [_hH]: _xatssl }], [0, { [_hH]: _xatsi }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [0, { [_hH]: _xatcit }]], 6
474
+ ];
475
+ exports.StartMedicalStreamTranscriptionResponse$ = [3, n0, _SMSTRt,
476
+ 0,
477
+ [_RIe, _LC, _MSRH, _MEe, _VN, _Spe, _Ty, _SSL, _SI, _TRS, _ECI, _NOC, _CIT],
478
+ [[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xats }], [0, { [_hH]: _xatt }], [2, { [_hH]: _xatssl }], [0, { [_hH]: _xatsi }], [() => exports.MedicalTranscriptResultStream$, 16], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [0, { [_hH]: _xatcit }]]
479
+ ];
480
+ exports.StartStreamTranscriptionRequest$ = [3, n0, _SSTR,
481
+ 0,
482
+ [_MSRH, _MEe, _AS, _LC, _VN, _SI, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo],
483
+ [[1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => exports.AudioStream$, 16], [0, { [_hH]: _xatlc }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }]], 3
484
+ ];
485
+ exports.StartStreamTranscriptionResponse$ = [3, n0, _SSTRt,
486
+ 0,
487
+ [_RIe, _LC, _MSRH, _MEe, _VN, _SI, _TRS, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo],
488
+ [[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [() => exports.TranscriptResultStream$, 16], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }]]
489
+ ];
490
+ exports.TimestampRange$ = [3, n0, _TRi,
491
+ 0,
492
+ [_BOM, _EOM],
493
+ [1, 1]
494
+ ];
495
+ exports.Transcript$ = [3, n0, _T,
496
+ 0,
497
+ [_R],
498
+ [() => ResultList]
499
+ ];
500
+ exports.TranscriptEvent$ = [3, n0, _TE,
501
+ 0,
502
+ [_T],
503
+ [() => exports.Transcript$]
504
+ ];
505
+ exports.UtteranceEvent$ = [3, n0, _UE,
506
+ 0,
507
+ [_UI, _IP, _PR, _BOM, _EOM, _T, _I, _E, _Se, _IDs, _LC, _LI],
508
+ [0, 2, 0, 1, 1, 0, () => CallAnalyticsItemList, () => CallAnalyticsEntityList, 0, () => IssuesDetected, 0, () => CallAnalyticsLanguageIdentification]
509
+ ];
510
+ var AlternativeList = [1, n0, _AL,
511
+ 0, () => exports.Alternative$
512
+ ];
513
+ var CallAnalyticsEntityList = [1, n0, _CAEL,
514
+ 0, () => exports.CallAnalyticsEntity$
515
+ ];
516
+ var CallAnalyticsItemList = [1, n0, _CAIL,
517
+ 0, () => exports.CallAnalyticsItem$
518
+ ];
519
+ var CallAnalyticsLanguageIdentification = [1, n0, _CALI,
520
+ 0, () => exports.CallAnalyticsLanguageWithScore$
521
+ ];
522
+ var ChannelDefinitions = [1, n0, _CDh,
523
+ 0, () => exports.ChannelDefinition$
524
+ ];
525
+ var EntityList = [1, n0, _EL,
526
+ 0, () => exports.Entity$
527
+ ];
528
+ var IssuesDetected = [1, n0, _IDs,
529
+ 0, () => exports.IssueDetected$
530
+ ];
531
+ var ItemList = [1, n0, _ILt,
532
+ 0, () => exports.Item$
533
+ ];
534
+ var LanguageIdentification = [1, n0, _LI,
535
+ 0, () => exports.LanguageWithScore$
536
+ ];
537
+ var MedicalAlternativeList = [1, n0, _MAL,
538
+ 0, () => exports.MedicalAlternative$
539
+ ];
540
+ var MedicalEntityList = [1, n0, _MEL,
541
+ 0, () => exports.MedicalEntity$
542
+ ];
543
+ var MedicalItemList = [1, n0, _MIL,
544
+ 0, () => exports.MedicalItem$
545
+ ];
546
+ var MedicalResultList = [1, n0, _MRL,
547
+ 0, () => exports.MedicalResult$
548
+ ];
549
+ var MedicalScribeChannelDefinitions = [1, n0, _MSCDe,
550
+ 0, () => exports.MedicalScribeChannelDefinition$
551
+ ];
552
+ var MedicalScribeTranscriptItemList = [1, n0, _MSTIL,
553
+ 0, () => exports.MedicalScribeTranscriptItem$
554
+ ];
555
+ var ResultList = [1, n0, _RL,
556
+ 0, () => exports.Result$
557
+ ];
558
+ var StringList = 64 | 0;
559
+ var TimestampRanges = [1, n0, _TR,
560
+ 0, () => exports.TimestampRange$
561
+ ];
562
+ var KMSEncryptionContextMap = 128 | 0;
563
+ var MatchedCategoryDetails = [2, n0, _MCD,
564
+ 0, 0, () => exports.PointsOfInterest$
565
+ ];
566
+ exports.AudioStream$ = [4, n0, _AS,
567
+ { [_st]: 1 },
568
+ [_AE, _CEo],
569
+ [[() => exports.AudioEvent$, 0], () => exports.ConfigurationEvent$]
570
+ ];
571
+ exports.CallAnalyticsTranscriptResultStream$ = [4, n0, _CATRS,
572
+ { [_st]: 1 },
573
+ [_UE, _CEa, _BRE, _LEE, _IFE, _CE, _SUE],
574
+ [() => exports.UtteranceEvent$, () => exports.CategoryEvent$, [() => exports.BadRequestException$, 0], [() => exports.LimitExceededException$, 0], [() => exports.InternalFailureException$, 0], [() => exports.ConflictException$, 0], [() => exports.ServiceUnavailableException$, 0]]
575
+ ];
576
+ exports.MedicalScribeInputStream$ = [4, n0, _MSIS,
577
+ { [_st]: 1 },
578
+ [_AE, _SCE, _CEo],
579
+ [[() => exports.MedicalScribeAudioEvent$, 0], () => exports.MedicalScribeSessionControlEvent$, [() => exports.MedicalScribeConfigurationEvent$, 0]]
580
+ ];
581
+ exports.MedicalScribeResultStream$ = [4, n0, _MSRS,
582
+ { [_st]: 1 },
583
+ [_TE, _BRE, _LEE, _IFE, _CE, _SUE],
584
+ [() => exports.MedicalScribeTranscriptEvent$, [() => exports.BadRequestException$, 0], [() => exports.LimitExceededException$, 0], [() => exports.InternalFailureException$, 0], [() => exports.ConflictException$, 0], [() => exports.ServiceUnavailableException$, 0]]
585
+ ];
586
+ exports.MedicalTranscriptResultStream$ = [4, n0, _MTRS,
587
+ { [_st]: 1 },
588
+ [_TE, _BRE, _LEE, _IFE, _CE, _SUE],
589
+ [() => exports.MedicalTranscriptEvent$, [() => exports.BadRequestException$, 0], [() => exports.LimitExceededException$, 0], [() => exports.InternalFailureException$, 0], [() => exports.ConflictException$, 0], [() => exports.ServiceUnavailableException$, 0]]
590
+ ];
591
+ exports.TranscriptResultStream$ = [4, n0, _TRS,
592
+ { [_st]: 1 },
593
+ [_TE, _BRE, _LEE, _IFE, _CE, _SUE],
594
+ [() => exports.TranscriptEvent$, [() => exports.BadRequestException$, 0], [() => exports.LimitExceededException$, 0], [() => exports.InternalFailureException$, 0], [() => exports.ConflictException$, 0], [() => exports.ServiceUnavailableException$, 0]]
595
+ ];
596
+ exports.GetMedicalScribeStream$ = [9, n0, _GMSS,
597
+ { [_h]: ["GET", "/medical-scribe-stream/{SessionId}", 200] }, () => exports.GetMedicalScribeStreamRequest$, () => exports.GetMedicalScribeStreamResponse$
598
+ ];
599
+ exports.StartCallAnalyticsStreamTranscription$ = [9, n0, _SCAST,
600
+ { [_h]: ["POST", "/call-analytics-stream-transcription", 200] }, () => exports.StartCallAnalyticsStreamTranscriptionRequest$, () => exports.StartCallAnalyticsStreamTranscriptionResponse$
601
+ ];
602
+ exports.StartMedicalScribeStream$ = [9, n0, _SMSS,
603
+ { [_h]: ["POST", "/medical-scribe-stream", 200] }, () => exports.StartMedicalScribeStreamRequest$, () => exports.StartMedicalScribeStreamResponse$
604
+ ];
605
+ exports.StartMedicalStreamTranscription$ = [9, n0, _SMST,
606
+ { [_h]: ["POST", "/medical-stream-transcription", 200] }, () => exports.StartMedicalStreamTranscriptionRequest$, () => exports.StartMedicalStreamTranscriptionResponse$
607
+ ];
608
+ exports.StartStreamTranscription$ = [9, n0, _SST,
609
+ { [_h]: ["POST", "/stream-transcription", 200] }, () => exports.StartStreamTranscriptionRequest$, () => exports.StartStreamTranscriptionResponse$
610
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultTranscribeStreamingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2017-10-26",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.transcribestreaming",
30
+ errorTypeRegistries,
29
31
  version: "2017-10-26",
30
32
  serviceTarget: "Transcribe",
31
33
  },