@aws-sdk/client-transcribe-streaming 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1514 -1228
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/TranscribeStreamingClient.js +2 -0
- package/dist-es/commands/GetMedicalScribeStreamCommand.js +3 -9
- package/dist-es/commands/StartCallAnalyticsStreamTranscriptionCommand.js +2 -7
- package/dist-es/commands/StartMedicalScribeStreamCommand.js +2 -7
- package/dist-es/commands/StartMedicalStreamTranscriptionCommand.js +2 -7
- package/dist-es/commands/StartStreamTranscriptionCommand.js +2 -7
- package/dist-es/models/models_0.js +0 -227
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1534 -0
- package/dist-types/TranscribeStreamingClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +24 -74
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +92 -0
- package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -61
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
- package/package.json +40 -40
- package/dist-es/protocols/Aws_restJson1.js +0 -988
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -68
package/dist-cjs/index.js
CHANGED
|
@@ -8,6 +8,7 @@ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
|
8
8
|
var middlewareWebsocket = require('@aws-sdk/middleware-websocket');
|
|
9
9
|
var configResolver = require('@smithy/config-resolver');
|
|
10
10
|
var core = require('@smithy/core');
|
|
11
|
+
var schema = require('@smithy/core/schema');
|
|
11
12
|
var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
|
|
12
13
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
13
14
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
@@ -17,8 +18,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
17
18
|
var runtimeConfig = require('./runtimeConfig');
|
|
18
19
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
19
20
|
var protocolHttp = require('@smithy/protocol-http');
|
|
20
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
21
|
-
var core$1 = require('@aws-sdk/core');
|
|
22
21
|
var middlewareSdkTranscribeStreaming = require('@aws-sdk/middleware-sdk-transcribe-streaming');
|
|
23
22
|
|
|
24
23
|
const resolveClientEndpointParameters = (options) => {
|
|
@@ -98,6 +97,7 @@ class TranscribeStreamingClient extends smithyClient.Client {
|
|
|
98
97
|
const _config_10 = middlewareWebsocket.resolveWebSocketConfig(_config_9);
|
|
99
98
|
const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
|
|
100
99
|
this.config = _config_11;
|
|
100
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
101
101
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
102
102
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
103
103
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -117,12 +117,12 @@ class TranscribeStreamingClient extends smithyClient.Client {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class TranscribeStreamingServiceException extends smithyClient.ServiceException {
|
|
120
|
+
let TranscribeStreamingServiceException$1 = class TranscribeStreamingServiceException extends smithyClient.ServiceException {
|
|
121
121
|
constructor(options) {
|
|
122
122
|
super(options);
|
|
123
123
|
Object.setPrototypeOf(this, TranscribeStreamingServiceException.prototype);
|
|
124
124
|
}
|
|
125
|
-
}
|
|
125
|
+
};
|
|
126
126
|
|
|
127
127
|
const ItemType = {
|
|
128
128
|
PRONUNCIATION: "pronunciation",
|
|
@@ -136,17 +136,7 @@ const ContentRedactionOutput = {
|
|
|
136
136
|
REDACTED: "redacted",
|
|
137
137
|
REDACTED_AND_UNREDACTED: "redacted_and_unredacted",
|
|
138
138
|
};
|
|
139
|
-
|
|
140
|
-
(function (AudioStream) {
|
|
141
|
-
AudioStream.visit = (value, visitor) => {
|
|
142
|
-
if (value.AudioEvent !== undefined)
|
|
143
|
-
return visitor.AudioEvent(value.AudioEvent);
|
|
144
|
-
if (value.ConfigurationEvent !== undefined)
|
|
145
|
-
return visitor.ConfigurationEvent(value.ConfigurationEvent);
|
|
146
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
147
|
-
};
|
|
148
|
-
})(exports.AudioStream || (exports.AudioStream = {}));
|
|
149
|
-
class BadRequestException extends TranscribeStreamingServiceException {
|
|
139
|
+
let BadRequestException$1 = class BadRequestException extends TranscribeStreamingServiceException$1 {
|
|
150
140
|
name = "BadRequestException";
|
|
151
141
|
$fault = "client";
|
|
152
142
|
Message;
|
|
@@ -159,7 +149,7 @@ class BadRequestException extends TranscribeStreamingServiceException {
|
|
|
159
149
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
160
150
|
this.Message = opts.Message;
|
|
161
151
|
}
|
|
162
|
-
}
|
|
152
|
+
};
|
|
163
153
|
const CallAnalyticsLanguageCode = {
|
|
164
154
|
DE_DE: "de-DE",
|
|
165
155
|
EN_AU: "en-AU",
|
|
@@ -171,7 +161,7 @@ const CallAnalyticsLanguageCode = {
|
|
|
171
161
|
IT_IT: "it-IT",
|
|
172
162
|
PT_BR: "pt-BR",
|
|
173
163
|
};
|
|
174
|
-
class ConflictException extends TranscribeStreamingServiceException {
|
|
164
|
+
let ConflictException$1 = class ConflictException extends TranscribeStreamingServiceException$1 {
|
|
175
165
|
name = "ConflictException";
|
|
176
166
|
$fault = "client";
|
|
177
167
|
Message;
|
|
@@ -184,8 +174,8 @@ class ConflictException extends TranscribeStreamingServiceException {
|
|
|
184
174
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
185
175
|
this.Message = opts.Message;
|
|
186
176
|
}
|
|
187
|
-
}
|
|
188
|
-
class InternalFailureException extends TranscribeStreamingServiceException {
|
|
177
|
+
};
|
|
178
|
+
let InternalFailureException$1 = class InternalFailureException extends TranscribeStreamingServiceException$1 {
|
|
189
179
|
name = "InternalFailureException";
|
|
190
180
|
$fault = "server";
|
|
191
181
|
Message;
|
|
@@ -198,8 +188,8 @@ class InternalFailureException extends TranscribeStreamingServiceException {
|
|
|
198
188
|
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
199
189
|
this.Message = opts.Message;
|
|
200
190
|
}
|
|
201
|
-
}
|
|
202
|
-
class LimitExceededException extends TranscribeStreamingServiceException {
|
|
191
|
+
};
|
|
192
|
+
let LimitExceededException$1 = class LimitExceededException extends TranscribeStreamingServiceException$1 {
|
|
203
193
|
name = "LimitExceededException";
|
|
204
194
|
$fault = "client";
|
|
205
195
|
Message;
|
|
@@ -212,8 +202,8 @@ class LimitExceededException extends TranscribeStreamingServiceException {
|
|
|
212
202
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
213
203
|
this.Message = opts.Message;
|
|
214
204
|
}
|
|
215
|
-
}
|
|
216
|
-
class ServiceUnavailableException extends TranscribeStreamingServiceException {
|
|
205
|
+
};
|
|
206
|
+
let ServiceUnavailableException$1 = class ServiceUnavailableException extends TranscribeStreamingServiceException$1 {
|
|
217
207
|
name = "ServiceUnavailableException";
|
|
218
208
|
$fault = "server";
|
|
219
209
|
Message;
|
|
@@ -226,33 +216,13 @@ class ServiceUnavailableException extends TranscribeStreamingServiceException {
|
|
|
226
216
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
227
217
|
this.Message = opts.Message;
|
|
228
218
|
}
|
|
229
|
-
}
|
|
219
|
+
};
|
|
230
220
|
const Sentiment = {
|
|
231
221
|
MIXED: "MIXED",
|
|
232
222
|
NEGATIVE: "NEGATIVE",
|
|
233
223
|
NEUTRAL: "NEUTRAL",
|
|
234
224
|
POSITIVE: "POSITIVE",
|
|
235
225
|
};
|
|
236
|
-
exports.CallAnalyticsTranscriptResultStream = void 0;
|
|
237
|
-
(function (CallAnalyticsTranscriptResultStream) {
|
|
238
|
-
CallAnalyticsTranscriptResultStream.visit = (value, visitor) => {
|
|
239
|
-
if (value.UtteranceEvent !== undefined)
|
|
240
|
-
return visitor.UtteranceEvent(value.UtteranceEvent);
|
|
241
|
-
if (value.CategoryEvent !== undefined)
|
|
242
|
-
return visitor.CategoryEvent(value.CategoryEvent);
|
|
243
|
-
if (value.BadRequestException !== undefined)
|
|
244
|
-
return visitor.BadRequestException(value.BadRequestException);
|
|
245
|
-
if (value.LimitExceededException !== undefined)
|
|
246
|
-
return visitor.LimitExceededException(value.LimitExceededException);
|
|
247
|
-
if (value.InternalFailureException !== undefined)
|
|
248
|
-
return visitor.InternalFailureException(value.InternalFailureException);
|
|
249
|
-
if (value.ConflictException !== undefined)
|
|
250
|
-
return visitor.ConflictException(value.ConflictException);
|
|
251
|
-
if (value.ServiceUnavailableException !== undefined)
|
|
252
|
-
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
253
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
254
|
-
};
|
|
255
|
-
})(exports.CallAnalyticsTranscriptResultStream || (exports.CallAnalyticsTranscriptResultStream = {}));
|
|
256
226
|
const ClinicalNoteGenerationStatus = {
|
|
257
227
|
COMPLETED: "COMPLETED",
|
|
258
228
|
FAILED: "FAILED",
|
|
@@ -296,7 +266,7 @@ const MedicalScribeVocabularyFilterMethod = {
|
|
|
296
266
|
REMOVE: "remove",
|
|
297
267
|
TAG: "tag",
|
|
298
268
|
};
|
|
299
|
-
class ResourceNotFoundException extends TranscribeStreamingServiceException {
|
|
269
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends TranscribeStreamingServiceException$1 {
|
|
300
270
|
name = "ResourceNotFoundException";
|
|
301
271
|
$fault = "client";
|
|
302
272
|
Message;
|
|
@@ -309,7 +279,7 @@ class ResourceNotFoundException extends TranscribeStreamingServiceException {
|
|
|
309
279
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
310
280
|
this.Message = opts.Message;
|
|
311
281
|
}
|
|
312
|
-
}
|
|
282
|
+
};
|
|
313
283
|
const LanguageCode = {
|
|
314
284
|
AF_ZA: "af-ZA",
|
|
315
285
|
AR_AE: "ar-AE",
|
|
@@ -374,7 +344,7 @@ const MediaEncoding = {
|
|
|
374
344
|
const MedicalContentIdentificationType = {
|
|
375
345
|
PHI: "PHI",
|
|
376
346
|
};
|
|
377
|
-
const Pronouns = {
|
|
347
|
+
const Pronouns$1 = {
|
|
378
348
|
HE_HIM: "HE_HIM",
|
|
379
349
|
SHE_HER: "SHE_HER",
|
|
380
350
|
THEY_THEM: "THEY_THEM",
|
|
@@ -382,58 +352,10 @@ const Pronouns = {
|
|
|
382
352
|
const MedicalScribeSessionControlEventType = {
|
|
383
353
|
END_OF_SESSION: "END_OF_SESSION",
|
|
384
354
|
};
|
|
385
|
-
exports.MedicalScribeInputStream = void 0;
|
|
386
|
-
(function (MedicalScribeInputStream) {
|
|
387
|
-
MedicalScribeInputStream.visit = (value, visitor) => {
|
|
388
|
-
if (value.AudioEvent !== undefined)
|
|
389
|
-
return visitor.AudioEvent(value.AudioEvent);
|
|
390
|
-
if (value.SessionControlEvent !== undefined)
|
|
391
|
-
return visitor.SessionControlEvent(value.SessionControlEvent);
|
|
392
|
-
if (value.ConfigurationEvent !== undefined)
|
|
393
|
-
return visitor.ConfigurationEvent(value.ConfigurationEvent);
|
|
394
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
395
|
-
};
|
|
396
|
-
})(exports.MedicalScribeInputStream || (exports.MedicalScribeInputStream = {}));
|
|
397
355
|
const MedicalScribeTranscriptItemType = {
|
|
398
356
|
PRONUNCIATION: "pronunciation",
|
|
399
357
|
PUNCTUATION: "punctuation",
|
|
400
358
|
};
|
|
401
|
-
exports.MedicalScribeResultStream = void 0;
|
|
402
|
-
(function (MedicalScribeResultStream) {
|
|
403
|
-
MedicalScribeResultStream.visit = (value, visitor) => {
|
|
404
|
-
if (value.TranscriptEvent !== undefined)
|
|
405
|
-
return visitor.TranscriptEvent(value.TranscriptEvent);
|
|
406
|
-
if (value.BadRequestException !== undefined)
|
|
407
|
-
return visitor.BadRequestException(value.BadRequestException);
|
|
408
|
-
if (value.LimitExceededException !== undefined)
|
|
409
|
-
return visitor.LimitExceededException(value.LimitExceededException);
|
|
410
|
-
if (value.InternalFailureException !== undefined)
|
|
411
|
-
return visitor.InternalFailureException(value.InternalFailureException);
|
|
412
|
-
if (value.ConflictException !== undefined)
|
|
413
|
-
return visitor.ConflictException(value.ConflictException);
|
|
414
|
-
if (value.ServiceUnavailableException !== undefined)
|
|
415
|
-
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
416
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
417
|
-
};
|
|
418
|
-
})(exports.MedicalScribeResultStream || (exports.MedicalScribeResultStream = {}));
|
|
419
|
-
exports.MedicalTranscriptResultStream = void 0;
|
|
420
|
-
(function (MedicalTranscriptResultStream) {
|
|
421
|
-
MedicalTranscriptResultStream.visit = (value, visitor) => {
|
|
422
|
-
if (value.TranscriptEvent !== undefined)
|
|
423
|
-
return visitor.TranscriptEvent(value.TranscriptEvent);
|
|
424
|
-
if (value.BadRequestException !== undefined)
|
|
425
|
-
return visitor.BadRequestException(value.BadRequestException);
|
|
426
|
-
if (value.LimitExceededException !== undefined)
|
|
427
|
-
return visitor.LimitExceededException(value.LimitExceededException);
|
|
428
|
-
if (value.InternalFailureException !== undefined)
|
|
429
|
-
return visitor.InternalFailureException(value.InternalFailureException);
|
|
430
|
-
if (value.ConflictException !== undefined)
|
|
431
|
-
return visitor.ConflictException(value.ConflictException);
|
|
432
|
-
if (value.ServiceUnavailableException !== undefined)
|
|
433
|
-
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
434
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
435
|
-
};
|
|
436
|
-
})(exports.MedicalTranscriptResultStream || (exports.MedicalTranscriptResultStream = {}));
|
|
437
359
|
const PartialResultsStability = {
|
|
438
360
|
HIGH: "high",
|
|
439
361
|
LOW: "low",
|
|
@@ -456,1112 +378,183 @@ const Type = {
|
|
|
456
378
|
CONVERSATION: "CONVERSATION",
|
|
457
379
|
DICTATION: "DICTATION",
|
|
458
380
|
};
|
|
459
|
-
exports.TranscriptResultStream = void 0;
|
|
460
|
-
(function (TranscriptResultStream) {
|
|
461
|
-
TranscriptResultStream.visit = (value, visitor) => {
|
|
462
|
-
if (value.TranscriptEvent !== undefined)
|
|
463
|
-
return visitor.TranscriptEvent(value.TranscriptEvent);
|
|
464
|
-
if (value.BadRequestException !== undefined)
|
|
465
|
-
return visitor.BadRequestException(value.BadRequestException);
|
|
466
|
-
if (value.LimitExceededException !== undefined)
|
|
467
|
-
return visitor.LimitExceededException(value.LimitExceededException);
|
|
468
|
-
if (value.InternalFailureException !== undefined)
|
|
469
|
-
return visitor.InternalFailureException(value.InternalFailureException);
|
|
470
|
-
if (value.ConflictException !== undefined)
|
|
471
|
-
return visitor.ConflictException(value.ConflictException);
|
|
472
|
-
if (value.ServiceUnavailableException !== undefined)
|
|
473
|
-
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
474
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
475
|
-
};
|
|
476
|
-
})(exports.TranscriptResultStream || (exports.TranscriptResultStream = {}));
|
|
477
|
-
const AudioStreamFilterSensitiveLog = (obj) => {
|
|
478
|
-
if (obj.AudioEvent !== undefined)
|
|
479
|
-
return { AudioEvent: obj.AudioEvent };
|
|
480
|
-
if (obj.ConfigurationEvent !== undefined)
|
|
481
|
-
return { ConfigurationEvent: obj.ConfigurationEvent };
|
|
482
|
-
if (obj.$unknown !== undefined)
|
|
483
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
484
|
-
};
|
|
485
|
-
const CallAnalyticsTranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
486
|
-
if (obj.UtteranceEvent !== undefined)
|
|
487
|
-
return { UtteranceEvent: obj.UtteranceEvent };
|
|
488
|
-
if (obj.CategoryEvent !== undefined)
|
|
489
|
-
return { CategoryEvent: obj.CategoryEvent };
|
|
490
|
-
if (obj.BadRequestException !== undefined)
|
|
491
|
-
return { BadRequestException: obj.BadRequestException };
|
|
492
|
-
if (obj.LimitExceededException !== undefined)
|
|
493
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
494
|
-
if (obj.InternalFailureException !== undefined)
|
|
495
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
496
|
-
if (obj.ConflictException !== undefined)
|
|
497
|
-
return { ConflictException: obj.ConflictException };
|
|
498
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
499
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
500
|
-
if (obj.$unknown !== undefined)
|
|
501
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
502
|
-
};
|
|
503
|
-
const MedicalScribePatientContextFilterSensitiveLog = (obj) => ({
|
|
504
|
-
...obj,
|
|
505
|
-
...(obj.Pronouns && { Pronouns: smithyClient.SENSITIVE_STRING }),
|
|
506
|
-
});
|
|
507
|
-
const MedicalScribeContextFilterSensitiveLog = (obj) => ({
|
|
508
|
-
...obj,
|
|
509
|
-
...(obj.PatientContext && { PatientContext: MedicalScribePatientContextFilterSensitiveLog(obj.PatientContext) }),
|
|
510
|
-
});
|
|
511
|
-
const MedicalScribeConfigurationEventFilterSensitiveLog = (obj) => ({
|
|
512
|
-
...obj,
|
|
513
|
-
...(obj.MedicalScribeContext && {
|
|
514
|
-
MedicalScribeContext: MedicalScribeContextFilterSensitiveLog(obj.MedicalScribeContext),
|
|
515
|
-
}),
|
|
516
|
-
});
|
|
517
|
-
const MedicalScribeInputStreamFilterSensitiveLog = (obj) => {
|
|
518
|
-
if (obj.AudioEvent !== undefined)
|
|
519
|
-
return { AudioEvent: obj.AudioEvent };
|
|
520
|
-
if (obj.SessionControlEvent !== undefined)
|
|
521
|
-
return { SessionControlEvent: obj.SessionControlEvent };
|
|
522
|
-
if (obj.ConfigurationEvent !== undefined)
|
|
523
|
-
return { ConfigurationEvent: MedicalScribeConfigurationEventFilterSensitiveLog(obj.ConfigurationEvent) };
|
|
524
|
-
if (obj.$unknown !== undefined)
|
|
525
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
526
|
-
};
|
|
527
|
-
const MedicalScribeResultStreamFilterSensitiveLog = (obj) => {
|
|
528
|
-
if (obj.TranscriptEvent !== undefined)
|
|
529
|
-
return { TranscriptEvent: obj.TranscriptEvent };
|
|
530
|
-
if (obj.BadRequestException !== undefined)
|
|
531
|
-
return { BadRequestException: obj.BadRequestException };
|
|
532
|
-
if (obj.LimitExceededException !== undefined)
|
|
533
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
534
|
-
if (obj.InternalFailureException !== undefined)
|
|
535
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
536
|
-
if (obj.ConflictException !== undefined)
|
|
537
|
-
return { ConflictException: obj.ConflictException };
|
|
538
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
539
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
540
|
-
if (obj.$unknown !== undefined)
|
|
541
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
542
|
-
};
|
|
543
|
-
const MedicalTranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
544
|
-
if (obj.TranscriptEvent !== undefined)
|
|
545
|
-
return { TranscriptEvent: obj.TranscriptEvent };
|
|
546
|
-
if (obj.BadRequestException !== undefined)
|
|
547
|
-
return { BadRequestException: obj.BadRequestException };
|
|
548
|
-
if (obj.LimitExceededException !== undefined)
|
|
549
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
550
|
-
if (obj.InternalFailureException !== undefined)
|
|
551
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
552
|
-
if (obj.ConflictException !== undefined)
|
|
553
|
-
return { ConflictException: obj.ConflictException };
|
|
554
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
555
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
556
|
-
if (obj.$unknown !== undefined)
|
|
557
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
558
|
-
};
|
|
559
|
-
const StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
560
|
-
...obj,
|
|
561
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
562
|
-
});
|
|
563
|
-
const StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
564
|
-
...obj,
|
|
565
|
-
...(obj.CallAnalyticsTranscriptResultStream && { CallAnalyticsTranscriptResultStream: "STREAMING_CONTENT" }),
|
|
566
|
-
});
|
|
567
|
-
const StartMedicalScribeStreamRequestFilterSensitiveLog = (obj) => ({
|
|
568
|
-
...obj,
|
|
569
|
-
...(obj.InputStream && { InputStream: "STREAMING_CONTENT" }),
|
|
570
|
-
});
|
|
571
|
-
const StartMedicalScribeStreamResponseFilterSensitiveLog = (obj) => ({
|
|
572
|
-
...obj,
|
|
573
|
-
...(obj.ResultStream && { ResultStream: "STREAMING_CONTENT" }),
|
|
574
|
-
});
|
|
575
|
-
const StartMedicalStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
578
|
-
});
|
|
579
|
-
const StartMedicalStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
580
|
-
...obj,
|
|
581
|
-
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
582
|
-
});
|
|
583
|
-
const StartStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
584
|
-
...obj,
|
|
585
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
586
|
-
});
|
|
587
|
-
const TranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
588
|
-
if (obj.TranscriptEvent !== undefined)
|
|
589
|
-
return { TranscriptEvent: obj.TranscriptEvent };
|
|
590
|
-
if (obj.BadRequestException !== undefined)
|
|
591
|
-
return { BadRequestException: obj.BadRequestException };
|
|
592
|
-
if (obj.LimitExceededException !== undefined)
|
|
593
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
594
|
-
if (obj.InternalFailureException !== undefined)
|
|
595
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
596
|
-
if (obj.ConflictException !== undefined)
|
|
597
|
-
return { ConflictException: obj.ConflictException };
|
|
598
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
599
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
600
|
-
if (obj.$unknown !== undefined)
|
|
601
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
602
|
-
};
|
|
603
|
-
const StartStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
606
|
-
});
|
|
607
381
|
|
|
608
|
-
const
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
const
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
[_xatvn_]: input[_VNo],
|
|
633
|
-
[_xatvfn_]: input[_VFNo],
|
|
634
|
-
[_xateprs]: [() => smithyClient.isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
635
|
-
[_xatprs]: input[_PRS],
|
|
636
|
-
[_xatcit]: input[_CIT],
|
|
637
|
-
[_xatcrt]: input[_CRT],
|
|
638
|
-
[_xatpet]: input[_PET],
|
|
639
|
-
});
|
|
640
|
-
b.bp("/call-analytics-stream-transcription");
|
|
641
|
-
let body;
|
|
642
|
-
if (input.AudioStream !== undefined) {
|
|
643
|
-
body = se_AudioStream(input.AudioStream, context);
|
|
644
|
-
}
|
|
645
|
-
b.m("POST").h(headers).b(body);
|
|
646
|
-
return b.build();
|
|
647
|
-
};
|
|
648
|
-
const se_StartMedicalScribeStreamCommand = async (input, context) => {
|
|
649
|
-
const b = core.requestBuilder(input, context);
|
|
650
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
651
|
-
"content-type": "application/json",
|
|
652
|
-
[_xatsi]: input[_SI],
|
|
653
|
-
[_xatlc]: input[_LC],
|
|
654
|
-
[_xatsr]: [() => smithyClient.isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
655
|
-
[_xatme]: input[_ME],
|
|
656
|
-
});
|
|
657
|
-
b.bp("/medical-scribe-stream");
|
|
658
|
-
let body;
|
|
659
|
-
if (input.InputStream !== undefined) {
|
|
660
|
-
body = se_MedicalScribeInputStream(input.InputStream, context);
|
|
661
|
-
}
|
|
662
|
-
b.m("POST").h(headers).b(body);
|
|
663
|
-
return b.build();
|
|
664
|
-
};
|
|
665
|
-
const se_StartMedicalStreamTranscriptionCommand = async (input, context) => {
|
|
666
|
-
const b = core.requestBuilder(input, context);
|
|
667
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
668
|
-
"content-type": "application/json",
|
|
669
|
-
[_xatlc]: input[_LC],
|
|
670
|
-
[_xatsr]: [() => smithyClient.isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
671
|
-
[_xatme]: input[_ME],
|
|
672
|
-
[_xatvn]: input[_VN],
|
|
673
|
-
[_xats]: input[_S],
|
|
674
|
-
[_xatt]: input[_T],
|
|
675
|
-
[_xatssl]: [() => smithyClient.isSerializableHeaderValue(input[_SSL]), () => input[_SSL].toString()],
|
|
676
|
-
[_xatsi]: input[_SI],
|
|
677
|
-
[_xateci]: [() => smithyClient.isSerializableHeaderValue(input[_ECI]), () => input[_ECI].toString()],
|
|
678
|
-
[_xatnoc]: [() => smithyClient.isSerializableHeaderValue(input[_NOC]), () => input[_NOC].toString()],
|
|
679
|
-
[_xatcit]: input[_CIT],
|
|
680
|
-
});
|
|
681
|
-
b.bp("/medical-stream-transcription");
|
|
682
|
-
let body;
|
|
683
|
-
if (input.AudioStream !== undefined) {
|
|
684
|
-
body = se_AudioStream(input.AudioStream, context);
|
|
685
|
-
}
|
|
686
|
-
b.m("POST").h(headers).b(body);
|
|
687
|
-
return b.build();
|
|
688
|
-
};
|
|
689
|
-
const se_StartStreamTranscriptionCommand = async (input, context) => {
|
|
690
|
-
const b = core.requestBuilder(input, context);
|
|
691
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
692
|
-
"content-type": "application/json",
|
|
693
|
-
[_xatlc]: input[_LC],
|
|
694
|
-
[_xatsr]: [() => smithyClient.isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
695
|
-
[_xatme]: input[_ME],
|
|
696
|
-
[_xatvn]: input[_VN],
|
|
697
|
-
[_xatsi]: input[_SI],
|
|
698
|
-
[_xatvfn]: input[_VFN],
|
|
699
|
-
[_xatvfm]: input[_VFM],
|
|
700
|
-
[_xatssl]: [() => smithyClient.isSerializableHeaderValue(input[_SSL]), () => input[_SSL].toString()],
|
|
701
|
-
[_xateci]: [() => smithyClient.isSerializableHeaderValue(input[_ECI]), () => input[_ECI].toString()],
|
|
702
|
-
[_xatnoc]: [() => smithyClient.isSerializableHeaderValue(input[_NOC]), () => input[_NOC].toString()],
|
|
703
|
-
[_xateprs]: [() => smithyClient.isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
704
|
-
[_xatprs]: input[_PRS],
|
|
705
|
-
[_xatcit]: input[_CIT],
|
|
706
|
-
[_xatcrt]: input[_CRT],
|
|
707
|
-
[_xatpet]: input[_PET],
|
|
708
|
-
[_xatlmn]: input[_LMN],
|
|
709
|
-
[_xatil]: [() => smithyClient.isSerializableHeaderValue(input[_IL]), () => input[_IL].toString()],
|
|
710
|
-
[_xatlo]: input[_LO],
|
|
711
|
-
[_xatpl]: input[_PL],
|
|
712
|
-
[_xatiml]: [() => smithyClient.isSerializableHeaderValue(input[_IML]), () => input[_IML].toString()],
|
|
713
|
-
[_xatvn_]: input[_VNo],
|
|
714
|
-
[_xatvfn_]: input[_VFNo],
|
|
715
|
-
});
|
|
716
|
-
b.bp("/stream-transcription");
|
|
717
|
-
let body;
|
|
718
|
-
if (input.AudioStream !== undefined) {
|
|
719
|
-
body = se_AudioStream(input.AudioStream, context);
|
|
720
|
-
}
|
|
721
|
-
b.m("POST").h(headers).b(body);
|
|
722
|
-
return b.build();
|
|
723
|
-
};
|
|
724
|
-
const de_GetMedicalScribeStreamCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const contents = smithyClient.map({
|
|
729
|
-
$metadata: deserializeMetadata(output),
|
|
730
|
-
});
|
|
731
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
732
|
-
const doc = smithyClient.take(data, {
|
|
733
|
-
MedicalScribeStreamDetails: (_) => de_MedicalScribeStreamDetails(_),
|
|
734
|
-
});
|
|
735
|
-
Object.assign(contents, doc);
|
|
736
|
-
return contents;
|
|
737
|
-
};
|
|
738
|
-
const de_StartCallAnalyticsStreamTranscriptionCommand = async (output, context) => {
|
|
739
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
740
|
-
return de_CommandError(output, context);
|
|
741
|
-
}
|
|
742
|
-
const contents = smithyClient.map({
|
|
743
|
-
$metadata: deserializeMetadata(output),
|
|
744
|
-
[_RI]: [, output.headers[_xari]],
|
|
745
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
746
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
747
|
-
[_ME]: [, output.headers[_xatme]],
|
|
748
|
-
[_VN]: [, output.headers[_xatvn]],
|
|
749
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
750
|
-
[_VFN]: [, output.headers[_xatvfn]],
|
|
751
|
-
[_VFM]: [, output.headers[_xatvfm]],
|
|
752
|
-
[_LMN]: [, output.headers[_xatlmn]],
|
|
753
|
-
[_IL]: [() => void 0 !== output.headers[_xatil], () => smithyClient.parseBoolean(output.headers[_xatil])],
|
|
754
|
-
[_LO]: [, output.headers[_xatlo]],
|
|
755
|
-
[_PL]: [, output.headers[_xatpl]],
|
|
756
|
-
[_VNo]: [, output.headers[_xatvn_]],
|
|
757
|
-
[_VFNo]: [, output.headers[_xatvfn_]],
|
|
758
|
-
[_EPRS]: [() => void 0 !== output.headers[_xateprs], () => smithyClient.parseBoolean(output.headers[_xateprs])],
|
|
759
|
-
[_PRS]: [, output.headers[_xatprs]],
|
|
760
|
-
[_CIT]: [, output.headers[_xatcit]],
|
|
761
|
-
[_CRT]: [, output.headers[_xatcrt]],
|
|
762
|
-
[_PET]: [, output.headers[_xatpet]],
|
|
763
|
-
});
|
|
764
|
-
const data = output.body;
|
|
765
|
-
contents.CallAnalyticsTranscriptResultStream = de_CallAnalyticsTranscriptResultStream(data, context);
|
|
766
|
-
return contents;
|
|
767
|
-
};
|
|
768
|
-
const de_StartMedicalScribeStreamCommand = async (output, context) => {
|
|
769
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
770
|
-
return de_CommandError(output, context);
|
|
771
|
-
}
|
|
772
|
-
const contents = smithyClient.map({
|
|
773
|
-
$metadata: deserializeMetadata(output),
|
|
774
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
775
|
-
[_RI]: [, output.headers[_xari]],
|
|
776
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
777
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
778
|
-
[_ME]: [, output.headers[_xatme]],
|
|
779
|
-
});
|
|
780
|
-
const data = output.body;
|
|
781
|
-
contents.ResultStream = de_MedicalScribeResultStream(data, context);
|
|
782
|
-
return contents;
|
|
783
|
-
};
|
|
784
|
-
const de_StartMedicalStreamTranscriptionCommand = async (output, context) => {
|
|
785
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
786
|
-
return de_CommandError(output, context);
|
|
787
|
-
}
|
|
788
|
-
const contents = smithyClient.map({
|
|
789
|
-
$metadata: deserializeMetadata(output),
|
|
790
|
-
[_RI]: [, output.headers[_xari]],
|
|
791
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
792
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
793
|
-
[_ME]: [, output.headers[_xatme]],
|
|
794
|
-
[_VN]: [, output.headers[_xatvn]],
|
|
795
|
-
[_S]: [, output.headers[_xats]],
|
|
796
|
-
[_T]: [, output.headers[_xatt]],
|
|
797
|
-
[_SSL]: [() => void 0 !== output.headers[_xatssl], () => smithyClient.parseBoolean(output.headers[_xatssl])],
|
|
798
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
799
|
-
[_ECI]: [() => void 0 !== output.headers[_xateci], () => smithyClient.parseBoolean(output.headers[_xateci])],
|
|
800
|
-
[_NOC]: [() => void 0 !== output.headers[_xatnoc], () => smithyClient.strictParseInt32(output.headers[_xatnoc])],
|
|
801
|
-
[_CIT]: [, output.headers[_xatcit]],
|
|
802
|
-
});
|
|
803
|
-
const data = output.body;
|
|
804
|
-
contents.TranscriptResultStream = de_MedicalTranscriptResultStream(data, context);
|
|
805
|
-
return contents;
|
|
806
|
-
};
|
|
807
|
-
const de_StartStreamTranscriptionCommand = async (output, context) => {
|
|
808
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
809
|
-
return de_CommandError(output, context);
|
|
810
|
-
}
|
|
811
|
-
const contents = smithyClient.map({
|
|
812
|
-
$metadata: deserializeMetadata(output),
|
|
813
|
-
[_RI]: [, output.headers[_xari]],
|
|
814
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
815
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
816
|
-
[_ME]: [, output.headers[_xatme]],
|
|
817
|
-
[_VN]: [, output.headers[_xatvn]],
|
|
818
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
819
|
-
[_VFN]: [, output.headers[_xatvfn]],
|
|
820
|
-
[_VFM]: [, output.headers[_xatvfm]],
|
|
821
|
-
[_SSL]: [() => void 0 !== output.headers[_xatssl], () => smithyClient.parseBoolean(output.headers[_xatssl])],
|
|
822
|
-
[_ECI]: [() => void 0 !== output.headers[_xateci], () => smithyClient.parseBoolean(output.headers[_xateci])],
|
|
823
|
-
[_NOC]: [() => void 0 !== output.headers[_xatnoc], () => smithyClient.strictParseInt32(output.headers[_xatnoc])],
|
|
824
|
-
[_EPRS]: [() => void 0 !== output.headers[_xateprs], () => smithyClient.parseBoolean(output.headers[_xateprs])],
|
|
825
|
-
[_PRS]: [, output.headers[_xatprs]],
|
|
826
|
-
[_CIT]: [, output.headers[_xatcit]],
|
|
827
|
-
[_CRT]: [, output.headers[_xatcrt]],
|
|
828
|
-
[_PET]: [, output.headers[_xatpet]],
|
|
829
|
-
[_LMN]: [, output.headers[_xatlmn]],
|
|
830
|
-
[_IL]: [() => void 0 !== output.headers[_xatil], () => smithyClient.parseBoolean(output.headers[_xatil])],
|
|
831
|
-
[_LO]: [, output.headers[_xatlo]],
|
|
832
|
-
[_PL]: [, output.headers[_xatpl]],
|
|
833
|
-
[_IML]: [() => void 0 !== output.headers[_xatiml], () => smithyClient.parseBoolean(output.headers[_xatiml])],
|
|
834
|
-
[_VNo]: [, output.headers[_xatvn_]],
|
|
835
|
-
[_VFNo]: [, output.headers[_xatvfn_]],
|
|
836
|
-
});
|
|
837
|
-
const data = output.body;
|
|
838
|
-
contents.TranscriptResultStream = de_TranscriptResultStream(data, context);
|
|
839
|
-
return contents;
|
|
840
|
-
};
|
|
841
|
-
const de_CommandError = async (output, context) => {
|
|
842
|
-
const parsedOutput = {
|
|
843
|
-
...output,
|
|
844
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
845
|
-
};
|
|
846
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
847
|
-
switch (errorCode) {
|
|
848
|
-
case "BadRequestException":
|
|
849
|
-
case "com.amazonaws.transcribestreaming#BadRequestException":
|
|
850
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
851
|
-
case "InternalFailureException":
|
|
852
|
-
case "com.amazonaws.transcribestreaming#InternalFailureException":
|
|
853
|
-
throw await de_InternalFailureExceptionRes(parsedOutput);
|
|
854
|
-
case "LimitExceededException":
|
|
855
|
-
case "com.amazonaws.transcribestreaming#LimitExceededException":
|
|
856
|
-
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
857
|
-
case "ResourceNotFoundException":
|
|
858
|
-
case "com.amazonaws.transcribestreaming#ResourceNotFoundException":
|
|
859
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
860
|
-
case "ConflictException":
|
|
861
|
-
case "com.amazonaws.transcribestreaming#ConflictException":
|
|
862
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
863
|
-
case "ServiceUnavailableException":
|
|
864
|
-
case "com.amazonaws.transcribestreaming#ServiceUnavailableException":
|
|
865
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
866
|
-
default:
|
|
867
|
-
const parsedBody = parsedOutput.body;
|
|
868
|
-
return throwDefaultError({
|
|
869
|
-
output,
|
|
870
|
-
parsedBody,
|
|
871
|
-
errorCode,
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
};
|
|
875
|
-
const throwDefaultError = smithyClient.withBaseException(TranscribeStreamingServiceException);
|
|
876
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
877
|
-
const contents = smithyClient.map({});
|
|
878
|
-
const data = parsedOutput.body;
|
|
879
|
-
const doc = smithyClient.take(data, {
|
|
880
|
-
Message: smithyClient.expectString,
|
|
881
|
-
});
|
|
882
|
-
Object.assign(contents, doc);
|
|
883
|
-
const exception = new BadRequestException({
|
|
884
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
885
|
-
...contents,
|
|
886
|
-
});
|
|
887
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
888
|
-
};
|
|
889
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
890
|
-
const contents = smithyClient.map({});
|
|
891
|
-
const data = parsedOutput.body;
|
|
892
|
-
const doc = smithyClient.take(data, {
|
|
893
|
-
Message: smithyClient.expectString,
|
|
894
|
-
});
|
|
895
|
-
Object.assign(contents, doc);
|
|
896
|
-
const exception = new ConflictException({
|
|
897
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
898
|
-
...contents,
|
|
899
|
-
});
|
|
900
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
901
|
-
};
|
|
902
|
-
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
903
|
-
const contents = smithyClient.map({});
|
|
904
|
-
const data = parsedOutput.body;
|
|
905
|
-
const doc = smithyClient.take(data, {
|
|
906
|
-
Message: smithyClient.expectString,
|
|
907
|
-
});
|
|
908
|
-
Object.assign(contents, doc);
|
|
909
|
-
const exception = new InternalFailureException({
|
|
910
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
911
|
-
...contents,
|
|
912
|
-
});
|
|
913
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
914
|
-
};
|
|
915
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
916
|
-
const contents = smithyClient.map({});
|
|
917
|
-
const data = parsedOutput.body;
|
|
918
|
-
const doc = smithyClient.take(data, {
|
|
919
|
-
Message: smithyClient.expectString,
|
|
920
|
-
});
|
|
921
|
-
Object.assign(contents, doc);
|
|
922
|
-
const exception = new LimitExceededException({
|
|
923
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
924
|
-
...contents,
|
|
925
|
-
});
|
|
926
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
927
|
-
};
|
|
928
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
929
|
-
const contents = smithyClient.map({});
|
|
930
|
-
const data = parsedOutput.body;
|
|
931
|
-
const doc = smithyClient.take(data, {
|
|
932
|
-
Message: smithyClient.expectString,
|
|
933
|
-
});
|
|
934
|
-
Object.assign(contents, doc);
|
|
935
|
-
const exception = new ResourceNotFoundException({
|
|
936
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
937
|
-
...contents,
|
|
938
|
-
});
|
|
939
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
940
|
-
};
|
|
941
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
942
|
-
const contents = smithyClient.map({});
|
|
943
|
-
const data = parsedOutput.body;
|
|
944
|
-
const doc = smithyClient.take(data, {
|
|
945
|
-
Message: smithyClient.expectString,
|
|
946
|
-
});
|
|
947
|
-
Object.assign(contents, doc);
|
|
948
|
-
const exception = new ServiceUnavailableException({
|
|
949
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
950
|
-
...contents,
|
|
951
|
-
});
|
|
952
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
953
|
-
};
|
|
954
|
-
const se_AudioStream = (input, context) => {
|
|
955
|
-
const eventMarshallingVisitor = (event) => exports.AudioStream.visit(event, {
|
|
956
|
-
AudioEvent: (value) => se_AudioEvent_event(value),
|
|
957
|
-
ConfigurationEvent: (value) => se_ConfigurationEvent_event(value, context),
|
|
958
|
-
_: (value) => value,
|
|
959
|
-
});
|
|
960
|
-
return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
|
|
961
|
-
};
|
|
962
|
-
const se_MedicalScribeInputStream = (input, context) => {
|
|
963
|
-
const eventMarshallingVisitor = (event) => exports.MedicalScribeInputStream.visit(event, {
|
|
964
|
-
AudioEvent: (value) => se_MedicalScribeAudioEvent_event(value),
|
|
965
|
-
SessionControlEvent: (value) => se_MedicalScribeSessionControlEvent_event(value, context),
|
|
966
|
-
ConfigurationEvent: (value) => se_MedicalScribeConfigurationEvent_event(value, context),
|
|
967
|
-
_: (value) => value,
|
|
968
|
-
});
|
|
969
|
-
return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
|
|
970
|
-
};
|
|
971
|
-
const se_AudioEvent_event = (input, context) => {
|
|
972
|
-
const headers = {
|
|
973
|
-
":event-type": { type: "string", value: "AudioEvent" },
|
|
974
|
-
":message-type": { type: "string", value: "event" },
|
|
975
|
-
":content-type": { type: "string", value: "application/octet-stream" },
|
|
976
|
-
};
|
|
977
|
-
let body = new Uint8Array();
|
|
978
|
-
if (input.AudioChunk != null) {
|
|
979
|
-
body = input.AudioChunk;
|
|
980
|
-
}
|
|
981
|
-
return { headers, body };
|
|
982
|
-
};
|
|
983
|
-
const se_ConfigurationEvent_event = (input, context) => {
|
|
984
|
-
const headers = {
|
|
985
|
-
":event-type": { type: "string", value: "ConfigurationEvent" },
|
|
986
|
-
":message-type": { type: "string", value: "event" },
|
|
987
|
-
":content-type": { type: "string", value: "application/json" },
|
|
988
|
-
};
|
|
989
|
-
let body = new Uint8Array();
|
|
990
|
-
body = smithyClient._json(input);
|
|
991
|
-
body = context.utf8Decoder(JSON.stringify(body));
|
|
992
|
-
return { headers, body };
|
|
993
|
-
};
|
|
994
|
-
const se_MedicalScribeAudioEvent_event = (input, context) => {
|
|
995
|
-
const headers = {
|
|
996
|
-
":event-type": { type: "string", value: "AudioEvent" },
|
|
997
|
-
":message-type": { type: "string", value: "event" },
|
|
998
|
-
":content-type": { type: "string", value: "application/octet-stream" },
|
|
999
|
-
};
|
|
1000
|
-
let body = new Uint8Array();
|
|
1001
|
-
if (input.AudioChunk != null) {
|
|
1002
|
-
body = input.AudioChunk;
|
|
1003
|
-
}
|
|
1004
|
-
return { headers, body };
|
|
1005
|
-
};
|
|
1006
|
-
const se_MedicalScribeConfigurationEvent_event = (input, context) => {
|
|
1007
|
-
const headers = {
|
|
1008
|
-
":event-type": { type: "string", value: "ConfigurationEvent" },
|
|
1009
|
-
":message-type": { type: "string", value: "event" },
|
|
1010
|
-
":content-type": { type: "string", value: "application/json" },
|
|
1011
|
-
};
|
|
1012
|
-
let body = new Uint8Array();
|
|
1013
|
-
body = smithyClient._json(input);
|
|
1014
|
-
body = context.utf8Decoder(JSON.stringify(body));
|
|
1015
|
-
return { headers, body };
|
|
1016
|
-
};
|
|
1017
|
-
const se_MedicalScribeSessionControlEvent_event = (input, context) => {
|
|
1018
|
-
const headers = {
|
|
1019
|
-
":event-type": { type: "string", value: "SessionControlEvent" },
|
|
1020
|
-
":message-type": { type: "string", value: "event" },
|
|
1021
|
-
":content-type": { type: "string", value: "application/json" },
|
|
1022
|
-
};
|
|
1023
|
-
let body = new Uint8Array();
|
|
1024
|
-
body = smithyClient._json(input);
|
|
1025
|
-
body = context.utf8Decoder(JSON.stringify(body));
|
|
1026
|
-
return { headers, body };
|
|
1027
|
-
};
|
|
1028
|
-
const de_CallAnalyticsTranscriptResultStream = (output, context) => {
|
|
1029
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1030
|
-
if (event["UtteranceEvent"] != null) {
|
|
1031
|
-
return {
|
|
1032
|
-
UtteranceEvent: await de_UtteranceEvent_event(event["UtteranceEvent"], context),
|
|
1033
|
-
};
|
|
1034
|
-
}
|
|
1035
|
-
if (event["CategoryEvent"] != null) {
|
|
1036
|
-
return {
|
|
1037
|
-
CategoryEvent: await de_CategoryEvent_event(event["CategoryEvent"], context),
|
|
1038
|
-
};
|
|
1039
|
-
}
|
|
1040
|
-
if (event["BadRequestException"] != null) {
|
|
1041
|
-
return {
|
|
1042
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
if (event["LimitExceededException"] != null) {
|
|
1046
|
-
return {
|
|
1047
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1048
|
-
};
|
|
1049
|
-
}
|
|
1050
|
-
if (event["InternalFailureException"] != null) {
|
|
1051
|
-
return {
|
|
1052
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1053
|
-
};
|
|
1054
|
-
}
|
|
1055
|
-
if (event["ConflictException"] != null) {
|
|
1056
|
-
return {
|
|
1057
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1061
|
-
return {
|
|
1062
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1063
|
-
};
|
|
1064
|
-
}
|
|
1065
|
-
return { $unknown: event };
|
|
1066
|
-
});
|
|
1067
|
-
};
|
|
1068
|
-
const de_MedicalScribeResultStream = (output, context) => {
|
|
1069
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1070
|
-
if (event["TranscriptEvent"] != null) {
|
|
1071
|
-
return {
|
|
1072
|
-
TranscriptEvent: await de_MedicalScribeTranscriptEvent_event(event["TranscriptEvent"], context),
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
if (event["BadRequestException"] != null) {
|
|
1076
|
-
return {
|
|
1077
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1078
|
-
};
|
|
1079
|
-
}
|
|
1080
|
-
if (event["LimitExceededException"] != null) {
|
|
1081
|
-
return {
|
|
1082
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1083
|
-
};
|
|
1084
|
-
}
|
|
1085
|
-
if (event["InternalFailureException"] != null) {
|
|
1086
|
-
return {
|
|
1087
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1088
|
-
};
|
|
1089
|
-
}
|
|
1090
|
-
if (event["ConflictException"] != null) {
|
|
1091
|
-
return {
|
|
1092
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1093
|
-
};
|
|
1094
|
-
}
|
|
1095
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1096
|
-
return {
|
|
1097
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1098
|
-
};
|
|
1099
|
-
}
|
|
1100
|
-
return { $unknown: event };
|
|
1101
|
-
});
|
|
1102
|
-
};
|
|
1103
|
-
const de_MedicalTranscriptResultStream = (output, context) => {
|
|
1104
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1105
|
-
if (event["TranscriptEvent"] != null) {
|
|
1106
|
-
return {
|
|
1107
|
-
TranscriptEvent: await de_MedicalTranscriptEvent_event(event["TranscriptEvent"], context),
|
|
1108
|
-
};
|
|
1109
|
-
}
|
|
1110
|
-
if (event["BadRequestException"] != null) {
|
|
1111
|
-
return {
|
|
1112
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
|
-
if (event["LimitExceededException"] != null) {
|
|
1116
|
-
return {
|
|
1117
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1118
|
-
};
|
|
1119
|
-
}
|
|
1120
|
-
if (event["InternalFailureException"] != null) {
|
|
1121
|
-
return {
|
|
1122
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1123
|
-
};
|
|
1124
|
-
}
|
|
1125
|
-
if (event["ConflictException"] != null) {
|
|
1126
|
-
return {
|
|
1127
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1128
|
-
};
|
|
1129
|
-
}
|
|
1130
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1131
|
-
return {
|
|
1132
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1133
|
-
};
|
|
1134
|
-
}
|
|
1135
|
-
return { $unknown: event };
|
|
1136
|
-
});
|
|
1137
|
-
};
|
|
1138
|
-
const de_TranscriptResultStream = (output, context) => {
|
|
1139
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1140
|
-
if (event["TranscriptEvent"] != null) {
|
|
1141
|
-
return {
|
|
1142
|
-
TranscriptEvent: await de_TranscriptEvent_event(event["TranscriptEvent"], context),
|
|
1143
|
-
};
|
|
1144
|
-
}
|
|
1145
|
-
if (event["BadRequestException"] != null) {
|
|
1146
|
-
return {
|
|
1147
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
if (event["LimitExceededException"] != null) {
|
|
1151
|
-
return {
|
|
1152
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1153
|
-
};
|
|
1154
|
-
}
|
|
1155
|
-
if (event["InternalFailureException"] != null) {
|
|
1156
|
-
return {
|
|
1157
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
if (event["ConflictException"] != null) {
|
|
1161
|
-
return {
|
|
1162
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1163
|
-
};
|
|
1164
|
-
}
|
|
1165
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1166
|
-
return {
|
|
1167
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1168
|
-
};
|
|
1169
|
-
}
|
|
1170
|
-
return { $unknown: event };
|
|
1171
|
-
});
|
|
1172
|
-
};
|
|
1173
|
-
const de_BadRequestException_event = async (output, context) => {
|
|
1174
|
-
const parsedOutput = {
|
|
1175
|
-
...output,
|
|
1176
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1177
|
-
};
|
|
1178
|
-
return de_BadRequestExceptionRes(parsedOutput);
|
|
1179
|
-
};
|
|
1180
|
-
const de_CategoryEvent_event = async (output, context) => {
|
|
1181
|
-
const contents = {};
|
|
1182
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1183
|
-
Object.assign(contents, smithyClient._json(data));
|
|
1184
|
-
return contents;
|
|
1185
|
-
};
|
|
1186
|
-
const de_ConflictException_event = async (output, context) => {
|
|
1187
|
-
const parsedOutput = {
|
|
1188
|
-
...output,
|
|
1189
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1190
|
-
};
|
|
1191
|
-
return de_ConflictExceptionRes(parsedOutput);
|
|
1192
|
-
};
|
|
1193
|
-
const de_InternalFailureException_event = async (output, context) => {
|
|
1194
|
-
const parsedOutput = {
|
|
1195
|
-
...output,
|
|
1196
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1197
|
-
};
|
|
1198
|
-
return de_InternalFailureExceptionRes(parsedOutput);
|
|
1199
|
-
};
|
|
1200
|
-
const de_LimitExceededException_event = async (output, context) => {
|
|
1201
|
-
const parsedOutput = {
|
|
1202
|
-
...output,
|
|
1203
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1204
|
-
};
|
|
1205
|
-
return de_LimitExceededExceptionRes(parsedOutput);
|
|
1206
|
-
};
|
|
1207
|
-
const de_MedicalScribeTranscriptEvent_event = async (output, context) => {
|
|
1208
|
-
const contents = {};
|
|
1209
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1210
|
-
Object.assign(contents, de_MedicalScribeTranscriptEvent(data));
|
|
1211
|
-
return contents;
|
|
1212
|
-
};
|
|
1213
|
-
const de_MedicalTranscriptEvent_event = async (output, context) => {
|
|
1214
|
-
const contents = {};
|
|
1215
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1216
|
-
Object.assign(contents, de_MedicalTranscriptEvent(data));
|
|
1217
|
-
return contents;
|
|
1218
|
-
};
|
|
1219
|
-
const de_ServiceUnavailableException_event = async (output, context) => {
|
|
1220
|
-
const parsedOutput = {
|
|
1221
|
-
...output,
|
|
1222
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1223
|
-
};
|
|
1224
|
-
return de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
1225
|
-
};
|
|
1226
|
-
const de_TranscriptEvent_event = async (output, context) => {
|
|
1227
|
-
const contents = {};
|
|
1228
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1229
|
-
Object.assign(contents, de_TranscriptEvent(data));
|
|
1230
|
-
return contents;
|
|
1231
|
-
};
|
|
1232
|
-
const de_UtteranceEvent_event = async (output, context) => {
|
|
1233
|
-
const contents = {};
|
|
1234
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1235
|
-
Object.assign(contents, de_UtteranceEvent(data));
|
|
1236
|
-
return contents;
|
|
1237
|
-
};
|
|
1238
|
-
const de_Alternative = (output, context) => {
|
|
1239
|
-
return smithyClient.take(output, {
|
|
1240
|
-
Entities: (_) => de_EntityList(_),
|
|
1241
|
-
Items: (_) => de_ItemList(_),
|
|
1242
|
-
Transcript: smithyClient.expectString,
|
|
1243
|
-
});
|
|
1244
|
-
};
|
|
1245
|
-
const de_AlternativeList = (output, context) => {
|
|
1246
|
-
const retVal = (output || [])
|
|
1247
|
-
.filter((e) => e != null)
|
|
1248
|
-
.map((entry) => {
|
|
1249
|
-
return de_Alternative(entry);
|
|
1250
|
-
});
|
|
1251
|
-
return retVal;
|
|
1252
|
-
};
|
|
1253
|
-
const de_CallAnalyticsEntity = (output, context) => {
|
|
1254
|
-
return smithyClient.take(output, {
|
|
1255
|
-
BeginOffsetMillis: smithyClient.expectLong,
|
|
1256
|
-
Category: smithyClient.expectString,
|
|
1257
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1258
|
-
Content: smithyClient.expectString,
|
|
1259
|
-
EndOffsetMillis: smithyClient.expectLong,
|
|
1260
|
-
Type: smithyClient.expectString,
|
|
1261
|
-
});
|
|
1262
|
-
};
|
|
1263
|
-
const de_CallAnalyticsEntityList = (output, context) => {
|
|
1264
|
-
const retVal = (output || [])
|
|
1265
|
-
.filter((e) => e != null)
|
|
1266
|
-
.map((entry) => {
|
|
1267
|
-
return de_CallAnalyticsEntity(entry);
|
|
1268
|
-
});
|
|
1269
|
-
return retVal;
|
|
1270
|
-
};
|
|
1271
|
-
const de_CallAnalyticsItem = (output, context) => {
|
|
1272
|
-
return smithyClient.take(output, {
|
|
1273
|
-
BeginOffsetMillis: smithyClient.expectLong,
|
|
1274
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1275
|
-
Content: smithyClient.expectString,
|
|
1276
|
-
EndOffsetMillis: smithyClient.expectLong,
|
|
1277
|
-
Stable: smithyClient.expectBoolean,
|
|
1278
|
-
Type: smithyClient.expectString,
|
|
1279
|
-
VocabularyFilterMatch: smithyClient.expectBoolean,
|
|
1280
|
-
});
|
|
1281
|
-
};
|
|
1282
|
-
const de_CallAnalyticsItemList = (output, context) => {
|
|
1283
|
-
const retVal = (output || [])
|
|
1284
|
-
.filter((e) => e != null)
|
|
1285
|
-
.map((entry) => {
|
|
1286
|
-
return de_CallAnalyticsItem(entry);
|
|
1287
|
-
});
|
|
1288
|
-
return retVal;
|
|
1289
|
-
};
|
|
1290
|
-
const de_CallAnalyticsLanguageIdentification = (output, context) => {
|
|
1291
|
-
const retVal = (output || [])
|
|
1292
|
-
.filter((e) => e != null)
|
|
1293
|
-
.map((entry) => {
|
|
1294
|
-
return de_CallAnalyticsLanguageWithScore(entry);
|
|
1295
|
-
});
|
|
1296
|
-
return retVal;
|
|
1297
|
-
};
|
|
1298
|
-
const de_CallAnalyticsLanguageWithScore = (output, context) => {
|
|
1299
|
-
return smithyClient.take(output, {
|
|
1300
|
-
LanguageCode: smithyClient.expectString,
|
|
1301
|
-
Score: smithyClient.limitedParseDouble,
|
|
1302
|
-
});
|
|
1303
|
-
};
|
|
1304
|
-
const de_Entity = (output, context) => {
|
|
1305
|
-
return smithyClient.take(output, {
|
|
1306
|
-
Category: smithyClient.expectString,
|
|
1307
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1308
|
-
Content: smithyClient.expectString,
|
|
1309
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1310
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1311
|
-
Type: smithyClient.expectString,
|
|
1312
|
-
});
|
|
1313
|
-
};
|
|
1314
|
-
const de_EntityList = (output, context) => {
|
|
1315
|
-
const retVal = (output || [])
|
|
1316
|
-
.filter((e) => e != null)
|
|
1317
|
-
.map((entry) => {
|
|
1318
|
-
return de_Entity(entry);
|
|
1319
|
-
});
|
|
1320
|
-
return retVal;
|
|
1321
|
-
};
|
|
1322
|
-
const de_Item = (output, context) => {
|
|
1323
|
-
return smithyClient.take(output, {
|
|
1324
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1325
|
-
Content: smithyClient.expectString,
|
|
1326
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1327
|
-
Speaker: smithyClient.expectString,
|
|
1328
|
-
Stable: smithyClient.expectBoolean,
|
|
1329
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1330
|
-
Type: smithyClient.expectString,
|
|
1331
|
-
VocabularyFilterMatch: smithyClient.expectBoolean,
|
|
1332
|
-
});
|
|
1333
|
-
};
|
|
1334
|
-
const de_ItemList = (output, context) => {
|
|
1335
|
-
const retVal = (output || [])
|
|
1336
|
-
.filter((e) => e != null)
|
|
1337
|
-
.map((entry) => {
|
|
1338
|
-
return de_Item(entry);
|
|
1339
|
-
});
|
|
1340
|
-
return retVal;
|
|
1341
|
-
};
|
|
1342
|
-
const de_LanguageIdentification = (output, context) => {
|
|
1343
|
-
const retVal = (output || [])
|
|
1344
|
-
.filter((e) => e != null)
|
|
1345
|
-
.map((entry) => {
|
|
1346
|
-
return de_LanguageWithScore(entry);
|
|
1347
|
-
});
|
|
1348
|
-
return retVal;
|
|
1349
|
-
};
|
|
1350
|
-
const de_LanguageWithScore = (output, context) => {
|
|
1351
|
-
return smithyClient.take(output, {
|
|
1352
|
-
LanguageCode: smithyClient.expectString,
|
|
1353
|
-
Score: smithyClient.limitedParseDouble,
|
|
1354
|
-
});
|
|
1355
|
-
};
|
|
1356
|
-
const de_MedicalAlternative = (output, context) => {
|
|
1357
|
-
return smithyClient.take(output, {
|
|
1358
|
-
Entities: (_) => de_MedicalEntityList(_),
|
|
1359
|
-
Items: (_) => de_MedicalItemList(_),
|
|
1360
|
-
Transcript: smithyClient.expectString,
|
|
1361
|
-
});
|
|
1362
|
-
};
|
|
1363
|
-
const de_MedicalAlternativeList = (output, context) => {
|
|
1364
|
-
const retVal = (output || [])
|
|
1365
|
-
.filter((e) => e != null)
|
|
1366
|
-
.map((entry) => {
|
|
1367
|
-
return de_MedicalAlternative(entry);
|
|
1368
|
-
});
|
|
1369
|
-
return retVal;
|
|
1370
|
-
};
|
|
1371
|
-
const de_MedicalEntity = (output, context) => {
|
|
1372
|
-
return smithyClient.take(output, {
|
|
1373
|
-
Category: smithyClient.expectString,
|
|
1374
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1375
|
-
Content: smithyClient.expectString,
|
|
1376
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1377
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1378
|
-
});
|
|
1379
|
-
};
|
|
1380
|
-
const de_MedicalEntityList = (output, context) => {
|
|
1381
|
-
const retVal = (output || [])
|
|
1382
|
-
.filter((e) => e != null)
|
|
1383
|
-
.map((entry) => {
|
|
1384
|
-
return de_MedicalEntity(entry);
|
|
1385
|
-
});
|
|
1386
|
-
return retVal;
|
|
1387
|
-
};
|
|
1388
|
-
const de_MedicalItem = (output, context) => {
|
|
1389
|
-
return smithyClient.take(output, {
|
|
1390
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1391
|
-
Content: smithyClient.expectString,
|
|
1392
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1393
|
-
Speaker: smithyClient.expectString,
|
|
1394
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1395
|
-
Type: smithyClient.expectString,
|
|
1396
|
-
});
|
|
1397
|
-
};
|
|
1398
|
-
const de_MedicalItemList = (output, context) => {
|
|
1399
|
-
const retVal = (output || [])
|
|
1400
|
-
.filter((e) => e != null)
|
|
1401
|
-
.map((entry) => {
|
|
1402
|
-
return de_MedicalItem(entry);
|
|
1403
|
-
});
|
|
1404
|
-
return retVal;
|
|
1405
|
-
};
|
|
1406
|
-
const de_MedicalResult = (output, context) => {
|
|
1407
|
-
return smithyClient.take(output, {
|
|
1408
|
-
Alternatives: (_) => de_MedicalAlternativeList(_),
|
|
1409
|
-
ChannelId: smithyClient.expectString,
|
|
1410
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1411
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1412
|
-
ResultId: smithyClient.expectString,
|
|
1413
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1414
|
-
});
|
|
1415
|
-
};
|
|
1416
|
-
const de_MedicalResultList = (output, context) => {
|
|
1417
|
-
const retVal = (output || [])
|
|
1418
|
-
.filter((e) => e != null)
|
|
1419
|
-
.map((entry) => {
|
|
1420
|
-
return de_MedicalResult(entry);
|
|
1421
|
-
});
|
|
1422
|
-
return retVal;
|
|
1423
|
-
};
|
|
1424
|
-
const de_MedicalScribeStreamDetails = (output, context) => {
|
|
1425
|
-
return smithyClient.take(output, {
|
|
1426
|
-
ChannelDefinitions: smithyClient._json,
|
|
1427
|
-
EncryptionSettings: smithyClient._json,
|
|
1428
|
-
LanguageCode: smithyClient.expectString,
|
|
1429
|
-
MediaEncoding: smithyClient.expectString,
|
|
1430
|
-
MediaSampleRateHertz: smithyClient.expectInt32,
|
|
1431
|
-
MedicalScribeContextProvided: smithyClient.expectBoolean,
|
|
1432
|
-
PostStreamAnalyticsResult: smithyClient._json,
|
|
1433
|
-
PostStreamAnalyticsSettings: smithyClient._json,
|
|
1434
|
-
ResourceAccessRoleArn: smithyClient.expectString,
|
|
1435
|
-
SessionId: smithyClient.expectString,
|
|
1436
|
-
StreamCreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1437
|
-
StreamEndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1438
|
-
StreamStatus: smithyClient.expectString,
|
|
1439
|
-
VocabularyFilterMethod: smithyClient.expectString,
|
|
1440
|
-
VocabularyFilterName: smithyClient.expectString,
|
|
1441
|
-
VocabularyName: smithyClient.expectString,
|
|
1442
|
-
});
|
|
1443
|
-
};
|
|
1444
|
-
const de_MedicalScribeTranscriptEvent = (output, context) => {
|
|
1445
|
-
return smithyClient.take(output, {
|
|
1446
|
-
TranscriptSegment: (_) => de_MedicalScribeTranscriptSegment(_),
|
|
1447
|
-
});
|
|
1448
|
-
};
|
|
1449
|
-
const de_MedicalScribeTranscriptItem = (output, context) => {
|
|
1450
|
-
return smithyClient.take(output, {
|
|
1451
|
-
BeginAudioTime: smithyClient.limitedParseDouble,
|
|
1452
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1453
|
-
Content: smithyClient.expectString,
|
|
1454
|
-
EndAudioTime: smithyClient.limitedParseDouble,
|
|
1455
|
-
Type: smithyClient.expectString,
|
|
1456
|
-
VocabularyFilterMatch: smithyClient.expectBoolean,
|
|
1457
|
-
});
|
|
1458
|
-
};
|
|
1459
|
-
const de_MedicalScribeTranscriptItemList = (output, context) => {
|
|
1460
|
-
const retVal = (output || [])
|
|
1461
|
-
.filter((e) => e != null)
|
|
1462
|
-
.map((entry) => {
|
|
1463
|
-
return de_MedicalScribeTranscriptItem(entry);
|
|
1464
|
-
});
|
|
1465
|
-
return retVal;
|
|
1466
|
-
};
|
|
1467
|
-
const de_MedicalScribeTranscriptSegment = (output, context) => {
|
|
1468
|
-
return smithyClient.take(output, {
|
|
1469
|
-
BeginAudioTime: smithyClient.limitedParseDouble,
|
|
1470
|
-
ChannelId: smithyClient.expectString,
|
|
1471
|
-
Content: smithyClient.expectString,
|
|
1472
|
-
EndAudioTime: smithyClient.limitedParseDouble,
|
|
1473
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1474
|
-
Items: (_) => de_MedicalScribeTranscriptItemList(_),
|
|
1475
|
-
SegmentId: smithyClient.expectString,
|
|
1476
|
-
});
|
|
1477
|
-
};
|
|
1478
|
-
const de_MedicalTranscript = (output, context) => {
|
|
1479
|
-
return smithyClient.take(output, {
|
|
1480
|
-
Results: (_) => de_MedicalResultList(_),
|
|
1481
|
-
});
|
|
1482
|
-
};
|
|
1483
|
-
const de_MedicalTranscriptEvent = (output, context) => {
|
|
1484
|
-
return smithyClient.take(output, {
|
|
1485
|
-
Transcript: (_) => de_MedicalTranscript(_),
|
|
1486
|
-
});
|
|
1487
|
-
};
|
|
1488
|
-
const de_Result = (output, context) => {
|
|
1489
|
-
return smithyClient.take(output, {
|
|
1490
|
-
Alternatives: (_) => de_AlternativeList(_),
|
|
1491
|
-
ChannelId: smithyClient.expectString,
|
|
1492
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1493
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1494
|
-
LanguageCode: smithyClient.expectString,
|
|
1495
|
-
LanguageIdentification: (_) => de_LanguageIdentification(_),
|
|
1496
|
-
ResultId: smithyClient.expectString,
|
|
1497
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1498
|
-
});
|
|
1499
|
-
};
|
|
1500
|
-
const de_ResultList = (output, context) => {
|
|
1501
|
-
const retVal = (output || [])
|
|
1502
|
-
.filter((e) => e != null)
|
|
1503
|
-
.map((entry) => {
|
|
1504
|
-
return de_Result(entry);
|
|
1505
|
-
});
|
|
1506
|
-
return retVal;
|
|
1507
|
-
};
|
|
1508
|
-
const de_Transcript = (output, context) => {
|
|
1509
|
-
return smithyClient.take(output, {
|
|
1510
|
-
Results: (_) => de_ResultList(_),
|
|
1511
|
-
});
|
|
1512
|
-
};
|
|
1513
|
-
const de_TranscriptEvent = (output, context) => {
|
|
1514
|
-
return smithyClient.take(output, {
|
|
1515
|
-
Transcript: (_) => de_Transcript(_),
|
|
1516
|
-
});
|
|
1517
|
-
};
|
|
1518
|
-
const de_UtteranceEvent = (output, context) => {
|
|
1519
|
-
return smithyClient.take(output, {
|
|
1520
|
-
BeginOffsetMillis: smithyClient.expectLong,
|
|
1521
|
-
EndOffsetMillis: smithyClient.expectLong,
|
|
1522
|
-
Entities: (_) => de_CallAnalyticsEntityList(_),
|
|
1523
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1524
|
-
IssuesDetected: smithyClient._json,
|
|
1525
|
-
Items: (_) => de_CallAnalyticsItemList(_),
|
|
1526
|
-
LanguageCode: smithyClient.expectString,
|
|
1527
|
-
LanguageIdentification: (_) => de_CallAnalyticsLanguageIdentification(_),
|
|
1528
|
-
ParticipantRole: smithyClient.expectString,
|
|
1529
|
-
Sentiment: smithyClient.expectString,
|
|
1530
|
-
Transcript: smithyClient.expectString,
|
|
1531
|
-
UtteranceId: smithyClient.expectString,
|
|
1532
|
-
});
|
|
1533
|
-
};
|
|
1534
|
-
const deserializeMetadata = (output) => ({
|
|
1535
|
-
httpStatusCode: output.statusCode,
|
|
1536
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1537
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1538
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1539
|
-
});
|
|
382
|
+
const _A = "Alternative";
|
|
383
|
+
const _AC = "AudioChunk";
|
|
384
|
+
const _AE = "AudioEvent";
|
|
385
|
+
const _AL = "AlternativeList";
|
|
386
|
+
const _AS = "AudioStream";
|
|
387
|
+
const _Al = "Alternatives";
|
|
388
|
+
const _B = "Begin";
|
|
389
|
+
const _BAT = "BeginAudioTime";
|
|
390
|
+
const _BOM = "BeginOffsetMillis";
|
|
391
|
+
const _BRE = "BadRequestException";
|
|
392
|
+
const _C = "Category";
|
|
393
|
+
const _CAE = "CallAnalyticsEntity";
|
|
394
|
+
const _CAEL = "CallAnalyticsEntityList";
|
|
395
|
+
const _CAI = "CallAnalyticsItem";
|
|
396
|
+
const _CAIL = "CallAnalyticsItemList";
|
|
397
|
+
const _CALI = "CallAnalyticsLanguageIdentification";
|
|
398
|
+
const _CALWS = "CallAnalyticsLanguageWithScore";
|
|
399
|
+
const _CATRS = "CallAnalyticsTranscriptResultStream";
|
|
400
|
+
const _CD = "ChannelDefinition";
|
|
401
|
+
const _CDh = "ChannelDefinitions";
|
|
402
|
+
const _CE = "CategoryEvent";
|
|
403
|
+
const _CEo = "ConfigurationEvent";
|
|
404
|
+
const _CEon = "ConflictException";
|
|
405
|
+
const _CI = "ChannelId";
|
|
1540
406
|
const _CIT = "ContentIdentificationType";
|
|
407
|
+
const _CNGR = "ClinicalNoteGenerationResult";
|
|
408
|
+
const _CNGS = "ClinicalNoteGenerationSettings";
|
|
409
|
+
const _CNOL = "ClinicalNoteOutputLocation";
|
|
410
|
+
const _CO = "CharacterOffsets";
|
|
411
|
+
const _CRO = "ContentRedactionOutput";
|
|
1541
412
|
const _CRT = "ContentRedactionType";
|
|
413
|
+
const _Co = "Content";
|
|
414
|
+
const _Con = "Confidence";
|
|
415
|
+
const _DARA = "DataAccessRoleArn";
|
|
416
|
+
const _E = "Entities";
|
|
417
|
+
const _EAT = "EndAudioTime";
|
|
1542
418
|
const _ECI = "EnableChannelIdentification";
|
|
419
|
+
const _EL = "EntityList";
|
|
420
|
+
const _EOM = "EndOffsetMillis";
|
|
1543
421
|
const _EPRS = "EnablePartialResultsStabilization";
|
|
422
|
+
const _ES = "EncryptionSettings";
|
|
423
|
+
const _ET = "EndTime";
|
|
424
|
+
const _En = "End";
|
|
425
|
+
const _Ent = "Entity";
|
|
426
|
+
const _FR = "FailureReason";
|
|
427
|
+
const _GMSS = "GetMedicalScribeStream";
|
|
428
|
+
const _GMSSR = "GetMedicalScribeStreamRequest";
|
|
429
|
+
const _GMSSRe = "GetMedicalScribeStreamResponse";
|
|
430
|
+
const _I = "Items";
|
|
431
|
+
const _ID = "IssueDetected";
|
|
432
|
+
const _IDs = "IssuesDetected";
|
|
433
|
+
const _IFE = "InternalFailureException";
|
|
1544
434
|
const _IL = "IdentifyLanguage";
|
|
435
|
+
const _ILt = "ItemList";
|
|
1545
436
|
const _IML = "IdentifyMultipleLanguages";
|
|
437
|
+
const _IP = "IsPartial";
|
|
438
|
+
const _IS = "InputStream";
|
|
439
|
+
const _It = "Item";
|
|
440
|
+
const _KEC = "KmsEncryptionContext";
|
|
441
|
+
const _KKI = "KmsKeyId";
|
|
1546
442
|
const _LC = "LanguageCode";
|
|
443
|
+
const _LEE = "LimitExceededException";
|
|
444
|
+
const _LI = "LanguageIdentification";
|
|
1547
445
|
const _LMN = "LanguageModelName";
|
|
1548
446
|
const _LO = "LanguageOptions";
|
|
1549
|
-
const
|
|
447
|
+
const _LWS = "LanguageWithScore";
|
|
448
|
+
const _M = "Message";
|
|
449
|
+
const _MA = "MedicalAlternative";
|
|
450
|
+
const _MAL = "MedicalAlternativeList";
|
|
451
|
+
const _MC = "MatchedCategories";
|
|
452
|
+
const _MCD = "MatchedCategoryDetails";
|
|
453
|
+
const _MD = "MatchedDetails";
|
|
454
|
+
const _ME = "MedicalEntity";
|
|
455
|
+
const _MEL = "MedicalEntityList";
|
|
456
|
+
const _MEe = "MediaEncoding";
|
|
457
|
+
const _MI = "MedicalItem";
|
|
458
|
+
const _MIL = "MedicalItemList";
|
|
459
|
+
const _MR = "MedicalResult";
|
|
460
|
+
const _MRL = "MedicalResultList";
|
|
461
|
+
const _MSAE = "MedicalScribeAudioEvent";
|
|
462
|
+
const _MSC = "MedicalScribeContext";
|
|
463
|
+
const _MSCD = "MedicalScribeChannelDefinition";
|
|
464
|
+
const _MSCDe = "MedicalScribeChannelDefinitions";
|
|
465
|
+
const _MSCE = "MedicalScribeConfigurationEvent";
|
|
466
|
+
const _MSCP = "MedicalScribeContextProvided";
|
|
467
|
+
const _MSES = "MedicalScribeEncryptionSettings";
|
|
468
|
+
const _MSIS = "MedicalScribeInputStream";
|
|
469
|
+
const _MSPC = "MedicalScribePatientContext";
|
|
470
|
+
const _MSPSAR = "MedicalScribePostStreamAnalyticsResult";
|
|
471
|
+
const _MSPSAS = "MedicalScribePostStreamAnalyticsSettings";
|
|
1550
472
|
const _MSRH = "MediaSampleRateHertz";
|
|
473
|
+
const _MSRS = "MedicalScribeResultStream";
|
|
474
|
+
const _MSSCE = "MedicalScribeSessionControlEvent";
|
|
475
|
+
const _MSSD = "MedicalScribeStreamDetails";
|
|
476
|
+
const _MSTE = "MedicalScribeTranscriptEvent";
|
|
477
|
+
const _MSTI = "MedicalScribeTranscriptItem";
|
|
478
|
+
const _MSTIL = "MedicalScribeTranscriptItemList";
|
|
479
|
+
const _MSTS = "MedicalScribeTranscriptSegment";
|
|
480
|
+
const _MT = "MedicalTranscript";
|
|
481
|
+
const _MTE = "MedicalTranscriptEvent";
|
|
482
|
+
const _MTRS = "MedicalTranscriptResultStream";
|
|
1551
483
|
const _NOC = "NumberOfChannels";
|
|
484
|
+
const _NT = "NoteTemplate";
|
|
485
|
+
const _OBN = "OutputBucketName";
|
|
486
|
+
const _OEKMSKI = "OutputEncryptionKMSKeyId";
|
|
487
|
+
const _OL = "OutputLocation";
|
|
488
|
+
const _P = "Pronouns";
|
|
489
|
+
const _PC = "PatientContext";
|
|
490
|
+
const _PCAS = "PostCallAnalyticsSettings";
|
|
1552
491
|
const _PET = "PiiEntityTypes";
|
|
1553
492
|
const _PL = "PreferredLanguage";
|
|
493
|
+
const _POI = "PointsOfInterest";
|
|
494
|
+
const _PR = "ParticipantRole";
|
|
1554
495
|
const _PRS = "PartialResultsStability";
|
|
1555
|
-
const
|
|
1556
|
-
const
|
|
496
|
+
const _PSAR = "PostStreamAnalyticsResult";
|
|
497
|
+
const _PSAS = "PostStreamAnalyticsSettings";
|
|
498
|
+
const _R = "Results";
|
|
499
|
+
const _RARA = "ResourceAccessRoleArn";
|
|
500
|
+
const _RI = "ResultId";
|
|
501
|
+
const _RIe = "RequestId";
|
|
502
|
+
const _RL = "ResultList";
|
|
503
|
+
const _RNFE = "ResourceNotFoundException";
|
|
504
|
+
const _RS = "ResultStream";
|
|
505
|
+
const _Re = "Result";
|
|
506
|
+
const _S = "Stable";
|
|
507
|
+
const _SCA = "StreamCreatedAt";
|
|
508
|
+
const _SCAST = "StartCallAnalyticsStreamTranscription";
|
|
509
|
+
const _SCASTR = "StartCallAnalyticsStreamTranscriptionRequest";
|
|
510
|
+
const _SCASTRt = "StartCallAnalyticsStreamTranscriptionResponse";
|
|
511
|
+
const _SCE = "SessionControlEvent";
|
|
512
|
+
const _SEA = "StreamEndedAt";
|
|
1557
513
|
const _SI = "SessionId";
|
|
514
|
+
const _SIe = "SegmentId";
|
|
515
|
+
const _SMSS = "StartMedicalScribeStream";
|
|
516
|
+
const _SMSSR = "StartMedicalScribeStreamRequest";
|
|
517
|
+
const _SMSSRt = "StartMedicalScribeStreamResponse";
|
|
518
|
+
const _SMST = "StartMedicalStreamTranscription";
|
|
519
|
+
const _SMSTR = "StartMedicalStreamTranscriptionRequest";
|
|
520
|
+
const _SMSTRt = "StartMedicalStreamTranscriptionResponse";
|
|
521
|
+
const _SS = "StreamStatus";
|
|
1558
522
|
const _SSL = "ShowSpeakerLabel";
|
|
1559
|
-
const
|
|
1560
|
-
const
|
|
523
|
+
const _SST = "StartStreamTranscription";
|
|
524
|
+
const _SSTR = "StartStreamTranscriptionRequest";
|
|
525
|
+
const _SSTRt = "StartStreamTranscriptionResponse";
|
|
526
|
+
const _ST = "StartTime";
|
|
527
|
+
const _SUE = "ServiceUnavailableException";
|
|
528
|
+
const _Sc = "Score";
|
|
529
|
+
const _Se = "Sentiment";
|
|
530
|
+
const _Sp = "Speaker";
|
|
531
|
+
const _Spe = "Specialty";
|
|
532
|
+
const _St = "Status";
|
|
533
|
+
const _T = "Transcript";
|
|
534
|
+
const _TE = "TranscriptEvent";
|
|
535
|
+
const _TOL = "TranscriptOutputLocation";
|
|
536
|
+
const _TR = "TimestampRanges";
|
|
537
|
+
const _TRS = "TranscriptResultStream";
|
|
538
|
+
const _TRi = "TimestampRange";
|
|
539
|
+
const _TS = "TranscriptSegment";
|
|
540
|
+
const _Ty = "Type";
|
|
541
|
+
const _UE = "UtteranceEvent";
|
|
542
|
+
const _UI = "UtteranceId";
|
|
543
|
+
const _VFM = "VocabularyFilterMatch";
|
|
544
|
+
const _VFMo = "VocabularyFilterMethod";
|
|
1561
545
|
const _VFN = "VocabularyFilterName";
|
|
1562
546
|
const _VFNo = "VocabularyFilterNames";
|
|
1563
547
|
const _VN = "VocabularyName";
|
|
1564
548
|
const _VNo = "VocabularyNames";
|
|
549
|
+
const _c = "client";
|
|
550
|
+
const _e = "error";
|
|
551
|
+
const _eP = "eventPayload";
|
|
552
|
+
const _h = "http";
|
|
553
|
+
const _hE = "httpError";
|
|
554
|
+
const _hH = "httpHeader";
|
|
555
|
+
const _s = "server";
|
|
556
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.transcribestreaming";
|
|
557
|
+
const _st = "streaming";
|
|
1565
558
|
const _xari = "x-amzn-request-id";
|
|
1566
559
|
const _xatcit = "x-amzn-transcribe-content-identification-type";
|
|
1567
560
|
const _xatcrt = "x-amzn-transcribe-content-redaction-type";
|
|
@@ -1587,21 +580,1343 @@ const _xatvfn = "x-amzn-transcribe-vocabulary-filter-name";
|
|
|
1587
580
|
const _xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names";
|
|
1588
581
|
const _xatvn = "x-amzn-transcribe-vocabulary-name";
|
|
1589
582
|
const _xatvn_ = "x-amzn-transcribe-vocabulary-names";
|
|
583
|
+
const n0 = "com.amazonaws.transcribestreaming";
|
|
584
|
+
var Pronouns = [0, n0, _P, 8, 0];
|
|
585
|
+
var Alternative = [3, n0, _A, 0, [_T, _I, _E], [0, () => ItemList, () => EntityList]];
|
|
586
|
+
var AudioEvent = [
|
|
587
|
+
3,
|
|
588
|
+
n0,
|
|
589
|
+
_AE,
|
|
590
|
+
0,
|
|
591
|
+
[_AC],
|
|
592
|
+
[
|
|
593
|
+
[
|
|
594
|
+
21,
|
|
595
|
+
{
|
|
596
|
+
[_eP]: 1,
|
|
597
|
+
},
|
|
598
|
+
],
|
|
599
|
+
],
|
|
600
|
+
];
|
|
601
|
+
var BadRequestException = [
|
|
602
|
+
-3,
|
|
603
|
+
n0,
|
|
604
|
+
_BRE,
|
|
605
|
+
{
|
|
606
|
+
[_e]: _c,
|
|
607
|
+
[_hE]: 400,
|
|
608
|
+
},
|
|
609
|
+
[_M],
|
|
610
|
+
[0],
|
|
611
|
+
];
|
|
612
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
613
|
+
var CallAnalyticsEntity = [
|
|
614
|
+
3,
|
|
615
|
+
n0,
|
|
616
|
+
_CAE,
|
|
617
|
+
0,
|
|
618
|
+
[_BOM, _EOM, _C, _Ty, _Co, _Con],
|
|
619
|
+
[1, 1, 0, 0, 0, 1],
|
|
620
|
+
];
|
|
621
|
+
var CallAnalyticsItem = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_CAI,
|
|
625
|
+
0,
|
|
626
|
+
[_BOM, _EOM, _Ty, _Co, _Con, _VFM, _S],
|
|
627
|
+
[1, 1, 0, 0, 1, 2, 2],
|
|
628
|
+
];
|
|
629
|
+
var CallAnalyticsLanguageWithScore = [3, n0, _CALWS, 0, [_LC, _Sc], [0, 1]];
|
|
630
|
+
var CategoryEvent = [3, n0, _CE, 0, [_MC, _MD], [64 | 0, () => MatchedCategoryDetails]];
|
|
631
|
+
var ChannelDefinition = [3, n0, _CD, 0, [_CI, _PR], [1, 0]];
|
|
632
|
+
var CharacterOffsets = [3, n0, _CO, 0, [_B, _En], [1, 1]];
|
|
633
|
+
var ClinicalNoteGenerationResult = [
|
|
634
|
+
3,
|
|
635
|
+
n0,
|
|
636
|
+
_CNGR,
|
|
637
|
+
0,
|
|
638
|
+
[_CNOL, _TOL, _St, _FR],
|
|
639
|
+
[0, 0, 0, 0],
|
|
640
|
+
];
|
|
641
|
+
var ClinicalNoteGenerationSettings = [3, n0, _CNGS, 0, [_OBN, _NT], [0, 0]];
|
|
642
|
+
var ConfigurationEvent = [
|
|
643
|
+
3,
|
|
644
|
+
n0,
|
|
645
|
+
_CEo,
|
|
646
|
+
0,
|
|
647
|
+
[_CDh, _PCAS],
|
|
648
|
+
[() => ChannelDefinitions, () => PostCallAnalyticsSettings],
|
|
649
|
+
];
|
|
650
|
+
var ConflictException = [
|
|
651
|
+
-3,
|
|
652
|
+
n0,
|
|
653
|
+
_CEon,
|
|
654
|
+
{
|
|
655
|
+
[_e]: _c,
|
|
656
|
+
[_hE]: 409,
|
|
657
|
+
},
|
|
658
|
+
[_M],
|
|
659
|
+
[0],
|
|
660
|
+
];
|
|
661
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
662
|
+
var Entity = [3, n0, _Ent, 0, [_ST, _ET, _C, _Ty, _Co, _Con], [1, 1, 0, 0, 0, 1]];
|
|
663
|
+
var GetMedicalScribeStreamRequest = [3, n0, _GMSSR, 0, [_SI], [[0, 1]]];
|
|
664
|
+
var GetMedicalScribeStreamResponse = [
|
|
665
|
+
3,
|
|
666
|
+
n0,
|
|
667
|
+
_GMSSRe,
|
|
668
|
+
0,
|
|
669
|
+
[_MSSD],
|
|
670
|
+
[() => MedicalScribeStreamDetails],
|
|
671
|
+
];
|
|
672
|
+
var InternalFailureException = [
|
|
673
|
+
-3,
|
|
674
|
+
n0,
|
|
675
|
+
_IFE,
|
|
676
|
+
{
|
|
677
|
+
[_e]: _s,
|
|
678
|
+
[_hE]: 500,
|
|
679
|
+
},
|
|
680
|
+
[_M],
|
|
681
|
+
[0],
|
|
682
|
+
];
|
|
683
|
+
schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
|
|
684
|
+
var IssueDetected = [3, n0, _ID, 0, [_CO], [() => CharacterOffsets]];
|
|
685
|
+
var Item = [
|
|
686
|
+
3,
|
|
687
|
+
n0,
|
|
688
|
+
_It,
|
|
689
|
+
0,
|
|
690
|
+
[_ST, _ET, _Ty, _Co, _VFM, _Sp, _Con, _S],
|
|
691
|
+
[1, 1, 0, 0, 2, 0, 1, 2],
|
|
692
|
+
];
|
|
693
|
+
var LanguageWithScore = [3, n0, _LWS, 0, [_LC, _Sc], [0, 1]];
|
|
694
|
+
var LimitExceededException = [
|
|
695
|
+
-3,
|
|
696
|
+
n0,
|
|
697
|
+
_LEE,
|
|
698
|
+
{
|
|
699
|
+
[_e]: _c,
|
|
700
|
+
[_hE]: 429,
|
|
701
|
+
},
|
|
702
|
+
[_M],
|
|
703
|
+
[0],
|
|
704
|
+
];
|
|
705
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
706
|
+
var MedicalAlternative = [
|
|
707
|
+
3,
|
|
708
|
+
n0,
|
|
709
|
+
_MA,
|
|
710
|
+
0,
|
|
711
|
+
[_T, _I, _E],
|
|
712
|
+
[0, () => MedicalItemList, () => MedicalEntityList],
|
|
713
|
+
];
|
|
714
|
+
var MedicalEntity = [3, n0, _ME, 0, [_ST, _ET, _C, _Co, _Con], [1, 1, 0, 0, 1]];
|
|
715
|
+
var MedicalItem = [3, n0, _MI, 0, [_ST, _ET, _Ty, _Co, _Con, _Sp], [1, 1, 0, 0, 1, 0]];
|
|
716
|
+
var MedicalResult = [
|
|
717
|
+
3,
|
|
718
|
+
n0,
|
|
719
|
+
_MR,
|
|
720
|
+
0,
|
|
721
|
+
[_RI, _ST, _ET, _IP, _Al, _CI],
|
|
722
|
+
[0, 1, 1, 2, () => MedicalAlternativeList, 0],
|
|
723
|
+
];
|
|
724
|
+
var MedicalScribeAudioEvent = [
|
|
725
|
+
3,
|
|
726
|
+
n0,
|
|
727
|
+
_MSAE,
|
|
728
|
+
0,
|
|
729
|
+
[_AC],
|
|
730
|
+
[
|
|
731
|
+
[
|
|
732
|
+
21,
|
|
733
|
+
{
|
|
734
|
+
[_eP]: 1,
|
|
735
|
+
},
|
|
736
|
+
],
|
|
737
|
+
],
|
|
738
|
+
];
|
|
739
|
+
var MedicalScribeChannelDefinition = [3, n0, _MSCD, 0, [_CI, _PR], [1, 0]];
|
|
740
|
+
var MedicalScribeConfigurationEvent = [
|
|
741
|
+
3,
|
|
742
|
+
n0,
|
|
743
|
+
_MSCE,
|
|
744
|
+
0,
|
|
745
|
+
[_VN, _VFN, _VFMo, _RARA, _CDh, _ES, _PSAS, _MSC],
|
|
746
|
+
[
|
|
747
|
+
0,
|
|
748
|
+
0,
|
|
749
|
+
0,
|
|
750
|
+
0,
|
|
751
|
+
() => MedicalScribeChannelDefinitions,
|
|
752
|
+
() => MedicalScribeEncryptionSettings,
|
|
753
|
+
() => MedicalScribePostStreamAnalyticsSettings,
|
|
754
|
+
[() => MedicalScribeContext, 0],
|
|
755
|
+
],
|
|
756
|
+
];
|
|
757
|
+
var MedicalScribeContext = [
|
|
758
|
+
3,
|
|
759
|
+
n0,
|
|
760
|
+
_MSC,
|
|
761
|
+
0,
|
|
762
|
+
[_PC],
|
|
763
|
+
[[() => MedicalScribePatientContext, 0]],
|
|
764
|
+
];
|
|
765
|
+
var MedicalScribeEncryptionSettings = [3, n0, _MSES, 0, [_KEC, _KKI], [128 | 0, 0]];
|
|
766
|
+
var MedicalScribePatientContext = [3, n0, _MSPC, 0, [_P], [[() => Pronouns, 0]]];
|
|
767
|
+
var MedicalScribePostStreamAnalyticsResult = [
|
|
768
|
+
3,
|
|
769
|
+
n0,
|
|
770
|
+
_MSPSAR,
|
|
771
|
+
0,
|
|
772
|
+
[_CNGR],
|
|
773
|
+
[() => ClinicalNoteGenerationResult],
|
|
774
|
+
];
|
|
775
|
+
var MedicalScribePostStreamAnalyticsSettings = [
|
|
776
|
+
3,
|
|
777
|
+
n0,
|
|
778
|
+
_MSPSAS,
|
|
779
|
+
0,
|
|
780
|
+
[_CNGS],
|
|
781
|
+
[() => ClinicalNoteGenerationSettings],
|
|
782
|
+
];
|
|
783
|
+
var MedicalScribeSessionControlEvent = [3, n0, _MSSCE, 0, [_Ty], [0]];
|
|
784
|
+
var MedicalScribeStreamDetails = [
|
|
785
|
+
3,
|
|
786
|
+
n0,
|
|
787
|
+
_MSSD,
|
|
788
|
+
0,
|
|
789
|
+
[_SI, _SCA, _SEA, _LC, _MSRH, _MEe, _VN, _VFN, _VFMo, _RARA, _CDh, _ES, _SS, _PSAS, _PSAR, _MSCP],
|
|
790
|
+
[
|
|
791
|
+
0,
|
|
792
|
+
4,
|
|
793
|
+
4,
|
|
794
|
+
0,
|
|
795
|
+
1,
|
|
796
|
+
0,
|
|
797
|
+
0,
|
|
798
|
+
0,
|
|
799
|
+
0,
|
|
800
|
+
0,
|
|
801
|
+
() => MedicalScribeChannelDefinitions,
|
|
802
|
+
() => MedicalScribeEncryptionSettings,
|
|
803
|
+
0,
|
|
804
|
+
() => MedicalScribePostStreamAnalyticsSettings,
|
|
805
|
+
() => MedicalScribePostStreamAnalyticsResult,
|
|
806
|
+
2,
|
|
807
|
+
],
|
|
808
|
+
];
|
|
809
|
+
var MedicalScribeTranscriptEvent = [
|
|
810
|
+
3,
|
|
811
|
+
n0,
|
|
812
|
+
_MSTE,
|
|
813
|
+
0,
|
|
814
|
+
[_TS],
|
|
815
|
+
[() => MedicalScribeTranscriptSegment],
|
|
816
|
+
];
|
|
817
|
+
var MedicalScribeTranscriptItem = [
|
|
818
|
+
3,
|
|
819
|
+
n0,
|
|
820
|
+
_MSTI,
|
|
821
|
+
0,
|
|
822
|
+
[_BAT, _EAT, _Ty, _Con, _Co, _VFM],
|
|
823
|
+
[1, 1, 0, 1, 0, 2],
|
|
824
|
+
];
|
|
825
|
+
var MedicalScribeTranscriptSegment = [
|
|
826
|
+
3,
|
|
827
|
+
n0,
|
|
828
|
+
_MSTS,
|
|
829
|
+
0,
|
|
830
|
+
[_SIe, _BAT, _EAT, _Co, _I, _IP, _CI],
|
|
831
|
+
[0, 1, 1, 0, () => MedicalScribeTranscriptItemList, 2, 0],
|
|
832
|
+
];
|
|
833
|
+
var MedicalTranscript = [3, n0, _MT, 0, [_R], [() => MedicalResultList]];
|
|
834
|
+
var MedicalTranscriptEvent = [3, n0, _MTE, 0, [_T], [() => MedicalTranscript]];
|
|
835
|
+
var PointsOfInterest = [3, n0, _POI, 0, [_TR], [() => TimestampRanges]];
|
|
836
|
+
var PostCallAnalyticsSettings = [
|
|
837
|
+
3,
|
|
838
|
+
n0,
|
|
839
|
+
_PCAS,
|
|
840
|
+
0,
|
|
841
|
+
[_OL, _DARA, _CRO, _OEKMSKI],
|
|
842
|
+
[0, 0, 0, 0],
|
|
843
|
+
];
|
|
844
|
+
var ResourceNotFoundException = [
|
|
845
|
+
-3,
|
|
846
|
+
n0,
|
|
847
|
+
_RNFE,
|
|
848
|
+
{
|
|
849
|
+
[_e]: _c,
|
|
850
|
+
[_hE]: 404,
|
|
851
|
+
},
|
|
852
|
+
[_M],
|
|
853
|
+
[0],
|
|
854
|
+
];
|
|
855
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
856
|
+
var Result = [
|
|
857
|
+
3,
|
|
858
|
+
n0,
|
|
859
|
+
_Re,
|
|
860
|
+
0,
|
|
861
|
+
[_RI, _ST, _ET, _IP, _Al, _CI, _LC, _LI],
|
|
862
|
+
[0, 1, 1, 2, () => AlternativeList, 0, 0, () => LanguageIdentification],
|
|
863
|
+
];
|
|
864
|
+
var ServiceUnavailableException = [
|
|
865
|
+
-3,
|
|
866
|
+
n0,
|
|
867
|
+
_SUE,
|
|
868
|
+
{
|
|
869
|
+
[_e]: _s,
|
|
870
|
+
[_hE]: 503,
|
|
871
|
+
},
|
|
872
|
+
[_M],
|
|
873
|
+
[0],
|
|
874
|
+
];
|
|
875
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
876
|
+
var StartCallAnalyticsStreamTranscriptionRequest = [
|
|
877
|
+
3,
|
|
878
|
+
n0,
|
|
879
|
+
_SCASTR,
|
|
880
|
+
0,
|
|
881
|
+
[_LC, _MSRH, _MEe, _VN, _SI, _AS, _VFN, _VFMo, _LMN, _IL, _LO, _PL, _VNo, _VFNo, _EPRS, _PRS, _CIT, _CRT, _PET],
|
|
882
|
+
[
|
|
883
|
+
[
|
|
884
|
+
0,
|
|
885
|
+
{
|
|
886
|
+
[_hH]: _xatlc,
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
[
|
|
890
|
+
1,
|
|
891
|
+
{
|
|
892
|
+
[_hH]: _xatsr,
|
|
893
|
+
},
|
|
894
|
+
],
|
|
895
|
+
[
|
|
896
|
+
0,
|
|
897
|
+
{
|
|
898
|
+
[_hH]: _xatme,
|
|
899
|
+
},
|
|
900
|
+
],
|
|
901
|
+
[
|
|
902
|
+
0,
|
|
903
|
+
{
|
|
904
|
+
[_hH]: _xatvn,
|
|
905
|
+
},
|
|
906
|
+
],
|
|
907
|
+
[
|
|
908
|
+
0,
|
|
909
|
+
{
|
|
910
|
+
[_hH]: _xatsi,
|
|
911
|
+
},
|
|
912
|
+
],
|
|
913
|
+
[() => AudioStream, 16],
|
|
914
|
+
[
|
|
915
|
+
0,
|
|
916
|
+
{
|
|
917
|
+
[_hH]: _xatvfn,
|
|
918
|
+
},
|
|
919
|
+
],
|
|
920
|
+
[
|
|
921
|
+
0,
|
|
922
|
+
{
|
|
923
|
+
[_hH]: _xatvfm,
|
|
924
|
+
},
|
|
925
|
+
],
|
|
926
|
+
[
|
|
927
|
+
0,
|
|
928
|
+
{
|
|
929
|
+
[_hH]: _xatlmn,
|
|
930
|
+
},
|
|
931
|
+
],
|
|
932
|
+
[
|
|
933
|
+
2,
|
|
934
|
+
{
|
|
935
|
+
[_hH]: _xatil,
|
|
936
|
+
},
|
|
937
|
+
],
|
|
938
|
+
[
|
|
939
|
+
0,
|
|
940
|
+
{
|
|
941
|
+
[_hH]: _xatlo,
|
|
942
|
+
},
|
|
943
|
+
],
|
|
944
|
+
[
|
|
945
|
+
0,
|
|
946
|
+
{
|
|
947
|
+
[_hH]: _xatpl,
|
|
948
|
+
},
|
|
949
|
+
],
|
|
950
|
+
[
|
|
951
|
+
0,
|
|
952
|
+
{
|
|
953
|
+
[_hH]: _xatvn_,
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
[
|
|
957
|
+
0,
|
|
958
|
+
{
|
|
959
|
+
[_hH]: _xatvfn_,
|
|
960
|
+
},
|
|
961
|
+
],
|
|
962
|
+
[
|
|
963
|
+
2,
|
|
964
|
+
{
|
|
965
|
+
[_hH]: _xateprs,
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
[
|
|
969
|
+
0,
|
|
970
|
+
{
|
|
971
|
+
[_hH]: _xatprs,
|
|
972
|
+
},
|
|
973
|
+
],
|
|
974
|
+
[
|
|
975
|
+
0,
|
|
976
|
+
{
|
|
977
|
+
[_hH]: _xatcit,
|
|
978
|
+
},
|
|
979
|
+
],
|
|
980
|
+
[
|
|
981
|
+
0,
|
|
982
|
+
{
|
|
983
|
+
[_hH]: _xatcrt,
|
|
984
|
+
},
|
|
985
|
+
],
|
|
986
|
+
[
|
|
987
|
+
0,
|
|
988
|
+
{
|
|
989
|
+
[_hH]: _xatpet,
|
|
990
|
+
},
|
|
991
|
+
],
|
|
992
|
+
],
|
|
993
|
+
];
|
|
994
|
+
var StartCallAnalyticsStreamTranscriptionResponse = [
|
|
995
|
+
3,
|
|
996
|
+
n0,
|
|
997
|
+
_SCASTRt,
|
|
998
|
+
0,
|
|
999
|
+
[
|
|
1000
|
+
_RIe,
|
|
1001
|
+
_LC,
|
|
1002
|
+
_MSRH,
|
|
1003
|
+
_MEe,
|
|
1004
|
+
_VN,
|
|
1005
|
+
_SI,
|
|
1006
|
+
_CATRS,
|
|
1007
|
+
_VFN,
|
|
1008
|
+
_VFMo,
|
|
1009
|
+
_LMN,
|
|
1010
|
+
_IL,
|
|
1011
|
+
_LO,
|
|
1012
|
+
_PL,
|
|
1013
|
+
_VNo,
|
|
1014
|
+
_VFNo,
|
|
1015
|
+
_EPRS,
|
|
1016
|
+
_PRS,
|
|
1017
|
+
_CIT,
|
|
1018
|
+
_CRT,
|
|
1019
|
+
_PET,
|
|
1020
|
+
],
|
|
1021
|
+
[
|
|
1022
|
+
[
|
|
1023
|
+
0,
|
|
1024
|
+
{
|
|
1025
|
+
[_hH]: _xari,
|
|
1026
|
+
},
|
|
1027
|
+
],
|
|
1028
|
+
[
|
|
1029
|
+
0,
|
|
1030
|
+
{
|
|
1031
|
+
[_hH]: _xatlc,
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
[
|
|
1035
|
+
1,
|
|
1036
|
+
{
|
|
1037
|
+
[_hH]: _xatsr,
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
1040
|
+
[
|
|
1041
|
+
0,
|
|
1042
|
+
{
|
|
1043
|
+
[_hH]: _xatme,
|
|
1044
|
+
},
|
|
1045
|
+
],
|
|
1046
|
+
[
|
|
1047
|
+
0,
|
|
1048
|
+
{
|
|
1049
|
+
[_hH]: _xatvn,
|
|
1050
|
+
},
|
|
1051
|
+
],
|
|
1052
|
+
[
|
|
1053
|
+
0,
|
|
1054
|
+
{
|
|
1055
|
+
[_hH]: _xatsi,
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
[() => CallAnalyticsTranscriptResultStream, 16],
|
|
1059
|
+
[
|
|
1060
|
+
0,
|
|
1061
|
+
{
|
|
1062
|
+
[_hH]: _xatvfn,
|
|
1063
|
+
},
|
|
1064
|
+
],
|
|
1065
|
+
[
|
|
1066
|
+
0,
|
|
1067
|
+
{
|
|
1068
|
+
[_hH]: _xatvfm,
|
|
1069
|
+
},
|
|
1070
|
+
],
|
|
1071
|
+
[
|
|
1072
|
+
0,
|
|
1073
|
+
{
|
|
1074
|
+
[_hH]: _xatlmn,
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
[
|
|
1078
|
+
2,
|
|
1079
|
+
{
|
|
1080
|
+
[_hH]: _xatil,
|
|
1081
|
+
},
|
|
1082
|
+
],
|
|
1083
|
+
[
|
|
1084
|
+
0,
|
|
1085
|
+
{
|
|
1086
|
+
[_hH]: _xatlo,
|
|
1087
|
+
},
|
|
1088
|
+
],
|
|
1089
|
+
[
|
|
1090
|
+
0,
|
|
1091
|
+
{
|
|
1092
|
+
[_hH]: _xatpl,
|
|
1093
|
+
},
|
|
1094
|
+
],
|
|
1095
|
+
[
|
|
1096
|
+
0,
|
|
1097
|
+
{
|
|
1098
|
+
[_hH]: _xatvn_,
|
|
1099
|
+
},
|
|
1100
|
+
],
|
|
1101
|
+
[
|
|
1102
|
+
0,
|
|
1103
|
+
{
|
|
1104
|
+
[_hH]: _xatvfn_,
|
|
1105
|
+
},
|
|
1106
|
+
],
|
|
1107
|
+
[
|
|
1108
|
+
2,
|
|
1109
|
+
{
|
|
1110
|
+
[_hH]: _xateprs,
|
|
1111
|
+
},
|
|
1112
|
+
],
|
|
1113
|
+
[
|
|
1114
|
+
0,
|
|
1115
|
+
{
|
|
1116
|
+
[_hH]: _xatprs,
|
|
1117
|
+
},
|
|
1118
|
+
],
|
|
1119
|
+
[
|
|
1120
|
+
0,
|
|
1121
|
+
{
|
|
1122
|
+
[_hH]: _xatcit,
|
|
1123
|
+
},
|
|
1124
|
+
],
|
|
1125
|
+
[
|
|
1126
|
+
0,
|
|
1127
|
+
{
|
|
1128
|
+
[_hH]: _xatcrt,
|
|
1129
|
+
},
|
|
1130
|
+
],
|
|
1131
|
+
[
|
|
1132
|
+
0,
|
|
1133
|
+
{
|
|
1134
|
+
[_hH]: _xatpet,
|
|
1135
|
+
},
|
|
1136
|
+
],
|
|
1137
|
+
],
|
|
1138
|
+
];
|
|
1139
|
+
var StartMedicalScribeStreamRequest = [
|
|
1140
|
+
3,
|
|
1141
|
+
n0,
|
|
1142
|
+
_SMSSR,
|
|
1143
|
+
0,
|
|
1144
|
+
[_SI, _LC, _MSRH, _MEe, _IS],
|
|
1145
|
+
[
|
|
1146
|
+
[
|
|
1147
|
+
0,
|
|
1148
|
+
{
|
|
1149
|
+
[_hH]: _xatsi,
|
|
1150
|
+
},
|
|
1151
|
+
],
|
|
1152
|
+
[
|
|
1153
|
+
0,
|
|
1154
|
+
{
|
|
1155
|
+
[_hH]: _xatlc,
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
[
|
|
1159
|
+
1,
|
|
1160
|
+
{
|
|
1161
|
+
[_hH]: _xatsr,
|
|
1162
|
+
},
|
|
1163
|
+
],
|
|
1164
|
+
[
|
|
1165
|
+
0,
|
|
1166
|
+
{
|
|
1167
|
+
[_hH]: _xatme,
|
|
1168
|
+
},
|
|
1169
|
+
],
|
|
1170
|
+
[() => MedicalScribeInputStream, 16],
|
|
1171
|
+
],
|
|
1172
|
+
];
|
|
1173
|
+
var StartMedicalScribeStreamResponse = [
|
|
1174
|
+
3,
|
|
1175
|
+
n0,
|
|
1176
|
+
_SMSSRt,
|
|
1177
|
+
0,
|
|
1178
|
+
[_SI, _RIe, _LC, _MSRH, _MEe, _RS],
|
|
1179
|
+
[
|
|
1180
|
+
[
|
|
1181
|
+
0,
|
|
1182
|
+
{
|
|
1183
|
+
[_hH]: _xatsi,
|
|
1184
|
+
},
|
|
1185
|
+
],
|
|
1186
|
+
[
|
|
1187
|
+
0,
|
|
1188
|
+
{
|
|
1189
|
+
[_hH]: _xari,
|
|
1190
|
+
},
|
|
1191
|
+
],
|
|
1192
|
+
[
|
|
1193
|
+
0,
|
|
1194
|
+
{
|
|
1195
|
+
[_hH]: _xatlc,
|
|
1196
|
+
},
|
|
1197
|
+
],
|
|
1198
|
+
[
|
|
1199
|
+
1,
|
|
1200
|
+
{
|
|
1201
|
+
[_hH]: _xatsr,
|
|
1202
|
+
},
|
|
1203
|
+
],
|
|
1204
|
+
[
|
|
1205
|
+
0,
|
|
1206
|
+
{
|
|
1207
|
+
[_hH]: _xatme,
|
|
1208
|
+
},
|
|
1209
|
+
],
|
|
1210
|
+
[() => MedicalScribeResultStream, 16],
|
|
1211
|
+
],
|
|
1212
|
+
];
|
|
1213
|
+
var StartMedicalStreamTranscriptionRequest = [
|
|
1214
|
+
3,
|
|
1215
|
+
n0,
|
|
1216
|
+
_SMSTR,
|
|
1217
|
+
0,
|
|
1218
|
+
[_LC, _MSRH, _MEe, _VN, _Spe, _Ty, _SSL, _SI, _AS, _ECI, _NOC, _CIT],
|
|
1219
|
+
[
|
|
1220
|
+
[
|
|
1221
|
+
0,
|
|
1222
|
+
{
|
|
1223
|
+
[_hH]: _xatlc,
|
|
1224
|
+
},
|
|
1225
|
+
],
|
|
1226
|
+
[
|
|
1227
|
+
1,
|
|
1228
|
+
{
|
|
1229
|
+
[_hH]: _xatsr,
|
|
1230
|
+
},
|
|
1231
|
+
],
|
|
1232
|
+
[
|
|
1233
|
+
0,
|
|
1234
|
+
{
|
|
1235
|
+
[_hH]: _xatme,
|
|
1236
|
+
},
|
|
1237
|
+
],
|
|
1238
|
+
[
|
|
1239
|
+
0,
|
|
1240
|
+
{
|
|
1241
|
+
[_hH]: _xatvn,
|
|
1242
|
+
},
|
|
1243
|
+
],
|
|
1244
|
+
[
|
|
1245
|
+
0,
|
|
1246
|
+
{
|
|
1247
|
+
[_hH]: _xats,
|
|
1248
|
+
},
|
|
1249
|
+
],
|
|
1250
|
+
[
|
|
1251
|
+
0,
|
|
1252
|
+
{
|
|
1253
|
+
[_hH]: _xatt,
|
|
1254
|
+
},
|
|
1255
|
+
],
|
|
1256
|
+
[
|
|
1257
|
+
2,
|
|
1258
|
+
{
|
|
1259
|
+
[_hH]: _xatssl,
|
|
1260
|
+
},
|
|
1261
|
+
],
|
|
1262
|
+
[
|
|
1263
|
+
0,
|
|
1264
|
+
{
|
|
1265
|
+
[_hH]: _xatsi,
|
|
1266
|
+
},
|
|
1267
|
+
],
|
|
1268
|
+
[() => AudioStream, 16],
|
|
1269
|
+
[
|
|
1270
|
+
2,
|
|
1271
|
+
{
|
|
1272
|
+
[_hH]: _xateci,
|
|
1273
|
+
},
|
|
1274
|
+
],
|
|
1275
|
+
[
|
|
1276
|
+
1,
|
|
1277
|
+
{
|
|
1278
|
+
[_hH]: _xatnoc,
|
|
1279
|
+
},
|
|
1280
|
+
],
|
|
1281
|
+
[
|
|
1282
|
+
0,
|
|
1283
|
+
{
|
|
1284
|
+
[_hH]: _xatcit,
|
|
1285
|
+
},
|
|
1286
|
+
],
|
|
1287
|
+
],
|
|
1288
|
+
];
|
|
1289
|
+
var StartMedicalStreamTranscriptionResponse = [
|
|
1290
|
+
3,
|
|
1291
|
+
n0,
|
|
1292
|
+
_SMSTRt,
|
|
1293
|
+
0,
|
|
1294
|
+
[_RIe, _LC, _MSRH, _MEe, _VN, _Spe, _Ty, _SSL, _SI, _TRS, _ECI, _NOC, _CIT],
|
|
1295
|
+
[
|
|
1296
|
+
[
|
|
1297
|
+
0,
|
|
1298
|
+
{
|
|
1299
|
+
[_hH]: _xari,
|
|
1300
|
+
},
|
|
1301
|
+
],
|
|
1302
|
+
[
|
|
1303
|
+
0,
|
|
1304
|
+
{
|
|
1305
|
+
[_hH]: _xatlc,
|
|
1306
|
+
},
|
|
1307
|
+
],
|
|
1308
|
+
[
|
|
1309
|
+
1,
|
|
1310
|
+
{
|
|
1311
|
+
[_hH]: _xatsr,
|
|
1312
|
+
},
|
|
1313
|
+
],
|
|
1314
|
+
[
|
|
1315
|
+
0,
|
|
1316
|
+
{
|
|
1317
|
+
[_hH]: _xatme,
|
|
1318
|
+
},
|
|
1319
|
+
],
|
|
1320
|
+
[
|
|
1321
|
+
0,
|
|
1322
|
+
{
|
|
1323
|
+
[_hH]: _xatvn,
|
|
1324
|
+
},
|
|
1325
|
+
],
|
|
1326
|
+
[
|
|
1327
|
+
0,
|
|
1328
|
+
{
|
|
1329
|
+
[_hH]: _xats,
|
|
1330
|
+
},
|
|
1331
|
+
],
|
|
1332
|
+
[
|
|
1333
|
+
0,
|
|
1334
|
+
{
|
|
1335
|
+
[_hH]: _xatt,
|
|
1336
|
+
},
|
|
1337
|
+
],
|
|
1338
|
+
[
|
|
1339
|
+
2,
|
|
1340
|
+
{
|
|
1341
|
+
[_hH]: _xatssl,
|
|
1342
|
+
},
|
|
1343
|
+
],
|
|
1344
|
+
[
|
|
1345
|
+
0,
|
|
1346
|
+
{
|
|
1347
|
+
[_hH]: _xatsi,
|
|
1348
|
+
},
|
|
1349
|
+
],
|
|
1350
|
+
[() => MedicalTranscriptResultStream, 16],
|
|
1351
|
+
[
|
|
1352
|
+
2,
|
|
1353
|
+
{
|
|
1354
|
+
[_hH]: _xateci,
|
|
1355
|
+
},
|
|
1356
|
+
],
|
|
1357
|
+
[
|
|
1358
|
+
1,
|
|
1359
|
+
{
|
|
1360
|
+
[_hH]: _xatnoc,
|
|
1361
|
+
},
|
|
1362
|
+
],
|
|
1363
|
+
[
|
|
1364
|
+
0,
|
|
1365
|
+
{
|
|
1366
|
+
[_hH]: _xatcit,
|
|
1367
|
+
},
|
|
1368
|
+
],
|
|
1369
|
+
],
|
|
1370
|
+
];
|
|
1371
|
+
var StartStreamTranscriptionRequest = [
|
|
1372
|
+
3,
|
|
1373
|
+
n0,
|
|
1374
|
+
_SSTR,
|
|
1375
|
+
0,
|
|
1376
|
+
[
|
|
1377
|
+
_LC,
|
|
1378
|
+
_MSRH,
|
|
1379
|
+
_MEe,
|
|
1380
|
+
_VN,
|
|
1381
|
+
_SI,
|
|
1382
|
+
_AS,
|
|
1383
|
+
_VFN,
|
|
1384
|
+
_VFMo,
|
|
1385
|
+
_SSL,
|
|
1386
|
+
_ECI,
|
|
1387
|
+
_NOC,
|
|
1388
|
+
_EPRS,
|
|
1389
|
+
_PRS,
|
|
1390
|
+
_CIT,
|
|
1391
|
+
_CRT,
|
|
1392
|
+
_PET,
|
|
1393
|
+
_LMN,
|
|
1394
|
+
_IL,
|
|
1395
|
+
_LO,
|
|
1396
|
+
_PL,
|
|
1397
|
+
_IML,
|
|
1398
|
+
_VNo,
|
|
1399
|
+
_VFNo,
|
|
1400
|
+
],
|
|
1401
|
+
[
|
|
1402
|
+
[
|
|
1403
|
+
0,
|
|
1404
|
+
{
|
|
1405
|
+
[_hH]: _xatlc,
|
|
1406
|
+
},
|
|
1407
|
+
],
|
|
1408
|
+
[
|
|
1409
|
+
1,
|
|
1410
|
+
{
|
|
1411
|
+
[_hH]: _xatsr,
|
|
1412
|
+
},
|
|
1413
|
+
],
|
|
1414
|
+
[
|
|
1415
|
+
0,
|
|
1416
|
+
{
|
|
1417
|
+
[_hH]: _xatme,
|
|
1418
|
+
},
|
|
1419
|
+
],
|
|
1420
|
+
[
|
|
1421
|
+
0,
|
|
1422
|
+
{
|
|
1423
|
+
[_hH]: _xatvn,
|
|
1424
|
+
},
|
|
1425
|
+
],
|
|
1426
|
+
[
|
|
1427
|
+
0,
|
|
1428
|
+
{
|
|
1429
|
+
[_hH]: _xatsi,
|
|
1430
|
+
},
|
|
1431
|
+
],
|
|
1432
|
+
[() => AudioStream, 16],
|
|
1433
|
+
[
|
|
1434
|
+
0,
|
|
1435
|
+
{
|
|
1436
|
+
[_hH]: _xatvfn,
|
|
1437
|
+
},
|
|
1438
|
+
],
|
|
1439
|
+
[
|
|
1440
|
+
0,
|
|
1441
|
+
{
|
|
1442
|
+
[_hH]: _xatvfm,
|
|
1443
|
+
},
|
|
1444
|
+
],
|
|
1445
|
+
[
|
|
1446
|
+
2,
|
|
1447
|
+
{
|
|
1448
|
+
[_hH]: _xatssl,
|
|
1449
|
+
},
|
|
1450
|
+
],
|
|
1451
|
+
[
|
|
1452
|
+
2,
|
|
1453
|
+
{
|
|
1454
|
+
[_hH]: _xateci,
|
|
1455
|
+
},
|
|
1456
|
+
],
|
|
1457
|
+
[
|
|
1458
|
+
1,
|
|
1459
|
+
{
|
|
1460
|
+
[_hH]: _xatnoc,
|
|
1461
|
+
},
|
|
1462
|
+
],
|
|
1463
|
+
[
|
|
1464
|
+
2,
|
|
1465
|
+
{
|
|
1466
|
+
[_hH]: _xateprs,
|
|
1467
|
+
},
|
|
1468
|
+
],
|
|
1469
|
+
[
|
|
1470
|
+
0,
|
|
1471
|
+
{
|
|
1472
|
+
[_hH]: _xatprs,
|
|
1473
|
+
},
|
|
1474
|
+
],
|
|
1475
|
+
[
|
|
1476
|
+
0,
|
|
1477
|
+
{
|
|
1478
|
+
[_hH]: _xatcit,
|
|
1479
|
+
},
|
|
1480
|
+
],
|
|
1481
|
+
[
|
|
1482
|
+
0,
|
|
1483
|
+
{
|
|
1484
|
+
[_hH]: _xatcrt,
|
|
1485
|
+
},
|
|
1486
|
+
],
|
|
1487
|
+
[
|
|
1488
|
+
0,
|
|
1489
|
+
{
|
|
1490
|
+
[_hH]: _xatpet,
|
|
1491
|
+
},
|
|
1492
|
+
],
|
|
1493
|
+
[
|
|
1494
|
+
0,
|
|
1495
|
+
{
|
|
1496
|
+
[_hH]: _xatlmn,
|
|
1497
|
+
},
|
|
1498
|
+
],
|
|
1499
|
+
[
|
|
1500
|
+
2,
|
|
1501
|
+
{
|
|
1502
|
+
[_hH]: _xatil,
|
|
1503
|
+
},
|
|
1504
|
+
],
|
|
1505
|
+
[
|
|
1506
|
+
0,
|
|
1507
|
+
{
|
|
1508
|
+
[_hH]: _xatlo,
|
|
1509
|
+
},
|
|
1510
|
+
],
|
|
1511
|
+
[
|
|
1512
|
+
0,
|
|
1513
|
+
{
|
|
1514
|
+
[_hH]: _xatpl,
|
|
1515
|
+
},
|
|
1516
|
+
],
|
|
1517
|
+
[
|
|
1518
|
+
2,
|
|
1519
|
+
{
|
|
1520
|
+
[_hH]: _xatiml,
|
|
1521
|
+
},
|
|
1522
|
+
],
|
|
1523
|
+
[
|
|
1524
|
+
0,
|
|
1525
|
+
{
|
|
1526
|
+
[_hH]: _xatvn_,
|
|
1527
|
+
},
|
|
1528
|
+
],
|
|
1529
|
+
[
|
|
1530
|
+
0,
|
|
1531
|
+
{
|
|
1532
|
+
[_hH]: _xatvfn_,
|
|
1533
|
+
},
|
|
1534
|
+
],
|
|
1535
|
+
],
|
|
1536
|
+
];
|
|
1537
|
+
var StartStreamTranscriptionResponse = [
|
|
1538
|
+
3,
|
|
1539
|
+
n0,
|
|
1540
|
+
_SSTRt,
|
|
1541
|
+
0,
|
|
1542
|
+
[
|
|
1543
|
+
_RIe,
|
|
1544
|
+
_LC,
|
|
1545
|
+
_MSRH,
|
|
1546
|
+
_MEe,
|
|
1547
|
+
_VN,
|
|
1548
|
+
_SI,
|
|
1549
|
+
_TRS,
|
|
1550
|
+
_VFN,
|
|
1551
|
+
_VFMo,
|
|
1552
|
+
_SSL,
|
|
1553
|
+
_ECI,
|
|
1554
|
+
_NOC,
|
|
1555
|
+
_EPRS,
|
|
1556
|
+
_PRS,
|
|
1557
|
+
_CIT,
|
|
1558
|
+
_CRT,
|
|
1559
|
+
_PET,
|
|
1560
|
+
_LMN,
|
|
1561
|
+
_IL,
|
|
1562
|
+
_LO,
|
|
1563
|
+
_PL,
|
|
1564
|
+
_IML,
|
|
1565
|
+
_VNo,
|
|
1566
|
+
_VFNo,
|
|
1567
|
+
],
|
|
1568
|
+
[
|
|
1569
|
+
[
|
|
1570
|
+
0,
|
|
1571
|
+
{
|
|
1572
|
+
[_hH]: _xari,
|
|
1573
|
+
},
|
|
1574
|
+
],
|
|
1575
|
+
[
|
|
1576
|
+
0,
|
|
1577
|
+
{
|
|
1578
|
+
[_hH]: _xatlc,
|
|
1579
|
+
},
|
|
1580
|
+
],
|
|
1581
|
+
[
|
|
1582
|
+
1,
|
|
1583
|
+
{
|
|
1584
|
+
[_hH]: _xatsr,
|
|
1585
|
+
},
|
|
1586
|
+
],
|
|
1587
|
+
[
|
|
1588
|
+
0,
|
|
1589
|
+
{
|
|
1590
|
+
[_hH]: _xatme,
|
|
1591
|
+
},
|
|
1592
|
+
],
|
|
1593
|
+
[
|
|
1594
|
+
0,
|
|
1595
|
+
{
|
|
1596
|
+
[_hH]: _xatvn,
|
|
1597
|
+
},
|
|
1598
|
+
],
|
|
1599
|
+
[
|
|
1600
|
+
0,
|
|
1601
|
+
{
|
|
1602
|
+
[_hH]: _xatsi,
|
|
1603
|
+
},
|
|
1604
|
+
],
|
|
1605
|
+
[() => TranscriptResultStream, 16],
|
|
1606
|
+
[
|
|
1607
|
+
0,
|
|
1608
|
+
{
|
|
1609
|
+
[_hH]: _xatvfn,
|
|
1610
|
+
},
|
|
1611
|
+
],
|
|
1612
|
+
[
|
|
1613
|
+
0,
|
|
1614
|
+
{
|
|
1615
|
+
[_hH]: _xatvfm,
|
|
1616
|
+
},
|
|
1617
|
+
],
|
|
1618
|
+
[
|
|
1619
|
+
2,
|
|
1620
|
+
{
|
|
1621
|
+
[_hH]: _xatssl,
|
|
1622
|
+
},
|
|
1623
|
+
],
|
|
1624
|
+
[
|
|
1625
|
+
2,
|
|
1626
|
+
{
|
|
1627
|
+
[_hH]: _xateci,
|
|
1628
|
+
},
|
|
1629
|
+
],
|
|
1630
|
+
[
|
|
1631
|
+
1,
|
|
1632
|
+
{
|
|
1633
|
+
[_hH]: _xatnoc,
|
|
1634
|
+
},
|
|
1635
|
+
],
|
|
1636
|
+
[
|
|
1637
|
+
2,
|
|
1638
|
+
{
|
|
1639
|
+
[_hH]: _xateprs,
|
|
1640
|
+
},
|
|
1641
|
+
],
|
|
1642
|
+
[
|
|
1643
|
+
0,
|
|
1644
|
+
{
|
|
1645
|
+
[_hH]: _xatprs,
|
|
1646
|
+
},
|
|
1647
|
+
],
|
|
1648
|
+
[
|
|
1649
|
+
0,
|
|
1650
|
+
{
|
|
1651
|
+
[_hH]: _xatcit,
|
|
1652
|
+
},
|
|
1653
|
+
],
|
|
1654
|
+
[
|
|
1655
|
+
0,
|
|
1656
|
+
{
|
|
1657
|
+
[_hH]: _xatcrt,
|
|
1658
|
+
},
|
|
1659
|
+
],
|
|
1660
|
+
[
|
|
1661
|
+
0,
|
|
1662
|
+
{
|
|
1663
|
+
[_hH]: _xatpet,
|
|
1664
|
+
},
|
|
1665
|
+
],
|
|
1666
|
+
[
|
|
1667
|
+
0,
|
|
1668
|
+
{
|
|
1669
|
+
[_hH]: _xatlmn,
|
|
1670
|
+
},
|
|
1671
|
+
],
|
|
1672
|
+
[
|
|
1673
|
+
2,
|
|
1674
|
+
{
|
|
1675
|
+
[_hH]: _xatil,
|
|
1676
|
+
},
|
|
1677
|
+
],
|
|
1678
|
+
[
|
|
1679
|
+
0,
|
|
1680
|
+
{
|
|
1681
|
+
[_hH]: _xatlo,
|
|
1682
|
+
},
|
|
1683
|
+
],
|
|
1684
|
+
[
|
|
1685
|
+
0,
|
|
1686
|
+
{
|
|
1687
|
+
[_hH]: _xatpl,
|
|
1688
|
+
},
|
|
1689
|
+
],
|
|
1690
|
+
[
|
|
1691
|
+
2,
|
|
1692
|
+
{
|
|
1693
|
+
[_hH]: _xatiml,
|
|
1694
|
+
},
|
|
1695
|
+
],
|
|
1696
|
+
[
|
|
1697
|
+
0,
|
|
1698
|
+
{
|
|
1699
|
+
[_hH]: _xatvn_,
|
|
1700
|
+
},
|
|
1701
|
+
],
|
|
1702
|
+
[
|
|
1703
|
+
0,
|
|
1704
|
+
{
|
|
1705
|
+
[_hH]: _xatvfn_,
|
|
1706
|
+
},
|
|
1707
|
+
],
|
|
1708
|
+
],
|
|
1709
|
+
];
|
|
1710
|
+
var TimestampRange = [3, n0, _TRi, 0, [_BOM, _EOM], [1, 1]];
|
|
1711
|
+
var Transcript = [3, n0, _T, 0, [_R], [() => ResultList]];
|
|
1712
|
+
var TranscriptEvent = [3, n0, _TE, 0, [_T], [() => Transcript]];
|
|
1713
|
+
var UtteranceEvent = [
|
|
1714
|
+
3,
|
|
1715
|
+
n0,
|
|
1716
|
+
_UE,
|
|
1717
|
+
0,
|
|
1718
|
+
[_UI, _IP, _PR, _BOM, _EOM, _T, _I, _E, _Se, _IDs, _LC, _LI],
|
|
1719
|
+
[
|
|
1720
|
+
0,
|
|
1721
|
+
2,
|
|
1722
|
+
0,
|
|
1723
|
+
1,
|
|
1724
|
+
1,
|
|
1725
|
+
0,
|
|
1726
|
+
() => CallAnalyticsItemList,
|
|
1727
|
+
() => CallAnalyticsEntityList,
|
|
1728
|
+
0,
|
|
1729
|
+
() => IssuesDetected,
|
|
1730
|
+
0,
|
|
1731
|
+
() => CallAnalyticsLanguageIdentification,
|
|
1732
|
+
],
|
|
1733
|
+
];
|
|
1734
|
+
var TranscribeStreamingServiceException = [
|
|
1735
|
+
-3,
|
|
1736
|
+
_sm,
|
|
1737
|
+
"TranscribeStreamingServiceException",
|
|
1738
|
+
0,
|
|
1739
|
+
[],
|
|
1740
|
+
[],
|
|
1741
|
+
];
|
|
1742
|
+
schema.TypeRegistry.for(_sm).registerError(TranscribeStreamingServiceException, TranscribeStreamingServiceException$1);
|
|
1743
|
+
var AlternativeList = [1, n0, _AL, 0, () => Alternative];
|
|
1744
|
+
var CallAnalyticsEntityList = [1, n0, _CAEL, 0, () => CallAnalyticsEntity];
|
|
1745
|
+
var CallAnalyticsItemList = [1, n0, _CAIL, 0, () => CallAnalyticsItem];
|
|
1746
|
+
var CallAnalyticsLanguageIdentification = [
|
|
1747
|
+
1,
|
|
1748
|
+
n0,
|
|
1749
|
+
_CALI,
|
|
1750
|
+
0,
|
|
1751
|
+
() => CallAnalyticsLanguageWithScore,
|
|
1752
|
+
];
|
|
1753
|
+
var ChannelDefinitions = [1, n0, _CDh, 0, () => ChannelDefinition];
|
|
1754
|
+
var EntityList = [1, n0, _EL, 0, () => Entity];
|
|
1755
|
+
var IssuesDetected = [1, n0, _IDs, 0, () => IssueDetected];
|
|
1756
|
+
var ItemList = [1, n0, _ILt, 0, () => Item];
|
|
1757
|
+
var LanguageIdentification = [1, n0, _LI, 0, () => LanguageWithScore];
|
|
1758
|
+
var MedicalAlternativeList = [1, n0, _MAL, 0, () => MedicalAlternative];
|
|
1759
|
+
var MedicalEntityList = [1, n0, _MEL, 0, () => MedicalEntity];
|
|
1760
|
+
var MedicalItemList = [1, n0, _MIL, 0, () => MedicalItem];
|
|
1761
|
+
var MedicalResultList = [1, n0, _MRL, 0, () => MedicalResult];
|
|
1762
|
+
var MedicalScribeChannelDefinitions = [1, n0, _MSCDe, 0, () => MedicalScribeChannelDefinition];
|
|
1763
|
+
var MedicalScribeTranscriptItemList = [1, n0, _MSTIL, 0, () => MedicalScribeTranscriptItem];
|
|
1764
|
+
var ResultList = [1, n0, _RL, 0, () => Result];
|
|
1765
|
+
var TimestampRanges = [1, n0, _TR, 0, () => TimestampRange];
|
|
1766
|
+
var MatchedCategoryDetails = [2, n0, _MCD, 0, 0, () => PointsOfInterest];
|
|
1767
|
+
var AudioStream = [
|
|
1768
|
+
3,
|
|
1769
|
+
n0,
|
|
1770
|
+
_AS,
|
|
1771
|
+
{
|
|
1772
|
+
[_st]: 1,
|
|
1773
|
+
},
|
|
1774
|
+
[_AE, _CEo],
|
|
1775
|
+
[[() => AudioEvent, 0], () => ConfigurationEvent],
|
|
1776
|
+
];
|
|
1777
|
+
var CallAnalyticsTranscriptResultStream = [
|
|
1778
|
+
3,
|
|
1779
|
+
n0,
|
|
1780
|
+
_CATRS,
|
|
1781
|
+
{
|
|
1782
|
+
[_st]: 1,
|
|
1783
|
+
},
|
|
1784
|
+
[_UE, _CE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1785
|
+
[
|
|
1786
|
+
() => UtteranceEvent,
|
|
1787
|
+
() => CategoryEvent,
|
|
1788
|
+
[() => BadRequestException, 0],
|
|
1789
|
+
[() => LimitExceededException, 0],
|
|
1790
|
+
[() => InternalFailureException, 0],
|
|
1791
|
+
[() => ConflictException, 0],
|
|
1792
|
+
[() => ServiceUnavailableException, 0],
|
|
1793
|
+
],
|
|
1794
|
+
];
|
|
1795
|
+
var MedicalScribeInputStream = [
|
|
1796
|
+
3,
|
|
1797
|
+
n0,
|
|
1798
|
+
_MSIS,
|
|
1799
|
+
{
|
|
1800
|
+
[_st]: 1,
|
|
1801
|
+
},
|
|
1802
|
+
[_AE, _SCE, _CEo],
|
|
1803
|
+
[
|
|
1804
|
+
[() => MedicalScribeAudioEvent, 0],
|
|
1805
|
+
() => MedicalScribeSessionControlEvent,
|
|
1806
|
+
[() => MedicalScribeConfigurationEvent, 0],
|
|
1807
|
+
],
|
|
1808
|
+
];
|
|
1809
|
+
var MedicalScribeResultStream = [
|
|
1810
|
+
3,
|
|
1811
|
+
n0,
|
|
1812
|
+
_MSRS,
|
|
1813
|
+
{
|
|
1814
|
+
[_st]: 1,
|
|
1815
|
+
},
|
|
1816
|
+
[_TE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1817
|
+
[
|
|
1818
|
+
() => MedicalScribeTranscriptEvent,
|
|
1819
|
+
[() => BadRequestException, 0],
|
|
1820
|
+
[() => LimitExceededException, 0],
|
|
1821
|
+
[() => InternalFailureException, 0],
|
|
1822
|
+
[() => ConflictException, 0],
|
|
1823
|
+
[() => ServiceUnavailableException, 0],
|
|
1824
|
+
],
|
|
1825
|
+
];
|
|
1826
|
+
var MedicalTranscriptResultStream = [
|
|
1827
|
+
3,
|
|
1828
|
+
n0,
|
|
1829
|
+
_MTRS,
|
|
1830
|
+
{
|
|
1831
|
+
[_st]: 1,
|
|
1832
|
+
},
|
|
1833
|
+
[_TE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1834
|
+
[
|
|
1835
|
+
() => MedicalTranscriptEvent,
|
|
1836
|
+
[() => BadRequestException, 0],
|
|
1837
|
+
[() => LimitExceededException, 0],
|
|
1838
|
+
[() => InternalFailureException, 0],
|
|
1839
|
+
[() => ConflictException, 0],
|
|
1840
|
+
[() => ServiceUnavailableException, 0],
|
|
1841
|
+
],
|
|
1842
|
+
];
|
|
1843
|
+
var TranscriptResultStream = [
|
|
1844
|
+
3,
|
|
1845
|
+
n0,
|
|
1846
|
+
_TRS,
|
|
1847
|
+
{
|
|
1848
|
+
[_st]: 1,
|
|
1849
|
+
},
|
|
1850
|
+
[_TE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1851
|
+
[
|
|
1852
|
+
() => TranscriptEvent,
|
|
1853
|
+
[() => BadRequestException, 0],
|
|
1854
|
+
[() => LimitExceededException, 0],
|
|
1855
|
+
[() => InternalFailureException, 0],
|
|
1856
|
+
[() => ConflictException, 0],
|
|
1857
|
+
[() => ServiceUnavailableException, 0],
|
|
1858
|
+
],
|
|
1859
|
+
];
|
|
1860
|
+
var GetMedicalScribeStream = [
|
|
1861
|
+
9,
|
|
1862
|
+
n0,
|
|
1863
|
+
_GMSS,
|
|
1864
|
+
{
|
|
1865
|
+
[_h]: ["GET", "/medical-scribe-stream/{SessionId}", 200],
|
|
1866
|
+
},
|
|
1867
|
+
() => GetMedicalScribeStreamRequest,
|
|
1868
|
+
() => GetMedicalScribeStreamResponse,
|
|
1869
|
+
];
|
|
1870
|
+
var StartCallAnalyticsStreamTranscription = [
|
|
1871
|
+
9,
|
|
1872
|
+
n0,
|
|
1873
|
+
_SCAST,
|
|
1874
|
+
{
|
|
1875
|
+
[_h]: ["POST", "/call-analytics-stream-transcription", 200],
|
|
1876
|
+
},
|
|
1877
|
+
() => StartCallAnalyticsStreamTranscriptionRequest,
|
|
1878
|
+
() => StartCallAnalyticsStreamTranscriptionResponse,
|
|
1879
|
+
];
|
|
1880
|
+
var StartMedicalScribeStream = [
|
|
1881
|
+
9,
|
|
1882
|
+
n0,
|
|
1883
|
+
_SMSS,
|
|
1884
|
+
{
|
|
1885
|
+
[_h]: ["POST", "/medical-scribe-stream", 200],
|
|
1886
|
+
},
|
|
1887
|
+
() => StartMedicalScribeStreamRequest,
|
|
1888
|
+
() => StartMedicalScribeStreamResponse,
|
|
1889
|
+
];
|
|
1890
|
+
var StartMedicalStreamTranscription = [
|
|
1891
|
+
9,
|
|
1892
|
+
n0,
|
|
1893
|
+
_SMST,
|
|
1894
|
+
{
|
|
1895
|
+
[_h]: ["POST", "/medical-stream-transcription", 200],
|
|
1896
|
+
},
|
|
1897
|
+
() => StartMedicalStreamTranscriptionRequest,
|
|
1898
|
+
() => StartMedicalStreamTranscriptionResponse,
|
|
1899
|
+
];
|
|
1900
|
+
var StartStreamTranscription = [
|
|
1901
|
+
9,
|
|
1902
|
+
n0,
|
|
1903
|
+
_SST,
|
|
1904
|
+
{
|
|
1905
|
+
[_h]: ["POST", "/stream-transcription", 200],
|
|
1906
|
+
},
|
|
1907
|
+
() => StartStreamTranscriptionRequest,
|
|
1908
|
+
() => StartStreamTranscriptionResponse,
|
|
1909
|
+
];
|
|
1590
1910
|
|
|
1591
1911
|
class GetMedicalScribeStreamCommand extends smithyClient.Command
|
|
1592
1912
|
.classBuilder()
|
|
1593
1913
|
.ep(commonParams)
|
|
1594
1914
|
.m(function (Command, cs, config, o) {
|
|
1595
|
-
return [
|
|
1596
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1597
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1598
|
-
];
|
|
1915
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1599
1916
|
})
|
|
1600
1917
|
.s("Transcribe", "GetMedicalScribeStream", {})
|
|
1601
1918
|
.n("TranscribeStreamingClient", "GetMedicalScribeStreamCommand")
|
|
1602
|
-
.
|
|
1603
|
-
.ser(se_GetMedicalScribeStreamCommand)
|
|
1604
|
-
.de(de_GetMedicalScribeStreamCommand)
|
|
1919
|
+
.sc(GetMedicalScribeStream)
|
|
1605
1920
|
.build() {
|
|
1606
1921
|
}
|
|
1607
1922
|
|
|
@@ -1610,7 +1925,6 @@ class StartCallAnalyticsStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1610
1925
|
.ep(commonParams)
|
|
1611
1926
|
.m(function (Command, cs, config, o) {
|
|
1612
1927
|
return [
|
|
1613
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1614
1928
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1615
1929
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1616
1930
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1626,9 +1940,7 @@ class StartCallAnalyticsStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1626
1940
|
},
|
|
1627
1941
|
})
|
|
1628
1942
|
.n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
|
|
1629
|
-
.
|
|
1630
|
-
.ser(se_StartCallAnalyticsStreamTranscriptionCommand)
|
|
1631
|
-
.de(de_StartCallAnalyticsStreamTranscriptionCommand)
|
|
1943
|
+
.sc(StartCallAnalyticsStreamTranscription)
|
|
1632
1944
|
.build() {
|
|
1633
1945
|
}
|
|
1634
1946
|
|
|
@@ -1637,7 +1949,6 @@ class StartMedicalScribeStreamCommand extends smithyClient.Command
|
|
|
1637
1949
|
.ep(commonParams)
|
|
1638
1950
|
.m(function (Command, cs, config, o) {
|
|
1639
1951
|
return [
|
|
1640
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1641
1952
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1642
1953
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1643
1954
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1653,9 +1964,7 @@ class StartMedicalScribeStreamCommand extends smithyClient.Command
|
|
|
1653
1964
|
},
|
|
1654
1965
|
})
|
|
1655
1966
|
.n("TranscribeStreamingClient", "StartMedicalScribeStreamCommand")
|
|
1656
|
-
.
|
|
1657
|
-
.ser(se_StartMedicalScribeStreamCommand)
|
|
1658
|
-
.de(de_StartMedicalScribeStreamCommand)
|
|
1967
|
+
.sc(StartMedicalScribeStream)
|
|
1659
1968
|
.build() {
|
|
1660
1969
|
}
|
|
1661
1970
|
|
|
@@ -1664,7 +1973,6 @@ class StartMedicalStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1664
1973
|
.ep(commonParams)
|
|
1665
1974
|
.m(function (Command, cs, config, o) {
|
|
1666
1975
|
return [
|
|
1667
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1668
1976
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1669
1977
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1670
1978
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1680,9 +1988,7 @@ class StartMedicalStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1680
1988
|
},
|
|
1681
1989
|
})
|
|
1682
1990
|
.n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
|
|
1683
|
-
.
|
|
1684
|
-
.ser(se_StartMedicalStreamTranscriptionCommand)
|
|
1685
|
-
.de(de_StartMedicalStreamTranscriptionCommand)
|
|
1991
|
+
.sc(StartMedicalStreamTranscription)
|
|
1686
1992
|
.build() {
|
|
1687
1993
|
}
|
|
1688
1994
|
|
|
@@ -1691,7 +1997,6 @@ class StartStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1691
1997
|
.ep(commonParams)
|
|
1692
1998
|
.m(function (Command, cs, config, o) {
|
|
1693
1999
|
return [
|
|
1694
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1695
2000
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1696
2001
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1697
2002
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1707,9 +2012,7 @@ class StartStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1707
2012
|
},
|
|
1708
2013
|
})
|
|
1709
2014
|
.n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
|
|
1710
|
-
.
|
|
1711
|
-
.ser(se_StartStreamTranscriptionCommand)
|
|
1712
|
-
.de(de_StartStreamTranscriptionCommand)
|
|
2015
|
+
.sc(StartStreamTranscription)
|
|
1713
2016
|
.build() {
|
|
1714
2017
|
}
|
|
1715
2018
|
|
|
@@ -1732,58 +2035,41 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1732
2035
|
enumerable: true,
|
|
1733
2036
|
get: function () { return smithyClient.Client; }
|
|
1734
2037
|
});
|
|
1735
|
-
exports.
|
|
1736
|
-
exports.BadRequestException = BadRequestException;
|
|
2038
|
+
exports.BadRequestException = BadRequestException$1;
|
|
1737
2039
|
exports.CallAnalyticsLanguageCode = CallAnalyticsLanguageCode;
|
|
1738
|
-
exports.CallAnalyticsTranscriptResultStreamFilterSensitiveLog = CallAnalyticsTranscriptResultStreamFilterSensitiveLog;
|
|
1739
2040
|
exports.ClinicalNoteGenerationStatus = ClinicalNoteGenerationStatus;
|
|
1740
|
-
exports.ConflictException = ConflictException;
|
|
2041
|
+
exports.ConflictException = ConflictException$1;
|
|
1741
2042
|
exports.ContentIdentificationType = ContentIdentificationType;
|
|
1742
2043
|
exports.ContentRedactionOutput = ContentRedactionOutput;
|
|
1743
2044
|
exports.ContentRedactionType = ContentRedactionType;
|
|
1744
2045
|
exports.GetMedicalScribeStreamCommand = GetMedicalScribeStreamCommand;
|
|
1745
|
-
exports.InternalFailureException = InternalFailureException;
|
|
2046
|
+
exports.InternalFailureException = InternalFailureException$1;
|
|
1746
2047
|
exports.ItemType = ItemType;
|
|
1747
2048
|
exports.LanguageCode = LanguageCode;
|
|
1748
|
-
exports.LimitExceededException = LimitExceededException;
|
|
2049
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
1749
2050
|
exports.MediaEncoding = MediaEncoding;
|
|
1750
2051
|
exports.MedicalContentIdentificationType = MedicalContentIdentificationType;
|
|
1751
|
-
exports.MedicalScribeConfigurationEventFilterSensitiveLog = MedicalScribeConfigurationEventFilterSensitiveLog;
|
|
1752
|
-
exports.MedicalScribeContextFilterSensitiveLog = MedicalScribeContextFilterSensitiveLog;
|
|
1753
|
-
exports.MedicalScribeInputStreamFilterSensitiveLog = MedicalScribeInputStreamFilterSensitiveLog;
|
|
1754
2052
|
exports.MedicalScribeLanguageCode = MedicalScribeLanguageCode;
|
|
1755
2053
|
exports.MedicalScribeMediaEncoding = MedicalScribeMediaEncoding;
|
|
1756
2054
|
exports.MedicalScribeNoteTemplate = MedicalScribeNoteTemplate;
|
|
1757
2055
|
exports.MedicalScribeParticipantRole = MedicalScribeParticipantRole;
|
|
1758
|
-
exports.MedicalScribePatientContextFilterSensitiveLog = MedicalScribePatientContextFilterSensitiveLog;
|
|
1759
|
-
exports.MedicalScribeResultStreamFilterSensitiveLog = MedicalScribeResultStreamFilterSensitiveLog;
|
|
1760
2056
|
exports.MedicalScribeSessionControlEventType = MedicalScribeSessionControlEventType;
|
|
1761
2057
|
exports.MedicalScribeStreamStatus = MedicalScribeStreamStatus;
|
|
1762
2058
|
exports.MedicalScribeTranscriptItemType = MedicalScribeTranscriptItemType;
|
|
1763
2059
|
exports.MedicalScribeVocabularyFilterMethod = MedicalScribeVocabularyFilterMethod;
|
|
1764
|
-
exports.MedicalTranscriptResultStreamFilterSensitiveLog = MedicalTranscriptResultStreamFilterSensitiveLog;
|
|
1765
2060
|
exports.PartialResultsStability = PartialResultsStability;
|
|
1766
2061
|
exports.ParticipantRole = ParticipantRole;
|
|
1767
|
-
exports.Pronouns = Pronouns;
|
|
1768
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2062
|
+
exports.Pronouns = Pronouns$1;
|
|
2063
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1769
2064
|
exports.Sentiment = Sentiment;
|
|
1770
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2065
|
+
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
1771
2066
|
exports.Specialty = Specialty;
|
|
1772
2067
|
exports.StartCallAnalyticsStreamTranscriptionCommand = StartCallAnalyticsStreamTranscriptionCommand;
|
|
1773
|
-
exports.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog;
|
|
1774
|
-
exports.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog;
|
|
1775
2068
|
exports.StartMedicalScribeStreamCommand = StartMedicalScribeStreamCommand;
|
|
1776
|
-
exports.StartMedicalScribeStreamRequestFilterSensitiveLog = StartMedicalScribeStreamRequestFilterSensitiveLog;
|
|
1777
|
-
exports.StartMedicalScribeStreamResponseFilterSensitiveLog = StartMedicalScribeStreamResponseFilterSensitiveLog;
|
|
1778
2069
|
exports.StartMedicalStreamTranscriptionCommand = StartMedicalStreamTranscriptionCommand;
|
|
1779
|
-
exports.StartMedicalStreamTranscriptionRequestFilterSensitiveLog = StartMedicalStreamTranscriptionRequestFilterSensitiveLog;
|
|
1780
|
-
exports.StartMedicalStreamTranscriptionResponseFilterSensitiveLog = StartMedicalStreamTranscriptionResponseFilterSensitiveLog;
|
|
1781
2070
|
exports.StartStreamTranscriptionCommand = StartStreamTranscriptionCommand;
|
|
1782
|
-
exports.StartStreamTranscriptionRequestFilterSensitiveLog = StartStreamTranscriptionRequestFilterSensitiveLog;
|
|
1783
|
-
exports.StartStreamTranscriptionResponseFilterSensitiveLog = StartStreamTranscriptionResponseFilterSensitiveLog;
|
|
1784
2071
|
exports.TranscribeStreaming = TranscribeStreaming;
|
|
1785
2072
|
exports.TranscribeStreamingClient = TranscribeStreamingClient;
|
|
1786
|
-
exports.TranscribeStreamingServiceException = TranscribeStreamingServiceException;
|
|
1787
|
-
exports.TranscriptResultStreamFilterSensitiveLog = TranscriptResultStreamFilterSensitiveLog;
|
|
2073
|
+
exports.TranscribeStreamingServiceException = TranscribeStreamingServiceException$1;
|
|
1788
2074
|
exports.Type = Type;
|
|
1789
2075
|
exports.VocabularyFilterMethod = VocabularyFilterMethod;
|