@aws-sdk/client-transcribe-streaming 3.734.0 → 3.741.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 +422 -9
- package/dist-es/TranscribeStreaming.js +4 -0
- package/dist-es/commands/GetMedicalScribeStreamCommand.js +22 -0
- package/dist-es/commands/StartMedicalScribeStreamCommand.js +36 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +113 -0
- package/dist-es/protocols/Aws_restJson1.js +214 -5
- package/dist-types/TranscribeStreaming.d.ts +24 -3
- package/dist-types/TranscribeStreamingClient.d.ts +14 -5
- package/dist-types/commands/GetMedicalScribeStreamCommand.d.ts +128 -0
- package/dist-types/commands/StartMedicalScribeStreamCommand.d.ts +205 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +10 -3
- package/dist-types/models/models_0.d.ts +1070 -86
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/TranscribeStreaming.d.ts +34 -0
- package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetMedicalScribeStreamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartMedicalScribeStreamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +294 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +2 -2
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { GetMedicalScribeStreamCommandInput, GetMedicalScribeStreamCommandOutput } from "../commands/GetMedicalScribeStreamCommand";
|
|
3
4
|
import { StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput } from "../commands/StartCallAnalyticsStreamTranscriptionCommand";
|
|
5
|
+
import { StartMedicalScribeStreamCommandInput, StartMedicalScribeStreamCommandOutput } from "../commands/StartMedicalScribeStreamCommand";
|
|
4
6
|
import { StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput } from "../commands/StartMedicalStreamTranscriptionCommand";
|
|
5
7
|
import { StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput } from "../commands/StartStreamTranscriptionCommand";
|
|
8
|
+
/**
|
|
9
|
+
* serializeAws_restJson1GetMedicalScribeStreamCommand
|
|
10
|
+
*/
|
|
11
|
+
export declare const se_GetMedicalScribeStreamCommand: (input: GetMedicalScribeStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
6
12
|
/**
|
|
7
13
|
* serializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand
|
|
8
14
|
*/
|
|
9
15
|
export declare const se_StartCallAnalyticsStreamTranscriptionCommand: (input: StartCallAnalyticsStreamTranscriptionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
/**
|
|
17
|
+
* serializeAws_restJson1StartMedicalScribeStreamCommand
|
|
18
|
+
*/
|
|
19
|
+
export declare const se_StartMedicalScribeStreamCommand: (input: StartMedicalScribeStreamCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
|
|
10
20
|
/**
|
|
11
21
|
* serializeAws_restJson1StartMedicalStreamTranscriptionCommand
|
|
12
22
|
*/
|
|
@@ -15,10 +25,18 @@ export declare const se_StartMedicalStreamTranscriptionCommand: (input: StartMed
|
|
|
15
25
|
* serializeAws_restJson1StartStreamTranscriptionCommand
|
|
16
26
|
*/
|
|
17
27
|
export declare const se_StartStreamTranscriptionCommand: (input: StartStreamTranscriptionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* deserializeAws_restJson1GetMedicalScribeStreamCommand
|
|
30
|
+
*/
|
|
31
|
+
export declare const de_GetMedicalScribeStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMedicalScribeStreamCommandOutput>;
|
|
18
32
|
/**
|
|
19
33
|
* deserializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand
|
|
20
34
|
*/
|
|
21
35
|
export declare const de_StartCallAnalyticsStreamTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
36
|
+
/**
|
|
37
|
+
* deserializeAws_restJson1StartMedicalScribeStreamCommand
|
|
38
|
+
*/
|
|
39
|
+
export declare const de_StartMedicalScribeStreamCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartMedicalScribeStreamCommandOutput>;
|
|
22
40
|
/**
|
|
23
41
|
* deserializeAws_restJson1StartMedicalStreamTranscriptionCommand
|
|
24
42
|
*/
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetMedicalScribeStreamCommandInput,
|
|
4
|
+
GetMedicalScribeStreamCommandOutput,
|
|
5
|
+
} from "./commands/GetMedicalScribeStreamCommand";
|
|
2
6
|
import {
|
|
3
7
|
StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
4
8
|
StartCallAnalyticsStreamTranscriptionCommandOutput,
|
|
5
9
|
} from "./commands/StartCallAnalyticsStreamTranscriptionCommand";
|
|
10
|
+
import {
|
|
11
|
+
StartMedicalScribeStreamCommandInput,
|
|
12
|
+
StartMedicalScribeStreamCommandOutput,
|
|
13
|
+
} from "./commands/StartMedicalScribeStreamCommand";
|
|
6
14
|
import {
|
|
7
15
|
StartMedicalStreamTranscriptionCommandInput,
|
|
8
16
|
StartMedicalStreamTranscriptionCommandOutput,
|
|
@@ -13,6 +21,19 @@ import {
|
|
|
13
21
|
} from "./commands/StartStreamTranscriptionCommand";
|
|
14
22
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
15
23
|
export interface TranscribeStreaming {
|
|
24
|
+
getMedicalScribeStream(
|
|
25
|
+
args: GetMedicalScribeStreamCommandInput,
|
|
26
|
+
options?: __HttpHandlerOptions
|
|
27
|
+
): Promise<GetMedicalScribeStreamCommandOutput>;
|
|
28
|
+
getMedicalScribeStream(
|
|
29
|
+
args: GetMedicalScribeStreamCommandInput,
|
|
30
|
+
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void
|
|
31
|
+
): void;
|
|
32
|
+
getMedicalScribeStream(
|
|
33
|
+
args: GetMedicalScribeStreamCommandInput,
|
|
34
|
+
options: __HttpHandlerOptions,
|
|
35
|
+
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void
|
|
36
|
+
): void;
|
|
16
37
|
startCallAnalyticsStreamTranscription(
|
|
17
38
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
18
39
|
options?: __HttpHandlerOptions
|
|
@@ -32,6 +53,19 @@ export interface TranscribeStreaming {
|
|
|
32
53
|
data?: StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
33
54
|
) => void
|
|
34
55
|
): void;
|
|
56
|
+
startMedicalScribeStream(
|
|
57
|
+
args: StartMedicalScribeStreamCommandInput,
|
|
58
|
+
options?: __HttpHandlerOptions
|
|
59
|
+
): Promise<StartMedicalScribeStreamCommandOutput>;
|
|
60
|
+
startMedicalScribeStream(
|
|
61
|
+
args: StartMedicalScribeStreamCommandInput,
|
|
62
|
+
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void
|
|
63
|
+
): void;
|
|
64
|
+
startMedicalScribeStream(
|
|
65
|
+
args: StartMedicalScribeStreamCommandInput,
|
|
66
|
+
options: __HttpHandlerOptions,
|
|
67
|
+
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void
|
|
68
|
+
): void;
|
|
35
69
|
startMedicalStreamTranscription(
|
|
36
70
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
37
71
|
options?: __HttpHandlerOptions
|
|
@@ -59,10 +59,18 @@ import {
|
|
|
59
59
|
HttpAuthSchemeInputConfig,
|
|
60
60
|
HttpAuthSchemeResolvedConfig,
|
|
61
61
|
} from "./auth/httpAuthSchemeProvider";
|
|
62
|
+
import {
|
|
63
|
+
GetMedicalScribeStreamCommandInput,
|
|
64
|
+
GetMedicalScribeStreamCommandOutput,
|
|
65
|
+
} from "./commands/GetMedicalScribeStreamCommand";
|
|
62
66
|
import {
|
|
63
67
|
StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
64
68
|
StartCallAnalyticsStreamTranscriptionCommandOutput,
|
|
65
69
|
} from "./commands/StartCallAnalyticsStreamTranscriptionCommand";
|
|
70
|
+
import {
|
|
71
|
+
StartMedicalScribeStreamCommandInput,
|
|
72
|
+
StartMedicalScribeStreamCommandOutput,
|
|
73
|
+
} from "./commands/StartMedicalScribeStreamCommand";
|
|
66
74
|
import {
|
|
67
75
|
StartMedicalStreamTranscriptionCommandInput,
|
|
68
76
|
StartMedicalStreamTranscriptionCommandOutput,
|
|
@@ -79,11 +87,15 @@ import {
|
|
|
79
87
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
80
88
|
export { __Client };
|
|
81
89
|
export type ServiceInputTypes =
|
|
90
|
+
| GetMedicalScribeStreamCommandInput
|
|
82
91
|
| StartCallAnalyticsStreamTranscriptionCommandInput
|
|
92
|
+
| StartMedicalScribeStreamCommandInput
|
|
83
93
|
| StartMedicalStreamTranscriptionCommandInput
|
|
84
94
|
| StartStreamTranscriptionCommandInput;
|
|
85
95
|
export type ServiceOutputTypes =
|
|
96
|
+
| GetMedicalScribeStreamCommandOutput
|
|
86
97
|
| StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
98
|
+
| StartMedicalScribeStreamCommandOutput
|
|
87
99
|
| StartMedicalStreamTranscriptionCommandOutput
|
|
88
100
|
| StartStreamTranscriptionCommandOutput;
|
|
89
101
|
export interface ClientDefaults
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetMedicalScribeStreamRequest,
|
|
5
|
+
GetMedicalScribeStreamResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
TranscribeStreamingClientResolvedConfig,
|
|
11
|
+
} from "../TranscribeStreamingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetMedicalScribeStreamCommandInput
|
|
15
|
+
extends GetMedicalScribeStreamRequest {}
|
|
16
|
+
export interface GetMedicalScribeStreamCommandOutput
|
|
17
|
+
extends GetMedicalScribeStreamResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetMedicalScribeStreamCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetMedicalScribeStreamCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetMedicalScribeStreamCommandInput,
|
|
24
|
+
GetMedicalScribeStreamCommandOutput,
|
|
25
|
+
TranscribeStreamingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetMedicalScribeStreamCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetMedicalScribeStreamCommandInput,
|
|
33
|
+
GetMedicalScribeStreamCommandOutput,
|
|
34
|
+
TranscribeStreamingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetMedicalScribeStreamCommand extends GetMedicalScribeStreamCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetMedicalScribeStreamRequest;
|
|
44
|
+
output: GetMedicalScribeStreamResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetMedicalScribeStreamCommandInput;
|
|
48
|
+
output: GetMedicalScribeStreamCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
StartMedicalScribeStreamRequest,
|
|
5
|
+
StartMedicalScribeStreamResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
TranscribeStreamingClientResolvedConfig,
|
|
11
|
+
} from "../TranscribeStreamingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StartMedicalScribeStreamCommandInput
|
|
15
|
+
extends StartMedicalScribeStreamRequest {}
|
|
16
|
+
export interface StartMedicalScribeStreamCommandOutput
|
|
17
|
+
extends StartMedicalScribeStreamResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StartMedicalScribeStreamCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StartMedicalScribeStreamCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StartMedicalScribeStreamCommandInput,
|
|
24
|
+
StartMedicalScribeStreamCommandOutput,
|
|
25
|
+
TranscribeStreamingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: StartMedicalScribeStreamCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StartMedicalScribeStreamCommandInput,
|
|
33
|
+
StartMedicalScribeStreamCommandOutput,
|
|
34
|
+
TranscribeStreamingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StartMedicalScribeStreamCommand extends StartMedicalScribeStreamCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: StartMedicalScribeStreamRequest;
|
|
44
|
+
output: StartMedicalScribeStreamResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StartMedicalScribeStreamCommandInput;
|
|
48
|
+
output: StartMedicalScribeStreamCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./GetMedicalScribeStreamCommand";
|
|
1
2
|
export * from "./StartCallAnalyticsStreamTranscriptionCommand";
|
|
3
|
+
export * from "./StartMedicalScribeStreamCommand";
|
|
2
4
|
export * from "./StartMedicalStreamTranscriptionCommand";
|
|
3
5
|
export * from "./StartStreamTranscriptionCommand";
|
|
@@ -294,6 +294,22 @@ export declare namespace CallAnalyticsTranscriptResultStream {
|
|
|
294
294
|
visitor: Visitor<T>
|
|
295
295
|
) => T;
|
|
296
296
|
}
|
|
297
|
+
export declare const ClinicalNoteGenerationStatus: {
|
|
298
|
+
readonly COMPLETED: "COMPLETED";
|
|
299
|
+
readonly FAILED: "FAILED";
|
|
300
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
301
|
+
};
|
|
302
|
+
export type ClinicalNoteGenerationStatus =
|
|
303
|
+
(typeof ClinicalNoteGenerationStatus)[keyof typeof ClinicalNoteGenerationStatus];
|
|
304
|
+
export interface ClinicalNoteGenerationResult {
|
|
305
|
+
ClinicalNoteOutputLocation?: string | undefined;
|
|
306
|
+
TranscriptOutputLocation?: string | undefined;
|
|
307
|
+
Status?: ClinicalNoteGenerationStatus | undefined;
|
|
308
|
+
FailureReason?: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
export interface ClinicalNoteGenerationSettings {
|
|
311
|
+
OutputBucketName: string | undefined;
|
|
312
|
+
}
|
|
297
313
|
export declare const ContentIdentificationType: {
|
|
298
314
|
readonly PII: "PII";
|
|
299
315
|
};
|
|
@@ -304,6 +320,88 @@ export declare const ContentRedactionType: {
|
|
|
304
320
|
};
|
|
305
321
|
export type ContentRedactionType =
|
|
306
322
|
(typeof ContentRedactionType)[keyof typeof ContentRedactionType];
|
|
323
|
+
export interface GetMedicalScribeStreamRequest {
|
|
324
|
+
SessionId: string | undefined;
|
|
325
|
+
}
|
|
326
|
+
export declare const MedicalScribeParticipantRole: {
|
|
327
|
+
readonly CLINICIAN: "CLINICIAN";
|
|
328
|
+
readonly PATIENT: "PATIENT";
|
|
329
|
+
};
|
|
330
|
+
export type MedicalScribeParticipantRole =
|
|
331
|
+
(typeof MedicalScribeParticipantRole)[keyof typeof MedicalScribeParticipantRole];
|
|
332
|
+
export interface MedicalScribeChannelDefinition {
|
|
333
|
+
ChannelId: number | undefined;
|
|
334
|
+
ParticipantRole: MedicalScribeParticipantRole | undefined;
|
|
335
|
+
}
|
|
336
|
+
export interface MedicalScribeEncryptionSettings {
|
|
337
|
+
KmsEncryptionContext?: Record<string, string> | undefined;
|
|
338
|
+
KmsKeyId: string | undefined;
|
|
339
|
+
}
|
|
340
|
+
export declare const MedicalScribeLanguageCode: {
|
|
341
|
+
readonly EN_US: "en-US";
|
|
342
|
+
};
|
|
343
|
+
export type MedicalScribeLanguageCode =
|
|
344
|
+
(typeof MedicalScribeLanguageCode)[keyof typeof MedicalScribeLanguageCode];
|
|
345
|
+
export declare const MedicalScribeMediaEncoding: {
|
|
346
|
+
readonly FLAC: "flac";
|
|
347
|
+
readonly OGG_OPUS: "ogg-opus";
|
|
348
|
+
readonly PCM: "pcm";
|
|
349
|
+
};
|
|
350
|
+
export type MedicalScribeMediaEncoding =
|
|
351
|
+
(typeof MedicalScribeMediaEncoding)[keyof typeof MedicalScribeMediaEncoding];
|
|
352
|
+
export interface MedicalScribePostStreamAnalyticsResult {
|
|
353
|
+
ClinicalNoteGenerationResult?: ClinicalNoteGenerationResult | undefined;
|
|
354
|
+
}
|
|
355
|
+
export interface MedicalScribePostStreamAnalyticsSettings {
|
|
356
|
+
ClinicalNoteGenerationSettings: ClinicalNoteGenerationSettings | undefined;
|
|
357
|
+
}
|
|
358
|
+
export declare const MedicalScribeStreamStatus: {
|
|
359
|
+
readonly COMPLETED: "COMPLETED";
|
|
360
|
+
readonly FAILED: "FAILED";
|
|
361
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
362
|
+
readonly PAUSED: "PAUSED";
|
|
363
|
+
};
|
|
364
|
+
export type MedicalScribeStreamStatus =
|
|
365
|
+
(typeof MedicalScribeStreamStatus)[keyof typeof MedicalScribeStreamStatus];
|
|
366
|
+
export declare const MedicalScribeVocabularyFilterMethod: {
|
|
367
|
+
readonly MASK: "mask";
|
|
368
|
+
readonly REMOVE: "remove";
|
|
369
|
+
readonly TAG: "tag";
|
|
370
|
+
};
|
|
371
|
+
export type MedicalScribeVocabularyFilterMethod =
|
|
372
|
+
(typeof MedicalScribeVocabularyFilterMethod)[keyof typeof MedicalScribeVocabularyFilterMethod];
|
|
373
|
+
export interface MedicalScribeStreamDetails {
|
|
374
|
+
SessionId?: string | undefined;
|
|
375
|
+
StreamCreatedAt?: Date | undefined;
|
|
376
|
+
StreamEndedAt?: Date | undefined;
|
|
377
|
+
LanguageCode?: MedicalScribeLanguageCode | undefined;
|
|
378
|
+
MediaSampleRateHertz?: number | undefined;
|
|
379
|
+
MediaEncoding?: MedicalScribeMediaEncoding | undefined;
|
|
380
|
+
VocabularyName?: string | undefined;
|
|
381
|
+
VocabularyFilterName?: string | undefined;
|
|
382
|
+
VocabularyFilterMethod?: MedicalScribeVocabularyFilterMethod | undefined;
|
|
383
|
+
ResourceAccessRoleArn?: string | undefined;
|
|
384
|
+
ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
|
|
385
|
+
EncryptionSettings?: MedicalScribeEncryptionSettings | undefined;
|
|
386
|
+
StreamStatus?: MedicalScribeStreamStatus | undefined;
|
|
387
|
+
PostStreamAnalyticsSettings?:
|
|
388
|
+
| MedicalScribePostStreamAnalyticsSettings
|
|
389
|
+
| undefined;
|
|
390
|
+
PostStreamAnalyticsResult?:
|
|
391
|
+
| MedicalScribePostStreamAnalyticsResult
|
|
392
|
+
| undefined;
|
|
393
|
+
}
|
|
394
|
+
export interface GetMedicalScribeStreamResponse {
|
|
395
|
+
MedicalScribeStreamDetails?: MedicalScribeStreamDetails | undefined;
|
|
396
|
+
}
|
|
397
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
398
|
+
readonly name: "ResourceNotFoundException";
|
|
399
|
+
readonly $fault: "client";
|
|
400
|
+
Message?: string | undefined;
|
|
401
|
+
constructor(
|
|
402
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
403
|
+
);
|
|
404
|
+
}
|
|
307
405
|
export declare const LanguageCode: {
|
|
308
406
|
readonly AF_ZA: "af-ZA";
|
|
309
407
|
readonly AR_AE: "ar-AE";
|
|
@@ -404,6 +502,175 @@ export interface MedicalResult {
|
|
|
404
502
|
Alternatives?: MedicalAlternative[] | undefined;
|
|
405
503
|
ChannelId?: string | undefined;
|
|
406
504
|
}
|
|
505
|
+
export interface MedicalScribeAudioEvent {
|
|
506
|
+
AudioChunk: Uint8Array | undefined;
|
|
507
|
+
}
|
|
508
|
+
export interface MedicalScribeConfigurationEvent {
|
|
509
|
+
VocabularyName?: string | undefined;
|
|
510
|
+
VocabularyFilterName?: string | undefined;
|
|
511
|
+
VocabularyFilterMethod?: MedicalScribeVocabularyFilterMethod | undefined;
|
|
512
|
+
ResourceAccessRoleArn: string | undefined;
|
|
513
|
+
ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
|
|
514
|
+
EncryptionSettings?: MedicalScribeEncryptionSettings | undefined;
|
|
515
|
+
PostStreamAnalyticsSettings:
|
|
516
|
+
| MedicalScribePostStreamAnalyticsSettings
|
|
517
|
+
| undefined;
|
|
518
|
+
}
|
|
519
|
+
export declare const MedicalScribeSessionControlEventType: {
|
|
520
|
+
readonly END_OF_SESSION: "END_OF_SESSION";
|
|
521
|
+
};
|
|
522
|
+
export type MedicalScribeSessionControlEventType =
|
|
523
|
+
(typeof MedicalScribeSessionControlEventType)[keyof typeof MedicalScribeSessionControlEventType];
|
|
524
|
+
export interface MedicalScribeSessionControlEvent {
|
|
525
|
+
Type: MedicalScribeSessionControlEventType | undefined;
|
|
526
|
+
}
|
|
527
|
+
export type MedicalScribeInputStream =
|
|
528
|
+
| MedicalScribeInputStream.AudioEventMember
|
|
529
|
+
| MedicalScribeInputStream.ConfigurationEventMember
|
|
530
|
+
| MedicalScribeInputStream.SessionControlEventMember
|
|
531
|
+
| MedicalScribeInputStream.$UnknownMember;
|
|
532
|
+
export declare namespace MedicalScribeInputStream {
|
|
533
|
+
interface AudioEventMember {
|
|
534
|
+
AudioEvent: MedicalScribeAudioEvent;
|
|
535
|
+
SessionControlEvent?: never;
|
|
536
|
+
ConfigurationEvent?: never;
|
|
537
|
+
$unknown?: never;
|
|
538
|
+
}
|
|
539
|
+
interface SessionControlEventMember {
|
|
540
|
+
AudioEvent?: never;
|
|
541
|
+
SessionControlEvent: MedicalScribeSessionControlEvent;
|
|
542
|
+
ConfigurationEvent?: never;
|
|
543
|
+
$unknown?: never;
|
|
544
|
+
}
|
|
545
|
+
interface ConfigurationEventMember {
|
|
546
|
+
AudioEvent?: never;
|
|
547
|
+
SessionControlEvent?: never;
|
|
548
|
+
ConfigurationEvent: MedicalScribeConfigurationEvent;
|
|
549
|
+
$unknown?: never;
|
|
550
|
+
}
|
|
551
|
+
interface $UnknownMember {
|
|
552
|
+
AudioEvent?: never;
|
|
553
|
+
SessionControlEvent?: never;
|
|
554
|
+
ConfigurationEvent?: never;
|
|
555
|
+
$unknown: [string, any];
|
|
556
|
+
}
|
|
557
|
+
interface Visitor<T> {
|
|
558
|
+
AudioEvent: (value: MedicalScribeAudioEvent) => T;
|
|
559
|
+
SessionControlEvent: (value: MedicalScribeSessionControlEvent) => T;
|
|
560
|
+
ConfigurationEvent: (value: MedicalScribeConfigurationEvent) => T;
|
|
561
|
+
_: (name: string, value: any) => T;
|
|
562
|
+
}
|
|
563
|
+
const visit: <T>(value: MedicalScribeInputStream, visitor: Visitor<T>) => T;
|
|
564
|
+
}
|
|
565
|
+
export declare const MedicalScribeTranscriptItemType: {
|
|
566
|
+
readonly PRONUNCIATION: "pronunciation";
|
|
567
|
+
readonly PUNCTUATION: "punctuation";
|
|
568
|
+
};
|
|
569
|
+
export type MedicalScribeTranscriptItemType =
|
|
570
|
+
(typeof MedicalScribeTranscriptItemType)[keyof typeof MedicalScribeTranscriptItemType];
|
|
571
|
+
export interface MedicalScribeTranscriptItem {
|
|
572
|
+
BeginAudioTime?: number | undefined;
|
|
573
|
+
EndAudioTime?: number | undefined;
|
|
574
|
+
Type?: MedicalScribeTranscriptItemType | undefined;
|
|
575
|
+
Confidence?: number | undefined;
|
|
576
|
+
Content?: string | undefined;
|
|
577
|
+
VocabularyFilterMatch?: boolean | undefined;
|
|
578
|
+
}
|
|
579
|
+
export interface MedicalScribeTranscriptSegment {
|
|
580
|
+
SegmentId?: string | undefined;
|
|
581
|
+
BeginAudioTime?: number | undefined;
|
|
582
|
+
EndAudioTime?: number | undefined;
|
|
583
|
+
Content?: string | undefined;
|
|
584
|
+
Items?: MedicalScribeTranscriptItem[] | undefined;
|
|
585
|
+
IsPartial?: boolean | undefined;
|
|
586
|
+
ChannelId?: string | undefined;
|
|
587
|
+
}
|
|
588
|
+
export interface MedicalScribeTranscriptEvent {
|
|
589
|
+
TranscriptSegment?: MedicalScribeTranscriptSegment | undefined;
|
|
590
|
+
}
|
|
591
|
+
export type MedicalScribeResultStream =
|
|
592
|
+
| MedicalScribeResultStream.BadRequestExceptionMember
|
|
593
|
+
| MedicalScribeResultStream.ConflictExceptionMember
|
|
594
|
+
| MedicalScribeResultStream.InternalFailureExceptionMember
|
|
595
|
+
| MedicalScribeResultStream.LimitExceededExceptionMember
|
|
596
|
+
| MedicalScribeResultStream.ServiceUnavailableExceptionMember
|
|
597
|
+
| MedicalScribeResultStream.TranscriptEventMember
|
|
598
|
+
| MedicalScribeResultStream.$UnknownMember;
|
|
599
|
+
export declare namespace MedicalScribeResultStream {
|
|
600
|
+
interface TranscriptEventMember {
|
|
601
|
+
TranscriptEvent: MedicalScribeTranscriptEvent;
|
|
602
|
+
BadRequestException?: never;
|
|
603
|
+
LimitExceededException?: never;
|
|
604
|
+
InternalFailureException?: never;
|
|
605
|
+
ConflictException?: never;
|
|
606
|
+
ServiceUnavailableException?: never;
|
|
607
|
+
$unknown?: never;
|
|
608
|
+
}
|
|
609
|
+
interface BadRequestExceptionMember {
|
|
610
|
+
TranscriptEvent?: never;
|
|
611
|
+
BadRequestException: BadRequestException;
|
|
612
|
+
LimitExceededException?: never;
|
|
613
|
+
InternalFailureException?: never;
|
|
614
|
+
ConflictException?: never;
|
|
615
|
+
ServiceUnavailableException?: never;
|
|
616
|
+
$unknown?: never;
|
|
617
|
+
}
|
|
618
|
+
interface LimitExceededExceptionMember {
|
|
619
|
+
TranscriptEvent?: never;
|
|
620
|
+
BadRequestException?: never;
|
|
621
|
+
LimitExceededException: LimitExceededException;
|
|
622
|
+
InternalFailureException?: never;
|
|
623
|
+
ConflictException?: never;
|
|
624
|
+
ServiceUnavailableException?: never;
|
|
625
|
+
$unknown?: never;
|
|
626
|
+
}
|
|
627
|
+
interface InternalFailureExceptionMember {
|
|
628
|
+
TranscriptEvent?: never;
|
|
629
|
+
BadRequestException?: never;
|
|
630
|
+
LimitExceededException?: never;
|
|
631
|
+
InternalFailureException: InternalFailureException;
|
|
632
|
+
ConflictException?: never;
|
|
633
|
+
ServiceUnavailableException?: never;
|
|
634
|
+
$unknown?: never;
|
|
635
|
+
}
|
|
636
|
+
interface ConflictExceptionMember {
|
|
637
|
+
TranscriptEvent?: never;
|
|
638
|
+
BadRequestException?: never;
|
|
639
|
+
LimitExceededException?: never;
|
|
640
|
+
InternalFailureException?: never;
|
|
641
|
+
ConflictException: ConflictException;
|
|
642
|
+
ServiceUnavailableException?: never;
|
|
643
|
+
$unknown?: never;
|
|
644
|
+
}
|
|
645
|
+
interface ServiceUnavailableExceptionMember {
|
|
646
|
+
TranscriptEvent?: never;
|
|
647
|
+
BadRequestException?: never;
|
|
648
|
+
LimitExceededException?: never;
|
|
649
|
+
InternalFailureException?: never;
|
|
650
|
+
ConflictException?: never;
|
|
651
|
+
ServiceUnavailableException: ServiceUnavailableException;
|
|
652
|
+
$unknown?: never;
|
|
653
|
+
}
|
|
654
|
+
interface $UnknownMember {
|
|
655
|
+
TranscriptEvent?: never;
|
|
656
|
+
BadRequestException?: never;
|
|
657
|
+
LimitExceededException?: never;
|
|
658
|
+
InternalFailureException?: never;
|
|
659
|
+
ConflictException?: never;
|
|
660
|
+
ServiceUnavailableException?: never;
|
|
661
|
+
$unknown: [string, any];
|
|
662
|
+
}
|
|
663
|
+
interface Visitor<T> {
|
|
664
|
+
TranscriptEvent: (value: MedicalScribeTranscriptEvent) => T;
|
|
665
|
+
BadRequestException: (value: BadRequestException) => T;
|
|
666
|
+
LimitExceededException: (value: LimitExceededException) => T;
|
|
667
|
+
InternalFailureException: (value: InternalFailureException) => T;
|
|
668
|
+
ConflictException: (value: ConflictException) => T;
|
|
669
|
+
ServiceUnavailableException: (value: ServiceUnavailableException) => T;
|
|
670
|
+
_: (name: string, value: any) => T;
|
|
671
|
+
}
|
|
672
|
+
const visit: <T>(value: MedicalScribeResultStream, visitor: Visitor<T>) => T;
|
|
673
|
+
}
|
|
407
674
|
export interface MedicalTranscript {
|
|
408
675
|
Results?: MedicalResult[] | undefined;
|
|
409
676
|
}
|
|
@@ -564,6 +831,21 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
|
|
|
564
831
|
ContentRedactionType?: ContentRedactionType | undefined;
|
|
565
832
|
PiiEntityTypes?: string | undefined;
|
|
566
833
|
}
|
|
834
|
+
export interface StartMedicalScribeStreamRequest {
|
|
835
|
+
SessionId?: string | undefined;
|
|
836
|
+
LanguageCode: MedicalScribeLanguageCode | undefined;
|
|
837
|
+
MediaSampleRateHertz: number | undefined;
|
|
838
|
+
MediaEncoding: MedicalScribeMediaEncoding | undefined;
|
|
839
|
+
InputStream: AsyncIterable<MedicalScribeInputStream> | undefined;
|
|
840
|
+
}
|
|
841
|
+
export interface StartMedicalScribeStreamResponse {
|
|
842
|
+
SessionId?: string | undefined;
|
|
843
|
+
RequestId?: string | undefined;
|
|
844
|
+
LanguageCode?: MedicalScribeLanguageCode | undefined;
|
|
845
|
+
MediaSampleRateHertz?: number | undefined;
|
|
846
|
+
MediaEncoding?: MedicalScribeMediaEncoding | undefined;
|
|
847
|
+
ResultStream?: AsyncIterable<MedicalScribeResultStream> | undefined;
|
|
848
|
+
}
|
|
567
849
|
export declare const Type: {
|
|
568
850
|
readonly CONVERSATION: "CONVERSATION";
|
|
569
851
|
readonly DICTATION: "DICTATION";
|
|
@@ -744,6 +1026,12 @@ export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
|
|
|
744
1026
|
export declare const CallAnalyticsTranscriptResultStreamFilterSensitiveLog: (
|
|
745
1027
|
obj: CallAnalyticsTranscriptResultStream
|
|
746
1028
|
) => any;
|
|
1029
|
+
export declare const MedicalScribeInputStreamFilterSensitiveLog: (
|
|
1030
|
+
obj: MedicalScribeInputStream
|
|
1031
|
+
) => any;
|
|
1032
|
+
export declare const MedicalScribeResultStreamFilterSensitiveLog: (
|
|
1033
|
+
obj: MedicalScribeResultStream
|
|
1034
|
+
) => any;
|
|
747
1035
|
export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (
|
|
748
1036
|
obj: MedicalTranscriptResultStream
|
|
749
1037
|
) => any;
|
|
@@ -753,6 +1041,12 @@ export declare const StartCallAnalyticsStreamTranscriptionRequestFilterSensitive
|
|
|
753
1041
|
export declare const StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog: (
|
|
754
1042
|
obj: StartCallAnalyticsStreamTranscriptionResponse
|
|
755
1043
|
) => any;
|
|
1044
|
+
export declare const StartMedicalScribeStreamRequestFilterSensitiveLog: (
|
|
1045
|
+
obj: StartMedicalScribeStreamRequest
|
|
1046
|
+
) => any;
|
|
1047
|
+
export declare const StartMedicalScribeStreamResponseFilterSensitiveLog: (
|
|
1048
|
+
obj: StartMedicalScribeStreamResponse
|
|
1049
|
+
) => any;
|
|
756
1050
|
export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (
|
|
757
1051
|
obj: StartMedicalStreamTranscriptionRequest
|
|
758
1052
|
) => any;
|
|
@@ -6,10 +6,18 @@ import {
|
|
|
6
6
|
EventStreamSerdeContext as __EventStreamSerdeContext,
|
|
7
7
|
SerdeContext as __SerdeContext,
|
|
8
8
|
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
GetMedicalScribeStreamCommandInput,
|
|
11
|
+
GetMedicalScribeStreamCommandOutput,
|
|
12
|
+
} from "../commands/GetMedicalScribeStreamCommand";
|
|
9
13
|
import {
|
|
10
14
|
StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
11
15
|
StartCallAnalyticsStreamTranscriptionCommandOutput,
|
|
12
16
|
} from "../commands/StartCallAnalyticsStreamTranscriptionCommand";
|
|
17
|
+
import {
|
|
18
|
+
StartMedicalScribeStreamCommandInput,
|
|
19
|
+
StartMedicalScribeStreamCommandOutput,
|
|
20
|
+
} from "../commands/StartMedicalScribeStreamCommand";
|
|
13
21
|
import {
|
|
14
22
|
StartMedicalStreamTranscriptionCommandInput,
|
|
15
23
|
StartMedicalStreamTranscriptionCommandOutput,
|
|
@@ -18,10 +26,18 @@ import {
|
|
|
18
26
|
StartStreamTranscriptionCommandInput,
|
|
19
27
|
StartStreamTranscriptionCommandOutput,
|
|
20
28
|
} from "../commands/StartStreamTranscriptionCommand";
|
|
29
|
+
export declare const se_GetMedicalScribeStreamCommand: (
|
|
30
|
+
input: GetMedicalScribeStreamCommandInput,
|
|
31
|
+
context: __SerdeContext
|
|
32
|
+
) => Promise<__HttpRequest>;
|
|
21
33
|
export declare const se_StartCallAnalyticsStreamTranscriptionCommand: (
|
|
22
34
|
input: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
23
35
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
24
36
|
) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const se_StartMedicalScribeStreamCommand: (
|
|
38
|
+
input: StartMedicalScribeStreamCommandInput,
|
|
39
|
+
context: __SerdeContext & __EventStreamSerdeContext
|
|
40
|
+
) => Promise<__HttpRequest>;
|
|
25
41
|
export declare const se_StartMedicalStreamTranscriptionCommand: (
|
|
26
42
|
input: StartMedicalStreamTranscriptionCommandInput,
|
|
27
43
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
@@ -30,10 +46,18 @@ export declare const se_StartStreamTranscriptionCommand: (
|
|
|
30
46
|
input: StartStreamTranscriptionCommandInput,
|
|
31
47
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
32
48
|
) => Promise<__HttpRequest>;
|
|
49
|
+
export declare const de_GetMedicalScribeStreamCommand: (
|
|
50
|
+
output: __HttpResponse,
|
|
51
|
+
context: __SerdeContext
|
|
52
|
+
) => Promise<GetMedicalScribeStreamCommandOutput>;
|
|
33
53
|
export declare const de_StartCallAnalyticsStreamTranscriptionCommand: (
|
|
34
54
|
output: __HttpResponse,
|
|
35
55
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
36
56
|
) => Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
57
|
+
export declare const de_StartMedicalScribeStreamCommand: (
|
|
58
|
+
output: __HttpResponse,
|
|
59
|
+
context: __SerdeContext & __EventStreamSerdeContext
|
|
60
|
+
) => Promise<StartMedicalScribeStreamCommandOutput>;
|
|
37
61
|
export declare const de_StartMedicalStreamTranscriptionCommand: (
|
|
38
62
|
output: __HttpResponse,
|
|
39
63
|
context: __SerdeContext & __EventStreamSerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.741.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-transcribe-streaming",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.734.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.741.0",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.734.0",
|
|
28
28
|
"@aws-sdk/middleware-eventstream": "3.734.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.734.0",
|