@aws-sdk/client-lex-models-v2 3.1067.0 → 3.1069.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 +470 -490
- package/dist-cjs/models/LexModelsV2ServiceException.js +4 -8
- package/dist-cjs/models/errors.js +15 -25
- 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 +1365 -892
- 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, defaultLexModelsV2HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { BatchCreateCustomVocabularyItem$, BatchDeleteCustomVocabularyItem$, BatchUpdateCustomVocabularyItem$, BuildBotLocale$, CreateBotAlias$, CreateBot$, CreateBotLocale$, CreateBotReplica$, CreateBotVersion$, CreateExport$, CreateIntent$, CreateResourcePolicy$, CreateResourcePolicyStatement$, CreateSlot$, CreateSlotType$, CreateTestSetDiscrepancyReport$, CreateUploadUrl$, DeleteBotAlias$, DeleteBotAnalyzerRecommendation$, DeleteBot$, DeleteBotLocale$, DeleteBotReplica$, DeleteBotVersion$, DeleteCustomVocabulary$, DeleteExport$, DeleteImport$, DeleteIntent$, DeleteResourcePolicy$, DeleteResourcePolicyStatement$, DeleteSlot$, DeleteSlotType$, DeleteTestSet$, DeleteUtterances$, DescribeBotAlias$, DescribeBotAnalyzerRecommendation$, DescribeBot$, DescribeBotLocale$, DescribeBotRecommendation$, DescribeBotReplica$, DescribeBotResourceGeneration$, DescribeBotVersion$, DescribeCustomVocabularyMetadata$, DescribeExport$, DescribeImport$, DescribeIntent$, DescribeResourcePolicy$, DescribeSlot$, DescribeSlotType$, DescribeTestExecution$, DescribeTestSet$, DescribeTestSetDiscrepancyReport$, DescribeTestSetGeneration$, GenerateBotElement$, GetTestExecutionArtifactsUrl$, ListAggregatedUtterances$, ListBotAliases$, ListBotAliasReplicas$, ListBotAnalyzerHistory$, ListBotLocales$, ListBotRecommendations$, ListBotReplicas$, ListBotResourceGenerations$, ListBots$, ListBotVersionReplicas$, ListBotVersions$, ListBuiltInIntents$, ListBuiltInSlotTypes$, ListCustomVocabularyItems$, ListExports$, ListImports$, ListIntentMetrics$, ListIntentPaths$, ListIntents$, ListIntentStageMetrics$, ListRecommendedIntents$, ListSessionAnalyticsData$, ListSessionMetrics$, ListSlots$, ListSlotTypes$, ListTagsForResource$, ListTestExecutionResultItems$, ListTestExecutions$, ListTestSetRecords$, ListTestSets$, ListUtteranceAnalyticsData$, ListUtteranceMetrics$, SearchAssociatedTranscripts$, StartBotAnalyzer$, StartBotRecommendation$, StartBotResourceGeneration$, StartImport$, StartTestExecution$, StartTestSetGeneration$, StopBotAnalyzer$, StopBotRecommendation$, TagResource$, UntagResource$, UpdateBotAlias$, UpdateBot$, UpdateBotLocale$, UpdateBotRecommendation$, UpdateExport$, UpdateIntent$, UpdateResourcePolicy$, UpdateSlot$, UpdateSlotType$, UpdateTestSet$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { LexModelsV2ServiceException } = require("./models/LexModelsV2ServiceException");
|
|
18
|
+
exports.LexModelsV2ServiceException = LexModelsV2ServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,1401 +71,1401 @@ 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 LexModelsV2Client extends
|
|
79
|
+
class LexModelsV2Client 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: defaultLexModelsV2HttpAuthSchemeParametersProvider,
|
|
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 BatchCreateCustomVocabularyItemCommand extends
|
|
114
|
+
class BatchCreateCustomVocabularyItemCommand 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("LexModelBuildingServiceV2", "BatchCreateCustomVocabularyItem", {})
|
|
118
121
|
.n("LexModelsV2Client", "BatchCreateCustomVocabularyItemCommand")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(BatchCreateCustomVocabularyItem$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class BatchDeleteCustomVocabularyItemCommand extends
|
|
126
|
+
class BatchDeleteCustomVocabularyItemCommand 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("LexModelBuildingServiceV2", "BatchDeleteCustomVocabularyItem", {})
|
|
130
133
|
.n("LexModelsV2Client", "BatchDeleteCustomVocabularyItemCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(BatchDeleteCustomVocabularyItem$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class BatchUpdateCustomVocabularyItemCommand extends
|
|
138
|
+
class BatchUpdateCustomVocabularyItemCommand 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("LexModelBuildingServiceV2", "BatchUpdateCustomVocabularyItem", {})
|
|
142
145
|
.n("LexModelsV2Client", "BatchUpdateCustomVocabularyItemCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(BatchUpdateCustomVocabularyItem$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class BuildBotLocaleCommand extends
|
|
150
|
+
class BuildBotLocaleCommand 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("LexModelBuildingServiceV2", "BuildBotLocale", {})
|
|
154
157
|
.n("LexModelsV2Client", "BuildBotLocaleCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(BuildBotLocale$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class CreateBotAliasCommand extends
|
|
162
|
+
class CreateBotAliasCommand 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("LexModelBuildingServiceV2", "CreateBotAlias", {})
|
|
166
169
|
.n("LexModelsV2Client", "CreateBotAliasCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(CreateBotAlias$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class CreateBotCommand extends
|
|
174
|
+
class CreateBotCommand 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("LexModelBuildingServiceV2", "CreateBot", {})
|
|
178
181
|
.n("LexModelsV2Client", "CreateBotCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(CreateBot$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class CreateBotLocaleCommand extends
|
|
186
|
+
class CreateBotLocaleCommand 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("LexModelBuildingServiceV2", "CreateBotLocale", {})
|
|
190
193
|
.n("LexModelsV2Client", "CreateBotLocaleCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(CreateBotLocale$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class CreateBotReplicaCommand extends
|
|
198
|
+
class CreateBotReplicaCommand 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("LexModelBuildingServiceV2", "CreateBotReplica", {})
|
|
202
205
|
.n("LexModelsV2Client", "CreateBotReplicaCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(CreateBotReplica$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class CreateBotVersionCommand extends
|
|
210
|
+
class CreateBotVersionCommand 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("LexModelBuildingServiceV2", "CreateBotVersion", {})
|
|
214
217
|
.n("LexModelsV2Client", "CreateBotVersionCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(CreateBotVersion$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class CreateExportCommand extends
|
|
222
|
+
class CreateExportCommand 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("LexModelBuildingServiceV2", "CreateExport", {})
|
|
226
229
|
.n("LexModelsV2Client", "CreateExportCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(CreateExport$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class CreateIntentCommand extends
|
|
234
|
+
class CreateIntentCommand 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("LexModelBuildingServiceV2", "CreateIntent", {})
|
|
238
241
|
.n("LexModelsV2Client", "CreateIntentCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(CreateIntent$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class CreateResourcePolicyCommand extends
|
|
246
|
+
class CreateResourcePolicyCommand 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("LexModelBuildingServiceV2", "CreateResourcePolicy", {})
|
|
250
253
|
.n("LexModelsV2Client", "CreateResourcePolicyCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(CreateResourcePolicy$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
class CreateResourcePolicyStatementCommand extends
|
|
258
|
+
class CreateResourcePolicyStatementCommand 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("LexModelBuildingServiceV2", "CreateResourcePolicyStatement", {})
|
|
262
265
|
.n("LexModelsV2Client", "CreateResourcePolicyStatementCommand")
|
|
263
|
-
.sc(
|
|
266
|
+
.sc(CreateResourcePolicyStatement$)
|
|
264
267
|
.build() {
|
|
265
268
|
}
|
|
266
269
|
|
|
267
|
-
class CreateSlotCommand extends
|
|
270
|
+
class CreateSlotCommand 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("LexModelBuildingServiceV2", "CreateSlot", {})
|
|
274
277
|
.n("LexModelsV2Client", "CreateSlotCommand")
|
|
275
|
-
.sc(
|
|
278
|
+
.sc(CreateSlot$)
|
|
276
279
|
.build() {
|
|
277
280
|
}
|
|
278
281
|
|
|
279
|
-
class CreateSlotTypeCommand extends
|
|
282
|
+
class CreateSlotTypeCommand 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("LexModelBuildingServiceV2", "CreateSlotType", {})
|
|
286
289
|
.n("LexModelsV2Client", "CreateSlotTypeCommand")
|
|
287
|
-
.sc(
|
|
290
|
+
.sc(CreateSlotType$)
|
|
288
291
|
.build() {
|
|
289
292
|
}
|
|
290
293
|
|
|
291
|
-
class CreateTestSetDiscrepancyReportCommand extends
|
|
294
|
+
class CreateTestSetDiscrepancyReportCommand 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("LexModelBuildingServiceV2", "CreateTestSetDiscrepancyReport", {})
|
|
298
301
|
.n("LexModelsV2Client", "CreateTestSetDiscrepancyReportCommand")
|
|
299
|
-
.sc(
|
|
302
|
+
.sc(CreateTestSetDiscrepancyReport$)
|
|
300
303
|
.build() {
|
|
301
304
|
}
|
|
302
305
|
|
|
303
|
-
class CreateUploadUrlCommand extends
|
|
306
|
+
class CreateUploadUrlCommand 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("LexModelBuildingServiceV2", "CreateUploadUrl", {})
|
|
310
313
|
.n("LexModelsV2Client", "CreateUploadUrlCommand")
|
|
311
|
-
.sc(
|
|
314
|
+
.sc(CreateUploadUrl$)
|
|
312
315
|
.build() {
|
|
313
316
|
}
|
|
314
317
|
|
|
315
|
-
class DeleteBotAliasCommand extends
|
|
318
|
+
class DeleteBotAliasCommand 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("LexModelBuildingServiceV2", "DeleteBotAlias", {})
|
|
322
325
|
.n("LexModelsV2Client", "DeleteBotAliasCommand")
|
|
323
|
-
.sc(
|
|
326
|
+
.sc(DeleteBotAlias$)
|
|
324
327
|
.build() {
|
|
325
328
|
}
|
|
326
329
|
|
|
327
|
-
class DeleteBotAnalyzerRecommendationCommand extends
|
|
330
|
+
class DeleteBotAnalyzerRecommendationCommand 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("LexModelBuildingServiceV2", "DeleteBotAnalyzerRecommendation", {})
|
|
334
337
|
.n("LexModelsV2Client", "DeleteBotAnalyzerRecommendationCommand")
|
|
335
|
-
.sc(
|
|
338
|
+
.sc(DeleteBotAnalyzerRecommendation$)
|
|
336
339
|
.build() {
|
|
337
340
|
}
|
|
338
341
|
|
|
339
|
-
class DeleteBotCommand extends
|
|
342
|
+
class DeleteBotCommand 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("LexModelBuildingServiceV2", "DeleteBot", {})
|
|
346
349
|
.n("LexModelsV2Client", "DeleteBotCommand")
|
|
347
|
-
.sc(
|
|
350
|
+
.sc(DeleteBot$)
|
|
348
351
|
.build() {
|
|
349
352
|
}
|
|
350
353
|
|
|
351
|
-
class DeleteBotLocaleCommand extends
|
|
354
|
+
class DeleteBotLocaleCommand 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("LexModelBuildingServiceV2", "DeleteBotLocale", {})
|
|
358
361
|
.n("LexModelsV2Client", "DeleteBotLocaleCommand")
|
|
359
|
-
.sc(
|
|
362
|
+
.sc(DeleteBotLocale$)
|
|
360
363
|
.build() {
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
class DeleteBotReplicaCommand extends
|
|
366
|
+
class DeleteBotReplicaCommand 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("LexModelBuildingServiceV2", "DeleteBotReplica", {})
|
|
370
373
|
.n("LexModelsV2Client", "DeleteBotReplicaCommand")
|
|
371
|
-
.sc(
|
|
374
|
+
.sc(DeleteBotReplica$)
|
|
372
375
|
.build() {
|
|
373
376
|
}
|
|
374
377
|
|
|
375
|
-
class DeleteBotVersionCommand extends
|
|
378
|
+
class DeleteBotVersionCommand 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("LexModelBuildingServiceV2", "DeleteBotVersion", {})
|
|
382
385
|
.n("LexModelsV2Client", "DeleteBotVersionCommand")
|
|
383
|
-
.sc(
|
|
386
|
+
.sc(DeleteBotVersion$)
|
|
384
387
|
.build() {
|
|
385
388
|
}
|
|
386
389
|
|
|
387
|
-
class DeleteCustomVocabularyCommand extends
|
|
390
|
+
class DeleteCustomVocabularyCommand 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("LexModelBuildingServiceV2", "DeleteCustomVocabulary", {})
|
|
394
397
|
.n("LexModelsV2Client", "DeleteCustomVocabularyCommand")
|
|
395
|
-
.sc(
|
|
398
|
+
.sc(DeleteCustomVocabulary$)
|
|
396
399
|
.build() {
|
|
397
400
|
}
|
|
398
401
|
|
|
399
|
-
class DeleteExportCommand extends
|
|
402
|
+
class DeleteExportCommand 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("LexModelBuildingServiceV2", "DeleteExport", {})
|
|
406
409
|
.n("LexModelsV2Client", "DeleteExportCommand")
|
|
407
|
-
.sc(
|
|
410
|
+
.sc(DeleteExport$)
|
|
408
411
|
.build() {
|
|
409
412
|
}
|
|
410
413
|
|
|
411
|
-
class DeleteImportCommand extends
|
|
414
|
+
class DeleteImportCommand 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("LexModelBuildingServiceV2", "DeleteImport", {})
|
|
418
421
|
.n("LexModelsV2Client", "DeleteImportCommand")
|
|
419
|
-
.sc(
|
|
422
|
+
.sc(DeleteImport$)
|
|
420
423
|
.build() {
|
|
421
424
|
}
|
|
422
425
|
|
|
423
|
-
class DeleteIntentCommand extends
|
|
426
|
+
class DeleteIntentCommand 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("LexModelBuildingServiceV2", "DeleteIntent", {})
|
|
430
433
|
.n("LexModelsV2Client", "DeleteIntentCommand")
|
|
431
|
-
.sc(
|
|
434
|
+
.sc(DeleteIntent$)
|
|
432
435
|
.build() {
|
|
433
436
|
}
|
|
434
437
|
|
|
435
|
-
class DeleteResourcePolicyCommand extends
|
|
438
|
+
class DeleteResourcePolicyCommand 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("LexModelBuildingServiceV2", "DeleteResourcePolicy", {})
|
|
442
445
|
.n("LexModelsV2Client", "DeleteResourcePolicyCommand")
|
|
443
|
-
.sc(
|
|
446
|
+
.sc(DeleteResourcePolicy$)
|
|
444
447
|
.build() {
|
|
445
448
|
}
|
|
446
449
|
|
|
447
|
-
class DeleteResourcePolicyStatementCommand extends
|
|
450
|
+
class DeleteResourcePolicyStatementCommand 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("LexModelBuildingServiceV2", "DeleteResourcePolicyStatement", {})
|
|
454
457
|
.n("LexModelsV2Client", "DeleteResourcePolicyStatementCommand")
|
|
455
|
-
.sc(
|
|
458
|
+
.sc(DeleteResourcePolicyStatement$)
|
|
456
459
|
.build() {
|
|
457
460
|
}
|
|
458
461
|
|
|
459
|
-
class DeleteSlotCommand extends
|
|
462
|
+
class DeleteSlotCommand 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("LexModelBuildingServiceV2", "DeleteSlot", {})
|
|
466
469
|
.n("LexModelsV2Client", "DeleteSlotCommand")
|
|
467
|
-
.sc(
|
|
470
|
+
.sc(DeleteSlot$)
|
|
468
471
|
.build() {
|
|
469
472
|
}
|
|
470
473
|
|
|
471
|
-
class DeleteSlotTypeCommand extends
|
|
474
|
+
class DeleteSlotTypeCommand 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("LexModelBuildingServiceV2", "DeleteSlotType", {})
|
|
478
481
|
.n("LexModelsV2Client", "DeleteSlotTypeCommand")
|
|
479
|
-
.sc(
|
|
482
|
+
.sc(DeleteSlotType$)
|
|
480
483
|
.build() {
|
|
481
484
|
}
|
|
482
485
|
|
|
483
|
-
class DeleteTestSetCommand extends
|
|
486
|
+
class DeleteTestSetCommand 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("LexModelBuildingServiceV2", "DeleteTestSet", {})
|
|
490
493
|
.n("LexModelsV2Client", "DeleteTestSetCommand")
|
|
491
|
-
.sc(
|
|
494
|
+
.sc(DeleteTestSet$)
|
|
492
495
|
.build() {
|
|
493
496
|
}
|
|
494
497
|
|
|
495
|
-
class DeleteUtterancesCommand extends
|
|
498
|
+
class DeleteUtterancesCommand 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("LexModelBuildingServiceV2", "DeleteUtterances", {})
|
|
502
505
|
.n("LexModelsV2Client", "DeleteUtterancesCommand")
|
|
503
|
-
.sc(
|
|
506
|
+
.sc(DeleteUtterances$)
|
|
504
507
|
.build() {
|
|
505
508
|
}
|
|
506
509
|
|
|
507
|
-
class DescribeBotAliasCommand extends
|
|
510
|
+
class DescribeBotAliasCommand 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("LexModelBuildingServiceV2", "DescribeBotAlias", {})
|
|
514
517
|
.n("LexModelsV2Client", "DescribeBotAliasCommand")
|
|
515
|
-
.sc(
|
|
518
|
+
.sc(DescribeBotAlias$)
|
|
516
519
|
.build() {
|
|
517
520
|
}
|
|
518
521
|
|
|
519
|
-
class DescribeBotAnalyzerRecommendationCommand extends
|
|
522
|
+
class DescribeBotAnalyzerRecommendationCommand 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("LexModelBuildingServiceV2", "DescribeBotAnalyzerRecommendation", {})
|
|
526
529
|
.n("LexModelsV2Client", "DescribeBotAnalyzerRecommendationCommand")
|
|
527
|
-
.sc(
|
|
530
|
+
.sc(DescribeBotAnalyzerRecommendation$)
|
|
528
531
|
.build() {
|
|
529
532
|
}
|
|
530
533
|
|
|
531
|
-
class DescribeBotCommand extends
|
|
534
|
+
class DescribeBotCommand 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("LexModelBuildingServiceV2", "DescribeBot", {})
|
|
538
541
|
.n("LexModelsV2Client", "DescribeBotCommand")
|
|
539
|
-
.sc(
|
|
542
|
+
.sc(DescribeBot$)
|
|
540
543
|
.build() {
|
|
541
544
|
}
|
|
542
545
|
|
|
543
|
-
class DescribeBotLocaleCommand extends
|
|
546
|
+
class DescribeBotLocaleCommand 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("LexModelBuildingServiceV2", "DescribeBotLocale", {})
|
|
550
553
|
.n("LexModelsV2Client", "DescribeBotLocaleCommand")
|
|
551
|
-
.sc(
|
|
554
|
+
.sc(DescribeBotLocale$)
|
|
552
555
|
.build() {
|
|
553
556
|
}
|
|
554
557
|
|
|
555
|
-
class DescribeBotRecommendationCommand extends
|
|
558
|
+
class DescribeBotRecommendationCommand 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("LexModelBuildingServiceV2", "DescribeBotRecommendation", {})
|
|
562
565
|
.n("LexModelsV2Client", "DescribeBotRecommendationCommand")
|
|
563
|
-
.sc(
|
|
566
|
+
.sc(DescribeBotRecommendation$)
|
|
564
567
|
.build() {
|
|
565
568
|
}
|
|
566
569
|
|
|
567
|
-
class DescribeBotReplicaCommand extends
|
|
570
|
+
class DescribeBotReplicaCommand 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("LexModelBuildingServiceV2", "DescribeBotReplica", {})
|
|
574
577
|
.n("LexModelsV2Client", "DescribeBotReplicaCommand")
|
|
575
|
-
.sc(
|
|
578
|
+
.sc(DescribeBotReplica$)
|
|
576
579
|
.build() {
|
|
577
580
|
}
|
|
578
581
|
|
|
579
|
-
class DescribeBotResourceGenerationCommand extends
|
|
582
|
+
class DescribeBotResourceGenerationCommand 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("LexModelBuildingServiceV2", "DescribeBotResourceGeneration", {})
|
|
586
589
|
.n("LexModelsV2Client", "DescribeBotResourceGenerationCommand")
|
|
587
|
-
.sc(
|
|
590
|
+
.sc(DescribeBotResourceGeneration$)
|
|
588
591
|
.build() {
|
|
589
592
|
}
|
|
590
593
|
|
|
591
|
-
class DescribeBotVersionCommand extends
|
|
594
|
+
class DescribeBotVersionCommand 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("LexModelBuildingServiceV2", "DescribeBotVersion", {})
|
|
598
601
|
.n("LexModelsV2Client", "DescribeBotVersionCommand")
|
|
599
|
-
.sc(
|
|
602
|
+
.sc(DescribeBotVersion$)
|
|
600
603
|
.build() {
|
|
601
604
|
}
|
|
602
605
|
|
|
603
|
-
class DescribeCustomVocabularyMetadataCommand extends
|
|
606
|
+
class DescribeCustomVocabularyMetadataCommand 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("LexModelBuildingServiceV2", "DescribeCustomVocabularyMetadata", {})
|
|
610
613
|
.n("LexModelsV2Client", "DescribeCustomVocabularyMetadataCommand")
|
|
611
|
-
.sc(
|
|
614
|
+
.sc(DescribeCustomVocabularyMetadata$)
|
|
612
615
|
.build() {
|
|
613
616
|
}
|
|
614
617
|
|
|
615
|
-
class DescribeExportCommand extends
|
|
618
|
+
class DescribeExportCommand 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("LexModelBuildingServiceV2", "DescribeExport", {})
|
|
622
625
|
.n("LexModelsV2Client", "DescribeExportCommand")
|
|
623
|
-
.sc(
|
|
626
|
+
.sc(DescribeExport$)
|
|
624
627
|
.build() {
|
|
625
628
|
}
|
|
626
629
|
|
|
627
|
-
class DescribeImportCommand extends
|
|
630
|
+
class DescribeImportCommand extends Command
|
|
628
631
|
.classBuilder()
|
|
629
632
|
.ep(commonParams)
|
|
630
633
|
.m(function (Command, cs, config, o) {
|
|
631
|
-
return [
|
|
634
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
632
635
|
})
|
|
633
636
|
.s("LexModelBuildingServiceV2", "DescribeImport", {})
|
|
634
637
|
.n("LexModelsV2Client", "DescribeImportCommand")
|
|
635
|
-
.sc(
|
|
638
|
+
.sc(DescribeImport$)
|
|
636
639
|
.build() {
|
|
637
640
|
}
|
|
638
641
|
|
|
639
|
-
class DescribeIntentCommand extends
|
|
642
|
+
class DescribeIntentCommand extends Command
|
|
640
643
|
.classBuilder()
|
|
641
644
|
.ep(commonParams)
|
|
642
645
|
.m(function (Command, cs, config, o) {
|
|
643
|
-
return [
|
|
646
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
644
647
|
})
|
|
645
648
|
.s("LexModelBuildingServiceV2", "DescribeIntent", {})
|
|
646
649
|
.n("LexModelsV2Client", "DescribeIntentCommand")
|
|
647
|
-
.sc(
|
|
650
|
+
.sc(DescribeIntent$)
|
|
648
651
|
.build() {
|
|
649
652
|
}
|
|
650
653
|
|
|
651
|
-
class DescribeResourcePolicyCommand extends
|
|
654
|
+
class DescribeResourcePolicyCommand extends Command
|
|
652
655
|
.classBuilder()
|
|
653
656
|
.ep(commonParams)
|
|
654
657
|
.m(function (Command, cs, config, o) {
|
|
655
|
-
return [
|
|
658
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
656
659
|
})
|
|
657
660
|
.s("LexModelBuildingServiceV2", "DescribeResourcePolicy", {})
|
|
658
661
|
.n("LexModelsV2Client", "DescribeResourcePolicyCommand")
|
|
659
|
-
.sc(
|
|
662
|
+
.sc(DescribeResourcePolicy$)
|
|
660
663
|
.build() {
|
|
661
664
|
}
|
|
662
665
|
|
|
663
|
-
class DescribeSlotCommand extends
|
|
666
|
+
class DescribeSlotCommand extends Command
|
|
664
667
|
.classBuilder()
|
|
665
668
|
.ep(commonParams)
|
|
666
669
|
.m(function (Command, cs, config, o) {
|
|
667
|
-
return [
|
|
670
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
668
671
|
})
|
|
669
672
|
.s("LexModelBuildingServiceV2", "DescribeSlot", {})
|
|
670
673
|
.n("LexModelsV2Client", "DescribeSlotCommand")
|
|
671
|
-
.sc(
|
|
674
|
+
.sc(DescribeSlot$)
|
|
672
675
|
.build() {
|
|
673
676
|
}
|
|
674
677
|
|
|
675
|
-
class DescribeSlotTypeCommand extends
|
|
678
|
+
class DescribeSlotTypeCommand extends Command
|
|
676
679
|
.classBuilder()
|
|
677
680
|
.ep(commonParams)
|
|
678
681
|
.m(function (Command, cs, config, o) {
|
|
679
|
-
return [
|
|
682
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
680
683
|
})
|
|
681
684
|
.s("LexModelBuildingServiceV2", "DescribeSlotType", {})
|
|
682
685
|
.n("LexModelsV2Client", "DescribeSlotTypeCommand")
|
|
683
|
-
.sc(
|
|
686
|
+
.sc(DescribeSlotType$)
|
|
684
687
|
.build() {
|
|
685
688
|
}
|
|
686
689
|
|
|
687
|
-
class DescribeTestExecutionCommand extends
|
|
690
|
+
class DescribeTestExecutionCommand extends Command
|
|
688
691
|
.classBuilder()
|
|
689
692
|
.ep(commonParams)
|
|
690
693
|
.m(function (Command, cs, config, o) {
|
|
691
|
-
return [
|
|
694
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
692
695
|
})
|
|
693
696
|
.s("LexModelBuildingServiceV2", "DescribeTestExecution", {})
|
|
694
697
|
.n("LexModelsV2Client", "DescribeTestExecutionCommand")
|
|
695
|
-
.sc(
|
|
698
|
+
.sc(DescribeTestExecution$)
|
|
696
699
|
.build() {
|
|
697
700
|
}
|
|
698
701
|
|
|
699
|
-
class DescribeTestSetCommand extends
|
|
702
|
+
class DescribeTestSetCommand extends Command
|
|
700
703
|
.classBuilder()
|
|
701
704
|
.ep(commonParams)
|
|
702
705
|
.m(function (Command, cs, config, o) {
|
|
703
|
-
return [
|
|
706
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
704
707
|
})
|
|
705
708
|
.s("LexModelBuildingServiceV2", "DescribeTestSet", {})
|
|
706
709
|
.n("LexModelsV2Client", "DescribeTestSetCommand")
|
|
707
|
-
.sc(
|
|
710
|
+
.sc(DescribeTestSet$)
|
|
708
711
|
.build() {
|
|
709
712
|
}
|
|
710
713
|
|
|
711
|
-
class DescribeTestSetDiscrepancyReportCommand extends
|
|
714
|
+
class DescribeTestSetDiscrepancyReportCommand extends Command
|
|
712
715
|
.classBuilder()
|
|
713
716
|
.ep(commonParams)
|
|
714
717
|
.m(function (Command, cs, config, o) {
|
|
715
|
-
return [
|
|
718
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
716
719
|
})
|
|
717
720
|
.s("LexModelBuildingServiceV2", "DescribeTestSetDiscrepancyReport", {})
|
|
718
721
|
.n("LexModelsV2Client", "DescribeTestSetDiscrepancyReportCommand")
|
|
719
|
-
.sc(
|
|
722
|
+
.sc(DescribeTestSetDiscrepancyReport$)
|
|
720
723
|
.build() {
|
|
721
724
|
}
|
|
722
725
|
|
|
723
|
-
class DescribeTestSetGenerationCommand extends
|
|
726
|
+
class DescribeTestSetGenerationCommand extends Command
|
|
724
727
|
.classBuilder()
|
|
725
728
|
.ep(commonParams)
|
|
726
729
|
.m(function (Command, cs, config, o) {
|
|
727
|
-
return [
|
|
730
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
728
731
|
})
|
|
729
732
|
.s("LexModelBuildingServiceV2", "DescribeTestSetGeneration", {})
|
|
730
733
|
.n("LexModelsV2Client", "DescribeTestSetGenerationCommand")
|
|
731
|
-
.sc(
|
|
734
|
+
.sc(DescribeTestSetGeneration$)
|
|
732
735
|
.build() {
|
|
733
736
|
}
|
|
734
737
|
|
|
735
|
-
class GenerateBotElementCommand extends
|
|
738
|
+
class GenerateBotElementCommand extends Command
|
|
736
739
|
.classBuilder()
|
|
737
740
|
.ep(commonParams)
|
|
738
741
|
.m(function (Command, cs, config, o) {
|
|
739
|
-
return [
|
|
742
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
740
743
|
})
|
|
741
744
|
.s("LexModelBuildingServiceV2", "GenerateBotElement", {})
|
|
742
745
|
.n("LexModelsV2Client", "GenerateBotElementCommand")
|
|
743
|
-
.sc(
|
|
746
|
+
.sc(GenerateBotElement$)
|
|
744
747
|
.build() {
|
|
745
748
|
}
|
|
746
749
|
|
|
747
|
-
class GetTestExecutionArtifactsUrlCommand extends
|
|
750
|
+
class GetTestExecutionArtifactsUrlCommand extends Command
|
|
748
751
|
.classBuilder()
|
|
749
752
|
.ep(commonParams)
|
|
750
753
|
.m(function (Command, cs, config, o) {
|
|
751
|
-
return [
|
|
754
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
752
755
|
})
|
|
753
756
|
.s("LexModelBuildingServiceV2", "GetTestExecutionArtifactsUrl", {})
|
|
754
757
|
.n("LexModelsV2Client", "GetTestExecutionArtifactsUrlCommand")
|
|
755
|
-
.sc(
|
|
758
|
+
.sc(GetTestExecutionArtifactsUrl$)
|
|
756
759
|
.build() {
|
|
757
760
|
}
|
|
758
761
|
|
|
759
|
-
class ListAggregatedUtterancesCommand extends
|
|
762
|
+
class ListAggregatedUtterancesCommand extends Command
|
|
760
763
|
.classBuilder()
|
|
761
764
|
.ep(commonParams)
|
|
762
765
|
.m(function (Command, cs, config, o) {
|
|
763
|
-
return [
|
|
766
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
764
767
|
})
|
|
765
768
|
.s("LexModelBuildingServiceV2", "ListAggregatedUtterances", {})
|
|
766
769
|
.n("LexModelsV2Client", "ListAggregatedUtterancesCommand")
|
|
767
|
-
.sc(
|
|
770
|
+
.sc(ListAggregatedUtterances$)
|
|
768
771
|
.build() {
|
|
769
772
|
}
|
|
770
773
|
|
|
771
|
-
class ListBotAliasesCommand extends
|
|
774
|
+
class ListBotAliasesCommand extends Command
|
|
772
775
|
.classBuilder()
|
|
773
776
|
.ep(commonParams)
|
|
774
777
|
.m(function (Command, cs, config, o) {
|
|
775
|
-
return [
|
|
778
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
776
779
|
})
|
|
777
780
|
.s("LexModelBuildingServiceV2", "ListBotAliases", {})
|
|
778
781
|
.n("LexModelsV2Client", "ListBotAliasesCommand")
|
|
779
|
-
.sc(
|
|
782
|
+
.sc(ListBotAliases$)
|
|
780
783
|
.build() {
|
|
781
784
|
}
|
|
782
785
|
|
|
783
|
-
class ListBotAliasReplicasCommand extends
|
|
786
|
+
class ListBotAliasReplicasCommand extends Command
|
|
784
787
|
.classBuilder()
|
|
785
788
|
.ep(commonParams)
|
|
786
789
|
.m(function (Command, cs, config, o) {
|
|
787
|
-
return [
|
|
790
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
788
791
|
})
|
|
789
792
|
.s("LexModelBuildingServiceV2", "ListBotAliasReplicas", {})
|
|
790
793
|
.n("LexModelsV2Client", "ListBotAliasReplicasCommand")
|
|
791
|
-
.sc(
|
|
794
|
+
.sc(ListBotAliasReplicas$)
|
|
792
795
|
.build() {
|
|
793
796
|
}
|
|
794
797
|
|
|
795
|
-
class ListBotAnalyzerHistoryCommand extends
|
|
798
|
+
class ListBotAnalyzerHistoryCommand extends Command
|
|
796
799
|
.classBuilder()
|
|
797
800
|
.ep(commonParams)
|
|
798
801
|
.m(function (Command, cs, config, o) {
|
|
799
|
-
return [
|
|
802
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
800
803
|
})
|
|
801
804
|
.s("LexModelBuildingServiceV2", "ListBotAnalyzerHistory", {})
|
|
802
805
|
.n("LexModelsV2Client", "ListBotAnalyzerHistoryCommand")
|
|
803
|
-
.sc(
|
|
806
|
+
.sc(ListBotAnalyzerHistory$)
|
|
804
807
|
.build() {
|
|
805
808
|
}
|
|
806
809
|
|
|
807
|
-
class ListBotLocalesCommand extends
|
|
810
|
+
class ListBotLocalesCommand extends Command
|
|
808
811
|
.classBuilder()
|
|
809
812
|
.ep(commonParams)
|
|
810
813
|
.m(function (Command, cs, config, o) {
|
|
811
|
-
return [
|
|
814
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
812
815
|
})
|
|
813
816
|
.s("LexModelBuildingServiceV2", "ListBotLocales", {})
|
|
814
817
|
.n("LexModelsV2Client", "ListBotLocalesCommand")
|
|
815
|
-
.sc(
|
|
818
|
+
.sc(ListBotLocales$)
|
|
816
819
|
.build() {
|
|
817
820
|
}
|
|
818
821
|
|
|
819
|
-
class ListBotRecommendationsCommand extends
|
|
822
|
+
class ListBotRecommendationsCommand extends Command
|
|
820
823
|
.classBuilder()
|
|
821
824
|
.ep(commonParams)
|
|
822
825
|
.m(function (Command, cs, config, o) {
|
|
823
|
-
return [
|
|
826
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
824
827
|
})
|
|
825
828
|
.s("LexModelBuildingServiceV2", "ListBotRecommendations", {})
|
|
826
829
|
.n("LexModelsV2Client", "ListBotRecommendationsCommand")
|
|
827
|
-
.sc(
|
|
830
|
+
.sc(ListBotRecommendations$)
|
|
828
831
|
.build() {
|
|
829
832
|
}
|
|
830
833
|
|
|
831
|
-
class ListBotReplicasCommand extends
|
|
834
|
+
class ListBotReplicasCommand extends Command
|
|
832
835
|
.classBuilder()
|
|
833
836
|
.ep(commonParams)
|
|
834
837
|
.m(function (Command, cs, config, o) {
|
|
835
|
-
return [
|
|
838
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
836
839
|
})
|
|
837
840
|
.s("LexModelBuildingServiceV2", "ListBotReplicas", {})
|
|
838
841
|
.n("LexModelsV2Client", "ListBotReplicasCommand")
|
|
839
|
-
.sc(
|
|
842
|
+
.sc(ListBotReplicas$)
|
|
840
843
|
.build() {
|
|
841
844
|
}
|
|
842
845
|
|
|
843
|
-
class ListBotResourceGenerationsCommand extends
|
|
846
|
+
class ListBotResourceGenerationsCommand extends Command
|
|
844
847
|
.classBuilder()
|
|
845
848
|
.ep(commonParams)
|
|
846
849
|
.m(function (Command, cs, config, o) {
|
|
847
|
-
return [
|
|
850
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
851
|
})
|
|
849
852
|
.s("LexModelBuildingServiceV2", "ListBotResourceGenerations", {})
|
|
850
853
|
.n("LexModelsV2Client", "ListBotResourceGenerationsCommand")
|
|
851
|
-
.sc(
|
|
854
|
+
.sc(ListBotResourceGenerations$)
|
|
852
855
|
.build() {
|
|
853
856
|
}
|
|
854
857
|
|
|
855
|
-
class ListBotsCommand extends
|
|
858
|
+
class ListBotsCommand extends Command
|
|
856
859
|
.classBuilder()
|
|
857
860
|
.ep(commonParams)
|
|
858
861
|
.m(function (Command, cs, config, o) {
|
|
859
|
-
return [
|
|
862
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
860
863
|
})
|
|
861
864
|
.s("LexModelBuildingServiceV2", "ListBots", {})
|
|
862
865
|
.n("LexModelsV2Client", "ListBotsCommand")
|
|
863
|
-
.sc(
|
|
866
|
+
.sc(ListBots$)
|
|
864
867
|
.build() {
|
|
865
868
|
}
|
|
866
869
|
|
|
867
|
-
class ListBotVersionReplicasCommand extends
|
|
870
|
+
class ListBotVersionReplicasCommand extends Command
|
|
868
871
|
.classBuilder()
|
|
869
872
|
.ep(commonParams)
|
|
870
873
|
.m(function (Command, cs, config, o) {
|
|
871
|
-
return [
|
|
874
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
872
875
|
})
|
|
873
876
|
.s("LexModelBuildingServiceV2", "ListBotVersionReplicas", {})
|
|
874
877
|
.n("LexModelsV2Client", "ListBotVersionReplicasCommand")
|
|
875
|
-
.sc(
|
|
878
|
+
.sc(ListBotVersionReplicas$)
|
|
876
879
|
.build() {
|
|
877
880
|
}
|
|
878
881
|
|
|
879
|
-
class ListBotVersionsCommand extends
|
|
882
|
+
class ListBotVersionsCommand extends Command
|
|
880
883
|
.classBuilder()
|
|
881
884
|
.ep(commonParams)
|
|
882
885
|
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [
|
|
886
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
884
887
|
})
|
|
885
888
|
.s("LexModelBuildingServiceV2", "ListBotVersions", {})
|
|
886
889
|
.n("LexModelsV2Client", "ListBotVersionsCommand")
|
|
887
|
-
.sc(
|
|
890
|
+
.sc(ListBotVersions$)
|
|
888
891
|
.build() {
|
|
889
892
|
}
|
|
890
893
|
|
|
891
|
-
class ListBuiltInIntentsCommand extends
|
|
894
|
+
class ListBuiltInIntentsCommand extends Command
|
|
892
895
|
.classBuilder()
|
|
893
896
|
.ep(commonParams)
|
|
894
897
|
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [
|
|
898
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
896
899
|
})
|
|
897
900
|
.s("LexModelBuildingServiceV2", "ListBuiltInIntents", {})
|
|
898
901
|
.n("LexModelsV2Client", "ListBuiltInIntentsCommand")
|
|
899
|
-
.sc(
|
|
902
|
+
.sc(ListBuiltInIntents$)
|
|
900
903
|
.build() {
|
|
901
904
|
}
|
|
902
905
|
|
|
903
|
-
class ListBuiltInSlotTypesCommand extends
|
|
906
|
+
class ListBuiltInSlotTypesCommand extends Command
|
|
904
907
|
.classBuilder()
|
|
905
908
|
.ep(commonParams)
|
|
906
909
|
.m(function (Command, cs, config, o) {
|
|
907
|
-
return [
|
|
910
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
908
911
|
})
|
|
909
912
|
.s("LexModelBuildingServiceV2", "ListBuiltInSlotTypes", {})
|
|
910
913
|
.n("LexModelsV2Client", "ListBuiltInSlotTypesCommand")
|
|
911
|
-
.sc(
|
|
914
|
+
.sc(ListBuiltInSlotTypes$)
|
|
912
915
|
.build() {
|
|
913
916
|
}
|
|
914
917
|
|
|
915
|
-
class ListCustomVocabularyItemsCommand extends
|
|
918
|
+
class ListCustomVocabularyItemsCommand extends Command
|
|
916
919
|
.classBuilder()
|
|
917
920
|
.ep(commonParams)
|
|
918
921
|
.m(function (Command, cs, config, o) {
|
|
919
|
-
return [
|
|
922
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
920
923
|
})
|
|
921
924
|
.s("LexModelBuildingServiceV2", "ListCustomVocabularyItems", {})
|
|
922
925
|
.n("LexModelsV2Client", "ListCustomVocabularyItemsCommand")
|
|
923
|
-
.sc(
|
|
926
|
+
.sc(ListCustomVocabularyItems$)
|
|
924
927
|
.build() {
|
|
925
928
|
}
|
|
926
929
|
|
|
927
|
-
class ListExportsCommand extends
|
|
930
|
+
class ListExportsCommand extends Command
|
|
928
931
|
.classBuilder()
|
|
929
932
|
.ep(commonParams)
|
|
930
933
|
.m(function (Command, cs, config, o) {
|
|
931
|
-
return [
|
|
934
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
932
935
|
})
|
|
933
936
|
.s("LexModelBuildingServiceV2", "ListExports", {})
|
|
934
937
|
.n("LexModelsV2Client", "ListExportsCommand")
|
|
935
|
-
.sc(
|
|
938
|
+
.sc(ListExports$)
|
|
936
939
|
.build() {
|
|
937
940
|
}
|
|
938
941
|
|
|
939
|
-
class ListImportsCommand extends
|
|
942
|
+
class ListImportsCommand extends Command
|
|
940
943
|
.classBuilder()
|
|
941
944
|
.ep(commonParams)
|
|
942
945
|
.m(function (Command, cs, config, o) {
|
|
943
|
-
return [
|
|
946
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
944
947
|
})
|
|
945
948
|
.s("LexModelBuildingServiceV2", "ListImports", {})
|
|
946
949
|
.n("LexModelsV2Client", "ListImportsCommand")
|
|
947
|
-
.sc(
|
|
950
|
+
.sc(ListImports$)
|
|
948
951
|
.build() {
|
|
949
952
|
}
|
|
950
953
|
|
|
951
|
-
class ListIntentMetricsCommand extends
|
|
954
|
+
class ListIntentMetricsCommand extends Command
|
|
952
955
|
.classBuilder()
|
|
953
956
|
.ep(commonParams)
|
|
954
957
|
.m(function (Command, cs, config, o) {
|
|
955
|
-
return [
|
|
958
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
956
959
|
})
|
|
957
960
|
.s("LexModelBuildingServiceV2", "ListIntentMetrics", {})
|
|
958
961
|
.n("LexModelsV2Client", "ListIntentMetricsCommand")
|
|
959
|
-
.sc(
|
|
962
|
+
.sc(ListIntentMetrics$)
|
|
960
963
|
.build() {
|
|
961
964
|
}
|
|
962
965
|
|
|
963
|
-
class ListIntentPathsCommand extends
|
|
966
|
+
class ListIntentPathsCommand extends Command
|
|
964
967
|
.classBuilder()
|
|
965
968
|
.ep(commonParams)
|
|
966
969
|
.m(function (Command, cs, config, o) {
|
|
967
|
-
return [
|
|
970
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
968
971
|
})
|
|
969
972
|
.s("LexModelBuildingServiceV2", "ListIntentPaths", {})
|
|
970
973
|
.n("LexModelsV2Client", "ListIntentPathsCommand")
|
|
971
|
-
.sc(
|
|
974
|
+
.sc(ListIntentPaths$)
|
|
972
975
|
.build() {
|
|
973
976
|
}
|
|
974
977
|
|
|
975
|
-
class ListIntentsCommand extends
|
|
978
|
+
class ListIntentsCommand extends Command
|
|
976
979
|
.classBuilder()
|
|
977
980
|
.ep(commonParams)
|
|
978
981
|
.m(function (Command, cs, config, o) {
|
|
979
|
-
return [
|
|
982
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
980
983
|
})
|
|
981
984
|
.s("LexModelBuildingServiceV2", "ListIntents", {})
|
|
982
985
|
.n("LexModelsV2Client", "ListIntentsCommand")
|
|
983
|
-
.sc(
|
|
986
|
+
.sc(ListIntents$)
|
|
984
987
|
.build() {
|
|
985
988
|
}
|
|
986
989
|
|
|
987
|
-
class ListIntentStageMetricsCommand extends
|
|
990
|
+
class ListIntentStageMetricsCommand extends Command
|
|
988
991
|
.classBuilder()
|
|
989
992
|
.ep(commonParams)
|
|
990
993
|
.m(function (Command, cs, config, o) {
|
|
991
|
-
return [
|
|
994
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
992
995
|
})
|
|
993
996
|
.s("LexModelBuildingServiceV2", "ListIntentStageMetrics", {})
|
|
994
997
|
.n("LexModelsV2Client", "ListIntentStageMetricsCommand")
|
|
995
|
-
.sc(
|
|
998
|
+
.sc(ListIntentStageMetrics$)
|
|
996
999
|
.build() {
|
|
997
1000
|
}
|
|
998
1001
|
|
|
999
|
-
class ListRecommendedIntentsCommand extends
|
|
1002
|
+
class ListRecommendedIntentsCommand extends Command
|
|
1000
1003
|
.classBuilder()
|
|
1001
1004
|
.ep(commonParams)
|
|
1002
1005
|
.m(function (Command, cs, config, o) {
|
|
1003
|
-
return [
|
|
1006
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1004
1007
|
})
|
|
1005
1008
|
.s("LexModelBuildingServiceV2", "ListRecommendedIntents", {})
|
|
1006
1009
|
.n("LexModelsV2Client", "ListRecommendedIntentsCommand")
|
|
1007
|
-
.sc(
|
|
1010
|
+
.sc(ListRecommendedIntents$)
|
|
1008
1011
|
.build() {
|
|
1009
1012
|
}
|
|
1010
1013
|
|
|
1011
|
-
class ListSessionAnalyticsDataCommand extends
|
|
1014
|
+
class ListSessionAnalyticsDataCommand extends Command
|
|
1012
1015
|
.classBuilder()
|
|
1013
1016
|
.ep(commonParams)
|
|
1014
1017
|
.m(function (Command, cs, config, o) {
|
|
1015
|
-
return [
|
|
1018
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1016
1019
|
})
|
|
1017
1020
|
.s("LexModelBuildingServiceV2", "ListSessionAnalyticsData", {})
|
|
1018
1021
|
.n("LexModelsV2Client", "ListSessionAnalyticsDataCommand")
|
|
1019
|
-
.sc(
|
|
1022
|
+
.sc(ListSessionAnalyticsData$)
|
|
1020
1023
|
.build() {
|
|
1021
1024
|
}
|
|
1022
1025
|
|
|
1023
|
-
class ListSessionMetricsCommand extends
|
|
1026
|
+
class ListSessionMetricsCommand extends Command
|
|
1024
1027
|
.classBuilder()
|
|
1025
1028
|
.ep(commonParams)
|
|
1026
1029
|
.m(function (Command, cs, config, o) {
|
|
1027
|
-
return [
|
|
1030
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1028
1031
|
})
|
|
1029
1032
|
.s("LexModelBuildingServiceV2", "ListSessionMetrics", {})
|
|
1030
1033
|
.n("LexModelsV2Client", "ListSessionMetricsCommand")
|
|
1031
|
-
.sc(
|
|
1034
|
+
.sc(ListSessionMetrics$)
|
|
1032
1035
|
.build() {
|
|
1033
1036
|
}
|
|
1034
1037
|
|
|
1035
|
-
class ListSlotsCommand extends
|
|
1038
|
+
class ListSlotsCommand extends Command
|
|
1036
1039
|
.classBuilder()
|
|
1037
1040
|
.ep(commonParams)
|
|
1038
1041
|
.m(function (Command, cs, config, o) {
|
|
1039
|
-
return [
|
|
1042
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1040
1043
|
})
|
|
1041
1044
|
.s("LexModelBuildingServiceV2", "ListSlots", {})
|
|
1042
1045
|
.n("LexModelsV2Client", "ListSlotsCommand")
|
|
1043
|
-
.sc(
|
|
1046
|
+
.sc(ListSlots$)
|
|
1044
1047
|
.build() {
|
|
1045
1048
|
}
|
|
1046
1049
|
|
|
1047
|
-
class ListSlotTypesCommand extends
|
|
1050
|
+
class ListSlotTypesCommand extends Command
|
|
1048
1051
|
.classBuilder()
|
|
1049
1052
|
.ep(commonParams)
|
|
1050
1053
|
.m(function (Command, cs, config, o) {
|
|
1051
|
-
return [
|
|
1054
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1052
1055
|
})
|
|
1053
1056
|
.s("LexModelBuildingServiceV2", "ListSlotTypes", {})
|
|
1054
1057
|
.n("LexModelsV2Client", "ListSlotTypesCommand")
|
|
1055
|
-
.sc(
|
|
1058
|
+
.sc(ListSlotTypes$)
|
|
1056
1059
|
.build() {
|
|
1057
1060
|
}
|
|
1058
1061
|
|
|
1059
|
-
class ListTagsForResourceCommand extends
|
|
1062
|
+
class ListTagsForResourceCommand extends Command
|
|
1060
1063
|
.classBuilder()
|
|
1061
1064
|
.ep(commonParams)
|
|
1062
1065
|
.m(function (Command, cs, config, o) {
|
|
1063
|
-
return [
|
|
1066
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1064
1067
|
})
|
|
1065
1068
|
.s("LexModelBuildingServiceV2", "ListTagsForResource", {})
|
|
1066
1069
|
.n("LexModelsV2Client", "ListTagsForResourceCommand")
|
|
1067
|
-
.sc(
|
|
1070
|
+
.sc(ListTagsForResource$)
|
|
1068
1071
|
.build() {
|
|
1069
1072
|
}
|
|
1070
1073
|
|
|
1071
|
-
class ListTestExecutionResultItemsCommand extends
|
|
1074
|
+
class ListTestExecutionResultItemsCommand extends Command
|
|
1072
1075
|
.classBuilder()
|
|
1073
1076
|
.ep(commonParams)
|
|
1074
1077
|
.m(function (Command, cs, config, o) {
|
|
1075
|
-
return [
|
|
1078
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1076
1079
|
})
|
|
1077
1080
|
.s("LexModelBuildingServiceV2", "ListTestExecutionResultItems", {})
|
|
1078
1081
|
.n("LexModelsV2Client", "ListTestExecutionResultItemsCommand")
|
|
1079
|
-
.sc(
|
|
1082
|
+
.sc(ListTestExecutionResultItems$)
|
|
1080
1083
|
.build() {
|
|
1081
1084
|
}
|
|
1082
1085
|
|
|
1083
|
-
class ListTestExecutionsCommand extends
|
|
1086
|
+
class ListTestExecutionsCommand extends Command
|
|
1084
1087
|
.classBuilder()
|
|
1085
1088
|
.ep(commonParams)
|
|
1086
1089
|
.m(function (Command, cs, config, o) {
|
|
1087
|
-
return [
|
|
1090
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1088
1091
|
})
|
|
1089
1092
|
.s("LexModelBuildingServiceV2", "ListTestExecutions", {})
|
|
1090
1093
|
.n("LexModelsV2Client", "ListTestExecutionsCommand")
|
|
1091
|
-
.sc(
|
|
1094
|
+
.sc(ListTestExecutions$)
|
|
1092
1095
|
.build() {
|
|
1093
1096
|
}
|
|
1094
1097
|
|
|
1095
|
-
class ListTestSetRecordsCommand extends
|
|
1098
|
+
class ListTestSetRecordsCommand extends Command
|
|
1096
1099
|
.classBuilder()
|
|
1097
1100
|
.ep(commonParams)
|
|
1098
1101
|
.m(function (Command, cs, config, o) {
|
|
1099
|
-
return [
|
|
1102
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1100
1103
|
})
|
|
1101
1104
|
.s("LexModelBuildingServiceV2", "ListTestSetRecords", {})
|
|
1102
1105
|
.n("LexModelsV2Client", "ListTestSetRecordsCommand")
|
|
1103
|
-
.sc(
|
|
1106
|
+
.sc(ListTestSetRecords$)
|
|
1104
1107
|
.build() {
|
|
1105
1108
|
}
|
|
1106
1109
|
|
|
1107
|
-
class ListTestSetsCommand extends
|
|
1110
|
+
class ListTestSetsCommand extends Command
|
|
1108
1111
|
.classBuilder()
|
|
1109
1112
|
.ep(commonParams)
|
|
1110
1113
|
.m(function (Command, cs, config, o) {
|
|
1111
|
-
return [
|
|
1114
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1112
1115
|
})
|
|
1113
1116
|
.s("LexModelBuildingServiceV2", "ListTestSets", {})
|
|
1114
1117
|
.n("LexModelsV2Client", "ListTestSetsCommand")
|
|
1115
|
-
.sc(
|
|
1118
|
+
.sc(ListTestSets$)
|
|
1116
1119
|
.build() {
|
|
1117
1120
|
}
|
|
1118
1121
|
|
|
1119
|
-
class ListUtteranceAnalyticsDataCommand extends
|
|
1122
|
+
class ListUtteranceAnalyticsDataCommand extends Command
|
|
1120
1123
|
.classBuilder()
|
|
1121
1124
|
.ep(commonParams)
|
|
1122
1125
|
.m(function (Command, cs, config, o) {
|
|
1123
|
-
return [
|
|
1126
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1124
1127
|
})
|
|
1125
1128
|
.s("LexModelBuildingServiceV2", "ListUtteranceAnalyticsData", {})
|
|
1126
1129
|
.n("LexModelsV2Client", "ListUtteranceAnalyticsDataCommand")
|
|
1127
|
-
.sc(
|
|
1130
|
+
.sc(ListUtteranceAnalyticsData$)
|
|
1128
1131
|
.build() {
|
|
1129
1132
|
}
|
|
1130
1133
|
|
|
1131
|
-
class ListUtteranceMetricsCommand extends
|
|
1134
|
+
class ListUtteranceMetricsCommand extends Command
|
|
1132
1135
|
.classBuilder()
|
|
1133
1136
|
.ep(commonParams)
|
|
1134
1137
|
.m(function (Command, cs, config, o) {
|
|
1135
|
-
return [
|
|
1138
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1136
1139
|
})
|
|
1137
1140
|
.s("LexModelBuildingServiceV2", "ListUtteranceMetrics", {})
|
|
1138
1141
|
.n("LexModelsV2Client", "ListUtteranceMetricsCommand")
|
|
1139
|
-
.sc(
|
|
1142
|
+
.sc(ListUtteranceMetrics$)
|
|
1140
1143
|
.build() {
|
|
1141
1144
|
}
|
|
1142
1145
|
|
|
1143
|
-
class SearchAssociatedTranscriptsCommand extends
|
|
1146
|
+
class SearchAssociatedTranscriptsCommand extends Command
|
|
1144
1147
|
.classBuilder()
|
|
1145
1148
|
.ep(commonParams)
|
|
1146
1149
|
.m(function (Command, cs, config, o) {
|
|
1147
|
-
return [
|
|
1150
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1148
1151
|
})
|
|
1149
1152
|
.s("LexModelBuildingServiceV2", "SearchAssociatedTranscripts", {})
|
|
1150
1153
|
.n("LexModelsV2Client", "SearchAssociatedTranscriptsCommand")
|
|
1151
|
-
.sc(
|
|
1154
|
+
.sc(SearchAssociatedTranscripts$)
|
|
1152
1155
|
.build() {
|
|
1153
1156
|
}
|
|
1154
1157
|
|
|
1155
|
-
class StartBotAnalyzerCommand extends
|
|
1158
|
+
class StartBotAnalyzerCommand extends Command
|
|
1156
1159
|
.classBuilder()
|
|
1157
1160
|
.ep(commonParams)
|
|
1158
1161
|
.m(function (Command, cs, config, o) {
|
|
1159
|
-
return [
|
|
1162
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1160
1163
|
})
|
|
1161
1164
|
.s("LexModelBuildingServiceV2", "StartBotAnalyzer", {})
|
|
1162
1165
|
.n("LexModelsV2Client", "StartBotAnalyzerCommand")
|
|
1163
|
-
.sc(
|
|
1166
|
+
.sc(StartBotAnalyzer$)
|
|
1164
1167
|
.build() {
|
|
1165
1168
|
}
|
|
1166
1169
|
|
|
1167
|
-
class StartBotRecommendationCommand extends
|
|
1170
|
+
class StartBotRecommendationCommand extends Command
|
|
1168
1171
|
.classBuilder()
|
|
1169
1172
|
.ep(commonParams)
|
|
1170
1173
|
.m(function (Command, cs, config, o) {
|
|
1171
|
-
return [
|
|
1174
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1172
1175
|
})
|
|
1173
1176
|
.s("LexModelBuildingServiceV2", "StartBotRecommendation", {})
|
|
1174
1177
|
.n("LexModelsV2Client", "StartBotRecommendationCommand")
|
|
1175
|
-
.sc(
|
|
1178
|
+
.sc(StartBotRecommendation$)
|
|
1176
1179
|
.build() {
|
|
1177
1180
|
}
|
|
1178
1181
|
|
|
1179
|
-
class StartBotResourceGenerationCommand extends
|
|
1182
|
+
class StartBotResourceGenerationCommand extends Command
|
|
1180
1183
|
.classBuilder()
|
|
1181
1184
|
.ep(commonParams)
|
|
1182
1185
|
.m(function (Command, cs, config, o) {
|
|
1183
|
-
return [
|
|
1186
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1184
1187
|
})
|
|
1185
1188
|
.s("LexModelBuildingServiceV2", "StartBotResourceGeneration", {})
|
|
1186
1189
|
.n("LexModelsV2Client", "StartBotResourceGenerationCommand")
|
|
1187
|
-
.sc(
|
|
1190
|
+
.sc(StartBotResourceGeneration$)
|
|
1188
1191
|
.build() {
|
|
1189
1192
|
}
|
|
1190
1193
|
|
|
1191
|
-
class StartImportCommand extends
|
|
1194
|
+
class StartImportCommand extends Command
|
|
1192
1195
|
.classBuilder()
|
|
1193
1196
|
.ep(commonParams)
|
|
1194
1197
|
.m(function (Command, cs, config, o) {
|
|
1195
|
-
return [
|
|
1198
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1196
1199
|
})
|
|
1197
1200
|
.s("LexModelBuildingServiceV2", "StartImport", {})
|
|
1198
1201
|
.n("LexModelsV2Client", "StartImportCommand")
|
|
1199
|
-
.sc(
|
|
1202
|
+
.sc(StartImport$)
|
|
1200
1203
|
.build() {
|
|
1201
1204
|
}
|
|
1202
1205
|
|
|
1203
|
-
class StartTestExecutionCommand extends
|
|
1206
|
+
class StartTestExecutionCommand extends Command
|
|
1204
1207
|
.classBuilder()
|
|
1205
1208
|
.ep(commonParams)
|
|
1206
1209
|
.m(function (Command, cs, config, o) {
|
|
1207
|
-
return [
|
|
1210
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1208
1211
|
})
|
|
1209
1212
|
.s("LexModelBuildingServiceV2", "StartTestExecution", {})
|
|
1210
1213
|
.n("LexModelsV2Client", "StartTestExecutionCommand")
|
|
1211
|
-
.sc(
|
|
1214
|
+
.sc(StartTestExecution$)
|
|
1212
1215
|
.build() {
|
|
1213
1216
|
}
|
|
1214
1217
|
|
|
1215
|
-
class StartTestSetGenerationCommand extends
|
|
1218
|
+
class StartTestSetGenerationCommand extends Command
|
|
1216
1219
|
.classBuilder()
|
|
1217
1220
|
.ep(commonParams)
|
|
1218
1221
|
.m(function (Command, cs, config, o) {
|
|
1219
|
-
return [
|
|
1222
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1220
1223
|
})
|
|
1221
1224
|
.s("LexModelBuildingServiceV2", "StartTestSetGeneration", {})
|
|
1222
1225
|
.n("LexModelsV2Client", "StartTestSetGenerationCommand")
|
|
1223
|
-
.sc(
|
|
1226
|
+
.sc(StartTestSetGeneration$)
|
|
1224
1227
|
.build() {
|
|
1225
1228
|
}
|
|
1226
1229
|
|
|
1227
|
-
class StopBotAnalyzerCommand extends
|
|
1230
|
+
class StopBotAnalyzerCommand extends Command
|
|
1228
1231
|
.classBuilder()
|
|
1229
1232
|
.ep(commonParams)
|
|
1230
1233
|
.m(function (Command, cs, config, o) {
|
|
1231
|
-
return [
|
|
1234
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1232
1235
|
})
|
|
1233
1236
|
.s("LexModelBuildingServiceV2", "StopBotAnalyzer", {})
|
|
1234
1237
|
.n("LexModelsV2Client", "StopBotAnalyzerCommand")
|
|
1235
|
-
.sc(
|
|
1238
|
+
.sc(StopBotAnalyzer$)
|
|
1236
1239
|
.build() {
|
|
1237
1240
|
}
|
|
1238
1241
|
|
|
1239
|
-
class StopBotRecommendationCommand extends
|
|
1242
|
+
class StopBotRecommendationCommand extends Command
|
|
1240
1243
|
.classBuilder()
|
|
1241
1244
|
.ep(commonParams)
|
|
1242
1245
|
.m(function (Command, cs, config, o) {
|
|
1243
|
-
return [
|
|
1246
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1244
1247
|
})
|
|
1245
1248
|
.s("LexModelBuildingServiceV2", "StopBotRecommendation", {})
|
|
1246
1249
|
.n("LexModelsV2Client", "StopBotRecommendationCommand")
|
|
1247
|
-
.sc(
|
|
1250
|
+
.sc(StopBotRecommendation$)
|
|
1248
1251
|
.build() {
|
|
1249
1252
|
}
|
|
1250
1253
|
|
|
1251
|
-
class TagResourceCommand extends
|
|
1254
|
+
class TagResourceCommand extends Command
|
|
1252
1255
|
.classBuilder()
|
|
1253
1256
|
.ep(commonParams)
|
|
1254
1257
|
.m(function (Command, cs, config, o) {
|
|
1255
|
-
return [
|
|
1258
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1256
1259
|
})
|
|
1257
1260
|
.s("LexModelBuildingServiceV2", "TagResource", {})
|
|
1258
1261
|
.n("LexModelsV2Client", "TagResourceCommand")
|
|
1259
|
-
.sc(
|
|
1262
|
+
.sc(TagResource$)
|
|
1260
1263
|
.build() {
|
|
1261
1264
|
}
|
|
1262
1265
|
|
|
1263
|
-
class UntagResourceCommand extends
|
|
1266
|
+
class UntagResourceCommand extends Command
|
|
1264
1267
|
.classBuilder()
|
|
1265
1268
|
.ep(commonParams)
|
|
1266
1269
|
.m(function (Command, cs, config, o) {
|
|
1267
|
-
return [
|
|
1270
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1268
1271
|
})
|
|
1269
1272
|
.s("LexModelBuildingServiceV2", "UntagResource", {})
|
|
1270
1273
|
.n("LexModelsV2Client", "UntagResourceCommand")
|
|
1271
|
-
.sc(
|
|
1274
|
+
.sc(UntagResource$)
|
|
1272
1275
|
.build() {
|
|
1273
1276
|
}
|
|
1274
1277
|
|
|
1275
|
-
class UpdateBotAliasCommand extends
|
|
1278
|
+
class UpdateBotAliasCommand extends Command
|
|
1276
1279
|
.classBuilder()
|
|
1277
1280
|
.ep(commonParams)
|
|
1278
1281
|
.m(function (Command, cs, config, o) {
|
|
1279
|
-
return [
|
|
1282
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1280
1283
|
})
|
|
1281
1284
|
.s("LexModelBuildingServiceV2", "UpdateBotAlias", {})
|
|
1282
1285
|
.n("LexModelsV2Client", "UpdateBotAliasCommand")
|
|
1283
|
-
.sc(
|
|
1286
|
+
.sc(UpdateBotAlias$)
|
|
1284
1287
|
.build() {
|
|
1285
1288
|
}
|
|
1286
1289
|
|
|
1287
|
-
class UpdateBotCommand extends
|
|
1290
|
+
class UpdateBotCommand extends Command
|
|
1288
1291
|
.classBuilder()
|
|
1289
1292
|
.ep(commonParams)
|
|
1290
1293
|
.m(function (Command, cs, config, o) {
|
|
1291
|
-
return [
|
|
1294
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1292
1295
|
})
|
|
1293
1296
|
.s("LexModelBuildingServiceV2", "UpdateBot", {})
|
|
1294
1297
|
.n("LexModelsV2Client", "UpdateBotCommand")
|
|
1295
|
-
.sc(
|
|
1298
|
+
.sc(UpdateBot$)
|
|
1296
1299
|
.build() {
|
|
1297
1300
|
}
|
|
1298
1301
|
|
|
1299
|
-
class UpdateBotLocaleCommand extends
|
|
1302
|
+
class UpdateBotLocaleCommand extends Command
|
|
1300
1303
|
.classBuilder()
|
|
1301
1304
|
.ep(commonParams)
|
|
1302
1305
|
.m(function (Command, cs, config, o) {
|
|
1303
|
-
return [
|
|
1306
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1304
1307
|
})
|
|
1305
1308
|
.s("LexModelBuildingServiceV2", "UpdateBotLocale", {})
|
|
1306
1309
|
.n("LexModelsV2Client", "UpdateBotLocaleCommand")
|
|
1307
|
-
.sc(
|
|
1310
|
+
.sc(UpdateBotLocale$)
|
|
1308
1311
|
.build() {
|
|
1309
1312
|
}
|
|
1310
1313
|
|
|
1311
|
-
class UpdateBotRecommendationCommand extends
|
|
1314
|
+
class UpdateBotRecommendationCommand extends Command
|
|
1312
1315
|
.classBuilder()
|
|
1313
1316
|
.ep(commonParams)
|
|
1314
1317
|
.m(function (Command, cs, config, o) {
|
|
1315
|
-
return [
|
|
1318
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1316
1319
|
})
|
|
1317
1320
|
.s("LexModelBuildingServiceV2", "UpdateBotRecommendation", {})
|
|
1318
1321
|
.n("LexModelsV2Client", "UpdateBotRecommendationCommand")
|
|
1319
|
-
.sc(
|
|
1322
|
+
.sc(UpdateBotRecommendation$)
|
|
1320
1323
|
.build() {
|
|
1321
1324
|
}
|
|
1322
1325
|
|
|
1323
|
-
class UpdateExportCommand extends
|
|
1326
|
+
class UpdateExportCommand extends Command
|
|
1324
1327
|
.classBuilder()
|
|
1325
1328
|
.ep(commonParams)
|
|
1326
1329
|
.m(function (Command, cs, config, o) {
|
|
1327
|
-
return [
|
|
1330
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1328
1331
|
})
|
|
1329
1332
|
.s("LexModelBuildingServiceV2", "UpdateExport", {})
|
|
1330
1333
|
.n("LexModelsV2Client", "UpdateExportCommand")
|
|
1331
|
-
.sc(
|
|
1334
|
+
.sc(UpdateExport$)
|
|
1332
1335
|
.build() {
|
|
1333
1336
|
}
|
|
1334
1337
|
|
|
1335
|
-
class UpdateIntentCommand extends
|
|
1338
|
+
class UpdateIntentCommand extends Command
|
|
1336
1339
|
.classBuilder()
|
|
1337
1340
|
.ep(commonParams)
|
|
1338
1341
|
.m(function (Command, cs, config, o) {
|
|
1339
|
-
return [
|
|
1342
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1340
1343
|
})
|
|
1341
1344
|
.s("LexModelBuildingServiceV2", "UpdateIntent", {})
|
|
1342
1345
|
.n("LexModelsV2Client", "UpdateIntentCommand")
|
|
1343
|
-
.sc(
|
|
1346
|
+
.sc(UpdateIntent$)
|
|
1344
1347
|
.build() {
|
|
1345
1348
|
}
|
|
1346
1349
|
|
|
1347
|
-
class UpdateResourcePolicyCommand extends
|
|
1350
|
+
class UpdateResourcePolicyCommand extends Command
|
|
1348
1351
|
.classBuilder()
|
|
1349
1352
|
.ep(commonParams)
|
|
1350
1353
|
.m(function (Command, cs, config, o) {
|
|
1351
|
-
return [
|
|
1354
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1352
1355
|
})
|
|
1353
1356
|
.s("LexModelBuildingServiceV2", "UpdateResourcePolicy", {})
|
|
1354
1357
|
.n("LexModelsV2Client", "UpdateResourcePolicyCommand")
|
|
1355
|
-
.sc(
|
|
1358
|
+
.sc(UpdateResourcePolicy$)
|
|
1356
1359
|
.build() {
|
|
1357
1360
|
}
|
|
1358
1361
|
|
|
1359
|
-
class UpdateSlotCommand extends
|
|
1362
|
+
class UpdateSlotCommand extends Command
|
|
1360
1363
|
.classBuilder()
|
|
1361
1364
|
.ep(commonParams)
|
|
1362
1365
|
.m(function (Command, cs, config, o) {
|
|
1363
|
-
return [
|
|
1366
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1364
1367
|
})
|
|
1365
1368
|
.s("LexModelBuildingServiceV2", "UpdateSlot", {})
|
|
1366
1369
|
.n("LexModelsV2Client", "UpdateSlotCommand")
|
|
1367
|
-
.sc(
|
|
1370
|
+
.sc(UpdateSlot$)
|
|
1368
1371
|
.build() {
|
|
1369
1372
|
}
|
|
1370
1373
|
|
|
1371
|
-
class UpdateSlotTypeCommand extends
|
|
1374
|
+
class UpdateSlotTypeCommand extends Command
|
|
1372
1375
|
.classBuilder()
|
|
1373
1376
|
.ep(commonParams)
|
|
1374
1377
|
.m(function (Command, cs, config, o) {
|
|
1375
|
-
return [
|
|
1378
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1376
1379
|
})
|
|
1377
1380
|
.s("LexModelBuildingServiceV2", "UpdateSlotType", {})
|
|
1378
1381
|
.n("LexModelsV2Client", "UpdateSlotTypeCommand")
|
|
1379
|
-
.sc(
|
|
1382
|
+
.sc(UpdateSlotType$)
|
|
1380
1383
|
.build() {
|
|
1381
1384
|
}
|
|
1382
1385
|
|
|
1383
|
-
class UpdateTestSetCommand extends
|
|
1386
|
+
class UpdateTestSetCommand extends Command
|
|
1384
1387
|
.classBuilder()
|
|
1385
1388
|
.ep(commonParams)
|
|
1386
1389
|
.m(function (Command, cs, config, o) {
|
|
1387
|
-
return [
|
|
1390
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1388
1391
|
})
|
|
1389
1392
|
.s("LexModelBuildingServiceV2", "UpdateTestSet", {})
|
|
1390
1393
|
.n("LexModelsV2Client", "UpdateTestSetCommand")
|
|
1391
|
-
.sc(
|
|
1394
|
+
.sc(UpdateTestSet$)
|
|
1392
1395
|
.build() {
|
|
1393
1396
|
}
|
|
1394
1397
|
|
|
1395
|
-
const paginateDescribeBotAnalyzerRecommendation =
|
|
1398
|
+
const paginateDescribeBotAnalyzerRecommendation = createPaginator(LexModelsV2Client, DescribeBotAnalyzerRecommendationCommand, "nextToken", "nextToken", "maxResults");
|
|
1396
1399
|
|
|
1397
|
-
const paginateListAggregatedUtterances =
|
|
1400
|
+
const paginateListAggregatedUtterances = createPaginator(LexModelsV2Client, ListAggregatedUtterancesCommand, "nextToken", "nextToken", "maxResults");
|
|
1398
1401
|
|
|
1399
|
-
const paginateListBotAliases =
|
|
1402
|
+
const paginateListBotAliases = createPaginator(LexModelsV2Client, ListBotAliasesCommand, "nextToken", "nextToken", "maxResults");
|
|
1400
1403
|
|
|
1401
|
-
const paginateListBotAliasReplicas =
|
|
1404
|
+
const paginateListBotAliasReplicas = createPaginator(LexModelsV2Client, ListBotAliasReplicasCommand, "nextToken", "nextToken", "maxResults");
|
|
1402
1405
|
|
|
1403
|
-
const paginateListBotAnalyzerHistory =
|
|
1406
|
+
const paginateListBotAnalyzerHistory = createPaginator(LexModelsV2Client, ListBotAnalyzerHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
1404
1407
|
|
|
1405
|
-
const paginateListBotLocales =
|
|
1408
|
+
const paginateListBotLocales = createPaginator(LexModelsV2Client, ListBotLocalesCommand, "nextToken", "nextToken", "maxResults");
|
|
1406
1409
|
|
|
1407
|
-
const paginateListBotRecommendations =
|
|
1410
|
+
const paginateListBotRecommendations = createPaginator(LexModelsV2Client, ListBotRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1408
1411
|
|
|
1409
|
-
const paginateListBotResourceGenerations =
|
|
1412
|
+
const paginateListBotResourceGenerations = createPaginator(LexModelsV2Client, ListBotResourceGenerationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1410
1413
|
|
|
1411
|
-
const paginateListBots =
|
|
1414
|
+
const paginateListBots = createPaginator(LexModelsV2Client, ListBotsCommand, "nextToken", "nextToken", "maxResults");
|
|
1412
1415
|
|
|
1413
|
-
const paginateListBotVersionReplicas =
|
|
1416
|
+
const paginateListBotVersionReplicas = createPaginator(LexModelsV2Client, ListBotVersionReplicasCommand, "nextToken", "nextToken", "maxResults");
|
|
1414
1417
|
|
|
1415
|
-
const paginateListBotVersions =
|
|
1418
|
+
const paginateListBotVersions = createPaginator(LexModelsV2Client, ListBotVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1416
1419
|
|
|
1417
|
-
const paginateListBuiltInIntents =
|
|
1420
|
+
const paginateListBuiltInIntents = createPaginator(LexModelsV2Client, ListBuiltInIntentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1418
1421
|
|
|
1419
|
-
const paginateListBuiltInSlotTypes =
|
|
1422
|
+
const paginateListBuiltInSlotTypes = createPaginator(LexModelsV2Client, ListBuiltInSlotTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
1420
1423
|
|
|
1421
|
-
const paginateListCustomVocabularyItems =
|
|
1424
|
+
const paginateListCustomVocabularyItems = createPaginator(LexModelsV2Client, ListCustomVocabularyItemsCommand, "nextToken", "nextToken", "maxResults");
|
|
1422
1425
|
|
|
1423
|
-
const paginateListExports =
|
|
1426
|
+
const paginateListExports = createPaginator(LexModelsV2Client, ListExportsCommand, "nextToken", "nextToken", "maxResults");
|
|
1424
1427
|
|
|
1425
|
-
const paginateListImports =
|
|
1428
|
+
const paginateListImports = createPaginator(LexModelsV2Client, ListImportsCommand, "nextToken", "nextToken", "maxResults");
|
|
1426
1429
|
|
|
1427
|
-
const paginateListIntentMetrics =
|
|
1430
|
+
const paginateListIntentMetrics = createPaginator(LexModelsV2Client, ListIntentMetricsCommand, "nextToken", "nextToken", "maxResults");
|
|
1428
1431
|
|
|
1429
|
-
const paginateListIntents =
|
|
1432
|
+
const paginateListIntents = createPaginator(LexModelsV2Client, ListIntentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1430
1433
|
|
|
1431
|
-
const paginateListIntentStageMetrics =
|
|
1434
|
+
const paginateListIntentStageMetrics = createPaginator(LexModelsV2Client, ListIntentStageMetricsCommand, "nextToken", "nextToken", "maxResults");
|
|
1432
1435
|
|
|
1433
|
-
const paginateListRecommendedIntents =
|
|
1436
|
+
const paginateListRecommendedIntents = createPaginator(LexModelsV2Client, ListRecommendedIntentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1434
1437
|
|
|
1435
|
-
const paginateListSessionAnalyticsData =
|
|
1438
|
+
const paginateListSessionAnalyticsData = createPaginator(LexModelsV2Client, ListSessionAnalyticsDataCommand, "nextToken", "nextToken", "maxResults");
|
|
1436
1439
|
|
|
1437
|
-
const paginateListSessionMetrics =
|
|
1440
|
+
const paginateListSessionMetrics = createPaginator(LexModelsV2Client, ListSessionMetricsCommand, "nextToken", "nextToken", "maxResults");
|
|
1438
1441
|
|
|
1439
|
-
const paginateListSlots =
|
|
1442
|
+
const paginateListSlots = createPaginator(LexModelsV2Client, ListSlotsCommand, "nextToken", "nextToken", "maxResults");
|
|
1440
1443
|
|
|
1441
|
-
const paginateListSlotTypes =
|
|
1444
|
+
const paginateListSlotTypes = createPaginator(LexModelsV2Client, ListSlotTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
1442
1445
|
|
|
1443
|
-
const paginateListTestExecutionResultItems =
|
|
1446
|
+
const paginateListTestExecutionResultItems = createPaginator(LexModelsV2Client, ListTestExecutionResultItemsCommand, "nextToken", "nextToken", "maxResults");
|
|
1444
1447
|
|
|
1445
|
-
const paginateListTestExecutions =
|
|
1448
|
+
const paginateListTestExecutions = createPaginator(LexModelsV2Client, ListTestExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1446
1449
|
|
|
1447
|
-
const paginateListTestSetRecords =
|
|
1450
|
+
const paginateListTestSetRecords = createPaginator(LexModelsV2Client, ListTestSetRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
1448
1451
|
|
|
1449
|
-
const paginateListTestSets =
|
|
1452
|
+
const paginateListTestSets = createPaginator(LexModelsV2Client, ListTestSetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1450
1453
|
|
|
1451
|
-
const paginateListUtteranceAnalyticsData =
|
|
1454
|
+
const paginateListUtteranceAnalyticsData = createPaginator(LexModelsV2Client, ListUtteranceAnalyticsDataCommand, "nextToken", "nextToken", "maxResults");
|
|
1452
1455
|
|
|
1453
|
-
const paginateListUtteranceMetrics =
|
|
1456
|
+
const paginateListUtteranceMetrics = createPaginator(LexModelsV2Client, ListUtteranceMetricsCommand, "nextToken", "nextToken", "maxResults");
|
|
1454
1457
|
|
|
1455
|
-
const checkState$7 = async (client
|
|
1458
|
+
const checkState$7 = async (client, input) => {
|
|
1456
1459
|
let reason;
|
|
1457
1460
|
try {
|
|
1458
|
-
let result = await client
|
|
1461
|
+
let result = await client.send(new DescribeBotAliasCommand(input));
|
|
1459
1462
|
reason = result;
|
|
1460
1463
|
try {
|
|
1461
1464
|
const returnComparator = () => {
|
|
1462
1465
|
return result.botAliasStatus;
|
|
1463
1466
|
};
|
|
1464
1467
|
if (returnComparator() === "Available") {
|
|
1465
|
-
return { state:
|
|
1468
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1466
1469
|
}
|
|
1467
1470
|
}
|
|
1468
1471
|
catch (e) { }
|
|
@@ -1471,7 +1474,7 @@ const checkState$7 = async (client$1, input) => {
|
|
|
1471
1474
|
return result.botAliasStatus;
|
|
1472
1475
|
};
|
|
1473
1476
|
if (returnComparator() === "Failed") {
|
|
1474
|
-
return { state:
|
|
1477
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1475
1478
|
}
|
|
1476
1479
|
}
|
|
1477
1480
|
catch (e) { }
|
|
@@ -1480,7 +1483,7 @@ const checkState$7 = async (client$1, input) => {
|
|
|
1480
1483
|
return result.botAliasStatus;
|
|
1481
1484
|
};
|
|
1482
1485
|
if (returnComparator() === "Deleting") {
|
|
1483
|
-
return { state:
|
|
1486
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1484
1487
|
}
|
|
1485
1488
|
}
|
|
1486
1489
|
catch (e) { }
|
|
@@ -1488,29 +1491,29 @@ const checkState$7 = async (client$1, input) => {
|
|
|
1488
1491
|
catch (exception) {
|
|
1489
1492
|
reason = exception;
|
|
1490
1493
|
}
|
|
1491
|
-
return { state:
|
|
1494
|
+
return { state: WaiterState.RETRY, reason };
|
|
1492
1495
|
};
|
|
1493
1496
|
const waitForBotAliasAvailable = async (params, input) => {
|
|
1494
1497
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1495
|
-
return
|
|
1498
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
|
|
1496
1499
|
};
|
|
1497
1500
|
const waitUntilBotAliasAvailable = async (params, input) => {
|
|
1498
1501
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1499
|
-
const result = await
|
|
1500
|
-
return
|
|
1502
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
|
|
1503
|
+
return checkExceptions(result);
|
|
1501
1504
|
};
|
|
1502
1505
|
|
|
1503
|
-
const checkState$6 = async (client
|
|
1506
|
+
const checkState$6 = async (client, input) => {
|
|
1504
1507
|
let reason;
|
|
1505
1508
|
try {
|
|
1506
|
-
let result = await client
|
|
1509
|
+
let result = await client.send(new DescribeBotCommand(input));
|
|
1507
1510
|
reason = result;
|
|
1508
1511
|
try {
|
|
1509
1512
|
const returnComparator = () => {
|
|
1510
1513
|
return result.botStatus;
|
|
1511
1514
|
};
|
|
1512
1515
|
if (returnComparator() === "Available") {
|
|
1513
|
-
return { state:
|
|
1516
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1514
1517
|
}
|
|
1515
1518
|
}
|
|
1516
1519
|
catch (e) { }
|
|
@@ -1519,7 +1522,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1519
1522
|
return result.botStatus;
|
|
1520
1523
|
};
|
|
1521
1524
|
if (returnComparator() === "Deleting") {
|
|
1522
|
-
return { state:
|
|
1525
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1523
1526
|
}
|
|
1524
1527
|
}
|
|
1525
1528
|
catch (e) { }
|
|
@@ -1528,7 +1531,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1528
1531
|
return result.botStatus;
|
|
1529
1532
|
};
|
|
1530
1533
|
if (returnComparator() === "Failed") {
|
|
1531
|
-
return { state:
|
|
1534
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1532
1535
|
}
|
|
1533
1536
|
}
|
|
1534
1537
|
catch (e) { }
|
|
@@ -1537,7 +1540,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1537
1540
|
return result.botStatus;
|
|
1538
1541
|
};
|
|
1539
1542
|
if (returnComparator() === "Inactive") {
|
|
1540
|
-
return { state:
|
|
1543
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1541
1544
|
}
|
|
1542
1545
|
}
|
|
1543
1546
|
catch (e) { }
|
|
@@ -1545,29 +1548,29 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1545
1548
|
catch (exception) {
|
|
1546
1549
|
reason = exception;
|
|
1547
1550
|
}
|
|
1548
|
-
return { state:
|
|
1551
|
+
return { state: WaiterState.RETRY, reason };
|
|
1549
1552
|
};
|
|
1550
1553
|
const waitForBotAvailable = async (params, input) => {
|
|
1551
1554
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1552
|
-
return
|
|
1555
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
1553
1556
|
};
|
|
1554
1557
|
const waitUntilBotAvailable = async (params, input) => {
|
|
1555
1558
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1556
|
-
const result = await
|
|
1557
|
-
return
|
|
1559
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
1560
|
+
return checkExceptions(result);
|
|
1558
1561
|
};
|
|
1559
1562
|
|
|
1560
|
-
const checkState$5 = async (client
|
|
1563
|
+
const checkState$5 = async (client, input) => {
|
|
1561
1564
|
let reason;
|
|
1562
1565
|
try {
|
|
1563
|
-
let result = await client
|
|
1566
|
+
let result = await client.send(new DescribeExportCommand(input));
|
|
1564
1567
|
reason = result;
|
|
1565
1568
|
try {
|
|
1566
1569
|
const returnComparator = () => {
|
|
1567
1570
|
return result.exportStatus;
|
|
1568
1571
|
};
|
|
1569
1572
|
if (returnComparator() === "Completed") {
|
|
1570
|
-
return { state:
|
|
1573
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1571
1574
|
}
|
|
1572
1575
|
}
|
|
1573
1576
|
catch (e) { }
|
|
@@ -1576,7 +1579,7 @@ const checkState$5 = async (client$1, input) => {
|
|
|
1576
1579
|
return result.exportStatus;
|
|
1577
1580
|
};
|
|
1578
1581
|
if (returnComparator() === "Deleting") {
|
|
1579
|
-
return { state:
|
|
1582
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1580
1583
|
}
|
|
1581
1584
|
}
|
|
1582
1585
|
catch (e) { }
|
|
@@ -1585,7 +1588,7 @@ const checkState$5 = async (client$1, input) => {
|
|
|
1585
1588
|
return result.exportStatus;
|
|
1586
1589
|
};
|
|
1587
1590
|
if (returnComparator() === "Failed") {
|
|
1588
|
-
return { state:
|
|
1591
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1589
1592
|
}
|
|
1590
1593
|
}
|
|
1591
1594
|
catch (e) { }
|
|
@@ -1593,29 +1596,29 @@ const checkState$5 = async (client$1, input) => {
|
|
|
1593
1596
|
catch (exception) {
|
|
1594
1597
|
reason = exception;
|
|
1595
1598
|
}
|
|
1596
|
-
return { state:
|
|
1599
|
+
return { state: WaiterState.RETRY, reason };
|
|
1597
1600
|
};
|
|
1598
1601
|
const waitForBotExportCompleted = async (params, input) => {
|
|
1599
1602
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1600
|
-
return
|
|
1603
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1601
1604
|
};
|
|
1602
1605
|
const waitUntilBotExportCompleted = async (params, input) => {
|
|
1603
1606
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1604
|
-
const result = await
|
|
1605
|
-
return
|
|
1607
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1608
|
+
return checkExceptions(result);
|
|
1606
1609
|
};
|
|
1607
1610
|
|
|
1608
|
-
const checkState$4 = async (client
|
|
1611
|
+
const checkState$4 = async (client, input) => {
|
|
1609
1612
|
let reason;
|
|
1610
1613
|
try {
|
|
1611
|
-
let result = await client
|
|
1614
|
+
let result = await client.send(new DescribeImportCommand(input));
|
|
1612
1615
|
reason = result;
|
|
1613
1616
|
try {
|
|
1614
1617
|
const returnComparator = () => {
|
|
1615
1618
|
return result.importStatus;
|
|
1616
1619
|
};
|
|
1617
1620
|
if (returnComparator() === "Completed") {
|
|
1618
|
-
return { state:
|
|
1621
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1619
1622
|
}
|
|
1620
1623
|
}
|
|
1621
1624
|
catch (e) { }
|
|
@@ -1624,7 +1627,7 @@ const checkState$4 = async (client$1, input) => {
|
|
|
1624
1627
|
return result.importStatus;
|
|
1625
1628
|
};
|
|
1626
1629
|
if (returnComparator() === "Deleting") {
|
|
1627
|
-
return { state:
|
|
1630
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1628
1631
|
}
|
|
1629
1632
|
}
|
|
1630
1633
|
catch (e) { }
|
|
@@ -1633,7 +1636,7 @@ const checkState$4 = async (client$1, input) => {
|
|
|
1633
1636
|
return result.importStatus;
|
|
1634
1637
|
};
|
|
1635
1638
|
if (returnComparator() === "Failed") {
|
|
1636
|
-
return { state:
|
|
1639
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1637
1640
|
}
|
|
1638
1641
|
}
|
|
1639
1642
|
catch (e) { }
|
|
@@ -1641,29 +1644,29 @@ const checkState$4 = async (client$1, input) => {
|
|
|
1641
1644
|
catch (exception) {
|
|
1642
1645
|
reason = exception;
|
|
1643
1646
|
}
|
|
1644
|
-
return { state:
|
|
1647
|
+
return { state: WaiterState.RETRY, reason };
|
|
1645
1648
|
};
|
|
1646
1649
|
const waitForBotImportCompleted = async (params, input) => {
|
|
1647
1650
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1648
|
-
return
|
|
1651
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1649
1652
|
};
|
|
1650
1653
|
const waitUntilBotImportCompleted = async (params, input) => {
|
|
1651
1654
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1652
|
-
const result = await
|
|
1653
|
-
return
|
|
1655
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1656
|
+
return checkExceptions(result);
|
|
1654
1657
|
};
|
|
1655
1658
|
|
|
1656
|
-
const checkState$3 = async (client
|
|
1659
|
+
const checkState$3 = async (client, input) => {
|
|
1657
1660
|
let reason;
|
|
1658
1661
|
try {
|
|
1659
|
-
let result = await client
|
|
1662
|
+
let result = await client.send(new DescribeBotLocaleCommand(input));
|
|
1660
1663
|
reason = result;
|
|
1661
1664
|
try {
|
|
1662
1665
|
const returnComparator = () => {
|
|
1663
1666
|
return result.botLocaleStatus;
|
|
1664
1667
|
};
|
|
1665
1668
|
if (returnComparator() === "Built") {
|
|
1666
|
-
return { state:
|
|
1669
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1667
1670
|
}
|
|
1668
1671
|
}
|
|
1669
1672
|
catch (e) { }
|
|
@@ -1672,7 +1675,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1672
1675
|
return result.botLocaleStatus;
|
|
1673
1676
|
};
|
|
1674
1677
|
if (returnComparator() === "Deleting") {
|
|
1675
|
-
return { state:
|
|
1678
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1676
1679
|
}
|
|
1677
1680
|
}
|
|
1678
1681
|
catch (e) { }
|
|
@@ -1681,7 +1684,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1681
1684
|
return result.botLocaleStatus;
|
|
1682
1685
|
};
|
|
1683
1686
|
if (returnComparator() === "Failed") {
|
|
1684
|
-
return { state:
|
|
1687
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1685
1688
|
}
|
|
1686
1689
|
}
|
|
1687
1690
|
catch (e) { }
|
|
@@ -1690,7 +1693,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1690
1693
|
return result.botLocaleStatus;
|
|
1691
1694
|
};
|
|
1692
1695
|
if (returnComparator() === "NotBuilt") {
|
|
1693
|
-
return { state:
|
|
1696
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1694
1697
|
}
|
|
1695
1698
|
}
|
|
1696
1699
|
catch (e) { }
|
|
@@ -1698,29 +1701,29 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1698
1701
|
catch (exception) {
|
|
1699
1702
|
reason = exception;
|
|
1700
1703
|
}
|
|
1701
|
-
return { state:
|
|
1704
|
+
return { state: WaiterState.RETRY, reason };
|
|
1702
1705
|
};
|
|
1703
1706
|
const waitForBotLocaleBuilt = async (params, input) => {
|
|
1704
1707
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1705
|
-
return
|
|
1708
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1706
1709
|
};
|
|
1707
1710
|
const waitUntilBotLocaleBuilt = async (params, input) => {
|
|
1708
1711
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1709
|
-
const result = await
|
|
1710
|
-
return
|
|
1712
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1713
|
+
return checkExceptions(result);
|
|
1711
1714
|
};
|
|
1712
1715
|
|
|
1713
|
-
const checkState$2 = async (client
|
|
1716
|
+
const checkState$2 = async (client, input) => {
|
|
1714
1717
|
let reason;
|
|
1715
1718
|
try {
|
|
1716
|
-
let result = await client
|
|
1719
|
+
let result = await client.send(new DescribeBotLocaleCommand(input));
|
|
1717
1720
|
reason = result;
|
|
1718
1721
|
try {
|
|
1719
1722
|
const returnComparator = () => {
|
|
1720
1723
|
return result.botLocaleStatus;
|
|
1721
1724
|
};
|
|
1722
1725
|
if (returnComparator() === "Built") {
|
|
1723
|
-
return { state:
|
|
1726
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1724
1727
|
}
|
|
1725
1728
|
}
|
|
1726
1729
|
catch (e) { }
|
|
@@ -1729,7 +1732,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1729
1732
|
return result.botLocaleStatus;
|
|
1730
1733
|
};
|
|
1731
1734
|
if (returnComparator() === "ReadyExpressTesting") {
|
|
1732
|
-
return { state:
|
|
1735
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1733
1736
|
}
|
|
1734
1737
|
}
|
|
1735
1738
|
catch (e) { }
|
|
@@ -1738,7 +1741,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1738
1741
|
return result.botLocaleStatus;
|
|
1739
1742
|
};
|
|
1740
1743
|
if (returnComparator() === "NotBuilt") {
|
|
1741
|
-
return { state:
|
|
1744
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1742
1745
|
}
|
|
1743
1746
|
}
|
|
1744
1747
|
catch (e) { }
|
|
@@ -1747,7 +1750,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1747
1750
|
return result.botLocaleStatus;
|
|
1748
1751
|
};
|
|
1749
1752
|
if (returnComparator() === "Deleting") {
|
|
1750
|
-
return { state:
|
|
1753
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1751
1754
|
}
|
|
1752
1755
|
}
|
|
1753
1756
|
catch (e) { }
|
|
@@ -1756,7 +1759,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1756
1759
|
return result.botLocaleStatus;
|
|
1757
1760
|
};
|
|
1758
1761
|
if (returnComparator() === "Failed") {
|
|
1759
|
-
return { state:
|
|
1762
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1760
1763
|
}
|
|
1761
1764
|
}
|
|
1762
1765
|
catch (e) { }
|
|
@@ -1764,29 +1767,29 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1764
1767
|
catch (exception) {
|
|
1765
1768
|
reason = exception;
|
|
1766
1769
|
}
|
|
1767
|
-
return { state:
|
|
1770
|
+
return { state: WaiterState.RETRY, reason };
|
|
1768
1771
|
};
|
|
1769
1772
|
const waitForBotLocaleCreated = async (params, input) => {
|
|
1770
1773
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1771
|
-
return
|
|
1774
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1772
1775
|
};
|
|
1773
1776
|
const waitUntilBotLocaleCreated = async (params, input) => {
|
|
1774
1777
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1775
|
-
const result = await
|
|
1776
|
-
return
|
|
1778
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1779
|
+
return checkExceptions(result);
|
|
1777
1780
|
};
|
|
1778
1781
|
|
|
1779
|
-
const checkState$1 = async (client
|
|
1782
|
+
const checkState$1 = async (client, input) => {
|
|
1780
1783
|
let reason;
|
|
1781
1784
|
try {
|
|
1782
|
-
let result = await client
|
|
1785
|
+
let result = await client.send(new DescribeBotLocaleCommand(input));
|
|
1783
1786
|
reason = result;
|
|
1784
1787
|
try {
|
|
1785
1788
|
const returnComparator = () => {
|
|
1786
1789
|
return result.botLocaleStatus;
|
|
1787
1790
|
};
|
|
1788
1791
|
if (returnComparator() === "Built") {
|
|
1789
|
-
return { state:
|
|
1792
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1790
1793
|
}
|
|
1791
1794
|
}
|
|
1792
1795
|
catch (e) { }
|
|
@@ -1795,7 +1798,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1795
1798
|
return result.botLocaleStatus;
|
|
1796
1799
|
};
|
|
1797
1800
|
if (returnComparator() === "ReadyExpressTesting") {
|
|
1798
|
-
return { state:
|
|
1801
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1799
1802
|
}
|
|
1800
1803
|
}
|
|
1801
1804
|
catch (e) { }
|
|
@@ -1804,7 +1807,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1804
1807
|
return result.botLocaleStatus;
|
|
1805
1808
|
};
|
|
1806
1809
|
if (returnComparator() === "Deleting") {
|
|
1807
|
-
return { state:
|
|
1810
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1808
1811
|
}
|
|
1809
1812
|
}
|
|
1810
1813
|
catch (e) { }
|
|
@@ -1813,7 +1816,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1813
1816
|
return result.botLocaleStatus;
|
|
1814
1817
|
};
|
|
1815
1818
|
if (returnComparator() === "Failed") {
|
|
1816
|
-
return { state:
|
|
1819
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1817
1820
|
}
|
|
1818
1821
|
}
|
|
1819
1822
|
catch (e) { }
|
|
@@ -1822,7 +1825,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1822
1825
|
return result.botLocaleStatus;
|
|
1823
1826
|
};
|
|
1824
1827
|
if (returnComparator() === "NotBuilt") {
|
|
1825
|
-
return { state:
|
|
1828
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1826
1829
|
}
|
|
1827
1830
|
}
|
|
1828
1831
|
catch (e) { }
|
|
@@ -1830,29 +1833,29 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1830
1833
|
catch (exception) {
|
|
1831
1834
|
reason = exception;
|
|
1832
1835
|
}
|
|
1833
|
-
return { state:
|
|
1836
|
+
return { state: WaiterState.RETRY, reason };
|
|
1834
1837
|
};
|
|
1835
1838
|
const waitForBotLocaleExpressTestingAvailable = async (params, input) => {
|
|
1836
1839
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1837
|
-
return
|
|
1840
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1838
1841
|
};
|
|
1839
1842
|
const waitUntilBotLocaleExpressTestingAvailable = async (params, input) => {
|
|
1840
1843
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1841
|
-
const result = await
|
|
1842
|
-
return
|
|
1844
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1845
|
+
return checkExceptions(result);
|
|
1843
1846
|
};
|
|
1844
1847
|
|
|
1845
|
-
const checkState = async (client
|
|
1848
|
+
const checkState = async (client, input) => {
|
|
1846
1849
|
let reason;
|
|
1847
1850
|
try {
|
|
1848
|
-
let result = await client
|
|
1851
|
+
let result = await client.send(new DescribeBotVersionCommand(input));
|
|
1849
1852
|
reason = result;
|
|
1850
1853
|
try {
|
|
1851
1854
|
const returnComparator = () => {
|
|
1852
1855
|
return result.botStatus;
|
|
1853
1856
|
};
|
|
1854
1857
|
if (returnComparator() === "Available") {
|
|
1855
|
-
return { state:
|
|
1858
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1856
1859
|
}
|
|
1857
1860
|
}
|
|
1858
1861
|
catch (e) { }
|
|
@@ -1861,7 +1864,7 @@ const checkState = async (client$1, input) => {
|
|
|
1861
1864
|
return result.botStatus;
|
|
1862
1865
|
};
|
|
1863
1866
|
if (returnComparator() === "Deleting") {
|
|
1864
|
-
return { state:
|
|
1867
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1865
1868
|
}
|
|
1866
1869
|
}
|
|
1867
1870
|
catch (e) { }
|
|
@@ -1870,7 +1873,7 @@ const checkState = async (client$1, input) => {
|
|
|
1870
1873
|
return result.botStatus;
|
|
1871
1874
|
};
|
|
1872
1875
|
if (returnComparator() === "Failed") {
|
|
1873
|
-
return { state:
|
|
1876
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1874
1877
|
}
|
|
1875
1878
|
}
|
|
1876
1879
|
catch (e) { }
|
|
@@ -1878,19 +1881,19 @@ const checkState = async (client$1, input) => {
|
|
|
1878
1881
|
catch (exception) {
|
|
1879
1882
|
reason = exception;
|
|
1880
1883
|
if (exception.name === "ResourceNotFoundException") {
|
|
1881
|
-
return { state:
|
|
1884
|
+
return { state: WaiterState.RETRY, reason };
|
|
1882
1885
|
}
|
|
1883
1886
|
}
|
|
1884
|
-
return { state:
|
|
1887
|
+
return { state: WaiterState.RETRY, reason };
|
|
1885
1888
|
};
|
|
1886
1889
|
const waitForBotVersionAvailable = async (params, input) => {
|
|
1887
1890
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1888
|
-
return
|
|
1891
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1889
1892
|
};
|
|
1890
1893
|
const waitUntilBotVersionAvailable = async (params, input) => {
|
|
1891
1894
|
const serviceDefaults = { minDelay: 10, maxDelay: 120 };
|
|
1892
|
-
const result = await
|
|
1893
|
-
return
|
|
1895
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1896
|
+
return checkExceptions(result);
|
|
1894
1897
|
};
|
|
1895
1898
|
|
|
1896
1899
|
const commands = {
|
|
@@ -2046,7 +2049,7 @@ const waiters = {
|
|
|
2046
2049
|
};
|
|
2047
2050
|
class LexModelsV2 extends LexModelsV2Client {
|
|
2048
2051
|
}
|
|
2049
|
-
|
|
2052
|
+
createAggregatedClient(commands, LexModelsV2, { paginators, waiters });
|
|
2050
2053
|
|
|
2051
2054
|
const AudioRecognitionStrategy = {
|
|
2052
2055
|
UseSlotValuesAsCustomVocabulary: "UseSlotValuesAsCustomVocabulary",
|
|
@@ -2607,9 +2610,6 @@ const SearchOrder = {
|
|
|
2607
2610
|
Descending: "Descending",
|
|
2608
2611
|
};
|
|
2609
2612
|
|
|
2610
|
-
exports.$Command = client.Command;
|
|
2611
|
-
exports.__Client = client.Client;
|
|
2612
|
-
exports.LexModelsV2ServiceException = LexModelsV2ServiceException.LexModelsV2ServiceException;
|
|
2613
2613
|
exports.AggregatedUtterancesFilterName = AggregatedUtterancesFilterName;
|
|
2614
2614
|
exports.AggregatedUtterancesFilterOperator = AggregatedUtterancesFilterOperator;
|
|
2615
2615
|
exports.AggregatedUtterancesSortAttribute = AggregatedUtterancesSortAttribute;
|
|
@@ -2873,23 +2873,3 @@ exports.waitUntilBotLocaleBuilt = waitUntilBotLocaleBuilt;
|
|
|
2873
2873
|
exports.waitUntilBotLocaleCreated = waitUntilBotLocaleCreated;
|
|
2874
2874
|
exports.waitUntilBotLocaleExpressTestingAvailable = waitUntilBotLocaleExpressTestingAvailable;
|
|
2875
2875
|
exports.waitUntilBotVersionAvailable = waitUntilBotVersionAvailable;
|
|
2876
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
2877
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
2878
|
-
Object.defineProperty(exports, '__proto__', {
|
|
2879
|
-
enumerable: true,
|
|
2880
|
-
value: schemas_0['__proto__']
|
|
2881
|
-
});
|
|
2882
|
-
|
|
2883
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
2884
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
2885
|
-
});
|
|
2886
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
2887
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
2888
|
-
Object.defineProperty(exports, '__proto__', {
|
|
2889
|
-
enumerable: true,
|
|
2890
|
-
value: errors['__proto__']
|
|
2891
|
-
});
|
|
2892
|
-
|
|
2893
|
-
Object.keys(errors).forEach(function (k) {
|
|
2894
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
2895
|
-
});
|