@aws-sdk/client-transcribe 3.1068.0 → 3.1070.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +234 -254
- package/dist-cjs/models/TranscribeServiceException.js +4 -8
- package/dist-cjs/models/errors.js +11 -19
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +363 -239
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultTranscribeHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { CreateCallAnalyticsCategory$, CreateLanguageModel$, CreateMedicalVocabulary$, CreateVocabulary$, CreateVocabularyFilter$, DeleteCallAnalyticsCategory$, DeleteCallAnalyticsJob$, DeleteLanguageModel$, DeleteMedicalScribeJob$, DeleteMedicalTranscriptionJob$, DeleteMedicalVocabulary$, DeleteTranscriptionJob$, DeleteVocabulary$, DeleteVocabularyFilter$, DescribeLanguageModel$, GetCallAnalyticsCategory$, GetCallAnalyticsJob$, GetMedicalScribeJob$, GetMedicalTranscriptionJob$, GetMedicalVocabulary$, GetTranscriptionJob$, GetVocabulary$, GetVocabularyFilter$, ListCallAnalyticsCategories$, ListCallAnalyticsJobs$, ListLanguageModels$, ListMedicalScribeJobs$, ListMedicalTranscriptionJobs$, ListMedicalVocabularies$, ListTagsForResource$, ListTranscriptionJobs$, ListVocabularies$, ListVocabularyFilters$, StartCallAnalyticsJob$, StartMedicalScribeJob$, StartMedicalTranscriptionJob$, StartTranscriptionJob$, TagResource$, UntagResource$, UpdateCallAnalyticsCategory$, UpdateMedicalVocabulary$, UpdateVocabulary$, UpdateVocabularyFilter$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { TranscribeServiceException } = require("./models/TranscribeServiceException");
|
|
18
|
+
exports.TranscribeServiceException = TranscribeServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,591 +71,591 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class TranscribeClient extends
|
|
79
|
+
class TranscribeClient extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
89
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
93
|
this.config = _config_8;
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
httpAuthSchemeParametersProvider:
|
|
100
|
-
identityProviderConfigProvider: async (config) => new
|
|
94
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: defaultTranscribeHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
101
104
|
"aws.auth#sigv4": config.credentials,
|
|
102
105
|
}),
|
|
103
106
|
}));
|
|
104
|
-
this.middlewareStack.use(
|
|
107
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
105
108
|
}
|
|
106
109
|
destroy() {
|
|
107
110
|
super.destroy();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class CreateCallAnalyticsCategoryCommand extends
|
|
114
|
+
class CreateCallAnalyticsCategoryCommand extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep(commonParams)
|
|
114
117
|
.m(function (Command, cs, config, o) {
|
|
115
|
-
return [
|
|
118
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
119
|
})
|
|
117
120
|
.s("Transcribe", "CreateCallAnalyticsCategory", {})
|
|
118
121
|
.n("TranscribeClient", "CreateCallAnalyticsCategoryCommand")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(CreateCallAnalyticsCategory$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class CreateLanguageModelCommand extends
|
|
126
|
+
class CreateLanguageModelCommand extends Command
|
|
124
127
|
.classBuilder()
|
|
125
128
|
.ep(commonParams)
|
|
126
129
|
.m(function (Command, cs, config, o) {
|
|
127
|
-
return [
|
|
130
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
131
|
})
|
|
129
132
|
.s("Transcribe", "CreateLanguageModel", {})
|
|
130
133
|
.n("TranscribeClient", "CreateLanguageModelCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(CreateLanguageModel$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class CreateMedicalVocabularyCommand extends
|
|
138
|
+
class CreateMedicalVocabularyCommand extends Command
|
|
136
139
|
.classBuilder()
|
|
137
140
|
.ep(commonParams)
|
|
138
141
|
.m(function (Command, cs, config, o) {
|
|
139
|
-
return [
|
|
142
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
143
|
})
|
|
141
144
|
.s("Transcribe", "CreateMedicalVocabulary", {})
|
|
142
145
|
.n("TranscribeClient", "CreateMedicalVocabularyCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(CreateMedicalVocabulary$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class CreateVocabularyCommand extends
|
|
150
|
+
class CreateVocabularyCommand extends Command
|
|
148
151
|
.classBuilder()
|
|
149
152
|
.ep(commonParams)
|
|
150
153
|
.m(function (Command, cs, config, o) {
|
|
151
|
-
return [
|
|
154
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
155
|
})
|
|
153
156
|
.s("Transcribe", "CreateVocabulary", {})
|
|
154
157
|
.n("TranscribeClient", "CreateVocabularyCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(CreateVocabulary$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class CreateVocabularyFilterCommand extends
|
|
162
|
+
class CreateVocabularyFilterCommand extends Command
|
|
160
163
|
.classBuilder()
|
|
161
164
|
.ep(commonParams)
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("Transcribe", "CreateVocabularyFilter", {})
|
|
166
169
|
.n("TranscribeClient", "CreateVocabularyFilterCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(CreateVocabularyFilter$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class DeleteCallAnalyticsCategoryCommand extends
|
|
174
|
+
class DeleteCallAnalyticsCategoryCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep(commonParams)
|
|
174
177
|
.m(function (Command, cs, config, o) {
|
|
175
|
-
return [
|
|
178
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
179
|
})
|
|
177
180
|
.s("Transcribe", "DeleteCallAnalyticsCategory", {})
|
|
178
181
|
.n("TranscribeClient", "DeleteCallAnalyticsCategoryCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(DeleteCallAnalyticsCategory$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class DeleteCallAnalyticsJobCommand extends
|
|
186
|
+
class DeleteCallAnalyticsJobCommand extends Command
|
|
184
187
|
.classBuilder()
|
|
185
188
|
.ep(commonParams)
|
|
186
189
|
.m(function (Command, cs, config, o) {
|
|
187
|
-
return [
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
191
|
})
|
|
189
192
|
.s("Transcribe", "DeleteCallAnalyticsJob", {})
|
|
190
193
|
.n("TranscribeClient", "DeleteCallAnalyticsJobCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(DeleteCallAnalyticsJob$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class DeleteLanguageModelCommand extends
|
|
198
|
+
class DeleteLanguageModelCommand extends Command
|
|
196
199
|
.classBuilder()
|
|
197
200
|
.ep(commonParams)
|
|
198
201
|
.m(function (Command, cs, config, o) {
|
|
199
|
-
return [
|
|
202
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
203
|
})
|
|
201
204
|
.s("Transcribe", "DeleteLanguageModel", {})
|
|
202
205
|
.n("TranscribeClient", "DeleteLanguageModelCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(DeleteLanguageModel$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class DeleteMedicalScribeJobCommand extends
|
|
210
|
+
class DeleteMedicalScribeJobCommand extends Command
|
|
208
211
|
.classBuilder()
|
|
209
212
|
.ep(commonParams)
|
|
210
213
|
.m(function (Command, cs, config, o) {
|
|
211
|
-
return [
|
|
214
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
215
|
})
|
|
213
216
|
.s("Transcribe", "DeleteMedicalScribeJob", {})
|
|
214
217
|
.n("TranscribeClient", "DeleteMedicalScribeJobCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(DeleteMedicalScribeJob$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class DeleteMedicalTranscriptionJobCommand extends
|
|
222
|
+
class DeleteMedicalTranscriptionJobCommand extends Command
|
|
220
223
|
.classBuilder()
|
|
221
224
|
.ep(commonParams)
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("Transcribe", "DeleteMedicalTranscriptionJob", {})
|
|
226
229
|
.n("TranscribeClient", "DeleteMedicalTranscriptionJobCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(DeleteMedicalTranscriptionJob$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class DeleteMedicalVocabularyCommand extends
|
|
234
|
+
class DeleteMedicalVocabularyCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep(commonParams)
|
|
234
237
|
.m(function (Command, cs, config, o) {
|
|
235
|
-
return [
|
|
238
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
239
|
})
|
|
237
240
|
.s("Transcribe", "DeleteMedicalVocabulary", {})
|
|
238
241
|
.n("TranscribeClient", "DeleteMedicalVocabularyCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(DeleteMedicalVocabulary$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class DeleteTranscriptionJobCommand extends
|
|
246
|
+
class DeleteTranscriptionJobCommand extends Command
|
|
244
247
|
.classBuilder()
|
|
245
248
|
.ep(commonParams)
|
|
246
249
|
.m(function (Command, cs, config, o) {
|
|
247
|
-
return [
|
|
250
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
251
|
})
|
|
249
252
|
.s("Transcribe", "DeleteTranscriptionJob", {})
|
|
250
253
|
.n("TranscribeClient", "DeleteTranscriptionJobCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(DeleteTranscriptionJob$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
class DeleteVocabularyCommand extends
|
|
258
|
+
class DeleteVocabularyCommand extends Command
|
|
256
259
|
.classBuilder()
|
|
257
260
|
.ep(commonParams)
|
|
258
261
|
.m(function (Command, cs, config, o) {
|
|
259
|
-
return [
|
|
262
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
260
263
|
})
|
|
261
264
|
.s("Transcribe", "DeleteVocabulary", {})
|
|
262
265
|
.n("TranscribeClient", "DeleteVocabularyCommand")
|
|
263
|
-
.sc(
|
|
266
|
+
.sc(DeleteVocabulary$)
|
|
264
267
|
.build() {
|
|
265
268
|
}
|
|
266
269
|
|
|
267
|
-
class DeleteVocabularyFilterCommand extends
|
|
270
|
+
class DeleteVocabularyFilterCommand extends Command
|
|
268
271
|
.classBuilder()
|
|
269
272
|
.ep(commonParams)
|
|
270
273
|
.m(function (Command, cs, config, o) {
|
|
271
|
-
return [
|
|
274
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
272
275
|
})
|
|
273
276
|
.s("Transcribe", "DeleteVocabularyFilter", {})
|
|
274
277
|
.n("TranscribeClient", "DeleteVocabularyFilterCommand")
|
|
275
|
-
.sc(
|
|
278
|
+
.sc(DeleteVocabularyFilter$)
|
|
276
279
|
.build() {
|
|
277
280
|
}
|
|
278
281
|
|
|
279
|
-
class DescribeLanguageModelCommand extends
|
|
282
|
+
class DescribeLanguageModelCommand extends Command
|
|
280
283
|
.classBuilder()
|
|
281
284
|
.ep(commonParams)
|
|
282
285
|
.m(function (Command, cs, config, o) {
|
|
283
|
-
return [
|
|
286
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
284
287
|
})
|
|
285
288
|
.s("Transcribe", "DescribeLanguageModel", {})
|
|
286
289
|
.n("TranscribeClient", "DescribeLanguageModelCommand")
|
|
287
|
-
.sc(
|
|
290
|
+
.sc(DescribeLanguageModel$)
|
|
288
291
|
.build() {
|
|
289
292
|
}
|
|
290
293
|
|
|
291
|
-
class GetCallAnalyticsCategoryCommand extends
|
|
294
|
+
class GetCallAnalyticsCategoryCommand extends Command
|
|
292
295
|
.classBuilder()
|
|
293
296
|
.ep(commonParams)
|
|
294
297
|
.m(function (Command, cs, config, o) {
|
|
295
|
-
return [
|
|
298
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
296
299
|
})
|
|
297
300
|
.s("Transcribe", "GetCallAnalyticsCategory", {})
|
|
298
301
|
.n("TranscribeClient", "GetCallAnalyticsCategoryCommand")
|
|
299
|
-
.sc(
|
|
302
|
+
.sc(GetCallAnalyticsCategory$)
|
|
300
303
|
.build() {
|
|
301
304
|
}
|
|
302
305
|
|
|
303
|
-
class GetCallAnalyticsJobCommand extends
|
|
306
|
+
class GetCallAnalyticsJobCommand extends Command
|
|
304
307
|
.classBuilder()
|
|
305
308
|
.ep(commonParams)
|
|
306
309
|
.m(function (Command, cs, config, o) {
|
|
307
|
-
return [
|
|
310
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
308
311
|
})
|
|
309
312
|
.s("Transcribe", "GetCallAnalyticsJob", {})
|
|
310
313
|
.n("TranscribeClient", "GetCallAnalyticsJobCommand")
|
|
311
|
-
.sc(
|
|
314
|
+
.sc(GetCallAnalyticsJob$)
|
|
312
315
|
.build() {
|
|
313
316
|
}
|
|
314
317
|
|
|
315
|
-
class GetMedicalScribeJobCommand extends
|
|
318
|
+
class GetMedicalScribeJobCommand extends Command
|
|
316
319
|
.classBuilder()
|
|
317
320
|
.ep(commonParams)
|
|
318
321
|
.m(function (Command, cs, config, o) {
|
|
319
|
-
return [
|
|
322
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
320
323
|
})
|
|
321
324
|
.s("Transcribe", "GetMedicalScribeJob", {})
|
|
322
325
|
.n("TranscribeClient", "GetMedicalScribeJobCommand")
|
|
323
|
-
.sc(
|
|
326
|
+
.sc(GetMedicalScribeJob$)
|
|
324
327
|
.build() {
|
|
325
328
|
}
|
|
326
329
|
|
|
327
|
-
class GetMedicalTranscriptionJobCommand extends
|
|
330
|
+
class GetMedicalTranscriptionJobCommand extends Command
|
|
328
331
|
.classBuilder()
|
|
329
332
|
.ep(commonParams)
|
|
330
333
|
.m(function (Command, cs, config, o) {
|
|
331
|
-
return [
|
|
334
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
332
335
|
})
|
|
333
336
|
.s("Transcribe", "GetMedicalTranscriptionJob", {})
|
|
334
337
|
.n("TranscribeClient", "GetMedicalTranscriptionJobCommand")
|
|
335
|
-
.sc(
|
|
338
|
+
.sc(GetMedicalTranscriptionJob$)
|
|
336
339
|
.build() {
|
|
337
340
|
}
|
|
338
341
|
|
|
339
|
-
class GetMedicalVocabularyCommand extends
|
|
342
|
+
class GetMedicalVocabularyCommand extends Command
|
|
340
343
|
.classBuilder()
|
|
341
344
|
.ep(commonParams)
|
|
342
345
|
.m(function (Command, cs, config, o) {
|
|
343
|
-
return [
|
|
346
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
344
347
|
})
|
|
345
348
|
.s("Transcribe", "GetMedicalVocabulary", {})
|
|
346
349
|
.n("TranscribeClient", "GetMedicalVocabularyCommand")
|
|
347
|
-
.sc(
|
|
350
|
+
.sc(GetMedicalVocabulary$)
|
|
348
351
|
.build() {
|
|
349
352
|
}
|
|
350
353
|
|
|
351
|
-
class GetTranscriptionJobCommand extends
|
|
354
|
+
class GetTranscriptionJobCommand extends Command
|
|
352
355
|
.classBuilder()
|
|
353
356
|
.ep(commonParams)
|
|
354
357
|
.m(function (Command, cs, config, o) {
|
|
355
|
-
return [
|
|
358
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
356
359
|
})
|
|
357
360
|
.s("Transcribe", "GetTranscriptionJob", {})
|
|
358
361
|
.n("TranscribeClient", "GetTranscriptionJobCommand")
|
|
359
|
-
.sc(
|
|
362
|
+
.sc(GetTranscriptionJob$)
|
|
360
363
|
.build() {
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
class GetVocabularyCommand extends
|
|
366
|
+
class GetVocabularyCommand extends Command
|
|
364
367
|
.classBuilder()
|
|
365
368
|
.ep(commonParams)
|
|
366
369
|
.m(function (Command, cs, config, o) {
|
|
367
|
-
return [
|
|
370
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
368
371
|
})
|
|
369
372
|
.s("Transcribe", "GetVocabulary", {})
|
|
370
373
|
.n("TranscribeClient", "GetVocabularyCommand")
|
|
371
|
-
.sc(
|
|
374
|
+
.sc(GetVocabulary$)
|
|
372
375
|
.build() {
|
|
373
376
|
}
|
|
374
377
|
|
|
375
|
-
class GetVocabularyFilterCommand extends
|
|
378
|
+
class GetVocabularyFilterCommand extends Command
|
|
376
379
|
.classBuilder()
|
|
377
380
|
.ep(commonParams)
|
|
378
381
|
.m(function (Command, cs, config, o) {
|
|
379
|
-
return [
|
|
382
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
380
383
|
})
|
|
381
384
|
.s("Transcribe", "GetVocabularyFilter", {})
|
|
382
385
|
.n("TranscribeClient", "GetVocabularyFilterCommand")
|
|
383
|
-
.sc(
|
|
386
|
+
.sc(GetVocabularyFilter$)
|
|
384
387
|
.build() {
|
|
385
388
|
}
|
|
386
389
|
|
|
387
|
-
class ListCallAnalyticsCategoriesCommand extends
|
|
390
|
+
class ListCallAnalyticsCategoriesCommand extends Command
|
|
388
391
|
.classBuilder()
|
|
389
392
|
.ep(commonParams)
|
|
390
393
|
.m(function (Command, cs, config, o) {
|
|
391
|
-
return [
|
|
394
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
392
395
|
})
|
|
393
396
|
.s("Transcribe", "ListCallAnalyticsCategories", {})
|
|
394
397
|
.n("TranscribeClient", "ListCallAnalyticsCategoriesCommand")
|
|
395
|
-
.sc(
|
|
398
|
+
.sc(ListCallAnalyticsCategories$)
|
|
396
399
|
.build() {
|
|
397
400
|
}
|
|
398
401
|
|
|
399
|
-
class ListCallAnalyticsJobsCommand extends
|
|
402
|
+
class ListCallAnalyticsJobsCommand extends Command
|
|
400
403
|
.classBuilder()
|
|
401
404
|
.ep(commonParams)
|
|
402
405
|
.m(function (Command, cs, config, o) {
|
|
403
|
-
return [
|
|
406
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
404
407
|
})
|
|
405
408
|
.s("Transcribe", "ListCallAnalyticsJobs", {})
|
|
406
409
|
.n("TranscribeClient", "ListCallAnalyticsJobsCommand")
|
|
407
|
-
.sc(
|
|
410
|
+
.sc(ListCallAnalyticsJobs$)
|
|
408
411
|
.build() {
|
|
409
412
|
}
|
|
410
413
|
|
|
411
|
-
class ListLanguageModelsCommand extends
|
|
414
|
+
class ListLanguageModelsCommand extends Command
|
|
412
415
|
.classBuilder()
|
|
413
416
|
.ep(commonParams)
|
|
414
417
|
.m(function (Command, cs, config, o) {
|
|
415
|
-
return [
|
|
418
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
416
419
|
})
|
|
417
420
|
.s("Transcribe", "ListLanguageModels", {})
|
|
418
421
|
.n("TranscribeClient", "ListLanguageModelsCommand")
|
|
419
|
-
.sc(
|
|
422
|
+
.sc(ListLanguageModels$)
|
|
420
423
|
.build() {
|
|
421
424
|
}
|
|
422
425
|
|
|
423
|
-
class ListMedicalScribeJobsCommand extends
|
|
426
|
+
class ListMedicalScribeJobsCommand extends Command
|
|
424
427
|
.classBuilder()
|
|
425
428
|
.ep(commonParams)
|
|
426
429
|
.m(function (Command, cs, config, o) {
|
|
427
|
-
return [
|
|
430
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
428
431
|
})
|
|
429
432
|
.s("Transcribe", "ListMedicalScribeJobs", {})
|
|
430
433
|
.n("TranscribeClient", "ListMedicalScribeJobsCommand")
|
|
431
|
-
.sc(
|
|
434
|
+
.sc(ListMedicalScribeJobs$)
|
|
432
435
|
.build() {
|
|
433
436
|
}
|
|
434
437
|
|
|
435
|
-
class ListMedicalTranscriptionJobsCommand extends
|
|
438
|
+
class ListMedicalTranscriptionJobsCommand extends Command
|
|
436
439
|
.classBuilder()
|
|
437
440
|
.ep(commonParams)
|
|
438
441
|
.m(function (Command, cs, config, o) {
|
|
439
|
-
return [
|
|
442
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
440
443
|
})
|
|
441
444
|
.s("Transcribe", "ListMedicalTranscriptionJobs", {})
|
|
442
445
|
.n("TranscribeClient", "ListMedicalTranscriptionJobsCommand")
|
|
443
|
-
.sc(
|
|
446
|
+
.sc(ListMedicalTranscriptionJobs$)
|
|
444
447
|
.build() {
|
|
445
448
|
}
|
|
446
449
|
|
|
447
|
-
class ListMedicalVocabulariesCommand extends
|
|
450
|
+
class ListMedicalVocabulariesCommand extends Command
|
|
448
451
|
.classBuilder()
|
|
449
452
|
.ep(commonParams)
|
|
450
453
|
.m(function (Command, cs, config, o) {
|
|
451
|
-
return [
|
|
454
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
452
455
|
})
|
|
453
456
|
.s("Transcribe", "ListMedicalVocabularies", {})
|
|
454
457
|
.n("TranscribeClient", "ListMedicalVocabulariesCommand")
|
|
455
|
-
.sc(
|
|
458
|
+
.sc(ListMedicalVocabularies$)
|
|
456
459
|
.build() {
|
|
457
460
|
}
|
|
458
461
|
|
|
459
|
-
class ListTagsForResourceCommand extends
|
|
462
|
+
class ListTagsForResourceCommand extends Command
|
|
460
463
|
.classBuilder()
|
|
461
464
|
.ep(commonParams)
|
|
462
465
|
.m(function (Command, cs, config, o) {
|
|
463
|
-
return [
|
|
466
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
464
467
|
})
|
|
465
468
|
.s("Transcribe", "ListTagsForResource", {})
|
|
466
469
|
.n("TranscribeClient", "ListTagsForResourceCommand")
|
|
467
|
-
.sc(
|
|
470
|
+
.sc(ListTagsForResource$)
|
|
468
471
|
.build() {
|
|
469
472
|
}
|
|
470
473
|
|
|
471
|
-
class ListTranscriptionJobsCommand extends
|
|
474
|
+
class ListTranscriptionJobsCommand extends Command
|
|
472
475
|
.classBuilder()
|
|
473
476
|
.ep(commonParams)
|
|
474
477
|
.m(function (Command, cs, config, o) {
|
|
475
|
-
return [
|
|
478
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
476
479
|
})
|
|
477
480
|
.s("Transcribe", "ListTranscriptionJobs", {})
|
|
478
481
|
.n("TranscribeClient", "ListTranscriptionJobsCommand")
|
|
479
|
-
.sc(
|
|
482
|
+
.sc(ListTranscriptionJobs$)
|
|
480
483
|
.build() {
|
|
481
484
|
}
|
|
482
485
|
|
|
483
|
-
class ListVocabulariesCommand extends
|
|
486
|
+
class ListVocabulariesCommand extends Command
|
|
484
487
|
.classBuilder()
|
|
485
488
|
.ep(commonParams)
|
|
486
489
|
.m(function (Command, cs, config, o) {
|
|
487
|
-
return [
|
|
490
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
488
491
|
})
|
|
489
492
|
.s("Transcribe", "ListVocabularies", {})
|
|
490
493
|
.n("TranscribeClient", "ListVocabulariesCommand")
|
|
491
|
-
.sc(
|
|
494
|
+
.sc(ListVocabularies$)
|
|
492
495
|
.build() {
|
|
493
496
|
}
|
|
494
497
|
|
|
495
|
-
class ListVocabularyFiltersCommand extends
|
|
498
|
+
class ListVocabularyFiltersCommand extends Command
|
|
496
499
|
.classBuilder()
|
|
497
500
|
.ep(commonParams)
|
|
498
501
|
.m(function (Command, cs, config, o) {
|
|
499
|
-
return [
|
|
502
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
500
503
|
})
|
|
501
504
|
.s("Transcribe", "ListVocabularyFilters", {})
|
|
502
505
|
.n("TranscribeClient", "ListVocabularyFiltersCommand")
|
|
503
|
-
.sc(
|
|
506
|
+
.sc(ListVocabularyFilters$)
|
|
504
507
|
.build() {
|
|
505
508
|
}
|
|
506
509
|
|
|
507
|
-
class StartCallAnalyticsJobCommand extends
|
|
510
|
+
class StartCallAnalyticsJobCommand extends Command
|
|
508
511
|
.classBuilder()
|
|
509
512
|
.ep(commonParams)
|
|
510
513
|
.m(function (Command, cs, config, o) {
|
|
511
|
-
return [
|
|
514
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
512
515
|
})
|
|
513
516
|
.s("Transcribe", "StartCallAnalyticsJob", {})
|
|
514
517
|
.n("TranscribeClient", "StartCallAnalyticsJobCommand")
|
|
515
|
-
.sc(
|
|
518
|
+
.sc(StartCallAnalyticsJob$)
|
|
516
519
|
.build() {
|
|
517
520
|
}
|
|
518
521
|
|
|
519
|
-
class StartMedicalScribeJobCommand extends
|
|
522
|
+
class StartMedicalScribeJobCommand extends Command
|
|
520
523
|
.classBuilder()
|
|
521
524
|
.ep(commonParams)
|
|
522
525
|
.m(function (Command, cs, config, o) {
|
|
523
|
-
return [
|
|
526
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
524
527
|
})
|
|
525
528
|
.s("Transcribe", "StartMedicalScribeJob", {})
|
|
526
529
|
.n("TranscribeClient", "StartMedicalScribeJobCommand")
|
|
527
|
-
.sc(
|
|
530
|
+
.sc(StartMedicalScribeJob$)
|
|
528
531
|
.build() {
|
|
529
532
|
}
|
|
530
533
|
|
|
531
|
-
class StartMedicalTranscriptionJobCommand extends
|
|
534
|
+
class StartMedicalTranscriptionJobCommand extends Command
|
|
532
535
|
.classBuilder()
|
|
533
536
|
.ep(commonParams)
|
|
534
537
|
.m(function (Command, cs, config, o) {
|
|
535
|
-
return [
|
|
538
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
536
539
|
})
|
|
537
540
|
.s("Transcribe", "StartMedicalTranscriptionJob", {})
|
|
538
541
|
.n("TranscribeClient", "StartMedicalTranscriptionJobCommand")
|
|
539
|
-
.sc(
|
|
542
|
+
.sc(StartMedicalTranscriptionJob$)
|
|
540
543
|
.build() {
|
|
541
544
|
}
|
|
542
545
|
|
|
543
|
-
class StartTranscriptionJobCommand extends
|
|
546
|
+
class StartTranscriptionJobCommand extends Command
|
|
544
547
|
.classBuilder()
|
|
545
548
|
.ep(commonParams)
|
|
546
549
|
.m(function (Command, cs, config, o) {
|
|
547
|
-
return [
|
|
550
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
548
551
|
})
|
|
549
552
|
.s("Transcribe", "StartTranscriptionJob", {})
|
|
550
553
|
.n("TranscribeClient", "StartTranscriptionJobCommand")
|
|
551
|
-
.sc(
|
|
554
|
+
.sc(StartTranscriptionJob$)
|
|
552
555
|
.build() {
|
|
553
556
|
}
|
|
554
557
|
|
|
555
|
-
class TagResourceCommand extends
|
|
558
|
+
class TagResourceCommand extends Command
|
|
556
559
|
.classBuilder()
|
|
557
560
|
.ep(commonParams)
|
|
558
561
|
.m(function (Command, cs, config, o) {
|
|
559
|
-
return [
|
|
562
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
560
563
|
})
|
|
561
564
|
.s("Transcribe", "TagResource", {})
|
|
562
565
|
.n("TranscribeClient", "TagResourceCommand")
|
|
563
|
-
.sc(
|
|
566
|
+
.sc(TagResource$)
|
|
564
567
|
.build() {
|
|
565
568
|
}
|
|
566
569
|
|
|
567
|
-
class UntagResourceCommand extends
|
|
570
|
+
class UntagResourceCommand extends Command
|
|
568
571
|
.classBuilder()
|
|
569
572
|
.ep(commonParams)
|
|
570
573
|
.m(function (Command, cs, config, o) {
|
|
571
|
-
return [
|
|
574
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
572
575
|
})
|
|
573
576
|
.s("Transcribe", "UntagResource", {})
|
|
574
577
|
.n("TranscribeClient", "UntagResourceCommand")
|
|
575
|
-
.sc(
|
|
578
|
+
.sc(UntagResource$)
|
|
576
579
|
.build() {
|
|
577
580
|
}
|
|
578
581
|
|
|
579
|
-
class UpdateCallAnalyticsCategoryCommand extends
|
|
582
|
+
class UpdateCallAnalyticsCategoryCommand extends Command
|
|
580
583
|
.classBuilder()
|
|
581
584
|
.ep(commonParams)
|
|
582
585
|
.m(function (Command, cs, config, o) {
|
|
583
|
-
return [
|
|
586
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
584
587
|
})
|
|
585
588
|
.s("Transcribe", "UpdateCallAnalyticsCategory", {})
|
|
586
589
|
.n("TranscribeClient", "UpdateCallAnalyticsCategoryCommand")
|
|
587
|
-
.sc(
|
|
590
|
+
.sc(UpdateCallAnalyticsCategory$)
|
|
588
591
|
.build() {
|
|
589
592
|
}
|
|
590
593
|
|
|
591
|
-
class UpdateMedicalVocabularyCommand extends
|
|
594
|
+
class UpdateMedicalVocabularyCommand extends Command
|
|
592
595
|
.classBuilder()
|
|
593
596
|
.ep(commonParams)
|
|
594
597
|
.m(function (Command, cs, config, o) {
|
|
595
|
-
return [
|
|
598
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
596
599
|
})
|
|
597
600
|
.s("Transcribe", "UpdateMedicalVocabulary", {})
|
|
598
601
|
.n("TranscribeClient", "UpdateMedicalVocabularyCommand")
|
|
599
|
-
.sc(
|
|
602
|
+
.sc(UpdateMedicalVocabulary$)
|
|
600
603
|
.build() {
|
|
601
604
|
}
|
|
602
605
|
|
|
603
|
-
class UpdateVocabularyCommand extends
|
|
606
|
+
class UpdateVocabularyCommand extends Command
|
|
604
607
|
.classBuilder()
|
|
605
608
|
.ep(commonParams)
|
|
606
609
|
.m(function (Command, cs, config, o) {
|
|
607
|
-
return [
|
|
610
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
608
611
|
})
|
|
609
612
|
.s("Transcribe", "UpdateVocabulary", {})
|
|
610
613
|
.n("TranscribeClient", "UpdateVocabularyCommand")
|
|
611
|
-
.sc(
|
|
614
|
+
.sc(UpdateVocabulary$)
|
|
612
615
|
.build() {
|
|
613
616
|
}
|
|
614
617
|
|
|
615
|
-
class UpdateVocabularyFilterCommand extends
|
|
618
|
+
class UpdateVocabularyFilterCommand extends Command
|
|
616
619
|
.classBuilder()
|
|
617
620
|
.ep(commonParams)
|
|
618
621
|
.m(function (Command, cs, config, o) {
|
|
619
|
-
return [
|
|
622
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
620
623
|
})
|
|
621
624
|
.s("Transcribe", "UpdateVocabularyFilter", {})
|
|
622
625
|
.n("TranscribeClient", "UpdateVocabularyFilterCommand")
|
|
623
|
-
.sc(
|
|
626
|
+
.sc(UpdateVocabularyFilter$)
|
|
624
627
|
.build() {
|
|
625
628
|
}
|
|
626
629
|
|
|
627
|
-
const paginateListCallAnalyticsCategories =
|
|
630
|
+
const paginateListCallAnalyticsCategories = createPaginator(TranscribeClient, ListCallAnalyticsCategoriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
628
631
|
|
|
629
|
-
const paginateListCallAnalyticsJobs =
|
|
632
|
+
const paginateListCallAnalyticsJobs = createPaginator(TranscribeClient, ListCallAnalyticsJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
630
633
|
|
|
631
|
-
const paginateListLanguageModels =
|
|
634
|
+
const paginateListLanguageModels = createPaginator(TranscribeClient, ListLanguageModelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
632
635
|
|
|
633
|
-
const paginateListMedicalScribeJobs =
|
|
636
|
+
const paginateListMedicalScribeJobs = createPaginator(TranscribeClient, ListMedicalScribeJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
634
637
|
|
|
635
|
-
const paginateListMedicalTranscriptionJobs =
|
|
638
|
+
const paginateListMedicalTranscriptionJobs = createPaginator(TranscribeClient, ListMedicalTranscriptionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
636
639
|
|
|
637
|
-
const paginateListMedicalVocabularies =
|
|
640
|
+
const paginateListMedicalVocabularies = createPaginator(TranscribeClient, ListMedicalVocabulariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
638
641
|
|
|
639
|
-
const paginateListTranscriptionJobs =
|
|
642
|
+
const paginateListTranscriptionJobs = createPaginator(TranscribeClient, ListTranscriptionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
640
643
|
|
|
641
|
-
const paginateListVocabularies =
|
|
644
|
+
const paginateListVocabularies = createPaginator(TranscribeClient, ListVocabulariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
642
645
|
|
|
643
|
-
const paginateListVocabularyFilters =
|
|
646
|
+
const paginateListVocabularyFilters = createPaginator(TranscribeClient, ListVocabularyFiltersCommand, "NextToken", "NextToken", "MaxResults");
|
|
644
647
|
|
|
645
|
-
const checkState$6 = async (client
|
|
648
|
+
const checkState$6 = async (client, input) => {
|
|
646
649
|
let reason;
|
|
647
650
|
try {
|
|
648
|
-
let result = await client
|
|
651
|
+
let result = await client.send(new GetCallAnalyticsJobCommand(input));
|
|
649
652
|
reason = result;
|
|
650
653
|
try {
|
|
651
654
|
const returnComparator = () => {
|
|
652
655
|
return result.CallAnalyticsJob.CallAnalyticsJobStatus;
|
|
653
656
|
};
|
|
654
657
|
if (returnComparator() === "COMPLETED") {
|
|
655
|
-
return { state:
|
|
658
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
656
659
|
}
|
|
657
660
|
}
|
|
658
661
|
catch (e) { }
|
|
@@ -661,7 +664,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
661
664
|
return result.CallAnalyticsJob.CallAnalyticsJobStatus;
|
|
662
665
|
};
|
|
663
666
|
if (returnComparator() === "FAILED") {
|
|
664
|
-
return { state:
|
|
667
|
+
return { state: WaiterState.FAILURE, reason };
|
|
665
668
|
}
|
|
666
669
|
}
|
|
667
670
|
catch (e) { }
|
|
@@ -669,29 +672,29 @@ const checkState$6 = async (client$1, input) => {
|
|
|
669
672
|
catch (exception) {
|
|
670
673
|
reason = exception;
|
|
671
674
|
}
|
|
672
|
-
return { state:
|
|
675
|
+
return { state: WaiterState.RETRY, reason };
|
|
673
676
|
};
|
|
674
677
|
const waitForCallAnalyticsJobCompleted = async (params, input) => {
|
|
675
678
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
676
|
-
return
|
|
679
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
677
680
|
};
|
|
678
681
|
const waitUntilCallAnalyticsJobCompleted = async (params, input) => {
|
|
679
682
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
680
|
-
const result = await
|
|
681
|
-
return
|
|
683
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
684
|
+
return checkExceptions(result);
|
|
682
685
|
};
|
|
683
686
|
|
|
684
|
-
const checkState$5 = async (client
|
|
687
|
+
const checkState$5 = async (client, input) => {
|
|
685
688
|
let reason;
|
|
686
689
|
try {
|
|
687
|
-
let result = await client
|
|
690
|
+
let result = await client.send(new DescribeLanguageModelCommand(input));
|
|
688
691
|
reason = result;
|
|
689
692
|
try {
|
|
690
693
|
const returnComparator = () => {
|
|
691
694
|
return result.LanguageModel.ModelStatus;
|
|
692
695
|
};
|
|
693
696
|
if (returnComparator() === "COMPLETED") {
|
|
694
|
-
return { state:
|
|
697
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
695
698
|
}
|
|
696
699
|
}
|
|
697
700
|
catch (e) { }
|
|
@@ -700,7 +703,7 @@ const checkState$5 = async (client$1, input) => {
|
|
|
700
703
|
return result.LanguageModel.ModelStatus;
|
|
701
704
|
};
|
|
702
705
|
if (returnComparator() === "FAILED") {
|
|
703
|
-
return { state:
|
|
706
|
+
return { state: WaiterState.FAILURE, reason };
|
|
704
707
|
}
|
|
705
708
|
}
|
|
706
709
|
catch (e) { }
|
|
@@ -708,29 +711,29 @@ const checkState$5 = async (client$1, input) => {
|
|
|
708
711
|
catch (exception) {
|
|
709
712
|
reason = exception;
|
|
710
713
|
}
|
|
711
|
-
return { state:
|
|
714
|
+
return { state: WaiterState.RETRY, reason };
|
|
712
715
|
};
|
|
713
716
|
const waitForLanguageModelCompleted = async (params, input) => {
|
|
714
717
|
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
715
|
-
return
|
|
718
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
716
719
|
};
|
|
717
720
|
const waitUntilLanguageModelCompleted = async (params, input) => {
|
|
718
721
|
const serviceDefaults = { minDelay: 120, maxDelay: 120 };
|
|
719
|
-
const result = await
|
|
720
|
-
return
|
|
722
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
723
|
+
return checkExceptions(result);
|
|
721
724
|
};
|
|
722
725
|
|
|
723
|
-
const checkState$4 = async (client
|
|
726
|
+
const checkState$4 = async (client, input) => {
|
|
724
727
|
let reason;
|
|
725
728
|
try {
|
|
726
|
-
let result = await client
|
|
729
|
+
let result = await client.send(new GetMedicalScribeJobCommand(input));
|
|
727
730
|
reason = result;
|
|
728
731
|
try {
|
|
729
732
|
const returnComparator = () => {
|
|
730
733
|
return result.MedicalScribeJob.MedicalScribeJobStatus;
|
|
731
734
|
};
|
|
732
735
|
if (returnComparator() === "COMPLETED") {
|
|
733
|
-
return { state:
|
|
736
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
734
737
|
}
|
|
735
738
|
}
|
|
736
739
|
catch (e) { }
|
|
@@ -739,7 +742,7 @@ const checkState$4 = async (client$1, input) => {
|
|
|
739
742
|
return result.MedicalScribeJob.MedicalScribeJobStatus;
|
|
740
743
|
};
|
|
741
744
|
if (returnComparator() === "FAILED") {
|
|
742
|
-
return { state:
|
|
745
|
+
return { state: WaiterState.FAILURE, reason };
|
|
743
746
|
}
|
|
744
747
|
}
|
|
745
748
|
catch (e) { }
|
|
@@ -747,29 +750,29 @@ const checkState$4 = async (client$1, input) => {
|
|
|
747
750
|
catch (exception) {
|
|
748
751
|
reason = exception;
|
|
749
752
|
}
|
|
750
|
-
return { state:
|
|
753
|
+
return { state: WaiterState.RETRY, reason };
|
|
751
754
|
};
|
|
752
755
|
const waitForMedicalScribeJobCompleted = async (params, input) => {
|
|
753
756
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
754
|
-
return
|
|
757
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
755
758
|
};
|
|
756
759
|
const waitUntilMedicalScribeJobCompleted = async (params, input) => {
|
|
757
760
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
758
|
-
const result = await
|
|
759
|
-
return
|
|
761
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
762
|
+
return checkExceptions(result);
|
|
760
763
|
};
|
|
761
764
|
|
|
762
|
-
const checkState$3 = async (client
|
|
765
|
+
const checkState$3 = async (client, input) => {
|
|
763
766
|
let reason;
|
|
764
767
|
try {
|
|
765
|
-
let result = await client
|
|
768
|
+
let result = await client.send(new GetMedicalTranscriptionJobCommand(input));
|
|
766
769
|
reason = result;
|
|
767
770
|
try {
|
|
768
771
|
const returnComparator = () => {
|
|
769
772
|
return result.MedicalTranscriptionJob.TranscriptionJobStatus;
|
|
770
773
|
};
|
|
771
774
|
if (returnComparator() === "COMPLETED") {
|
|
772
|
-
return { state:
|
|
775
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
773
776
|
}
|
|
774
777
|
}
|
|
775
778
|
catch (e) { }
|
|
@@ -778,7 +781,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
778
781
|
return result.MedicalTranscriptionJob.TranscriptionJobStatus;
|
|
779
782
|
};
|
|
780
783
|
if (returnComparator() === "FAILED") {
|
|
781
|
-
return { state:
|
|
784
|
+
return { state: WaiterState.FAILURE, reason };
|
|
782
785
|
}
|
|
783
786
|
}
|
|
784
787
|
catch (e) { }
|
|
@@ -786,29 +789,29 @@ const checkState$3 = async (client$1, input) => {
|
|
|
786
789
|
catch (exception) {
|
|
787
790
|
reason = exception;
|
|
788
791
|
}
|
|
789
|
-
return { state:
|
|
792
|
+
return { state: WaiterState.RETRY, reason };
|
|
790
793
|
};
|
|
791
794
|
const waitForMedicalTranscriptionJobCompleted = async (params, input) => {
|
|
792
795
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
793
|
-
return
|
|
796
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
794
797
|
};
|
|
795
798
|
const waitUntilMedicalTranscriptionJobCompleted = async (params, input) => {
|
|
796
799
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
797
|
-
const result = await
|
|
798
|
-
return
|
|
800
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
801
|
+
return checkExceptions(result);
|
|
799
802
|
};
|
|
800
803
|
|
|
801
|
-
const checkState$2 = async (client
|
|
804
|
+
const checkState$2 = async (client, input) => {
|
|
802
805
|
let reason;
|
|
803
806
|
try {
|
|
804
|
-
let result = await client
|
|
807
|
+
let result = await client.send(new GetMedicalVocabularyCommand(input));
|
|
805
808
|
reason = result;
|
|
806
809
|
try {
|
|
807
810
|
const returnComparator = () => {
|
|
808
811
|
return result.VocabularyState;
|
|
809
812
|
};
|
|
810
813
|
if (returnComparator() === "READY") {
|
|
811
|
-
return { state:
|
|
814
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
812
815
|
}
|
|
813
816
|
}
|
|
814
817
|
catch (e) { }
|
|
@@ -817,7 +820,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
817
820
|
return result.VocabularyState;
|
|
818
821
|
};
|
|
819
822
|
if (returnComparator() === "FAILED") {
|
|
820
|
-
return { state:
|
|
823
|
+
return { state: WaiterState.FAILURE, reason };
|
|
821
824
|
}
|
|
822
825
|
}
|
|
823
826
|
catch (e) { }
|
|
@@ -825,29 +828,29 @@ const checkState$2 = async (client$1, input) => {
|
|
|
825
828
|
catch (exception) {
|
|
826
829
|
reason = exception;
|
|
827
830
|
}
|
|
828
|
-
return { state:
|
|
831
|
+
return { state: WaiterState.RETRY, reason };
|
|
829
832
|
};
|
|
830
833
|
const waitForMedicalVocabularyReady = async (params, input) => {
|
|
831
834
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
832
|
-
return
|
|
835
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
833
836
|
};
|
|
834
837
|
const waitUntilMedicalVocabularyReady = async (params, input) => {
|
|
835
838
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
836
|
-
const result = await
|
|
837
|
-
return
|
|
839
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
840
|
+
return checkExceptions(result);
|
|
838
841
|
};
|
|
839
842
|
|
|
840
|
-
const checkState$1 = async (client
|
|
843
|
+
const checkState$1 = async (client, input) => {
|
|
841
844
|
let reason;
|
|
842
845
|
try {
|
|
843
|
-
let result = await client
|
|
846
|
+
let result = await client.send(new GetTranscriptionJobCommand(input));
|
|
844
847
|
reason = result;
|
|
845
848
|
try {
|
|
846
849
|
const returnComparator = () => {
|
|
847
850
|
return result.TranscriptionJob.TranscriptionJobStatus;
|
|
848
851
|
};
|
|
849
852
|
if (returnComparator() === "COMPLETED") {
|
|
850
|
-
return { state:
|
|
853
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
851
854
|
}
|
|
852
855
|
}
|
|
853
856
|
catch (e) { }
|
|
@@ -856,7 +859,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
856
859
|
return result.TranscriptionJob.TranscriptionJobStatus;
|
|
857
860
|
};
|
|
858
861
|
if (returnComparator() === "FAILED") {
|
|
859
|
-
return { state:
|
|
862
|
+
return { state: WaiterState.FAILURE, reason };
|
|
860
863
|
}
|
|
861
864
|
}
|
|
862
865
|
catch (e) { }
|
|
@@ -864,29 +867,29 @@ const checkState$1 = async (client$1, input) => {
|
|
|
864
867
|
catch (exception) {
|
|
865
868
|
reason = exception;
|
|
866
869
|
}
|
|
867
|
-
return { state:
|
|
870
|
+
return { state: WaiterState.RETRY, reason };
|
|
868
871
|
};
|
|
869
872
|
const waitForTranscriptionJobCompleted = async (params, input) => {
|
|
870
873
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
871
|
-
return
|
|
874
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
872
875
|
};
|
|
873
876
|
const waitUntilTranscriptionJobCompleted = async (params, input) => {
|
|
874
877
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
875
|
-
const result = await
|
|
876
|
-
return
|
|
878
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
879
|
+
return checkExceptions(result);
|
|
877
880
|
};
|
|
878
881
|
|
|
879
|
-
const checkState = async (client
|
|
882
|
+
const checkState = async (client, input) => {
|
|
880
883
|
let reason;
|
|
881
884
|
try {
|
|
882
|
-
let result = await client
|
|
885
|
+
let result = await client.send(new GetVocabularyCommand(input));
|
|
883
886
|
reason = result;
|
|
884
887
|
try {
|
|
885
888
|
const returnComparator = () => {
|
|
886
889
|
return result.VocabularyState;
|
|
887
890
|
};
|
|
888
891
|
if (returnComparator() === "READY") {
|
|
889
|
-
return { state:
|
|
892
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
890
893
|
}
|
|
891
894
|
}
|
|
892
895
|
catch (e) { }
|
|
@@ -895,7 +898,7 @@ const checkState = async (client$1, input) => {
|
|
|
895
898
|
return result.VocabularyState;
|
|
896
899
|
};
|
|
897
900
|
if (returnComparator() === "FAILED") {
|
|
898
|
-
return { state:
|
|
901
|
+
return { state: WaiterState.FAILURE, reason };
|
|
899
902
|
}
|
|
900
903
|
}
|
|
901
904
|
catch (e) { }
|
|
@@ -903,16 +906,16 @@ const checkState = async (client$1, input) => {
|
|
|
903
906
|
catch (exception) {
|
|
904
907
|
reason = exception;
|
|
905
908
|
}
|
|
906
|
-
return { state:
|
|
909
|
+
return { state: WaiterState.RETRY, reason };
|
|
907
910
|
};
|
|
908
911
|
const waitForVocabularyReady = async (params, input) => {
|
|
909
912
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
910
|
-
return
|
|
913
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
911
914
|
};
|
|
912
915
|
const waitUntilVocabularyReady = async (params, input) => {
|
|
913
916
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
914
|
-
const result = await
|
|
915
|
-
return
|
|
917
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
918
|
+
return checkExceptions(result);
|
|
916
919
|
};
|
|
917
920
|
|
|
918
921
|
const commands = {
|
|
@@ -982,7 +985,7 @@ const waiters = {
|
|
|
982
985
|
};
|
|
983
986
|
class Transcribe extends TranscribeClient {
|
|
984
987
|
}
|
|
985
|
-
|
|
988
|
+
createAggregatedClient(commands, Transcribe, { paginators, waiters });
|
|
986
989
|
|
|
987
990
|
const BaseModelName = {
|
|
988
991
|
NARROW_BAND: "NarrowBand",
|
|
@@ -1247,9 +1250,6 @@ const Pronouns = {
|
|
|
1247
1250
|
THEY_THEM: "THEY_THEM",
|
|
1248
1251
|
};
|
|
1249
1252
|
|
|
1250
|
-
exports.$Command = client.Command;
|
|
1251
|
-
exports.__Client = client.Client;
|
|
1252
|
-
exports.TranscribeServiceException = TranscribeServiceException.TranscribeServiceException;
|
|
1253
1253
|
exports.BaseModelName = BaseModelName;
|
|
1254
1254
|
exports.CLMLanguageCode = CLMLanguageCode;
|
|
1255
1255
|
exports.CallAnalyticsFeature = CallAnalyticsFeature;
|
|
@@ -1347,23 +1347,3 @@ exports.waitUntilMedicalTranscriptionJobCompleted = waitUntilMedicalTranscriptio
|
|
|
1347
1347
|
exports.waitUntilMedicalVocabularyReady = waitUntilMedicalVocabularyReady;
|
|
1348
1348
|
exports.waitUntilTranscriptionJobCompleted = waitUntilTranscriptionJobCompleted;
|
|
1349
1349
|
exports.waitUntilVocabularyReady = waitUntilVocabularyReady;
|
|
1350
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
1351
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1352
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1353
|
-
enumerable: true,
|
|
1354
|
-
value: schemas_0['__proto__']
|
|
1355
|
-
});
|
|
1356
|
-
|
|
1357
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
1358
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
1359
|
-
});
|
|
1360
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
1361
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1362
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1363
|
-
enumerable: true,
|
|
1364
|
-
value: errors['__proto__']
|
|
1365
|
-
});
|
|
1366
|
-
|
|
1367
|
-
Object.keys(errors).forEach(function (k) {
|
|
1368
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
1369
|
-
});
|