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