@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.
@@ -0,0 +1,407 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ItemType: {
6
+ readonly PRONUNCIATION: "pronunciation";
7
+ readonly PUNCTUATION: "punctuation";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ParticipantRole: {
18
+ readonly AGENT: "AGENT";
19
+ readonly CUSTOMER: "CUSTOMER";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type ParticipantRole = (typeof ParticipantRole)[keyof typeof ParticipantRole];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const ContentRedactionOutput: {
30
+ readonly REDACTED: "redacted";
31
+ readonly REDACTED_AND_UNREDACTED: "redacted_and_unredacted";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type ContentRedactionOutput = (typeof ContentRedactionOutput)[keyof typeof ContentRedactionOutput];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const CallAnalyticsLanguageCode: {
42
+ readonly DE_DE: "de-DE";
43
+ readonly EN_AU: "en-AU";
44
+ readonly EN_GB: "en-GB";
45
+ readonly EN_US: "en-US";
46
+ readonly ES_US: "es-US";
47
+ readonly FR_CA: "fr-CA";
48
+ readonly FR_FR: "fr-FR";
49
+ readonly IT_IT: "it-IT";
50
+ readonly PT_BR: "pt-BR";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type CallAnalyticsLanguageCode = (typeof CallAnalyticsLanguageCode)[keyof typeof CallAnalyticsLanguageCode];
56
+ /**
57
+ * @public
58
+ * @enum
59
+ */
60
+ export declare const Sentiment: {
61
+ readonly MIXED: "MIXED";
62
+ readonly NEGATIVE: "NEGATIVE";
63
+ readonly NEUTRAL: "NEUTRAL";
64
+ readonly POSITIVE: "POSITIVE";
65
+ };
66
+ /**
67
+ * @public
68
+ */
69
+ export type Sentiment = (typeof Sentiment)[keyof typeof Sentiment];
70
+ /**
71
+ * @public
72
+ * @enum
73
+ */
74
+ export declare const ClinicalNoteGenerationStatus: {
75
+ readonly COMPLETED: "COMPLETED";
76
+ readonly FAILED: "FAILED";
77
+ readonly IN_PROGRESS: "IN_PROGRESS";
78
+ };
79
+ /**
80
+ * @public
81
+ */
82
+ export type ClinicalNoteGenerationStatus = (typeof ClinicalNoteGenerationStatus)[keyof typeof ClinicalNoteGenerationStatus];
83
+ /**
84
+ * @public
85
+ * @enum
86
+ */
87
+ export declare const MedicalScribeNoteTemplate: {
88
+ readonly BEHAVIORAL_SOAP: "BEHAVIORAL_SOAP";
89
+ readonly BIRP: "BIRP";
90
+ readonly DAP: "DAP";
91
+ readonly GIRPP: "GIRPP";
92
+ readonly HISTORY_AND_PHYSICAL: "HISTORY_AND_PHYSICAL";
93
+ readonly PHYSICAL_SOAP: "PHYSICAL_SOAP";
94
+ readonly SIRP: "SIRP";
95
+ };
96
+ /**
97
+ * @public
98
+ */
99
+ export type MedicalScribeNoteTemplate = (typeof MedicalScribeNoteTemplate)[keyof typeof MedicalScribeNoteTemplate];
100
+ /**
101
+ * @public
102
+ * @enum
103
+ */
104
+ export declare const ContentIdentificationType: {
105
+ readonly PII: "PII";
106
+ };
107
+ /**
108
+ * @public
109
+ */
110
+ export type ContentIdentificationType = (typeof ContentIdentificationType)[keyof typeof ContentIdentificationType];
111
+ /**
112
+ * @public
113
+ * @enum
114
+ */
115
+ export declare const ContentRedactionType: {
116
+ readonly PII: "PII";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type ContentRedactionType = (typeof ContentRedactionType)[keyof typeof ContentRedactionType];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const MedicalScribeParticipantRole: {
127
+ readonly CLINICIAN: "CLINICIAN";
128
+ readonly PATIENT: "PATIENT";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type MedicalScribeParticipantRole = (typeof MedicalScribeParticipantRole)[keyof typeof MedicalScribeParticipantRole];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const MedicalScribeLanguageCode: {
139
+ readonly EN_US: "en-US";
140
+ };
141
+ /**
142
+ * @public
143
+ */
144
+ export type MedicalScribeLanguageCode = (typeof MedicalScribeLanguageCode)[keyof typeof MedicalScribeLanguageCode];
145
+ /**
146
+ * @public
147
+ * @enum
148
+ */
149
+ export declare const MedicalScribeMediaEncoding: {
150
+ readonly FLAC: "flac";
151
+ readonly OGG_OPUS: "ogg-opus";
152
+ readonly PCM: "pcm";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type MedicalScribeMediaEncoding = (typeof MedicalScribeMediaEncoding)[keyof typeof MedicalScribeMediaEncoding];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const MedicalScribeStreamStatus: {
163
+ readonly COMPLETED: "COMPLETED";
164
+ readonly FAILED: "FAILED";
165
+ readonly IN_PROGRESS: "IN_PROGRESS";
166
+ readonly PAUSED: "PAUSED";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type MedicalScribeStreamStatus = (typeof MedicalScribeStreamStatus)[keyof typeof MedicalScribeStreamStatus];
172
+ /**
173
+ * @public
174
+ * @enum
175
+ */
176
+ export declare const MedicalScribeVocabularyFilterMethod: {
177
+ readonly MASK: "mask";
178
+ readonly REMOVE: "remove";
179
+ readonly TAG: "tag";
180
+ };
181
+ /**
182
+ * @public
183
+ */
184
+ export type MedicalScribeVocabularyFilterMethod = (typeof MedicalScribeVocabularyFilterMethod)[keyof typeof MedicalScribeVocabularyFilterMethod];
185
+ /**
186
+ * @public
187
+ * @enum
188
+ */
189
+ export declare const LanguageCode: {
190
+ readonly AF_ZA: "af-ZA";
191
+ readonly AM_ET: "am-ET";
192
+ readonly AR_AE: "ar-AE";
193
+ readonly AR_SA: "ar-SA";
194
+ readonly BE_BY: "be-BY";
195
+ readonly BG_BG: "bg-BG";
196
+ readonly BN_IN: "bn-IN";
197
+ readonly BS_BA: "bs-BA";
198
+ readonly CA_ES: "ca-ES";
199
+ readonly CKB_IQ: "ckb-IQ";
200
+ readonly CKB_IR: "ckb-IR";
201
+ readonly CS_CZ: "cs-CZ";
202
+ readonly CY_WL: "cy-WL";
203
+ readonly DA_DK: "da-DK";
204
+ readonly DE_CH: "de-CH";
205
+ readonly DE_DE: "de-DE";
206
+ readonly EL_GR: "el-GR";
207
+ readonly EN_AB: "en-AB";
208
+ readonly EN_AU: "en-AU";
209
+ readonly EN_GB: "en-GB";
210
+ readonly EN_IE: "en-IE";
211
+ readonly EN_IN: "en-IN";
212
+ readonly EN_NZ: "en-NZ";
213
+ readonly EN_US: "en-US";
214
+ readonly EN_WL: "en-WL";
215
+ readonly EN_ZA: "en-ZA";
216
+ readonly ES_ES: "es-ES";
217
+ readonly ES_MX: "es-MX";
218
+ readonly ES_US: "es-US";
219
+ readonly ET_ET: "et-ET";
220
+ readonly EU_ES: "eu-ES";
221
+ readonly FA_AF: "fa-AF";
222
+ readonly FA_IR: "fa-IR";
223
+ readonly FI_FI: "fi-FI";
224
+ readonly FR_CA: "fr-CA";
225
+ readonly FR_FR: "fr-FR";
226
+ readonly GL_ES: "gl-ES";
227
+ readonly GU_IN: "gu-IN";
228
+ readonly HE_IL: "he-IL";
229
+ readonly HI_IN: "hi-IN";
230
+ readonly HR_HR: "hr-HR";
231
+ readonly HT_HT: "ht-HT";
232
+ readonly HU_HU: "hu-HU";
233
+ readonly HY_AM: "hy-AM";
234
+ readonly ID_ID: "id-ID";
235
+ readonly IS_IS: "is-IS";
236
+ readonly IT_IT: "it-IT";
237
+ readonly JA_JP: "ja-JP";
238
+ readonly JV_ID: "jv-ID";
239
+ readonly KAB_DZ: "kab-DZ";
240
+ readonly KA_GE: "ka-GE";
241
+ readonly KK_KZ: "kk-KZ";
242
+ readonly KM_KH: "km-KH";
243
+ readonly KN_IN: "kn-IN";
244
+ readonly KO_KR: "ko-KR";
245
+ readonly LG_IN: "lg-IN";
246
+ readonly LT_LT: "lt-LT";
247
+ readonly LV_LV: "lv-LV";
248
+ readonly MK_MK: "mk-MK";
249
+ readonly ML_IN: "ml-IN";
250
+ readonly MR_IN: "mr-IN";
251
+ readonly MS_MY: "ms-MY";
252
+ readonly MY_MM: "my-MM";
253
+ readonly NE_NP: "ne-NP";
254
+ readonly NL_NL: "nl-NL";
255
+ readonly NO_NO: "no-NO";
256
+ readonly OR_IN: "or-IN";
257
+ readonly PA_IN: "pa-IN";
258
+ readonly PL_PL: "pl-PL";
259
+ readonly PS_AF: "ps-AF";
260
+ readonly PT_BR: "pt-BR";
261
+ readonly PT_PT: "pt-PT";
262
+ readonly RO_RO: "ro-RO";
263
+ readonly RU_RU: "ru-RU";
264
+ readonly SI_LK: "si-LK";
265
+ readonly SK_SK: "sk-SK";
266
+ readonly SL_SI: "sl-SI";
267
+ readonly SO_SO: "so-SO";
268
+ readonly SQ_AL: "sq-AL";
269
+ readonly SR_RS: "sr-RS";
270
+ readonly SU_ID: "su-ID";
271
+ readonly SV_SE: "sv-SE";
272
+ readonly SW_BI: "sw-BI";
273
+ readonly SW_KE: "sw-KE";
274
+ readonly SW_RW: "sw-RW";
275
+ readonly SW_TZ: "sw-TZ";
276
+ readonly SW_UG: "sw-UG";
277
+ readonly TA_IN: "ta-IN";
278
+ readonly TE_IN: "te-IN";
279
+ readonly TH_TH: "th-TH";
280
+ readonly TL_PH: "tl-PH";
281
+ readonly TR_TR: "tr-TR";
282
+ readonly UK_UA: "uk-UA";
283
+ readonly UZ_UZ: "uz-UZ";
284
+ readonly VI_VN: "vi-VN";
285
+ readonly ZH_CN: "zh-CN";
286
+ readonly ZH_HK: "zh-HK";
287
+ readonly ZH_TW: "zh-TW";
288
+ readonly ZU_ZA: "zu-ZA";
289
+ };
290
+ /**
291
+ * @public
292
+ */
293
+ export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
294
+ /**
295
+ * @public
296
+ * @enum
297
+ */
298
+ export declare const MediaEncoding: {
299
+ readonly FLAC: "flac";
300
+ readonly OGG_OPUS: "ogg-opus";
301
+ readonly PCM: "pcm";
302
+ };
303
+ /**
304
+ * @public
305
+ */
306
+ export type MediaEncoding = (typeof MediaEncoding)[keyof typeof MediaEncoding];
307
+ /**
308
+ * @public
309
+ * @enum
310
+ */
311
+ export declare const MedicalContentIdentificationType: {
312
+ readonly PHI: "PHI";
313
+ };
314
+ /**
315
+ * @public
316
+ */
317
+ export type MedicalContentIdentificationType = (typeof MedicalContentIdentificationType)[keyof typeof MedicalContentIdentificationType];
318
+ /**
319
+ * @public
320
+ * @enum
321
+ */
322
+ export declare const Pronouns: {
323
+ readonly HE_HIM: "HE_HIM";
324
+ readonly SHE_HER: "SHE_HER";
325
+ readonly THEY_THEM: "THEY_THEM";
326
+ };
327
+ /**
328
+ * @public
329
+ */
330
+ export type Pronouns = (typeof Pronouns)[keyof typeof Pronouns];
331
+ /**
332
+ * @public
333
+ * @enum
334
+ */
335
+ export declare const MedicalScribeSessionControlEventType: {
336
+ readonly END_OF_SESSION: "END_OF_SESSION";
337
+ };
338
+ /**
339
+ * @public
340
+ */
341
+ export type MedicalScribeSessionControlEventType = (typeof MedicalScribeSessionControlEventType)[keyof typeof MedicalScribeSessionControlEventType];
342
+ /**
343
+ * @public
344
+ * @enum
345
+ */
346
+ export declare const MedicalScribeTranscriptItemType: {
347
+ readonly PRONUNCIATION: "pronunciation";
348
+ readonly PUNCTUATION: "punctuation";
349
+ };
350
+ /**
351
+ * @public
352
+ */
353
+ export type MedicalScribeTranscriptItemType = (typeof MedicalScribeTranscriptItemType)[keyof typeof MedicalScribeTranscriptItemType];
354
+ /**
355
+ * @public
356
+ * @enum
357
+ */
358
+ export declare const PartialResultsStability: {
359
+ readonly HIGH: "high";
360
+ readonly LOW: "low";
361
+ readonly MEDIUM: "medium";
362
+ };
363
+ /**
364
+ * @public
365
+ */
366
+ export type PartialResultsStability = (typeof PartialResultsStability)[keyof typeof PartialResultsStability];
367
+ /**
368
+ * @public
369
+ * @enum
370
+ */
371
+ export declare const Specialty: {
372
+ readonly CARDIOLOGY: "CARDIOLOGY";
373
+ readonly NEUROLOGY: "NEUROLOGY";
374
+ readonly ONCOLOGY: "ONCOLOGY";
375
+ readonly PRIMARYCARE: "PRIMARYCARE";
376
+ readonly RADIOLOGY: "RADIOLOGY";
377
+ readonly UROLOGY: "UROLOGY";
378
+ };
379
+ /**
380
+ * @public
381
+ */
382
+ export type Specialty = (typeof Specialty)[keyof typeof Specialty];
383
+ /**
384
+ * @public
385
+ * @enum
386
+ */
387
+ export declare const VocabularyFilterMethod: {
388
+ readonly MASK: "mask";
389
+ readonly REMOVE: "remove";
390
+ readonly TAG: "tag";
391
+ };
392
+ /**
393
+ * @public
394
+ */
395
+ export type VocabularyFilterMethod = (typeof VocabularyFilterMethod)[keyof typeof VocabularyFilterMethod];
396
+ /**
397
+ * @public
398
+ * @enum
399
+ */
400
+ export declare const Type: {
401
+ readonly CONVERSATION: "CONVERSATION";
402
+ readonly DICTATION: "DICTATION";
403
+ };
404
+ /**
405
+ * @public
406
+ */
407
+ export type Type = (typeof Type)[keyof typeof Type];
@@ -0,0 +1,85 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { TranscribeStreamingServiceException as __BaseException } from "./TranscribeStreamingServiceException";
3
+ /**
4
+ * <p>One or more arguments to the <code>StartStreamTranscription</code>,
5
+ * <code>StartMedicalStreamTranscription</code>, or <code>StartCallAnalyticsStreamTranscription</code>
6
+ * operation was not valid. For example, <code>MediaEncoding</code> or <code>LanguageCode</code>
7
+ * used unsupported values. Check the specified parameters and try your request again.</p>
8
+ * @public
9
+ */
10
+ export declare class BadRequestException extends __BaseException {
11
+ readonly name: "BadRequestException";
12
+ readonly $fault: "client";
13
+ Message?: string | undefined;
14
+ /**
15
+ * @internal
16
+ */
17
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
18
+ }
19
+ /**
20
+ * <p>A new stream started with the same session ID. The current stream has been terminated.</p>
21
+ * @public
22
+ */
23
+ export declare class ConflictException extends __BaseException {
24
+ readonly name: "ConflictException";
25
+ readonly $fault: "client";
26
+ Message?: string | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
31
+ }
32
+ /**
33
+ * <p>A problem occurred while processing the audio. Amazon Transcribe terminated
34
+ * processing.</p>
35
+ * @public
36
+ */
37
+ export declare class InternalFailureException extends __BaseException {
38
+ readonly name: "InternalFailureException";
39
+ readonly $fault: "server";
40
+ Message?: string | undefined;
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
45
+ }
46
+ /**
47
+ * <p>Your client has exceeded one of the Amazon Transcribe limits. This is typically the audio length
48
+ * limit. Break your audio stream into smaller chunks and try your request again.</p>
49
+ * @public
50
+ */
51
+ export declare class LimitExceededException extends __BaseException {
52
+ readonly name: "LimitExceededException";
53
+ readonly $fault: "client";
54
+ Message?: string | undefined;
55
+ /**
56
+ * @internal
57
+ */
58
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
59
+ }
60
+ /**
61
+ * <p>The service is currently unavailable. Try your request later.</p>
62
+ * @public
63
+ */
64
+ export declare class ServiceUnavailableException extends __BaseException {
65
+ readonly name: "ServiceUnavailableException";
66
+ readonly $fault: "server";
67
+ Message?: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>The request references a resource which doesn't exist.</p>
75
+ * @public
76
+ */
77
+ export declare class ResourceNotFoundException extends __BaseException {
78
+ readonly name: "ResourceNotFoundException";
79
+ readonly $fault: "client";
80
+ Message?: string | undefined;
81
+ /**
82
+ * @internal
83
+ */
84
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
85
+ }