@aws-sdk/client-transcribe-streaming 3.933.0 → 3.935.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 +219 -173
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +215 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -255
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +2 -2
- package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +6 -6
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +407 -0
- package/dist-types/models/errors.d.ts +85 -0
- package/dist-types/models/models_0.d.ts +2 -447
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +256 -0
- package/dist-types/ts3.4/models/errors.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -259
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CallAnalyticsLanguageCode, ClinicalNoteGenerationStatus, ContentIdentificationType, ContentRedactionOutput, ContentRedactionType, ItemType, LanguageCode, MediaEncoding, MedicalContentIdentificationType, MedicalScribeLanguageCode, MedicalScribeMediaEncoding, MedicalScribeNoteTemplate, MedicalScribeParticipantRole, MedicalScribeSessionControlEventType, MedicalScribeStreamStatus, MedicalScribeTranscriptItemType, MedicalScribeVocabularyFilterMethod, PartialResultsStability, ParticipantRole, Pronouns, Sentiment, Specialty, Type, VocabularyFilterMethod } from "./enums";
|
|
2
|
+
import { BadRequestException, ConflictException, InternalFailureException, LimitExceededException, ServiceUnavailableException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Contains entities identified as personally identifiable information (PII) in your
|
|
5
5
|
* transcription output, along with various associated attributes. Examples include category,
|
|
@@ -42,18 +42,6 @@ export interface Entity {
|
|
|
42
42
|
*/
|
|
43
43
|
Confidence?: number | undefined;
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @public
|
|
47
|
-
* @enum
|
|
48
|
-
*/
|
|
49
|
-
export declare const ItemType: {
|
|
50
|
-
readonly PRONUNCIATION: "pronunciation";
|
|
51
|
-
readonly PUNCTUATION: "punctuation";
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* @public
|
|
55
|
-
*/
|
|
56
|
-
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
57
45
|
/**
|
|
58
46
|
* <p>A word, phrase, or punctuation mark in your transcription output, along with various associated
|
|
59
47
|
* attributes, such as confidence score, type, and start and end times.</p>
|
|
@@ -161,18 +149,6 @@ export interface AudioEvent {
|
|
|
161
149
|
*/
|
|
162
150
|
AudioChunk?: Uint8Array | undefined;
|
|
163
151
|
}
|
|
164
|
-
/**
|
|
165
|
-
* @public
|
|
166
|
-
* @enum
|
|
167
|
-
*/
|
|
168
|
-
export declare const ParticipantRole: {
|
|
169
|
-
readonly AGENT: "AGENT";
|
|
170
|
-
readonly CUSTOMER: "CUSTOMER";
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
export type ParticipantRole = (typeof ParticipantRole)[keyof typeof ParticipantRole];
|
|
176
152
|
/**
|
|
177
153
|
* <p>Makes it possible to specify which speaker is on which audio channel. For example, if your
|
|
178
154
|
* agent is the first participant to speak, you would set <code>ChannelId</code> to
|
|
@@ -193,18 +169,6 @@ export interface ChannelDefinition {
|
|
|
193
169
|
*/
|
|
194
170
|
ParticipantRole: ParticipantRole | undefined;
|
|
195
171
|
}
|
|
196
|
-
/**
|
|
197
|
-
* @public
|
|
198
|
-
* @enum
|
|
199
|
-
*/
|
|
200
|
-
export declare const ContentRedactionOutput: {
|
|
201
|
-
readonly REDACTED: "redacted";
|
|
202
|
-
readonly REDACTED_AND_UNREDACTED: "redacted_and_unredacted";
|
|
203
|
-
};
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
*/
|
|
207
|
-
export type ContentRedactionOutput = (typeof ContentRedactionOutput)[keyof typeof ContentRedactionOutput];
|
|
208
172
|
/**
|
|
209
173
|
* <p>Allows you to specify additional settings for your Call Analytics post-call request,
|
|
210
174
|
* including output locations for your redacted transcript, which IAM role to use,
|
|
@@ -372,22 +336,6 @@ export declare namespace AudioStream {
|
|
|
372
336
|
_: (name: string, value: any) => T;
|
|
373
337
|
}
|
|
374
338
|
}
|
|
375
|
-
/**
|
|
376
|
-
* <p>One or more arguments to the <code>StartStreamTranscription</code>,
|
|
377
|
-
* <code>StartMedicalStreamTranscription</code>, or <code>StartCallAnalyticsStreamTranscription</code>
|
|
378
|
-
* operation was not valid. For example, <code>MediaEncoding</code> or <code>LanguageCode</code>
|
|
379
|
-
* used unsupported values. Check the specified parameters and try your request again.</p>
|
|
380
|
-
* @public
|
|
381
|
-
*/
|
|
382
|
-
export declare class BadRequestException extends __BaseException {
|
|
383
|
-
readonly name: "BadRequestException";
|
|
384
|
-
readonly $fault: "client";
|
|
385
|
-
Message?: string | undefined;
|
|
386
|
-
/**
|
|
387
|
-
* @internal
|
|
388
|
-
*/
|
|
389
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
390
|
-
}
|
|
391
339
|
/**
|
|
392
340
|
* <p>Contains entities identified as personally identifiable information (PII) in your
|
|
393
341
|
* transcription output, along with various associated attributes. Examples include category,
|
|
@@ -478,25 +426,6 @@ export interface CallAnalyticsItem {
|
|
|
478
426
|
*/
|
|
479
427
|
Stable?: boolean | undefined;
|
|
480
428
|
}
|
|
481
|
-
/**
|
|
482
|
-
* @public
|
|
483
|
-
* @enum
|
|
484
|
-
*/
|
|
485
|
-
export declare const CallAnalyticsLanguageCode: {
|
|
486
|
-
readonly DE_DE: "de-DE";
|
|
487
|
-
readonly EN_AU: "en-AU";
|
|
488
|
-
readonly EN_GB: "en-GB";
|
|
489
|
-
readonly EN_US: "en-US";
|
|
490
|
-
readonly ES_US: "es-US";
|
|
491
|
-
readonly FR_CA: "fr-CA";
|
|
492
|
-
readonly FR_FR: "fr-FR";
|
|
493
|
-
readonly IT_IT: "it-IT";
|
|
494
|
-
readonly PT_BR: "pt-BR";
|
|
495
|
-
};
|
|
496
|
-
/**
|
|
497
|
-
* @public
|
|
498
|
-
*/
|
|
499
|
-
export type CallAnalyticsLanguageCode = (typeof CallAnalyticsLanguageCode)[keyof typeof CallAnalyticsLanguageCode];
|
|
500
429
|
/**
|
|
501
430
|
* <p>The language code that represents the language identified in your audio, including the associated
|
|
502
431
|
* confidence score.</p>
|
|
@@ -560,60 +489,6 @@ export interface CategoryEvent {
|
|
|
560
489
|
*/
|
|
561
490
|
MatchedDetails?: Record<string, PointsOfInterest> | undefined;
|
|
562
491
|
}
|
|
563
|
-
/**
|
|
564
|
-
* <p>A new stream started with the same session ID. The current stream has been terminated.</p>
|
|
565
|
-
* @public
|
|
566
|
-
*/
|
|
567
|
-
export declare class ConflictException extends __BaseException {
|
|
568
|
-
readonly name: "ConflictException";
|
|
569
|
-
readonly $fault: "client";
|
|
570
|
-
Message?: string | undefined;
|
|
571
|
-
/**
|
|
572
|
-
* @internal
|
|
573
|
-
*/
|
|
574
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* <p>A problem occurred while processing the audio. Amazon Transcribe terminated
|
|
578
|
-
* processing.</p>
|
|
579
|
-
* @public
|
|
580
|
-
*/
|
|
581
|
-
export declare class InternalFailureException extends __BaseException {
|
|
582
|
-
readonly name: "InternalFailureException";
|
|
583
|
-
readonly $fault: "server";
|
|
584
|
-
Message?: string | undefined;
|
|
585
|
-
/**
|
|
586
|
-
* @internal
|
|
587
|
-
*/
|
|
588
|
-
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
589
|
-
}
|
|
590
|
-
/**
|
|
591
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits. This is typically the audio length
|
|
592
|
-
* limit. Break your audio stream into smaller chunks and try your request again.</p>
|
|
593
|
-
* @public
|
|
594
|
-
*/
|
|
595
|
-
export declare class LimitExceededException extends __BaseException {
|
|
596
|
-
readonly name: "LimitExceededException";
|
|
597
|
-
readonly $fault: "client";
|
|
598
|
-
Message?: string | undefined;
|
|
599
|
-
/**
|
|
600
|
-
* @internal
|
|
601
|
-
*/
|
|
602
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
603
|
-
}
|
|
604
|
-
/**
|
|
605
|
-
* <p>The service is currently unavailable. Try your request later.</p>
|
|
606
|
-
* @public
|
|
607
|
-
*/
|
|
608
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
609
|
-
readonly name: "ServiceUnavailableException";
|
|
610
|
-
readonly $fault: "server";
|
|
611
|
-
Message?: string | undefined;
|
|
612
|
-
/**
|
|
613
|
-
* @internal
|
|
614
|
-
*/
|
|
615
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
616
|
-
}
|
|
617
492
|
/**
|
|
618
493
|
* <p>Provides the location, using character count, in your transcript where a match is identified. For example,
|
|
619
494
|
* the location of an issue or a category match within a segment.</p>
|
|
@@ -644,20 +519,6 @@ export interface IssueDetected {
|
|
|
644
519
|
*/
|
|
645
520
|
CharacterOffsets?: CharacterOffsets | undefined;
|
|
646
521
|
}
|
|
647
|
-
/**
|
|
648
|
-
* @public
|
|
649
|
-
* @enum
|
|
650
|
-
*/
|
|
651
|
-
export declare const Sentiment: {
|
|
652
|
-
readonly MIXED: "MIXED";
|
|
653
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
654
|
-
readonly NEUTRAL: "NEUTRAL";
|
|
655
|
-
readonly POSITIVE: "POSITIVE";
|
|
656
|
-
};
|
|
657
|
-
/**
|
|
658
|
-
* @public
|
|
659
|
-
*/
|
|
660
|
-
export type Sentiment = (typeof Sentiment)[keyof typeof Sentiment];
|
|
661
522
|
/**
|
|
662
523
|
* <p>Contains set of transcription results from one or more audio segments, along with additional
|
|
663
524
|
* information about the parameters included in your request. For example, channel definitions, partial result
|
|
@@ -876,19 +737,6 @@ export declare namespace CallAnalyticsTranscriptResultStream {
|
|
|
876
737
|
_: (name: string, value: any) => T;
|
|
877
738
|
}
|
|
878
739
|
}
|
|
879
|
-
/**
|
|
880
|
-
* @public
|
|
881
|
-
* @enum
|
|
882
|
-
*/
|
|
883
|
-
export declare const ClinicalNoteGenerationStatus: {
|
|
884
|
-
readonly COMPLETED: "COMPLETED";
|
|
885
|
-
readonly FAILED: "FAILED";
|
|
886
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
887
|
-
};
|
|
888
|
-
/**
|
|
889
|
-
* @public
|
|
890
|
-
*/
|
|
891
|
-
export type ClinicalNoteGenerationStatus = (typeof ClinicalNoteGenerationStatus)[keyof typeof ClinicalNoteGenerationStatus];
|
|
892
740
|
/**
|
|
893
741
|
* <p>The details for clinical note generation,
|
|
894
742
|
* including status, and output locations for clinical note and aggregated transcript if the analytics completed,
|
|
@@ -943,23 +791,6 @@ export interface ClinicalNoteGenerationResult {
|
|
|
943
791
|
*/
|
|
944
792
|
FailureReason?: string | undefined;
|
|
945
793
|
}
|
|
946
|
-
/**
|
|
947
|
-
* @public
|
|
948
|
-
* @enum
|
|
949
|
-
*/
|
|
950
|
-
export declare const MedicalScribeNoteTemplate: {
|
|
951
|
-
readonly BEHAVIORAL_SOAP: "BEHAVIORAL_SOAP";
|
|
952
|
-
readonly BIRP: "BIRP";
|
|
953
|
-
readonly DAP: "DAP";
|
|
954
|
-
readonly GIRPP: "GIRPP";
|
|
955
|
-
readonly HISTORY_AND_PHYSICAL: "HISTORY_AND_PHYSICAL";
|
|
956
|
-
readonly PHYSICAL_SOAP: "PHYSICAL_SOAP";
|
|
957
|
-
readonly SIRP: "SIRP";
|
|
958
|
-
};
|
|
959
|
-
/**
|
|
960
|
-
* @public
|
|
961
|
-
*/
|
|
962
|
-
export type MedicalScribeNoteTemplate = (typeof MedicalScribeNoteTemplate)[keyof typeof MedicalScribeNoteTemplate];
|
|
963
794
|
/**
|
|
964
795
|
* <p>The output configuration for aggregated transcript and clinical note generation.</p>
|
|
965
796
|
* @public
|
|
@@ -1008,28 +839,6 @@ export interface ClinicalNoteGenerationSettings {
|
|
|
1008
839
|
*/
|
|
1009
840
|
NoteTemplate?: MedicalScribeNoteTemplate | undefined;
|
|
1010
841
|
}
|
|
1011
|
-
/**
|
|
1012
|
-
* @public
|
|
1013
|
-
* @enum
|
|
1014
|
-
*/
|
|
1015
|
-
export declare const ContentIdentificationType: {
|
|
1016
|
-
readonly PII: "PII";
|
|
1017
|
-
};
|
|
1018
|
-
/**
|
|
1019
|
-
* @public
|
|
1020
|
-
*/
|
|
1021
|
-
export type ContentIdentificationType = (typeof ContentIdentificationType)[keyof typeof ContentIdentificationType];
|
|
1022
|
-
/**
|
|
1023
|
-
* @public
|
|
1024
|
-
* @enum
|
|
1025
|
-
*/
|
|
1026
|
-
export declare const ContentRedactionType: {
|
|
1027
|
-
readonly PII: "PII";
|
|
1028
|
-
};
|
|
1029
|
-
/**
|
|
1030
|
-
* @public
|
|
1031
|
-
*/
|
|
1032
|
-
export type ContentRedactionType = (typeof ContentRedactionType)[keyof typeof ContentRedactionType];
|
|
1033
842
|
/**
|
|
1034
843
|
* @public
|
|
1035
844
|
*/
|
|
@@ -1040,18 +849,6 @@ export interface GetMedicalScribeStreamRequest {
|
|
|
1040
849
|
*/
|
|
1041
850
|
SessionId: string | undefined;
|
|
1042
851
|
}
|
|
1043
|
-
/**
|
|
1044
|
-
* @public
|
|
1045
|
-
* @enum
|
|
1046
|
-
*/
|
|
1047
|
-
export declare const MedicalScribeParticipantRole: {
|
|
1048
|
-
readonly CLINICIAN: "CLINICIAN";
|
|
1049
|
-
readonly PATIENT: "PATIENT";
|
|
1050
|
-
};
|
|
1051
|
-
/**
|
|
1052
|
-
* @public
|
|
1053
|
-
*/
|
|
1054
|
-
export type MedicalScribeParticipantRole = (typeof MedicalScribeParticipantRole)[keyof typeof MedicalScribeParticipantRole];
|
|
1055
852
|
/**
|
|
1056
853
|
* <p>Makes it possible to specify which speaker is on which channel.
|
|
1057
854
|
* For example, if the clinician is the first participant to speak, you would set the <code>ChannelId</code> of the first
|
|
@@ -1132,30 +929,6 @@ export interface MedicalScribeEncryptionSettings {
|
|
|
1132
929
|
*/
|
|
1133
930
|
KmsKeyId: string | undefined;
|
|
1134
931
|
}
|
|
1135
|
-
/**
|
|
1136
|
-
* @public
|
|
1137
|
-
* @enum
|
|
1138
|
-
*/
|
|
1139
|
-
export declare const MedicalScribeLanguageCode: {
|
|
1140
|
-
readonly EN_US: "en-US";
|
|
1141
|
-
};
|
|
1142
|
-
/**
|
|
1143
|
-
* @public
|
|
1144
|
-
*/
|
|
1145
|
-
export type MedicalScribeLanguageCode = (typeof MedicalScribeLanguageCode)[keyof typeof MedicalScribeLanguageCode];
|
|
1146
|
-
/**
|
|
1147
|
-
* @public
|
|
1148
|
-
* @enum
|
|
1149
|
-
*/
|
|
1150
|
-
export declare const MedicalScribeMediaEncoding: {
|
|
1151
|
-
readonly FLAC: "flac";
|
|
1152
|
-
readonly OGG_OPUS: "ogg-opus";
|
|
1153
|
-
readonly PCM: "pcm";
|
|
1154
|
-
};
|
|
1155
|
-
/**
|
|
1156
|
-
* @public
|
|
1157
|
-
*/
|
|
1158
|
-
export type MedicalScribeMediaEncoding = (typeof MedicalScribeMediaEncoding)[keyof typeof MedicalScribeMediaEncoding];
|
|
1159
932
|
/**
|
|
1160
933
|
* <p>Contains details for the result of post-stream analytics.
|
|
1161
934
|
* </p>
|
|
@@ -1180,33 +953,6 @@ export interface MedicalScribePostStreamAnalyticsSettings {
|
|
|
1180
953
|
*/
|
|
1181
954
|
ClinicalNoteGenerationSettings: ClinicalNoteGenerationSettings | undefined;
|
|
1182
955
|
}
|
|
1183
|
-
/**
|
|
1184
|
-
* @public
|
|
1185
|
-
* @enum
|
|
1186
|
-
*/
|
|
1187
|
-
export declare const MedicalScribeStreamStatus: {
|
|
1188
|
-
readonly COMPLETED: "COMPLETED";
|
|
1189
|
-
readonly FAILED: "FAILED";
|
|
1190
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1191
|
-
readonly PAUSED: "PAUSED";
|
|
1192
|
-
};
|
|
1193
|
-
/**
|
|
1194
|
-
* @public
|
|
1195
|
-
*/
|
|
1196
|
-
export type MedicalScribeStreamStatus = (typeof MedicalScribeStreamStatus)[keyof typeof MedicalScribeStreamStatus];
|
|
1197
|
-
/**
|
|
1198
|
-
* @public
|
|
1199
|
-
* @enum
|
|
1200
|
-
*/
|
|
1201
|
-
export declare const MedicalScribeVocabularyFilterMethod: {
|
|
1202
|
-
readonly MASK: "mask";
|
|
1203
|
-
readonly REMOVE: "remove";
|
|
1204
|
-
readonly TAG: "tag";
|
|
1205
|
-
};
|
|
1206
|
-
/**
|
|
1207
|
-
* @public
|
|
1208
|
-
*/
|
|
1209
|
-
export type MedicalScribeVocabularyFilterMethod = (typeof MedicalScribeVocabularyFilterMethod)[keyof typeof MedicalScribeVocabularyFilterMethod];
|
|
1210
956
|
/**
|
|
1211
957
|
* <p>Contains details about a Amazon Web Services HealthScribe streaming session.</p>
|
|
1212
958
|
* @public
|
|
@@ -1334,83 +1080,6 @@ export interface GetMedicalScribeStreamResponse {
|
|
|
1334
1080
|
*/
|
|
1335
1081
|
MedicalScribeStreamDetails?: MedicalScribeStreamDetails | undefined;
|
|
1336
1082
|
}
|
|
1337
|
-
/**
|
|
1338
|
-
* <p>The request references a resource which doesn't exist.</p>
|
|
1339
|
-
* @public
|
|
1340
|
-
*/
|
|
1341
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1342
|
-
readonly name: "ResourceNotFoundException";
|
|
1343
|
-
readonly $fault: "client";
|
|
1344
|
-
Message?: string | undefined;
|
|
1345
|
-
/**
|
|
1346
|
-
* @internal
|
|
1347
|
-
*/
|
|
1348
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1349
|
-
}
|
|
1350
|
-
/**
|
|
1351
|
-
* @public
|
|
1352
|
-
* @enum
|
|
1353
|
-
*/
|
|
1354
|
-
export declare const LanguageCode: {
|
|
1355
|
-
readonly AF_ZA: "af-ZA";
|
|
1356
|
-
readonly AR_AE: "ar-AE";
|
|
1357
|
-
readonly AR_SA: "ar-SA";
|
|
1358
|
-
readonly CA_ES: "ca-ES";
|
|
1359
|
-
readonly CS_CZ: "cs-CZ";
|
|
1360
|
-
readonly DA_DK: "da-DK";
|
|
1361
|
-
readonly DE_CH: "de-CH";
|
|
1362
|
-
readonly DE_DE: "de-DE";
|
|
1363
|
-
readonly EL_GR: "el-GR";
|
|
1364
|
-
readonly EN_AB: "en-AB";
|
|
1365
|
-
readonly EN_AU: "en-AU";
|
|
1366
|
-
readonly EN_GB: "en-GB";
|
|
1367
|
-
readonly EN_IE: "en-IE";
|
|
1368
|
-
readonly EN_IN: "en-IN";
|
|
1369
|
-
readonly EN_NZ: "en-NZ";
|
|
1370
|
-
readonly EN_US: "en-US";
|
|
1371
|
-
readonly EN_WL: "en-WL";
|
|
1372
|
-
readonly EN_ZA: "en-ZA";
|
|
1373
|
-
readonly ES_ES: "es-ES";
|
|
1374
|
-
readonly ES_US: "es-US";
|
|
1375
|
-
readonly EU_ES: "eu-ES";
|
|
1376
|
-
readonly FA_IR: "fa-IR";
|
|
1377
|
-
readonly FI_FI: "fi-FI";
|
|
1378
|
-
readonly FR_CA: "fr-CA";
|
|
1379
|
-
readonly FR_FR: "fr-FR";
|
|
1380
|
-
readonly GL_ES: "gl-ES";
|
|
1381
|
-
readonly HE_IL: "he-IL";
|
|
1382
|
-
readonly HI_IN: "hi-IN";
|
|
1383
|
-
readonly HR_HR: "hr-HR";
|
|
1384
|
-
readonly ID_ID: "id-ID";
|
|
1385
|
-
readonly IT_IT: "it-IT";
|
|
1386
|
-
readonly JA_JP: "ja-JP";
|
|
1387
|
-
readonly KO_KR: "ko-KR";
|
|
1388
|
-
readonly LV_LV: "lv-LV";
|
|
1389
|
-
readonly MS_MY: "ms-MY";
|
|
1390
|
-
readonly NL_NL: "nl-NL";
|
|
1391
|
-
readonly NO_NO: "no-NO";
|
|
1392
|
-
readonly PL_PL: "pl-PL";
|
|
1393
|
-
readonly PT_BR: "pt-BR";
|
|
1394
|
-
readonly PT_PT: "pt-PT";
|
|
1395
|
-
readonly RO_RO: "ro-RO";
|
|
1396
|
-
readonly RU_RU: "ru-RU";
|
|
1397
|
-
readonly SK_SK: "sk-SK";
|
|
1398
|
-
readonly SO_SO: "so-SO";
|
|
1399
|
-
readonly SR_RS: "sr-RS";
|
|
1400
|
-
readonly SV_SE: "sv-SE";
|
|
1401
|
-
readonly TH_TH: "th-TH";
|
|
1402
|
-
readonly TL_PH: "tl-PH";
|
|
1403
|
-
readonly UK_UA: "uk-UA";
|
|
1404
|
-
readonly VI_VN: "vi-VN";
|
|
1405
|
-
readonly ZH_CN: "zh-CN";
|
|
1406
|
-
readonly ZH_HK: "zh-HK";
|
|
1407
|
-
readonly ZH_TW: "zh-TW";
|
|
1408
|
-
readonly ZU_ZA: "zu-ZA";
|
|
1409
|
-
};
|
|
1410
|
-
/**
|
|
1411
|
-
* @public
|
|
1412
|
-
*/
|
|
1413
|
-
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
1414
1083
|
/**
|
|
1415
1084
|
* <p>The language code that represents the language identified in your audio, including the associated
|
|
1416
1085
|
* confidence score. If you enabled channel identification in your request and each channel contained a
|
|
@@ -1430,19 +1099,6 @@ export interface LanguageWithScore {
|
|
|
1430
1099
|
*/
|
|
1431
1100
|
Score?: number | undefined;
|
|
1432
1101
|
}
|
|
1433
|
-
/**
|
|
1434
|
-
* @public
|
|
1435
|
-
* @enum
|
|
1436
|
-
*/
|
|
1437
|
-
export declare const MediaEncoding: {
|
|
1438
|
-
readonly FLAC: "flac";
|
|
1439
|
-
readonly OGG_OPUS: "ogg-opus";
|
|
1440
|
-
readonly PCM: "pcm";
|
|
1441
|
-
};
|
|
1442
|
-
/**
|
|
1443
|
-
* @public
|
|
1444
|
-
*/
|
|
1445
|
-
export type MediaEncoding = (typeof MediaEncoding)[keyof typeof MediaEncoding];
|
|
1446
1102
|
/**
|
|
1447
1103
|
* <p>Contains entities identified as personal health information (PHI) in your
|
|
1448
1104
|
* transcription output, along with various associated attributes. Examples include
|
|
@@ -1545,17 +1201,6 @@ export interface MedicalAlternative {
|
|
|
1545
1201
|
*/
|
|
1546
1202
|
Entities?: MedicalEntity[] | undefined;
|
|
1547
1203
|
}
|
|
1548
|
-
/**
|
|
1549
|
-
* @public
|
|
1550
|
-
* @enum
|
|
1551
|
-
*/
|
|
1552
|
-
export declare const MedicalContentIdentificationType: {
|
|
1553
|
-
readonly PHI: "PHI";
|
|
1554
|
-
};
|
|
1555
|
-
/**
|
|
1556
|
-
* @public
|
|
1557
|
-
*/
|
|
1558
|
-
export type MedicalContentIdentificationType = (typeof MedicalContentIdentificationType)[keyof typeof MedicalContentIdentificationType];
|
|
1559
1204
|
/**
|
|
1560
1205
|
* <p>The <code>Result</code> associated with a
|
|
1561
1206
|
* <code></code>.</p>
|
|
@@ -1631,19 +1276,6 @@ export interface MedicalScribeAudioEvent {
|
|
|
1631
1276
|
*/
|
|
1632
1277
|
AudioChunk: Uint8Array | undefined;
|
|
1633
1278
|
}
|
|
1634
|
-
/**
|
|
1635
|
-
* @public
|
|
1636
|
-
* @enum
|
|
1637
|
-
*/
|
|
1638
|
-
export declare const Pronouns: {
|
|
1639
|
-
readonly HE_HIM: "HE_HIM";
|
|
1640
|
-
readonly SHE_HER: "SHE_HER";
|
|
1641
|
-
readonly THEY_THEM: "THEY_THEM";
|
|
1642
|
-
};
|
|
1643
|
-
/**
|
|
1644
|
-
* @public
|
|
1645
|
-
*/
|
|
1646
|
-
export type Pronouns = (typeof Pronouns)[keyof typeof Pronouns];
|
|
1647
1279
|
/**
|
|
1648
1280
|
* <p>Contains patient-specific information. </p>
|
|
1649
1281
|
* @public
|
|
@@ -1742,17 +1374,6 @@ export interface MedicalScribeConfigurationEvent {
|
|
|
1742
1374
|
*/
|
|
1743
1375
|
MedicalScribeContext?: MedicalScribeContext | undefined;
|
|
1744
1376
|
}
|
|
1745
|
-
/**
|
|
1746
|
-
* @public
|
|
1747
|
-
* @enum
|
|
1748
|
-
*/
|
|
1749
|
-
export declare const MedicalScribeSessionControlEventType: {
|
|
1750
|
-
readonly END_OF_SESSION: "END_OF_SESSION";
|
|
1751
|
-
};
|
|
1752
|
-
/**
|
|
1753
|
-
* @public
|
|
1754
|
-
*/
|
|
1755
|
-
export type MedicalScribeSessionControlEventType = (typeof MedicalScribeSessionControlEventType)[keyof typeof MedicalScribeSessionControlEventType];
|
|
1756
1377
|
/**
|
|
1757
1378
|
* <p>Specify the lifecycle of your streaming session.</p>
|
|
1758
1379
|
* @public
|
|
@@ -1861,18 +1482,6 @@ export declare namespace MedicalScribeInputStream {
|
|
|
1861
1482
|
_: (name: string, value: any) => T;
|
|
1862
1483
|
}
|
|
1863
1484
|
}
|
|
1864
|
-
/**
|
|
1865
|
-
* @public
|
|
1866
|
-
* @enum
|
|
1867
|
-
*/
|
|
1868
|
-
export declare const MedicalScribeTranscriptItemType: {
|
|
1869
|
-
readonly PRONUNCIATION: "pronunciation";
|
|
1870
|
-
readonly PUNCTUATION: "punctuation";
|
|
1871
|
-
};
|
|
1872
|
-
/**
|
|
1873
|
-
* @public
|
|
1874
|
-
*/
|
|
1875
|
-
export type MedicalScribeTranscriptItemType = (typeof MedicalScribeTranscriptItemType)[keyof typeof MedicalScribeTranscriptItemType];
|
|
1876
1485
|
/**
|
|
1877
1486
|
* <p>A word, phrase, or punctuation mark in your transcription output, along with various associated
|
|
1878
1487
|
* attributes, such as confidence score, type, and start and end times.
|
|
@@ -2261,19 +1870,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
2261
1870
|
_: (name: string, value: any) => T;
|
|
2262
1871
|
}
|
|
2263
1872
|
}
|
|
2264
|
-
/**
|
|
2265
|
-
* @public
|
|
2266
|
-
* @enum
|
|
2267
|
-
*/
|
|
2268
|
-
export declare const PartialResultsStability: {
|
|
2269
|
-
readonly HIGH: "high";
|
|
2270
|
-
readonly LOW: "low";
|
|
2271
|
-
readonly MEDIUM: "medium";
|
|
2272
|
-
};
|
|
2273
|
-
/**
|
|
2274
|
-
* @public
|
|
2275
|
-
*/
|
|
2276
|
-
export type PartialResultsStability = (typeof PartialResultsStability)[keyof typeof PartialResultsStability];
|
|
2277
1873
|
/**
|
|
2278
1874
|
* <p>The <code>Result</code> associated with a
|
|
2279
1875
|
* <code></code>.</p>
|
|
@@ -2330,35 +1926,6 @@ export interface Result {
|
|
|
2330
1926
|
*/
|
|
2331
1927
|
LanguageIdentification?: LanguageWithScore[] | undefined;
|
|
2332
1928
|
}
|
|
2333
|
-
/**
|
|
2334
|
-
* @public
|
|
2335
|
-
* @enum
|
|
2336
|
-
*/
|
|
2337
|
-
export declare const Specialty: {
|
|
2338
|
-
readonly CARDIOLOGY: "CARDIOLOGY";
|
|
2339
|
-
readonly NEUROLOGY: "NEUROLOGY";
|
|
2340
|
-
readonly ONCOLOGY: "ONCOLOGY";
|
|
2341
|
-
readonly PRIMARYCARE: "PRIMARYCARE";
|
|
2342
|
-
readonly RADIOLOGY: "RADIOLOGY";
|
|
2343
|
-
readonly UROLOGY: "UROLOGY";
|
|
2344
|
-
};
|
|
2345
|
-
/**
|
|
2346
|
-
* @public
|
|
2347
|
-
*/
|
|
2348
|
-
export type Specialty = (typeof Specialty)[keyof typeof Specialty];
|
|
2349
|
-
/**
|
|
2350
|
-
* @public
|
|
2351
|
-
* @enum
|
|
2352
|
-
*/
|
|
2353
|
-
export declare const VocabularyFilterMethod: {
|
|
2354
|
-
readonly MASK: "mask";
|
|
2355
|
-
readonly REMOVE: "remove";
|
|
2356
|
-
readonly TAG: "tag";
|
|
2357
|
-
};
|
|
2358
|
-
/**
|
|
2359
|
-
* @public
|
|
2360
|
-
*/
|
|
2361
|
-
export type VocabularyFilterMethod = (typeof VocabularyFilterMethod)[keyof typeof VocabularyFilterMethod];
|
|
2362
1929
|
/**
|
|
2363
1930
|
* @public
|
|
2364
1931
|
*/
|
|
@@ -2783,18 +2350,6 @@ export interface StartMedicalScribeStreamResponse {
|
|
|
2783
2350
|
*/
|
|
2784
2351
|
ResultStream?: AsyncIterable<MedicalScribeResultStream> | undefined;
|
|
2785
2352
|
}
|
|
2786
|
-
/**
|
|
2787
|
-
* @public
|
|
2788
|
-
* @enum
|
|
2789
|
-
*/
|
|
2790
|
-
export declare const Type: {
|
|
2791
|
-
readonly CONVERSATION: "CONVERSATION";
|
|
2792
|
-
readonly DICTATION: "DICTATION";
|
|
2793
|
-
};
|
|
2794
|
-
/**
|
|
2795
|
-
* @public
|
|
2796
|
-
*/
|
|
2797
|
-
export type Type = (typeof Type)[keyof typeof Type];
|
|
2798
2353
|
/**
|
|
2799
2354
|
* @public
|
|
2800
2355
|
*/
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { TranscribeStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { TranscribeStreamingServiceException } from "./models/TranscribeStreamingServiceException";
|