@aws-sdk/client-transcribe-streaming 3.131.0 → 3.140.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/CHANGELOG.md +30 -0
- package/dist-cjs/commands/StartMedicalStreamTranscriptionCommand.js +2 -2
- package/dist-cjs/commands/StartStreamTranscriptionCommand.js +2 -2
- package/dist-cjs/models/models_0.js +118 -151
- package/dist-cjs/protocols/Aws_restJson1.js +138 -269
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/StartMedicalStreamTranscriptionCommand.js +3 -3
- package/dist-es/commands/StartStreamTranscriptionCommand.js +3 -3
- package/dist-es/models/models_0.js +59 -113
- package/dist-es/protocols/Aws_restJson1.js +171 -312
- package/dist-es/runtimeConfig.js +9 -2
- package/dist-types/models/models_0.d.ts +84 -120
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +42 -78
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/package.json +6 -6
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { TranscribeStreamingServiceException as __BaseException } from "./TranscribeStreamingServiceException";
|
|
3
|
-
export var Entity;
|
|
4
|
-
(function (Entity) {
|
|
5
|
-
Entity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(Entity || (Entity = {}));
|
|
7
3
|
export var ItemType;
|
|
8
4
|
(function (ItemType) {
|
|
9
5
|
ItemType["PRONUNCIATION"] = "pronunciation";
|
|
10
6
|
ItemType["PUNCTUATION"] = "punctuation";
|
|
11
7
|
})(ItemType || (ItemType = {}));
|
|
12
|
-
export var Item;
|
|
13
|
-
(function (Item) {
|
|
14
|
-
Item.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
|
-
})(Item || (Item = {}));
|
|
16
|
-
export var Alternative;
|
|
17
|
-
(function (Alternative) {
|
|
18
|
-
Alternative.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
-
})(Alternative || (Alternative = {}));
|
|
20
|
-
export var AudioEvent;
|
|
21
|
-
(function (AudioEvent) {
|
|
22
|
-
AudioEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
-
})(AudioEvent || (AudioEvent = {}));
|
|
24
8
|
export var AudioStream;
|
|
25
9
|
(function (AudioStream) {
|
|
26
10
|
AudioStream.visit = function (value, visitor) {
|
|
@@ -28,13 +12,6 @@ export var AudioStream;
|
|
|
28
12
|
return visitor.AudioEvent(value.AudioEvent);
|
|
29
13
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
30
14
|
};
|
|
31
|
-
AudioStream.filterSensitiveLog = function (obj) {
|
|
32
|
-
var _a;
|
|
33
|
-
if (obj.AudioEvent !== undefined)
|
|
34
|
-
return { AudioEvent: AudioEvent.filterSensitiveLog(obj.AudioEvent) };
|
|
35
|
-
if (obj.$unknown !== undefined)
|
|
36
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
37
|
-
};
|
|
38
15
|
})(AudioStream || (AudioStream = {}));
|
|
39
16
|
var BadRequestException = (function (_super) {
|
|
40
17
|
__extends(BadRequestException, _super);
|
|
@@ -98,10 +75,6 @@ export var LanguageCode;
|
|
|
98
75
|
LanguageCode["PT_BR"] = "pt-BR";
|
|
99
76
|
LanguageCode["ZH_CN"] = "zh-CN";
|
|
100
77
|
})(LanguageCode || (LanguageCode = {}));
|
|
101
|
-
export var LanguageWithScore;
|
|
102
|
-
(function (LanguageWithScore) {
|
|
103
|
-
LanguageWithScore.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
104
|
-
})(LanguageWithScore || (LanguageWithScore = {}));
|
|
105
78
|
var LimitExceededException = (function (_super) {
|
|
106
79
|
__extends(LimitExceededException, _super);
|
|
107
80
|
function LimitExceededException(opts) {
|
|
@@ -121,34 +94,10 @@ export var MediaEncoding;
|
|
|
121
94
|
MediaEncoding["OGG_OPUS"] = "ogg-opus";
|
|
122
95
|
MediaEncoding["PCM"] = "pcm";
|
|
123
96
|
})(MediaEncoding || (MediaEncoding = {}));
|
|
124
|
-
export var MedicalEntity;
|
|
125
|
-
(function (MedicalEntity) {
|
|
126
|
-
MedicalEntity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
|
-
})(MedicalEntity || (MedicalEntity = {}));
|
|
128
|
-
export var MedicalItem;
|
|
129
|
-
(function (MedicalItem) {
|
|
130
|
-
MedicalItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(MedicalItem || (MedicalItem = {}));
|
|
132
|
-
export var MedicalAlternative;
|
|
133
|
-
(function (MedicalAlternative) {
|
|
134
|
-
MedicalAlternative.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
-
})(MedicalAlternative || (MedicalAlternative = {}));
|
|
136
97
|
export var MedicalContentIdentificationType;
|
|
137
98
|
(function (MedicalContentIdentificationType) {
|
|
138
99
|
MedicalContentIdentificationType["PHI"] = "PHI";
|
|
139
100
|
})(MedicalContentIdentificationType || (MedicalContentIdentificationType = {}));
|
|
140
|
-
export var MedicalResult;
|
|
141
|
-
(function (MedicalResult) {
|
|
142
|
-
MedicalResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
-
})(MedicalResult || (MedicalResult = {}));
|
|
144
|
-
export var MedicalTranscript;
|
|
145
|
-
(function (MedicalTranscript) {
|
|
146
|
-
MedicalTranscript.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
-
})(MedicalTranscript || (MedicalTranscript = {}));
|
|
148
|
-
export var MedicalTranscriptEvent;
|
|
149
|
-
(function (MedicalTranscriptEvent) {
|
|
150
|
-
MedicalTranscriptEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
-
})(MedicalTranscriptEvent || (MedicalTranscriptEvent = {}));
|
|
152
101
|
var ServiceUnavailableException = (function (_super) {
|
|
153
102
|
__extends(ServiceUnavailableException, _super);
|
|
154
103
|
function ServiceUnavailableException(opts) {
|
|
@@ -179,23 +128,6 @@ export var MedicalTranscriptResultStream;
|
|
|
179
128
|
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
180
129
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
181
130
|
};
|
|
182
|
-
MedicalTranscriptResultStream.filterSensitiveLog = function (obj) {
|
|
183
|
-
var _a;
|
|
184
|
-
if (obj.TranscriptEvent !== undefined)
|
|
185
|
-
return { TranscriptEvent: MedicalTranscriptEvent.filterSensitiveLog(obj.TranscriptEvent) };
|
|
186
|
-
if (obj.BadRequestException !== undefined)
|
|
187
|
-
return { BadRequestException: obj.BadRequestException };
|
|
188
|
-
if (obj.LimitExceededException !== undefined)
|
|
189
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
190
|
-
if (obj.InternalFailureException !== undefined)
|
|
191
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
192
|
-
if (obj.ConflictException !== undefined)
|
|
193
|
-
return { ConflictException: obj.ConflictException };
|
|
194
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
195
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
196
|
-
if (obj.$unknown !== undefined)
|
|
197
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
198
|
-
};
|
|
199
131
|
})(MedicalTranscriptResultStream || (MedicalTranscriptResultStream = {}));
|
|
200
132
|
export var PartialResultsStability;
|
|
201
133
|
(function (PartialResultsStability) {
|
|
@@ -203,10 +135,6 @@ export var PartialResultsStability;
|
|
|
203
135
|
PartialResultsStability["LOW"] = "low";
|
|
204
136
|
PartialResultsStability["MEDIUM"] = "medium";
|
|
205
137
|
})(PartialResultsStability || (PartialResultsStability = {}));
|
|
206
|
-
export var Result;
|
|
207
|
-
(function (Result) {
|
|
208
|
-
Result.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
-
})(Result || (Result = {}));
|
|
210
138
|
export var Specialty;
|
|
211
139
|
(function (Specialty) {
|
|
212
140
|
Specialty["CARDIOLOGY"] = "CARDIOLOGY";
|
|
@@ -221,32 +149,12 @@ export var Type;
|
|
|
221
149
|
Type["CONVERSATION"] = "CONVERSATION";
|
|
222
150
|
Type["DICTATION"] = "DICTATION";
|
|
223
151
|
})(Type || (Type = {}));
|
|
224
|
-
export var StartMedicalStreamTranscriptionRequest;
|
|
225
|
-
(function (StartMedicalStreamTranscriptionRequest) {
|
|
226
|
-
StartMedicalStreamTranscriptionRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }))); };
|
|
227
|
-
})(StartMedicalStreamTranscriptionRequest || (StartMedicalStreamTranscriptionRequest = {}));
|
|
228
|
-
export var StartMedicalStreamTranscriptionResponse;
|
|
229
|
-
(function (StartMedicalStreamTranscriptionResponse) {
|
|
230
|
-
StartMedicalStreamTranscriptionResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }))); };
|
|
231
|
-
})(StartMedicalStreamTranscriptionResponse || (StartMedicalStreamTranscriptionResponse = {}));
|
|
232
152
|
export var VocabularyFilterMethod;
|
|
233
153
|
(function (VocabularyFilterMethod) {
|
|
234
154
|
VocabularyFilterMethod["MASK"] = "mask";
|
|
235
155
|
VocabularyFilterMethod["REMOVE"] = "remove";
|
|
236
156
|
VocabularyFilterMethod["TAG"] = "tag";
|
|
237
157
|
})(VocabularyFilterMethod || (VocabularyFilterMethod = {}));
|
|
238
|
-
export var StartStreamTranscriptionRequest;
|
|
239
|
-
(function (StartStreamTranscriptionRequest) {
|
|
240
|
-
StartStreamTranscriptionRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }))); };
|
|
241
|
-
})(StartStreamTranscriptionRequest || (StartStreamTranscriptionRequest = {}));
|
|
242
|
-
export var Transcript;
|
|
243
|
-
(function (Transcript) {
|
|
244
|
-
Transcript.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
-
})(Transcript || (Transcript = {}));
|
|
246
|
-
export var TranscriptEvent;
|
|
247
|
-
(function (TranscriptEvent) {
|
|
248
|
-
TranscriptEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
-
})(TranscriptEvent || (TranscriptEvent = {}));
|
|
250
158
|
export var TranscriptResultStream;
|
|
251
159
|
(function (TranscriptResultStream) {
|
|
252
160
|
TranscriptResultStream.visit = function (value, visitor) {
|
|
@@ -264,25 +172,63 @@ export var TranscriptResultStream;
|
|
|
264
172
|
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
265
173
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
266
174
|
};
|
|
267
|
-
TranscriptResultStream.filterSensitiveLog = function (obj) {
|
|
268
|
-
var _a;
|
|
269
|
-
if (obj.TranscriptEvent !== undefined)
|
|
270
|
-
return { TranscriptEvent: TranscriptEvent.filterSensitiveLog(obj.TranscriptEvent) };
|
|
271
|
-
if (obj.BadRequestException !== undefined)
|
|
272
|
-
return { BadRequestException: obj.BadRequestException };
|
|
273
|
-
if (obj.LimitExceededException !== undefined)
|
|
274
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
275
|
-
if (obj.InternalFailureException !== undefined)
|
|
276
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
277
|
-
if (obj.ConflictException !== undefined)
|
|
278
|
-
return { ConflictException: obj.ConflictException };
|
|
279
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
280
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
281
|
-
if (obj.$unknown !== undefined)
|
|
282
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
283
|
-
};
|
|
284
175
|
})(TranscriptResultStream || (TranscriptResultStream = {}));
|
|
285
|
-
export var
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
176
|
+
export var EntityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var ItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var AlternativeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var AudioEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var AudioStreamFilterSensitiveLog = function (obj) {
|
|
181
|
+
var _a;
|
|
182
|
+
if (obj.AudioEvent !== undefined)
|
|
183
|
+
return { AudioEvent: AudioEventFilterSensitiveLog(obj.AudioEvent) };
|
|
184
|
+
if (obj.$unknown !== undefined)
|
|
185
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
186
|
+
};
|
|
187
|
+
export var LanguageWithScoreFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
export var MedicalEntityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var MedicalItemFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var MedicalAlternativeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var MedicalResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var MedicalTranscriptFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var MedicalTranscriptEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var MedicalTranscriptResultStreamFilterSensitiveLog = function (obj) {
|
|
195
|
+
var _a;
|
|
196
|
+
if (obj.TranscriptEvent !== undefined)
|
|
197
|
+
return { TranscriptEvent: MedicalTranscriptEventFilterSensitiveLog(obj.TranscriptEvent) };
|
|
198
|
+
if (obj.BadRequestException !== undefined)
|
|
199
|
+
return { BadRequestException: obj.BadRequestException };
|
|
200
|
+
if (obj.LimitExceededException !== undefined)
|
|
201
|
+
return { LimitExceededException: obj.LimitExceededException };
|
|
202
|
+
if (obj.InternalFailureException !== undefined)
|
|
203
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
204
|
+
if (obj.ConflictException !== undefined)
|
|
205
|
+
return { ConflictException: obj.ConflictException };
|
|
206
|
+
if (obj.ServiceUnavailableException !== undefined)
|
|
207
|
+
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
208
|
+
if (obj.$unknown !== undefined)
|
|
209
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
210
|
+
};
|
|
211
|
+
export var ResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var StartMedicalStreamTranscriptionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }))); };
|
|
213
|
+
export var StartMedicalStreamTranscriptionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }))); };
|
|
214
|
+
export var StartStreamTranscriptionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }))); };
|
|
215
|
+
export var TranscriptFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var TranscriptEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
export var TranscriptResultStreamFilterSensitiveLog = function (obj) {
|
|
218
|
+
var _a;
|
|
219
|
+
if (obj.TranscriptEvent !== undefined)
|
|
220
|
+
return { TranscriptEvent: TranscriptEventFilterSensitiveLog(obj.TranscriptEvent) };
|
|
221
|
+
if (obj.BadRequestException !== undefined)
|
|
222
|
+
return { BadRequestException: obj.BadRequestException };
|
|
223
|
+
if (obj.LimitExceededException !== undefined)
|
|
224
|
+
return { LimitExceededException: obj.LimitExceededException };
|
|
225
|
+
if (obj.InternalFailureException !== undefined)
|
|
226
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
227
|
+
if (obj.ConflictException !== undefined)
|
|
228
|
+
return { ConflictException: obj.ConflictException };
|
|
229
|
+
if (obj.ServiceUnavailableException !== undefined)
|
|
230
|
+
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
231
|
+
if (obj.$unknown !== undefined)
|
|
232
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
233
|
+
};
|
|
234
|
+
export var StartStreamTranscriptionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }))); };
|