@aws-sdk/client-transcribe 3.312.0 → 3.316.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/Transcribe.js +43 -546
- package/dist-cjs/protocols/Aws_json1_1.js +383 -1405
- package/dist-es/Transcribe.js +43 -546
- package/dist-es/protocols/Aws_json1_1.js +385 -1407
- package/dist-types/Transcribe.d.ts +68 -395
- package/dist-types/ts3.4/Transcribe.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/Transcribe.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Transcribe = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateCallAnalyticsCategoryCommand_1 = require("./commands/CreateCallAnalyticsCategoryCommand");
|
|
5
6
|
const CreateLanguageModelCommand_1 = require("./commands/CreateLanguageModelCommand");
|
|
6
7
|
const CreateMedicalVocabularyCommand_1 = require("./commands/CreateMedicalVocabularyCommand");
|
|
@@ -41,552 +42,48 @@ const UpdateMedicalVocabularyCommand_1 = require("./commands/UpdateMedicalVocabu
|
|
|
41
42
|
const UpdateVocabularyCommand_1 = require("./commands/UpdateVocabularyCommand");
|
|
42
43
|
const UpdateVocabularyFilterCommand_1 = require("./commands/UpdateVocabularyFilterCommand");
|
|
43
44
|
const TranscribeClient_1 = require("./TranscribeClient");
|
|
45
|
+
const commands = {
|
|
46
|
+
CreateCallAnalyticsCategoryCommand: CreateCallAnalyticsCategoryCommand_1.CreateCallAnalyticsCategoryCommand,
|
|
47
|
+
CreateLanguageModelCommand: CreateLanguageModelCommand_1.CreateLanguageModelCommand,
|
|
48
|
+
CreateMedicalVocabularyCommand: CreateMedicalVocabularyCommand_1.CreateMedicalVocabularyCommand,
|
|
49
|
+
CreateVocabularyCommand: CreateVocabularyCommand_1.CreateVocabularyCommand,
|
|
50
|
+
CreateVocabularyFilterCommand: CreateVocabularyFilterCommand_1.CreateVocabularyFilterCommand,
|
|
51
|
+
DeleteCallAnalyticsCategoryCommand: DeleteCallAnalyticsCategoryCommand_1.DeleteCallAnalyticsCategoryCommand,
|
|
52
|
+
DeleteCallAnalyticsJobCommand: DeleteCallAnalyticsJobCommand_1.DeleteCallAnalyticsJobCommand,
|
|
53
|
+
DeleteLanguageModelCommand: DeleteLanguageModelCommand_1.DeleteLanguageModelCommand,
|
|
54
|
+
DeleteMedicalTranscriptionJobCommand: DeleteMedicalTranscriptionJobCommand_1.DeleteMedicalTranscriptionJobCommand,
|
|
55
|
+
DeleteMedicalVocabularyCommand: DeleteMedicalVocabularyCommand_1.DeleteMedicalVocabularyCommand,
|
|
56
|
+
DeleteTranscriptionJobCommand: DeleteTranscriptionJobCommand_1.DeleteTranscriptionJobCommand,
|
|
57
|
+
DeleteVocabularyCommand: DeleteVocabularyCommand_1.DeleteVocabularyCommand,
|
|
58
|
+
DeleteVocabularyFilterCommand: DeleteVocabularyFilterCommand_1.DeleteVocabularyFilterCommand,
|
|
59
|
+
DescribeLanguageModelCommand: DescribeLanguageModelCommand_1.DescribeLanguageModelCommand,
|
|
60
|
+
GetCallAnalyticsCategoryCommand: GetCallAnalyticsCategoryCommand_1.GetCallAnalyticsCategoryCommand,
|
|
61
|
+
GetCallAnalyticsJobCommand: GetCallAnalyticsJobCommand_1.GetCallAnalyticsJobCommand,
|
|
62
|
+
GetMedicalTranscriptionJobCommand: GetMedicalTranscriptionJobCommand_1.GetMedicalTranscriptionJobCommand,
|
|
63
|
+
GetMedicalVocabularyCommand: GetMedicalVocabularyCommand_1.GetMedicalVocabularyCommand,
|
|
64
|
+
GetTranscriptionJobCommand: GetTranscriptionJobCommand_1.GetTranscriptionJobCommand,
|
|
65
|
+
GetVocabularyCommand: GetVocabularyCommand_1.GetVocabularyCommand,
|
|
66
|
+
GetVocabularyFilterCommand: GetVocabularyFilterCommand_1.GetVocabularyFilterCommand,
|
|
67
|
+
ListCallAnalyticsCategoriesCommand: ListCallAnalyticsCategoriesCommand_1.ListCallAnalyticsCategoriesCommand,
|
|
68
|
+
ListCallAnalyticsJobsCommand: ListCallAnalyticsJobsCommand_1.ListCallAnalyticsJobsCommand,
|
|
69
|
+
ListLanguageModelsCommand: ListLanguageModelsCommand_1.ListLanguageModelsCommand,
|
|
70
|
+
ListMedicalTranscriptionJobsCommand: ListMedicalTranscriptionJobsCommand_1.ListMedicalTranscriptionJobsCommand,
|
|
71
|
+
ListMedicalVocabulariesCommand: ListMedicalVocabulariesCommand_1.ListMedicalVocabulariesCommand,
|
|
72
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
73
|
+
ListTranscriptionJobsCommand: ListTranscriptionJobsCommand_1.ListTranscriptionJobsCommand,
|
|
74
|
+
ListVocabulariesCommand: ListVocabulariesCommand_1.ListVocabulariesCommand,
|
|
75
|
+
ListVocabularyFiltersCommand: ListVocabularyFiltersCommand_1.ListVocabularyFiltersCommand,
|
|
76
|
+
StartCallAnalyticsJobCommand: StartCallAnalyticsJobCommand_1.StartCallAnalyticsJobCommand,
|
|
77
|
+
StartMedicalTranscriptionJobCommand: StartMedicalTranscriptionJobCommand_1.StartMedicalTranscriptionJobCommand,
|
|
78
|
+
StartTranscriptionJobCommand: StartTranscriptionJobCommand_1.StartTranscriptionJobCommand,
|
|
79
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
80
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
81
|
+
UpdateCallAnalyticsCategoryCommand: UpdateCallAnalyticsCategoryCommand_1.UpdateCallAnalyticsCategoryCommand,
|
|
82
|
+
UpdateMedicalVocabularyCommand: UpdateMedicalVocabularyCommand_1.UpdateMedicalVocabularyCommand,
|
|
83
|
+
UpdateVocabularyCommand: UpdateVocabularyCommand_1.UpdateVocabularyCommand,
|
|
84
|
+
UpdateVocabularyFilterCommand: UpdateVocabularyFilterCommand_1.UpdateVocabularyFilterCommand,
|
|
85
|
+
};
|
|
44
86
|
class Transcribe extends TranscribeClient_1.TranscribeClient {
|
|
45
|
-
createCallAnalyticsCategory(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new CreateCallAnalyticsCategoryCommand_1.CreateCallAnalyticsCategoryCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
createLanguageModel(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new CreateLanguageModelCommand_1.CreateLanguageModelCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
createMedicalVocabulary(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new CreateMedicalVocabularyCommand_1.CreateMedicalVocabularyCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
createVocabulary(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new CreateVocabularyCommand_1.CreateVocabularyCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
createVocabularyFilter(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new CreateVocabularyFilterCommand_1.CreateVocabularyFilterCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
deleteCallAnalyticsCategory(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new DeleteCallAnalyticsCategoryCommand_1.DeleteCallAnalyticsCategoryCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
deleteCallAnalyticsJob(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new DeleteCallAnalyticsJobCommand_1.DeleteCallAnalyticsJobCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
deleteLanguageModel(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new DeleteLanguageModelCommand_1.DeleteLanguageModelCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
deleteMedicalTranscriptionJob(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new DeleteMedicalTranscriptionJobCommand_1.DeleteMedicalTranscriptionJobCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
deleteMedicalVocabulary(args, optionsOrCb, cb) {
|
|
172
|
-
const command = new DeleteMedicalVocabularyCommand_1.DeleteMedicalVocabularyCommand(args);
|
|
173
|
-
if (typeof optionsOrCb === "function") {
|
|
174
|
-
this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
else if (typeof cb === "function") {
|
|
177
|
-
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
deleteTranscriptionJob(args, optionsOrCb, cb) {
|
|
186
|
-
const command = new DeleteTranscriptionJobCommand_1.DeleteTranscriptionJobCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
deleteVocabulary(args, optionsOrCb, cb) {
|
|
200
|
-
const command = new DeleteVocabularyCommand_1.DeleteVocabularyCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
else if (typeof cb === "function") {
|
|
205
|
-
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
return this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
deleteVocabularyFilter(args, optionsOrCb, cb) {
|
|
214
|
-
const command = new DeleteVocabularyFilterCommand_1.DeleteVocabularyFilterCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
describeLanguageModel(args, optionsOrCb, cb) {
|
|
228
|
-
const command = new DescribeLanguageModelCommand_1.DescribeLanguageModelCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
getCallAnalyticsCategory(args, optionsOrCb, cb) {
|
|
242
|
-
const command = new GetCallAnalyticsCategoryCommand_1.GetCallAnalyticsCategoryCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
return this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
getCallAnalyticsJob(args, optionsOrCb, cb) {
|
|
256
|
-
const command = new GetCallAnalyticsJobCommand_1.GetCallAnalyticsJobCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
else if (typeof cb === "function") {
|
|
261
|
-
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
return this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
getMedicalTranscriptionJob(args, optionsOrCb, cb) {
|
|
270
|
-
const command = new GetMedicalTranscriptionJobCommand_1.GetMedicalTranscriptionJobCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof cb === "function") {
|
|
275
|
-
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
return this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
getMedicalVocabulary(args, optionsOrCb, cb) {
|
|
284
|
-
const command = new GetMedicalVocabularyCommand_1.GetMedicalVocabularyCommand(args);
|
|
285
|
-
if (typeof optionsOrCb === "function") {
|
|
286
|
-
this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
else if (typeof cb === "function") {
|
|
289
|
-
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
getTranscriptionJob(args, optionsOrCb, cb) {
|
|
298
|
-
const command = new GetTranscriptionJobCommand_1.GetTranscriptionJobCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
getVocabulary(args, optionsOrCb, cb) {
|
|
312
|
-
const command = new GetVocabularyCommand_1.GetVocabularyCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
return this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
getVocabularyFilter(args, optionsOrCb, cb) {
|
|
326
|
-
const command = new GetVocabularyFilterCommand_1.GetVocabularyFilterCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
listCallAnalyticsCategories(args, optionsOrCb, cb) {
|
|
340
|
-
const command = new ListCallAnalyticsCategoriesCommand_1.ListCallAnalyticsCategoriesCommand(args);
|
|
341
|
-
if (typeof optionsOrCb === "function") {
|
|
342
|
-
this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
else if (typeof cb === "function") {
|
|
345
|
-
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
listCallAnalyticsJobs(args, optionsOrCb, cb) {
|
|
354
|
-
const command = new ListCallAnalyticsJobsCommand_1.ListCallAnalyticsJobsCommand(args);
|
|
355
|
-
if (typeof optionsOrCb === "function") {
|
|
356
|
-
this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
else if (typeof cb === "function") {
|
|
359
|
-
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
listLanguageModels(args, optionsOrCb, cb) {
|
|
368
|
-
const command = new ListLanguageModelsCommand_1.ListLanguageModelsCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
else if (typeof cb === "function") {
|
|
373
|
-
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
listMedicalTranscriptionJobs(args, optionsOrCb, cb) {
|
|
382
|
-
const command = new ListMedicalTranscriptionJobsCommand_1.ListMedicalTranscriptionJobsCommand(args);
|
|
383
|
-
if (typeof optionsOrCb === "function") {
|
|
384
|
-
this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
else if (typeof cb === "function") {
|
|
387
|
-
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
389
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
390
|
-
}
|
|
391
|
-
else {
|
|
392
|
-
return this.send(command, optionsOrCb);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
listMedicalVocabularies(args, optionsOrCb, cb) {
|
|
396
|
-
const command = new ListMedicalVocabulariesCommand_1.ListMedicalVocabulariesCommand(args);
|
|
397
|
-
if (typeof optionsOrCb === "function") {
|
|
398
|
-
this.send(command, optionsOrCb);
|
|
399
|
-
}
|
|
400
|
-
else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
-
}
|
|
405
|
-
else {
|
|
406
|
-
return this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
410
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
411
|
-
if (typeof optionsOrCb === "function") {
|
|
412
|
-
this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
else if (typeof cb === "function") {
|
|
415
|
-
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
417
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
418
|
-
}
|
|
419
|
-
else {
|
|
420
|
-
return this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
listTranscriptionJobs(args, optionsOrCb, cb) {
|
|
424
|
-
const command = new ListTranscriptionJobsCommand_1.ListTranscriptionJobsCommand(args);
|
|
425
|
-
if (typeof optionsOrCb === "function") {
|
|
426
|
-
this.send(command, optionsOrCb);
|
|
427
|
-
}
|
|
428
|
-
else if (typeof cb === "function") {
|
|
429
|
-
if (typeof optionsOrCb !== "object")
|
|
430
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
431
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
432
|
-
}
|
|
433
|
-
else {
|
|
434
|
-
return this.send(command, optionsOrCb);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
listVocabularies(args, optionsOrCb, cb) {
|
|
438
|
-
const command = new ListVocabulariesCommand_1.ListVocabulariesCommand(args);
|
|
439
|
-
if (typeof optionsOrCb === "function") {
|
|
440
|
-
this.send(command, optionsOrCb);
|
|
441
|
-
}
|
|
442
|
-
else if (typeof cb === "function") {
|
|
443
|
-
if (typeof optionsOrCb !== "object")
|
|
444
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
445
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
return this.send(command, optionsOrCb);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
listVocabularyFilters(args, optionsOrCb, cb) {
|
|
452
|
-
const command = new ListVocabularyFiltersCommand_1.ListVocabularyFiltersCommand(args);
|
|
453
|
-
if (typeof optionsOrCb === "function") {
|
|
454
|
-
this.send(command, optionsOrCb);
|
|
455
|
-
}
|
|
456
|
-
else if (typeof cb === "function") {
|
|
457
|
-
if (typeof optionsOrCb !== "object")
|
|
458
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
459
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
460
|
-
}
|
|
461
|
-
else {
|
|
462
|
-
return this.send(command, optionsOrCb);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
startCallAnalyticsJob(args, optionsOrCb, cb) {
|
|
466
|
-
const command = new StartCallAnalyticsJobCommand_1.StartCallAnalyticsJobCommand(args);
|
|
467
|
-
if (typeof optionsOrCb === "function") {
|
|
468
|
-
this.send(command, optionsOrCb);
|
|
469
|
-
}
|
|
470
|
-
else if (typeof cb === "function") {
|
|
471
|
-
if (typeof optionsOrCb !== "object")
|
|
472
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
473
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
474
|
-
}
|
|
475
|
-
else {
|
|
476
|
-
return this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
startMedicalTranscriptionJob(args, optionsOrCb, cb) {
|
|
480
|
-
const command = new StartMedicalTranscriptionJobCommand_1.StartMedicalTranscriptionJobCommand(args);
|
|
481
|
-
if (typeof optionsOrCb === "function") {
|
|
482
|
-
this.send(command, optionsOrCb);
|
|
483
|
-
}
|
|
484
|
-
else if (typeof cb === "function") {
|
|
485
|
-
if (typeof optionsOrCb !== "object")
|
|
486
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
487
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
488
|
-
}
|
|
489
|
-
else {
|
|
490
|
-
return this.send(command, optionsOrCb);
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
startTranscriptionJob(args, optionsOrCb, cb) {
|
|
494
|
-
const command = new StartTranscriptionJobCommand_1.StartTranscriptionJobCommand(args);
|
|
495
|
-
if (typeof optionsOrCb === "function") {
|
|
496
|
-
this.send(command, optionsOrCb);
|
|
497
|
-
}
|
|
498
|
-
else if (typeof cb === "function") {
|
|
499
|
-
if (typeof optionsOrCb !== "object")
|
|
500
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
501
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
502
|
-
}
|
|
503
|
-
else {
|
|
504
|
-
return this.send(command, optionsOrCb);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
tagResource(args, optionsOrCb, cb) {
|
|
508
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
509
|
-
if (typeof optionsOrCb === "function") {
|
|
510
|
-
this.send(command, optionsOrCb);
|
|
511
|
-
}
|
|
512
|
-
else if (typeof cb === "function") {
|
|
513
|
-
if (typeof optionsOrCb !== "object")
|
|
514
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
515
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
516
|
-
}
|
|
517
|
-
else {
|
|
518
|
-
return this.send(command, optionsOrCb);
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
untagResource(args, optionsOrCb, cb) {
|
|
522
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
523
|
-
if (typeof optionsOrCb === "function") {
|
|
524
|
-
this.send(command, optionsOrCb);
|
|
525
|
-
}
|
|
526
|
-
else if (typeof cb === "function") {
|
|
527
|
-
if (typeof optionsOrCb !== "object")
|
|
528
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
529
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
530
|
-
}
|
|
531
|
-
else {
|
|
532
|
-
return this.send(command, optionsOrCb);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
updateCallAnalyticsCategory(args, optionsOrCb, cb) {
|
|
536
|
-
const command = new UpdateCallAnalyticsCategoryCommand_1.UpdateCallAnalyticsCategoryCommand(args);
|
|
537
|
-
if (typeof optionsOrCb === "function") {
|
|
538
|
-
this.send(command, optionsOrCb);
|
|
539
|
-
}
|
|
540
|
-
else if (typeof cb === "function") {
|
|
541
|
-
if (typeof optionsOrCb !== "object")
|
|
542
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
543
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
544
|
-
}
|
|
545
|
-
else {
|
|
546
|
-
return this.send(command, optionsOrCb);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
updateMedicalVocabulary(args, optionsOrCb, cb) {
|
|
550
|
-
const command = new UpdateMedicalVocabularyCommand_1.UpdateMedicalVocabularyCommand(args);
|
|
551
|
-
if (typeof optionsOrCb === "function") {
|
|
552
|
-
this.send(command, optionsOrCb);
|
|
553
|
-
}
|
|
554
|
-
else if (typeof cb === "function") {
|
|
555
|
-
if (typeof optionsOrCb !== "object")
|
|
556
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
557
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
558
|
-
}
|
|
559
|
-
else {
|
|
560
|
-
return this.send(command, optionsOrCb);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
updateVocabulary(args, optionsOrCb, cb) {
|
|
564
|
-
const command = new UpdateVocabularyCommand_1.UpdateVocabularyCommand(args);
|
|
565
|
-
if (typeof optionsOrCb === "function") {
|
|
566
|
-
this.send(command, optionsOrCb);
|
|
567
|
-
}
|
|
568
|
-
else if (typeof cb === "function") {
|
|
569
|
-
if (typeof optionsOrCb !== "object")
|
|
570
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
571
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
572
|
-
}
|
|
573
|
-
else {
|
|
574
|
-
return this.send(command, optionsOrCb);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
updateVocabularyFilter(args, optionsOrCb, cb) {
|
|
578
|
-
const command = new UpdateVocabularyFilterCommand_1.UpdateVocabularyFilterCommand(args);
|
|
579
|
-
if (typeof optionsOrCb === "function") {
|
|
580
|
-
this.send(command, optionsOrCb);
|
|
581
|
-
}
|
|
582
|
-
else if (typeof cb === "function") {
|
|
583
|
-
if (typeof optionsOrCb !== "object")
|
|
584
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
585
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
586
|
-
}
|
|
587
|
-
else {
|
|
588
|
-
return this.send(command, optionsOrCb);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
87
|
}
|
|
592
88
|
exports.Transcribe = Transcribe;
|
|
89
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Transcribe);
|