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