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