@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.140.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.139.0...v3.140.0) (2022-07-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** create new session for every H2 requests ([#3810](https://github.com/aws/aws-sdk-js-v3/issues/3810)) ([b2c026f](https://github.com/aws/aws-sdk-js-v3/commit/b2c026f8309339bfee59cf75e7dc5fc0a22a7fa2))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.135.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.134.0...v3.135.0) (2022-07-21)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
@@ -22,8 +22,8 @@ class StartMedicalStreamTranscriptionCommand extends smithy_client_1.Command {
|
|
|
22
22
|
logger,
|
|
23
23
|
clientName,
|
|
24
24
|
commandName,
|
|
25
|
-
inputFilterSensitiveLog: models_0_1.
|
|
26
|
-
outputFilterSensitiveLog: models_0_1.
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.StartMedicalStreamTranscriptionRequestFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.StartMedicalStreamTranscriptionResponseFilterSensitiveLog,
|
|
27
27
|
};
|
|
28
28
|
const { requestHandler } = configuration;
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -22,8 +22,8 @@ class StartStreamTranscriptionCommand extends smithy_client_1.Command {
|
|
|
22
22
|
logger,
|
|
23
23
|
clientName,
|
|
24
24
|
commandName,
|
|
25
|
-
inputFilterSensitiveLog: models_0_1.
|
|
26
|
-
outputFilterSensitiveLog: models_0_1.
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.StartStreamTranscriptionRequestFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.StartStreamTranscriptionResponseFilterSensitiveLog,
|
|
27
27
|
};
|
|
28
28
|
const { requestHandler } = configuration;
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,36 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StartStreamTranscriptionResponseFilterSensitiveLog = exports.TranscriptResultStreamFilterSensitiveLog = exports.TranscriptEventFilterSensitiveLog = exports.TranscriptFilterSensitiveLog = exports.StartStreamTranscriptionRequestFilterSensitiveLog = exports.StartMedicalStreamTranscriptionResponseFilterSensitiveLog = exports.StartMedicalStreamTranscriptionRequestFilterSensitiveLog = exports.ResultFilterSensitiveLog = exports.MedicalTranscriptResultStreamFilterSensitiveLog = exports.MedicalTranscriptEventFilterSensitiveLog = exports.MedicalTranscriptFilterSensitiveLog = exports.MedicalResultFilterSensitiveLog = exports.MedicalAlternativeFilterSensitiveLog = exports.MedicalItemFilterSensitiveLog = exports.MedicalEntityFilterSensitiveLog = exports.LanguageWithScoreFilterSensitiveLog = exports.AudioStreamFilterSensitiveLog = exports.AudioEventFilterSensitiveLog = exports.AlternativeFilterSensitiveLog = exports.ItemFilterSensitiveLog = exports.EntityFilterSensitiveLog = exports.TranscriptResultStream = exports.VocabularyFilterMethod = exports.Type = exports.Specialty = exports.PartialResultsStability = exports.MedicalTranscriptResultStream = exports.ServiceUnavailableException = exports.MedicalContentIdentificationType = exports.MediaEncoding = exports.LimitExceededException = exports.LanguageCode = exports.InternalFailureException = exports.ContentRedactionType = exports.ContentIdentificationType = exports.ConflictException = exports.BadRequestException = exports.AudioStream = exports.ItemType = void 0;
|
|
4
4
|
const TranscribeStreamingServiceException_1 = require("./TranscribeStreamingServiceException");
|
|
5
|
-
var Entity;
|
|
6
|
-
(function (Entity) {
|
|
7
|
-
Entity.filterSensitiveLog = (obj) => ({
|
|
8
|
-
...obj,
|
|
9
|
-
});
|
|
10
|
-
})(Entity = exports.Entity || (exports.Entity = {}));
|
|
11
5
|
var ItemType;
|
|
12
6
|
(function (ItemType) {
|
|
13
7
|
ItemType["PRONUNCIATION"] = "pronunciation";
|
|
14
8
|
ItemType["PUNCTUATION"] = "punctuation";
|
|
15
9
|
})(ItemType = exports.ItemType || (exports.ItemType = {}));
|
|
16
|
-
var Item;
|
|
17
|
-
(function (Item) {
|
|
18
|
-
Item.filterSensitiveLog = (obj) => ({
|
|
19
|
-
...obj,
|
|
20
|
-
});
|
|
21
|
-
})(Item = exports.Item || (exports.Item = {}));
|
|
22
|
-
var Alternative;
|
|
23
|
-
(function (Alternative) {
|
|
24
|
-
Alternative.filterSensitiveLog = (obj) => ({
|
|
25
|
-
...obj,
|
|
26
|
-
});
|
|
27
|
-
})(Alternative = exports.Alternative || (exports.Alternative = {}));
|
|
28
|
-
var AudioEvent;
|
|
29
|
-
(function (AudioEvent) {
|
|
30
|
-
AudioEvent.filterSensitiveLog = (obj) => ({
|
|
31
|
-
...obj,
|
|
32
|
-
});
|
|
33
|
-
})(AudioEvent = exports.AudioEvent || (exports.AudioEvent = {}));
|
|
34
10
|
var AudioStream;
|
|
35
11
|
(function (AudioStream) {
|
|
36
12
|
AudioStream.visit = (value, visitor) => {
|
|
@@ -38,12 +14,6 @@ var AudioStream;
|
|
|
38
14
|
return visitor.AudioEvent(value.AudioEvent);
|
|
39
15
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
40
16
|
};
|
|
41
|
-
AudioStream.filterSensitiveLog = (obj) => {
|
|
42
|
-
if (obj.AudioEvent !== undefined)
|
|
43
|
-
return { AudioEvent: AudioEvent.filterSensitiveLog(obj.AudioEvent) };
|
|
44
|
-
if (obj.$unknown !== undefined)
|
|
45
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
46
|
-
};
|
|
47
17
|
})(AudioStream = exports.AudioStream || (exports.AudioStream = {}));
|
|
48
18
|
class BadRequestException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
|
|
49
19
|
constructor(opts) {
|
|
@@ -110,12 +80,6 @@ var LanguageCode;
|
|
|
110
80
|
LanguageCode["PT_BR"] = "pt-BR";
|
|
111
81
|
LanguageCode["ZH_CN"] = "zh-CN";
|
|
112
82
|
})(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
|
|
113
|
-
var LanguageWithScore;
|
|
114
|
-
(function (LanguageWithScore) {
|
|
115
|
-
LanguageWithScore.filterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
})(LanguageWithScore = exports.LanguageWithScore || (exports.LanguageWithScore = {}));
|
|
119
83
|
class LimitExceededException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
|
|
120
84
|
constructor(opts) {
|
|
121
85
|
super({
|
|
@@ -136,46 +100,10 @@ var MediaEncoding;
|
|
|
136
100
|
MediaEncoding["OGG_OPUS"] = "ogg-opus";
|
|
137
101
|
MediaEncoding["PCM"] = "pcm";
|
|
138
102
|
})(MediaEncoding = exports.MediaEncoding || (exports.MediaEncoding = {}));
|
|
139
|
-
var MedicalEntity;
|
|
140
|
-
(function (MedicalEntity) {
|
|
141
|
-
MedicalEntity.filterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
})(MedicalEntity = exports.MedicalEntity || (exports.MedicalEntity = {}));
|
|
145
|
-
var MedicalItem;
|
|
146
|
-
(function (MedicalItem) {
|
|
147
|
-
MedicalItem.filterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
});
|
|
150
|
-
})(MedicalItem = exports.MedicalItem || (exports.MedicalItem = {}));
|
|
151
|
-
var MedicalAlternative;
|
|
152
|
-
(function (MedicalAlternative) {
|
|
153
|
-
MedicalAlternative.filterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
});
|
|
156
|
-
})(MedicalAlternative = exports.MedicalAlternative || (exports.MedicalAlternative = {}));
|
|
157
103
|
var MedicalContentIdentificationType;
|
|
158
104
|
(function (MedicalContentIdentificationType) {
|
|
159
105
|
MedicalContentIdentificationType["PHI"] = "PHI";
|
|
160
106
|
})(MedicalContentIdentificationType = exports.MedicalContentIdentificationType || (exports.MedicalContentIdentificationType = {}));
|
|
161
|
-
var MedicalResult;
|
|
162
|
-
(function (MedicalResult) {
|
|
163
|
-
MedicalResult.filterSensitiveLog = (obj) => ({
|
|
164
|
-
...obj,
|
|
165
|
-
});
|
|
166
|
-
})(MedicalResult = exports.MedicalResult || (exports.MedicalResult = {}));
|
|
167
|
-
var MedicalTranscript;
|
|
168
|
-
(function (MedicalTranscript) {
|
|
169
|
-
MedicalTranscript.filterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
})(MedicalTranscript = exports.MedicalTranscript || (exports.MedicalTranscript = {}));
|
|
173
|
-
var MedicalTranscriptEvent;
|
|
174
|
-
(function (MedicalTranscriptEvent) {
|
|
175
|
-
MedicalTranscriptEvent.filterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
});
|
|
178
|
-
})(MedicalTranscriptEvent = exports.MedicalTranscriptEvent || (exports.MedicalTranscriptEvent = {}));
|
|
179
107
|
class ServiceUnavailableException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
|
|
180
108
|
constructor(opts) {
|
|
181
109
|
super({
|
|
@@ -207,22 +135,6 @@ var MedicalTranscriptResultStream;
|
|
|
207
135
|
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
208
136
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
209
137
|
};
|
|
210
|
-
MedicalTranscriptResultStream.filterSensitiveLog = (obj) => {
|
|
211
|
-
if (obj.TranscriptEvent !== undefined)
|
|
212
|
-
return { TranscriptEvent: MedicalTranscriptEvent.filterSensitiveLog(obj.TranscriptEvent) };
|
|
213
|
-
if (obj.BadRequestException !== undefined)
|
|
214
|
-
return { BadRequestException: obj.BadRequestException };
|
|
215
|
-
if (obj.LimitExceededException !== undefined)
|
|
216
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
217
|
-
if (obj.InternalFailureException !== undefined)
|
|
218
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
219
|
-
if (obj.ConflictException !== undefined)
|
|
220
|
-
return { ConflictException: obj.ConflictException };
|
|
221
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
222
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
223
|
-
if (obj.$unknown !== undefined)
|
|
224
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
225
|
-
};
|
|
226
138
|
})(MedicalTranscriptResultStream = exports.MedicalTranscriptResultStream || (exports.MedicalTranscriptResultStream = {}));
|
|
227
139
|
var PartialResultsStability;
|
|
228
140
|
(function (PartialResultsStability) {
|
|
@@ -230,12 +142,6 @@ var PartialResultsStability;
|
|
|
230
142
|
PartialResultsStability["LOW"] = "low";
|
|
231
143
|
PartialResultsStability["MEDIUM"] = "medium";
|
|
232
144
|
})(PartialResultsStability = exports.PartialResultsStability || (exports.PartialResultsStability = {}));
|
|
233
|
-
var Result;
|
|
234
|
-
(function (Result) {
|
|
235
|
-
Result.filterSensitiveLog = (obj) => ({
|
|
236
|
-
...obj,
|
|
237
|
-
});
|
|
238
|
-
})(Result = exports.Result || (exports.Result = {}));
|
|
239
145
|
var Specialty;
|
|
240
146
|
(function (Specialty) {
|
|
241
147
|
Specialty["CARDIOLOGY"] = "CARDIOLOGY";
|
|
@@ -250,45 +156,12 @@ var Type;
|
|
|
250
156
|
Type["CONVERSATION"] = "CONVERSATION";
|
|
251
157
|
Type["DICTATION"] = "DICTATION";
|
|
252
158
|
})(Type = exports.Type || (exports.Type = {}));
|
|
253
|
-
var StartMedicalStreamTranscriptionRequest;
|
|
254
|
-
(function (StartMedicalStreamTranscriptionRequest) {
|
|
255
|
-
StartMedicalStreamTranscriptionRequest.filterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
258
|
-
});
|
|
259
|
-
})(StartMedicalStreamTranscriptionRequest = exports.StartMedicalStreamTranscriptionRequest || (exports.StartMedicalStreamTranscriptionRequest = {}));
|
|
260
|
-
var StartMedicalStreamTranscriptionResponse;
|
|
261
|
-
(function (StartMedicalStreamTranscriptionResponse) {
|
|
262
|
-
StartMedicalStreamTranscriptionResponse.filterSensitiveLog = (obj) => ({
|
|
263
|
-
...obj,
|
|
264
|
-
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
265
|
-
});
|
|
266
|
-
})(StartMedicalStreamTranscriptionResponse = exports.StartMedicalStreamTranscriptionResponse || (exports.StartMedicalStreamTranscriptionResponse = {}));
|
|
267
159
|
var VocabularyFilterMethod;
|
|
268
160
|
(function (VocabularyFilterMethod) {
|
|
269
161
|
VocabularyFilterMethod["MASK"] = "mask";
|
|
270
162
|
VocabularyFilterMethod["REMOVE"] = "remove";
|
|
271
163
|
VocabularyFilterMethod["TAG"] = "tag";
|
|
272
164
|
})(VocabularyFilterMethod = exports.VocabularyFilterMethod || (exports.VocabularyFilterMethod = {}));
|
|
273
|
-
var StartStreamTranscriptionRequest;
|
|
274
|
-
(function (StartStreamTranscriptionRequest) {
|
|
275
|
-
StartStreamTranscriptionRequest.filterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
278
|
-
});
|
|
279
|
-
})(StartStreamTranscriptionRequest = exports.StartStreamTranscriptionRequest || (exports.StartStreamTranscriptionRequest = {}));
|
|
280
|
-
var Transcript;
|
|
281
|
-
(function (Transcript) {
|
|
282
|
-
Transcript.filterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
});
|
|
285
|
-
})(Transcript = exports.Transcript || (exports.Transcript = {}));
|
|
286
|
-
var TranscriptEvent;
|
|
287
|
-
(function (TranscriptEvent) {
|
|
288
|
-
TranscriptEvent.filterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
});
|
|
291
|
-
})(TranscriptEvent = exports.TranscriptEvent || (exports.TranscriptEvent = {}));
|
|
292
165
|
var TranscriptResultStream;
|
|
293
166
|
(function (TranscriptResultStream) {
|
|
294
167
|
TranscriptResultStream.visit = (value, visitor) => {
|
|
@@ -306,27 +179,121 @@ var TranscriptResultStream;
|
|
|
306
179
|
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
307
180
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
308
181
|
};
|
|
309
|
-
TranscriptResultStream.filterSensitiveLog = (obj) => {
|
|
310
|
-
if (obj.TranscriptEvent !== undefined)
|
|
311
|
-
return { TranscriptEvent: TranscriptEvent.filterSensitiveLog(obj.TranscriptEvent) };
|
|
312
|
-
if (obj.BadRequestException !== undefined)
|
|
313
|
-
return { BadRequestException: obj.BadRequestException };
|
|
314
|
-
if (obj.LimitExceededException !== undefined)
|
|
315
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
316
|
-
if (obj.InternalFailureException !== undefined)
|
|
317
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
318
|
-
if (obj.ConflictException !== undefined)
|
|
319
|
-
return { ConflictException: obj.ConflictException };
|
|
320
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
321
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
322
|
-
if (obj.$unknown !== undefined)
|
|
323
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
324
|
-
};
|
|
325
182
|
})(TranscriptResultStream = exports.TranscriptResultStream || (exports.TranscriptResultStream = {}));
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
})
|
|
183
|
+
const EntityFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
exports.EntityFilterSensitiveLog = EntityFilterSensitiveLog;
|
|
187
|
+
const ItemFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
exports.ItemFilterSensitiveLog = ItemFilterSensitiveLog;
|
|
191
|
+
const AlternativeFilterSensitiveLog = (obj) => ({
|
|
192
|
+
...obj,
|
|
193
|
+
});
|
|
194
|
+
exports.AlternativeFilterSensitiveLog = AlternativeFilterSensitiveLog;
|
|
195
|
+
const AudioEventFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
exports.AudioEventFilterSensitiveLog = AudioEventFilterSensitiveLog;
|
|
199
|
+
const AudioStreamFilterSensitiveLog = (obj) => {
|
|
200
|
+
if (obj.AudioEvent !== undefined)
|
|
201
|
+
return { AudioEvent: (0, exports.AudioEventFilterSensitiveLog)(obj.AudioEvent) };
|
|
202
|
+
if (obj.$unknown !== undefined)
|
|
203
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
204
|
+
};
|
|
205
|
+
exports.AudioStreamFilterSensitiveLog = AudioStreamFilterSensitiveLog;
|
|
206
|
+
const LanguageWithScoreFilterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
});
|
|
209
|
+
exports.LanguageWithScoreFilterSensitiveLog = LanguageWithScoreFilterSensitiveLog;
|
|
210
|
+
const MedicalEntityFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
exports.MedicalEntityFilterSensitiveLog = MedicalEntityFilterSensitiveLog;
|
|
214
|
+
const MedicalItemFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
exports.MedicalItemFilterSensitiveLog = MedicalItemFilterSensitiveLog;
|
|
218
|
+
const MedicalAlternativeFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
});
|
|
221
|
+
exports.MedicalAlternativeFilterSensitiveLog = MedicalAlternativeFilterSensitiveLog;
|
|
222
|
+
const MedicalResultFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
});
|
|
225
|
+
exports.MedicalResultFilterSensitiveLog = MedicalResultFilterSensitiveLog;
|
|
226
|
+
const MedicalTranscriptFilterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
exports.MedicalTranscriptFilterSensitiveLog = MedicalTranscriptFilterSensitiveLog;
|
|
230
|
+
const MedicalTranscriptEventFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
exports.MedicalTranscriptEventFilterSensitiveLog = MedicalTranscriptEventFilterSensitiveLog;
|
|
234
|
+
const MedicalTranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
235
|
+
if (obj.TranscriptEvent !== undefined)
|
|
236
|
+
return { TranscriptEvent: (0, exports.MedicalTranscriptEventFilterSensitiveLog)(obj.TranscriptEvent) };
|
|
237
|
+
if (obj.BadRequestException !== undefined)
|
|
238
|
+
return { BadRequestException: obj.BadRequestException };
|
|
239
|
+
if (obj.LimitExceededException !== undefined)
|
|
240
|
+
return { LimitExceededException: obj.LimitExceededException };
|
|
241
|
+
if (obj.InternalFailureException !== undefined)
|
|
242
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
243
|
+
if (obj.ConflictException !== undefined)
|
|
244
|
+
return { ConflictException: obj.ConflictException };
|
|
245
|
+
if (obj.ServiceUnavailableException !== undefined)
|
|
246
|
+
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
247
|
+
if (obj.$unknown !== undefined)
|
|
248
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
249
|
+
};
|
|
250
|
+
exports.MedicalTranscriptResultStreamFilterSensitiveLog = MedicalTranscriptResultStreamFilterSensitiveLog;
|
|
251
|
+
const ResultFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
exports.ResultFilterSensitiveLog = ResultFilterSensitiveLog;
|
|
255
|
+
const StartMedicalStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
258
|
+
});
|
|
259
|
+
exports.StartMedicalStreamTranscriptionRequestFilterSensitiveLog = StartMedicalStreamTranscriptionRequestFilterSensitiveLog;
|
|
260
|
+
const StartMedicalStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
261
|
+
...obj,
|
|
262
|
+
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
263
|
+
});
|
|
264
|
+
exports.StartMedicalStreamTranscriptionResponseFilterSensitiveLog = StartMedicalStreamTranscriptionResponseFilterSensitiveLog;
|
|
265
|
+
const StartStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
268
|
+
});
|
|
269
|
+
exports.StartStreamTranscriptionRequestFilterSensitiveLog = StartStreamTranscriptionRequestFilterSensitiveLog;
|
|
270
|
+
const TranscriptFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
});
|
|
273
|
+
exports.TranscriptFilterSensitiveLog = TranscriptFilterSensitiveLog;
|
|
274
|
+
const TranscriptEventFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
});
|
|
277
|
+
exports.TranscriptEventFilterSensitiveLog = TranscriptEventFilterSensitiveLog;
|
|
278
|
+
const TranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
279
|
+
if (obj.TranscriptEvent !== undefined)
|
|
280
|
+
return { TranscriptEvent: (0, exports.TranscriptEventFilterSensitiveLog)(obj.TranscriptEvent) };
|
|
281
|
+
if (obj.BadRequestException !== undefined)
|
|
282
|
+
return { BadRequestException: obj.BadRequestException };
|
|
283
|
+
if (obj.LimitExceededException !== undefined)
|
|
284
|
+
return { LimitExceededException: obj.LimitExceededException };
|
|
285
|
+
if (obj.InternalFailureException !== undefined)
|
|
286
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
287
|
+
if (obj.ConflictException !== undefined)
|
|
288
|
+
return { ConflictException: obj.ConflictException };
|
|
289
|
+
if (obj.ServiceUnavailableException !== undefined)
|
|
290
|
+
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
291
|
+
if (obj.$unknown !== undefined)
|
|
292
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
293
|
+
};
|
|
294
|
+
exports.TranscriptResultStreamFilterSensitiveLog = TranscriptResultStreamFilterSensitiveLog;
|
|
295
|
+
const StartStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
298
|
+
});
|
|
299
|
+
exports.StartStreamTranscriptionResponseFilterSensitiveLog = StartStreamTranscriptionResponseFilterSensitiveLog;
|