@aws-sdk/client-lex-model-building-service 3.1074.0 → 3.1076.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/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  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, defaultLexModelBuildingServiceHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateBotVersion$, CreateIntentVersion$, CreateSlotTypeVersion$, DeleteBotAlias$, DeleteBotChannelAssociation$, DeleteBot$, DeleteBotVersion$, DeleteIntent$, DeleteIntentVersion$, DeleteSlotType$, DeleteSlotTypeVersion$, DeleteUtterances$, GetBotAlias$, GetBotAliases$, GetBotChannelAssociation$, GetBotChannelAssociations$, GetBot$, GetBots$, GetBotVersions$, GetBuiltinIntent$, GetBuiltinIntents$, GetBuiltinSlotTypes$, GetExport$, GetImport$, GetIntent$, GetIntents$, GetIntentVersions$, GetMigration$, GetMigrations$, GetSlotType$, GetSlotTypes$, GetSlotTypeVersions$, GetUtterancesView$, ListTagsForResource$, PutBotAlias$, PutBot$, PutIntent$, PutSlotType$, StartImport$, StartMigration$, TagResource$, UntagResource$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { LexModelBuildingServiceServiceException } = require("./models/LexModelBuildingServiceServiceException");
18
- exports.LexModelBuildingServiceServiceException = LexModelBuildingServiceServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultLexModelBuildingServiceHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "lex",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultLexModelBuildingServiceHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1381 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const m = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [h]],
79
+ [c, l],
80
+ ["aws.partition", l, d],
81
+ [e, [{ [m]: "UseFIPS" }, b]],
82
+ [e, [{ [m]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
85
+ [g, [j, "aws"]],
86
+ [g, [j, "aws-us-gov"]]
87
+ ],
88
+ results: [
89
+ [a],
90
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
91
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
92
+ [h, k],
93
+ ["https://models.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
94
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
95
+ ["https://models-fips.lex.{Region}.amazonaws.com", k],
96
+ ["https://models.lex-fips.{Region}.{PartitionResult#dnsSuffix}", k],
97
+ [a, "FIPS is enabled but this partition does not support FIPS"],
98
+ ["https://models.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
99
+ [a, "DualStack is enabled but this partition does not support DualStack"],
100
+ ["https://models.lex.{Region}.amazonaws.com", k],
101
+ ["https://models.lex.{Region}.{PartitionResult#dnsSuffix}", k],
102
+ [a, "Invalid Configuration: Missing Region"]
103
+ ]
104
+ };
105
+ const root = 2;
106
+ const r = 100_000_000;
107
+ const nodes = new Int32Array([
108
+ -1, 1, -1,
109
+ 0, 16, 3,
110
+ 1, 4, r + 13,
111
+ 2, 5, r + 13,
112
+ 3, 10, 6,
113
+ 4, 9, 7,
114
+ 7, r + 11, 8,
115
+ 8, r + 11, r + 12,
116
+ 5, r + 9, r + 10,
117
+ 4, 14, 11,
118
+ 6, 12, r + 8,
119
+ 7, r + 6, 13,
120
+ 8, r + 6, r + 7,
121
+ 5, 15, r + 5,
122
+ 6, r + 4, r + 5,
123
+ 3, r + 1, 17,
124
+ 4, r + 2, r + 3,
125
+ ]);
126
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
127
+
128
+ const cache = new EndpointCache({
129
+ size: 50,
130
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
131
+ });
132
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
133
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
134
+ endpointParams: endpointParams,
135
+ logger: context.logger,
136
+ }));
137
+ };
138
+ customEndpointFunctions.aws = awsEndpointFunctions;
139
+
140
+ class LexModelBuildingServiceServiceException extends ServiceException {
141
+ constructor(options) {
142
+ super(options);
143
+ Object.setPrototypeOf(this, LexModelBuildingServiceServiceException.prototype);
144
+ }
145
+ }
146
+
147
+ class AccessDeniedException extends LexModelBuildingServiceServiceException {
148
+ name = "AccessDeniedException";
149
+ $fault = "client";
150
+ constructor(opts) {
151
+ super({
152
+ name: "AccessDeniedException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
157
+ }
158
+ }
159
+ class BadRequestException extends LexModelBuildingServiceServiceException {
160
+ name = "BadRequestException";
161
+ $fault = "client";
162
+ constructor(opts) {
163
+ super({
164
+ name: "BadRequestException",
165
+ $fault: "client",
166
+ ...opts,
167
+ });
168
+ Object.setPrototypeOf(this, BadRequestException.prototype);
169
+ }
170
+ }
171
+ class ConflictException extends LexModelBuildingServiceServiceException {
172
+ name = "ConflictException";
173
+ $fault = "client";
174
+ constructor(opts) {
175
+ super({
176
+ name: "ConflictException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, ConflictException.prototype);
181
+ }
182
+ }
183
+ class InternalFailureException extends LexModelBuildingServiceServiceException {
184
+ name = "InternalFailureException";
185
+ $fault = "server";
186
+ constructor(opts) {
187
+ super({
188
+ name: "InternalFailureException",
189
+ $fault: "server",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
193
+ }
194
+ }
195
+ class LimitExceededException extends LexModelBuildingServiceServiceException {
196
+ name = "LimitExceededException";
197
+ $fault = "client";
198
+ retryAfterSeconds;
199
+ constructor(opts) {
200
+ super({
201
+ name: "LimitExceededException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
206
+ this.retryAfterSeconds = opts.retryAfterSeconds;
207
+ }
208
+ }
209
+ class NotFoundException extends LexModelBuildingServiceServiceException {
210
+ name = "NotFoundException";
211
+ $fault = "client";
212
+ constructor(opts) {
213
+ super({
214
+ name: "NotFoundException",
215
+ $fault: "client",
216
+ ...opts,
217
+ });
218
+ Object.setPrototypeOf(this, NotFoundException.prototype);
219
+ }
220
+ }
221
+ class PreconditionFailedException extends LexModelBuildingServiceServiceException {
222
+ name = "PreconditionFailedException";
223
+ $fault = "client";
224
+ constructor(opts) {
225
+ super({
226
+ name: "PreconditionFailedException",
227
+ $fault: "client",
228
+ ...opts,
229
+ });
230
+ Object.setPrototypeOf(this, PreconditionFailedException.prototype);
231
+ }
232
+ }
233
+ class ResourceInUseException extends LexModelBuildingServiceServiceException {
234
+ name = "ResourceInUseException";
235
+ $fault = "client";
236
+ referenceType;
237
+ exampleReference;
238
+ constructor(opts) {
239
+ super({
240
+ name: "ResourceInUseException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
245
+ this.referenceType = opts.referenceType;
246
+ this.exampleReference = opts.exampleReference;
247
+ }
248
+ }
249
+
250
+ const _ADE = "AccessDeniedException";
251
+ const _BA = "BotAliases";
252
+ const _BAM = "BotAliasMetadata";
253
+ const _BAML = "BotAliasMetadataList";
254
+ const _BCA = "BotChannelAssociation";
255
+ const _BCAL = "BotChannelAssociationList";
256
+ const _BIM = "BuiltinIntentMetadata";
257
+ const _BIML = "BuiltinIntentMetadataList";
258
+ const _BIS = "BuiltinIntentSlot";
259
+ const _BISL = "BuiltinIntentSlotList";
260
+ const _BM = "BotMetadata";
261
+ const _BML = "BotMetadataList";
262
+ const _BRE = "BadRequestException";
263
+ const _BSTM = "BuiltinSlotTypeMetadata";
264
+ const _BSTML = "BuiltinSlotTypeMetadataList";
265
+ const _CBV = "CreateBotVersion";
266
+ const _CBVR = "CreateBotVersionRequest";
267
+ const _CBVRr = "CreateBotVersionResponse";
268
+ const _CCM = "ChannelConfigurationMap";
269
+ const _CE = "ConflictException";
270
+ const _CH = "CodeHook";
271
+ const _CIV = "CreateIntentVersion";
272
+ const _CIVR = "CreateIntentVersionRequest";
273
+ const _CIVRr = "CreateIntentVersionResponse";
274
+ const _CLR = "ConversationLogsRequest";
275
+ const _CLRo = "ConversationLogsResponse";
276
+ const _CSTV = "CreateSlotTypeVersion";
277
+ const _CSTVR = "CreateSlotTypeVersionRequest";
278
+ const _CSTVRr = "CreateSlotTypeVersionResponse";
279
+ const _DB = "DeleteBot";
280
+ const _DBA = "DeleteBotAlias";
281
+ const _DBAR = "DeleteBotAliasRequest";
282
+ const _DBCA = "DeleteBotChannelAssociation";
283
+ const _DBCAR = "DeleteBotChannelAssociationRequest";
284
+ const _DBR = "DeleteBotRequest";
285
+ const _DBV = "DeleteBotVersion";
286
+ const _DBVR = "DeleteBotVersionRequest";
287
+ const _DI = "DeleteIntent";
288
+ const _DIR = "DeleteIntentRequest";
289
+ const _DIV = "DeleteIntentVersion";
290
+ const _DIVR = "DeleteIntentVersionRequest";
291
+ const _DST = "DeleteSlotType";
292
+ const _DSTR = "DeleteSlotTypeRequest";
293
+ const _DSTV = "DeleteSlotTypeVersion";
294
+ const _DSTVR = "DeleteSlotTypeVersionRequest";
295
+ const _DU = "DeleteUtterances";
296
+ const _DUR = "DeleteUtterancesRequest";
297
+ const _EV = "EnumerationValue";
298
+ const _EVn = "EnumerationValues";
299
+ const _FA = "FulfillmentActivity";
300
+ const _FUP = "FollowUpPrompt";
301
+ const _GB = "GetBot";
302
+ const _GBA = "GetBotAlias";
303
+ const _GBAR = "GetBotAliasesRequest";
304
+ const _GBARe = "GetBotAliasesResponse";
305
+ const _GBARet = "GetBotAliasRequest";
306
+ const _GBAReto = "GetBotAliasResponse";
307
+ const _GBAe = "GetBotAliases";
308
+ const _GBCA = "GetBotChannelAssociation";
309
+ const _GBCAR = "GetBotChannelAssociationRequest";
310
+ const _GBCARe = "GetBotChannelAssociationResponse";
311
+ const _GBCARet = "GetBotChannelAssociationsRequest";
312
+ const _GBCAReto = "GetBotChannelAssociationsResponse";
313
+ const _GBCAe = "GetBotChannelAssociations";
314
+ const _GBI = "GetBuiltinIntent";
315
+ const _GBIR = "GetBuiltinIntentRequest";
316
+ const _GBIRe = "GetBuiltinIntentResponse";
317
+ const _GBIRet = "GetBuiltinIntentsRequest";
318
+ const _GBIRetu = "GetBuiltinIntentsResponse";
319
+ const _GBIe = "GetBuiltinIntents";
320
+ const _GBR = "GetBotRequest";
321
+ const _GBRe = "GetBotResponse";
322
+ const _GBRet = "GetBotsRequest";
323
+ const _GBReto = "GetBotsResponse";
324
+ const _GBST = "GetBuiltinSlotTypes";
325
+ const _GBSTR = "GetBuiltinSlotTypesRequest";
326
+ const _GBSTRe = "GetBuiltinSlotTypesResponse";
327
+ const _GBV = "GetBotVersions";
328
+ const _GBVR = "GetBotVersionsRequest";
329
+ const _GBVRe = "GetBotVersionsResponse";
330
+ const _GBe = "GetBots";
331
+ const _GE = "GetExport";
332
+ const _GER = "GetExportRequest";
333
+ const _GERe = "GetExportResponse";
334
+ const _GI = "GetImport";
335
+ const _GIR = "GetImportRequest";
336
+ const _GIRe = "GetImportResponse";
337
+ const _GIRet = "GetIntentRequest";
338
+ const _GIRetn = "GetIntentResponse";
339
+ const _GIRetnt = "GetIntentsRequest";
340
+ const _GIRetnte = "GetIntentsResponse";
341
+ const _GIV = "GetIntentVersions";
342
+ const _GIVR = "GetIntentVersionsRequest";
343
+ const _GIVRe = "GetIntentVersionsResponse";
344
+ const _GIe = "GetIntent";
345
+ const _GIet = "GetIntents";
346
+ const _GM = "GetMigration";
347
+ const _GMR = "GetMigrationRequest";
348
+ const _GMRe = "GetMigrationResponse";
349
+ const _GMRet = "GetMigrationsRequest";
350
+ const _GMReti = "GetMigrationsResponse";
351
+ const _GMe = "GetMigrations";
352
+ const _GST = "GetSlotType";
353
+ const _GSTR = "GetSlotTypeRequest";
354
+ const _GSTRe = "GetSlotTypeResponse";
355
+ const _GSTRet = "GetSlotTypesRequest";
356
+ const _GSTRetl = "GetSlotTypesResponse";
357
+ const _GSTV = "GetSlotTypeVersions";
358
+ const _GSTVR = "GetSlotTypeVersionsRequest";
359
+ const _GSTVRe = "GetSlotTypeVersionsResponse";
360
+ const _GSTe = "GetSlotTypes";
361
+ const _GUV = "GetUtterancesView";
362
+ const _GUVR = "GetUtterancesViewRequest";
363
+ const _GUVRe = "GetUtterancesViewResponse";
364
+ const _I = "Intent";
365
+ const _IC = "InputContext";
366
+ const _ICL = "InputContextList";
367
+ const _IFE = "InternalFailureException";
368
+ const _IL = "IntentList";
369
+ const _IM = "IntentMetadata";
370
+ const _IML = "IntentMetadataList";
371
+ const _KC = "KendraConfiguration";
372
+ const _LEE = "LimitExceededException";
373
+ const _LOU = "ListOfUtterance";
374
+ const _LOUi = "ListsOfUtterances";
375
+ const _LSR = "LogSettingsRequest";
376
+ const _LSRL = "LogSettingsRequestList";
377
+ const _LSRLo = "LogSettingsResponseList";
378
+ const _LSRo = "LogSettingsResponse";
379
+ const _LTFR = "ListTagsForResource";
380
+ const _LTFRR = "ListTagsForResourceRequest";
381
+ const _LTFRRi = "ListTagsForResourceResponse";
382
+ const _M = "Message";
383
+ const _MA = "MigrationAlert";
384
+ const _MAi = "MigrationAlerts";
385
+ const _ML = "MessageList";
386
+ const _MS = "MigrationSummary";
387
+ const _MSL = "MigrationSummaryList";
388
+ const _NFE = "NotFoundException";
389
+ const _OC = "OutputContext";
390
+ const _OCL = "OutputContextList";
391
+ const _P = "Prompt";
392
+ const _PB = "PutBot";
393
+ const _PBA = "PutBotAlias";
394
+ const _PBAR = "PutBotAliasRequest";
395
+ const _PBARu = "PutBotAliasResponse";
396
+ const _PBR = "PutBotRequest";
397
+ const _PBRu = "PutBotResponse";
398
+ const _PFE = "PreconditionFailedException";
399
+ const _PI = "PutIntent";
400
+ const _PIR = "PutIntentRequest";
401
+ const _PIRu = "PutIntentResponse";
402
+ const _PST = "PutSlotType";
403
+ const _PSTR = "PutSlotTypeRequest";
404
+ const _PSTRu = "PutSlotTypeResponse";
405
+ const _RA = "Retry-After";
406
+ const _RIUE = "ResourceInUseException";
407
+ const _RR = "ResourceReference";
408
+ const _S = "Slot";
409
+ const _SDV = "SlotDefaultValue";
410
+ const _SDVL = "SlotDefaultValueList";
411
+ const _SDVS = "SlotDefaultValueSpec";
412
+ const _SI = "StartImport";
413
+ const _SIR = "StartImportRequest";
414
+ const _SIRt = "StartImportResponse";
415
+ const _SL = "SlotList";
416
+ const _SM = "StartMigration";
417
+ const _SMR = "StartMigrationRequest";
418
+ const _SMRt = "StartMigrationResponse";
419
+ const _STC = "SlotTypeConfiguration";
420
+ const _STCl = "SlotTypeConfigurations";
421
+ const _STM = "SlotTypeMetadata";
422
+ const _STML = "SlotTypeMetadataList";
423
+ const _STRC = "SlotTypeRegexConfiguration";
424
+ const _St = "Statement";
425
+ const _T = "Tag";
426
+ const _TL = "TagList";
427
+ const _TR = "TagResource";
428
+ const _TRR = "TagResourceRequest";
429
+ const _TRRa = "TagResourceResponse";
430
+ const _UD = "UtteranceData";
431
+ const _UL = "UtteranceList";
432
+ const _UR = "UntagResource";
433
+ const _URR = "UntagResourceRequest";
434
+ const _URRn = "UntagResourceResponse";
435
+ const _a = "alerts";
436
+ const _aS = "abortStatement";
437
+ const _b = "bots";
438
+ const _bA = "botAlias";
439
+ const _bC = "botConfiguration";
440
+ const _bCA = "botChannelAssociations";
441
+ const _bN = "botName";
442
+ const _bV = "botVersion";
443
+ const _bVo = "botVersions";
444
+ const _bv = "bot_versions";
445
+ const _c = "client";
446
+ const _cD = "createdDate";
447
+ const _cDh = "childDirected";
448
+ const _cH = "codeHook";
449
+ const _cL = "conversationLogs";
450
+ const _cP = "clarificationPrompt";
451
+ const _cPo = "confirmationPrompt";
452
+ const _cS = "conclusionStatement";
453
+ const _cT = "contentType";
454
+ const _cV = "createVersion";
455
+ const _ch = "checksum";
456
+ const _co = "content";
457
+ const _cou = "count";
458
+ const _d = "description";
459
+ const _dCH = "dialogCodeHook";
460
+ const _dS = "detectSentiment";
461
+ const _dU = "distinctUsers";
462
+ const _dV = "defaultValue";
463
+ const _dVL = "defaultValueList";
464
+ const _dVS = "defaultValueSpec";
465
+ const _de = "destination";
466
+ const _det = "details";
467
+ const _e = "error";
468
+ const _eMI = "enableModelImprovements";
469
+ const _eR = "exampleReference";
470
+ const _eS = "exportStatus";
471
+ const _eT = "exportType";
472
+ const _eV = "enumerationValues";
473
+ const _fA = "fulfillmentActivity";
474
+ const _fR = "failureReason";
475
+ const _fUD = "firstUtteredDate";
476
+ const _fUP = "followUpPrompt";
477
+ const _gN = "groupNumber";
478
+ const _h = "http";
479
+ const _hE = "httpError";
480
+ const _hH = "httpHeader";
481
+ const _hQ = "httpQuery";
482
+ const _i = "intents";
483
+ const _iC = "inputContexts";
484
+ const _iI = "importId";
485
+ const _iN = "intentName";
486
+ const _iRA = "iamRoleArn";
487
+ const _iS = "importStatus";
488
+ const _iSTTLIS = "idleSessionTTLInSeconds";
489
+ const _iV = "intentVersion";
490
+ const _k = "key";
491
+ const _kC = "kendraConfiguration";
492
+ const _kI = "kendraIndex";
493
+ const _kKA = "kmsKeyArn";
494
+ const _l = "locale";
495
+ const _lS = "logSettings";
496
+ const _lT = "logType";
497
+ const _lUD = "lastUpdatedDate";
498
+ const _lUDa = "lastUtteredDate";
499
+ const _m = "message";
500
+ const _mA = "maxAttempts";
501
+ const _mI = "migrationId";
502
+ const _mR = "maxResults";
503
+ const _mS = "mergeStrategy";
504
+ const _mSE = "migrationStatusEquals";
505
+ const _mSi = "migrationStatus";
506
+ const _mSig = "migrationStrategy";
507
+ const _mSigr = "migrationSummaries";
508
+ const _mT = "migrationTimestamp";
509
+ const _mV = "messageVersion";
510
+ const _me = "messages";
511
+ const _n = "name";
512
+ const _nC = "nameContains";
513
+ const _nICT = "nluIntentConfidenceThreshold";
514
+ const _nT = "nextToken";
515
+ const _oC = "outputContexts";
516
+ const _oS = "obfuscationSetting";
517
+ const _p = "prompt";
518
+ const _pB = "processBehavior";
519
+ const _pIS = "parentIntentSignature";
520
+ const _pSTS = "parentSlotTypeSignature";
521
+ const _pa = "pattern";
522
+ const _pay = "payload";
523
+ const _pr = "priority";
524
+ const _qFS = "queryFilterString";
525
+ const _r = "role";
526
+ const _rA = "resourceArn";
527
+ const _rAS = "retryAfterSeconds";
528
+ const _rC = "responseCard";
529
+ const _rCe = "regexConfiguration";
530
+ const _rP = "resourcePrefix";
531
+ const _rS = "rejectionStatement";
532
+ const _rT = "referenceType";
533
+ const _rTe = "resourceType";
534
+ const _rURL = "referenceURLs";
535
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.lexmodelbuildingservice";
536
+ const _sBA = "sortByAttribute";
537
+ const _sBO = "sortByOrder";
538
+ const _sC = "signatureContains";
539
+ const _sCl = "slotConstraint";
540
+ const _sL = "supportedLocales";
541
+ const _sT = "slotTypes";
542
+ const _sTC = "slotTypeConfigurations";
543
+ const _sTV = "slotTypeVersion";
544
+ const _sTl = "slotType";
545
+ const _sTt = "statusType";
546
+ const _sU = "sampleUtterances";
547
+ const _se = "server";
548
+ const _si = "signature";
549
+ const _sl = "slots";
550
+ const _st = "status";
551
+ const _st_ = "status_type";
552
+ const _sy = "synonyms";
553
+ const _t = "type";
554
+ const _tK = "tagKeys";
555
+ const _tTL = "turnsToLive";
556
+ const _tTLIS = "timeToLiveInSeconds";
557
+ const _ta = "tags";
558
+ const _u = "uri";
559
+ const _uI = "userId";
560
+ const _uS = "utteranceString";
561
+ const _ur = "url";
562
+ const _ut = "utterances";
563
+ const _v = "version";
564
+ const _vBI = "v2BotId";
565
+ const _vBL = "v1BotLocale";
566
+ const _vBN = "v1BotName";
567
+ const _vBNC = "v1BotNameContains";
568
+ const _vBNo = "v2BotName";
569
+ const _vBR = "v2BotRole";
570
+ const _vBV = "v1BotVersion";
571
+ const _vEP = "valueElicitationPrompt";
572
+ const _vI = "voiceId";
573
+ const _vOA = "versionOrAlias";
574
+ const _vSS = "valueSelectionStrategy";
575
+ const _va = "value";
576
+ const n0 = "com.amazonaws.lexmodelbuildingservice";
577
+ const _s_registry = TypeRegistry.for(_s);
578
+ var LexModelBuildingServiceServiceException$ = [-3, _s, "LexModelBuildingServiceServiceException", 0, [], []];
579
+ _s_registry.registerError(LexModelBuildingServiceServiceException$, LexModelBuildingServiceServiceException);
580
+ const n0_registry = TypeRegistry.for(n0);
581
+ var AccessDeniedException$ = [-3, n0, _ADE,
582
+ { [_e]: _c, [_hE]: 403 },
583
+ [_m],
584
+ [0]
585
+ ];
586
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
587
+ var BadRequestException$ = [-3, n0, _BRE,
588
+ { [_e]: _c, [_hE]: 400 },
589
+ [_m],
590
+ [0]
591
+ ];
592
+ n0_registry.registerError(BadRequestException$, BadRequestException);
593
+ var ConflictException$ = [-3, n0, _CE,
594
+ { [_e]: _c, [_hE]: 409 },
595
+ [_m],
596
+ [0]
597
+ ];
598
+ n0_registry.registerError(ConflictException$, ConflictException);
599
+ var InternalFailureException$ = [-3, n0, _IFE,
600
+ { [_e]: _se, [_hE]: 500 },
601
+ [_m],
602
+ [0]
603
+ ];
604
+ n0_registry.registerError(InternalFailureException$, InternalFailureException);
605
+ var LimitExceededException$ = [-3, n0, _LEE,
606
+ { [_e]: _c, [_hE]: 429 },
607
+ [_rAS, _m],
608
+ [[0, { [_hH]: _RA }], 0]
609
+ ];
610
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
611
+ var NotFoundException$ = [-3, n0, _NFE,
612
+ { [_e]: _c, [_hE]: 404 },
613
+ [_m],
614
+ [0]
615
+ ];
616
+ n0_registry.registerError(NotFoundException$, NotFoundException);
617
+ var PreconditionFailedException$ = [-3, n0, _PFE,
618
+ { [_e]: _c, [_hE]: 412 },
619
+ [_m],
620
+ [0]
621
+ ];
622
+ n0_registry.registerError(PreconditionFailedException$, PreconditionFailedException);
623
+ var ResourceInUseException$ = [-3, n0, _RIUE,
624
+ { [_e]: _c, [_hE]: 400 },
625
+ [_rT, _eR],
626
+ [0, () => ResourceReference$]
627
+ ];
628
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
629
+ const errorTypeRegistries = [
630
+ _s_registry,
631
+ n0_registry,
632
+ ];
633
+ var BotAliasMetadata$ = [3, n0, _BAM,
634
+ 0,
635
+ [_n, _d, _bV, _bN, _lUD, _cD, _ch, _cL],
636
+ [0, 0, 0, 0, 4, 4, 0, () => ConversationLogsResponse$]
637
+ ];
638
+ var BotChannelAssociation$ = [3, n0, _BCA,
639
+ 0,
640
+ [_n, _d, _bA, _bN, _cD, _t, _bC, _st, _fR],
641
+ [0, 0, 0, 0, 4, 0, [() => ChannelConfigurationMap, 0], 0, 0]
642
+ ];
643
+ var BotMetadata$ = [3, n0, _BM,
644
+ 0,
645
+ [_n, _d, _st, _lUD, _cD, _v],
646
+ [0, 0, 0, 4, 4, 0]
647
+ ];
648
+ var BuiltinIntentMetadata$ = [3, n0, _BIM,
649
+ 0,
650
+ [_si, _sL],
651
+ [0, 64 | 0]
652
+ ];
653
+ var BuiltinIntentSlot$ = [3, n0, _BIS,
654
+ 0,
655
+ [_n],
656
+ [0]
657
+ ];
658
+ var BuiltinSlotTypeMetadata$ = [3, n0, _BSTM,
659
+ 0,
660
+ [_si, _sL],
661
+ [0, 64 | 0]
662
+ ];
663
+ var CodeHook$ = [3, n0, _CH,
664
+ 0,
665
+ [_u, _mV],
666
+ [0, 0], 2
667
+ ];
668
+ var ConversationLogsRequest$ = [3, n0, _CLR,
669
+ 0,
670
+ [_lS, _iRA],
671
+ [() => LogSettingsRequestList, 0], 2
672
+ ];
673
+ var ConversationLogsResponse$ = [3, n0, _CLRo,
674
+ 0,
675
+ [_lS, _iRA],
676
+ [() => LogSettingsResponseList, 0]
677
+ ];
678
+ var CreateBotVersionRequest$ = [3, n0, _CBVR,
679
+ 0,
680
+ [_n, _ch],
681
+ [[0, 1], 0], 1
682
+ ];
683
+ var CreateBotVersionResponse$ = [3, n0, _CBVRr,
684
+ 0,
685
+ [_n, _d, _i, _cP, _aS, _st, _fR, _lUD, _cD, _iSTTLIS, _vI, _ch, _v, _l, _cDh, _eMI, _dS],
686
+ [0, 0, () => IntentList, () => Prompt$, () => Statement$, 0, 0, 4, 4, 1, 0, 0, 0, 0, 2, 2, 2]
687
+ ];
688
+ var CreateIntentVersionRequest$ = [3, n0, _CIVR,
689
+ 0,
690
+ [_n, _ch],
691
+ [[0, 1], 0], 1
692
+ ];
693
+ var CreateIntentVersionResponse$ = [3, n0, _CIVRr,
694
+ 0,
695
+ [_n, _d, _sl, _sU, _cPo, _rS, _fUP, _cS, _dCH, _fA, _pIS, _lUD, _cD, _v, _ch, _kC, _iC, _oC],
696
+ [0, 0, () => SlotList, 64 | 0, () => Prompt$, () => Statement$, () => FollowUpPrompt$, () => Statement$, () => CodeHook$, () => FulfillmentActivity$, 0, 4, 4, 0, 0, () => KendraConfiguration$, () => InputContextList, () => OutputContextList]
697
+ ];
698
+ var CreateSlotTypeVersionRequest$ = [3, n0, _CSTVR,
699
+ 0,
700
+ [_n, _ch],
701
+ [[0, 1], 0], 1
702
+ ];
703
+ var CreateSlotTypeVersionResponse$ = [3, n0, _CSTVRr,
704
+ 0,
705
+ [_n, _d, _eV, _lUD, _cD, _v, _ch, _vSS, _pSTS, _sTC],
706
+ [0, 0, () => EnumerationValues, 4, 4, 0, 0, 0, 0, () => SlotTypeConfigurations]
707
+ ];
708
+ var DeleteBotAliasRequest$ = [3, n0, _DBAR,
709
+ 0,
710
+ [_n, _bN],
711
+ [[0, 1], [0, 1]], 2
712
+ ];
713
+ var DeleteBotChannelAssociationRequest$ = [3, n0, _DBCAR,
714
+ 0,
715
+ [_n, _bN, _bA],
716
+ [[0, 1], [0, 1], [0, 1]], 3
717
+ ];
718
+ var DeleteBotRequest$ = [3, n0, _DBR,
719
+ 0,
720
+ [_n],
721
+ [[0, 1]], 1
722
+ ];
723
+ var DeleteBotVersionRequest$ = [3, n0, _DBVR,
724
+ 0,
725
+ [_n, _v],
726
+ [[0, 1], [0, 1]], 2
727
+ ];
728
+ var DeleteIntentRequest$ = [3, n0, _DIR,
729
+ 0,
730
+ [_n],
731
+ [[0, 1]], 1
732
+ ];
733
+ var DeleteIntentVersionRequest$ = [3, n0, _DIVR,
734
+ 0,
735
+ [_n, _v],
736
+ [[0, 1], [0, 1]], 2
737
+ ];
738
+ var DeleteSlotTypeRequest$ = [3, n0, _DSTR,
739
+ 0,
740
+ [_n],
741
+ [[0, 1]], 1
742
+ ];
743
+ var DeleteSlotTypeVersionRequest$ = [3, n0, _DSTVR,
744
+ 0,
745
+ [_n, _v],
746
+ [[0, 1], [0, 1]], 2
747
+ ];
748
+ var DeleteUtterancesRequest$ = [3, n0, _DUR,
749
+ 0,
750
+ [_bN, _uI],
751
+ [[0, 1], [0, 1]], 2
752
+ ];
753
+ var EnumerationValue$ = [3, n0, _EV,
754
+ 0,
755
+ [_va, _sy],
756
+ [0, 64 | 0], 1
757
+ ];
758
+ var FollowUpPrompt$ = [3, n0, _FUP,
759
+ 0,
760
+ [_p, _rS],
761
+ [() => Prompt$, () => Statement$], 2
762
+ ];
763
+ var FulfillmentActivity$ = [3, n0, _FA,
764
+ 0,
765
+ [_t, _cH],
766
+ [0, () => CodeHook$], 1
767
+ ];
768
+ var GetBotAliasesRequest$ = [3, n0, _GBAR,
769
+ 0,
770
+ [_bN, _nT, _mR, _nC],
771
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nC }]], 1
772
+ ];
773
+ var GetBotAliasesResponse$ = [3, n0, _GBARe,
774
+ 0,
775
+ [_BA, _nT],
776
+ [() => BotAliasMetadataList, 0]
777
+ ];
778
+ var GetBotAliasRequest$ = [3, n0, _GBARet,
779
+ 0,
780
+ [_n, _bN],
781
+ [[0, 1], [0, 1]], 2
782
+ ];
783
+ var GetBotAliasResponse$ = [3, n0, _GBAReto,
784
+ 0,
785
+ [_n, _d, _bV, _bN, _lUD, _cD, _ch, _cL],
786
+ [0, 0, 0, 0, 4, 4, 0, () => ConversationLogsResponse$]
787
+ ];
788
+ var GetBotChannelAssociationRequest$ = [3, n0, _GBCAR,
789
+ 0,
790
+ [_n, _bN, _bA],
791
+ [[0, 1], [0, 1], [0, 1]], 3
792
+ ];
793
+ var GetBotChannelAssociationResponse$ = [3, n0, _GBCARe,
794
+ 0,
795
+ [_n, _d, _bA, _bN, _cD, _t, _bC, _st, _fR],
796
+ [0, 0, 0, 0, 4, 0, [() => ChannelConfigurationMap, 0], 0, 0]
797
+ ];
798
+ var GetBotChannelAssociationsRequest$ = [3, n0, _GBCARet,
799
+ 0,
800
+ [_bN, _bA, _nT, _mR, _nC],
801
+ [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nC }]], 2
802
+ ];
803
+ var GetBotChannelAssociationsResponse$ = [3, n0, _GBCAReto,
804
+ 0,
805
+ [_bCA, _nT],
806
+ [[() => BotChannelAssociationList, 0], 0]
807
+ ];
808
+ var GetBotRequest$ = [3, n0, _GBR,
809
+ 0,
810
+ [_n, _vOA],
811
+ [[0, 1], [0, 1]], 2
812
+ ];
813
+ var GetBotResponse$ = [3, n0, _GBRe,
814
+ 0,
815
+ [_n, _d, _i, _eMI, _nICT, _cP, _aS, _st, _fR, _lUD, _cD, _iSTTLIS, _vI, _ch, _v, _l, _cDh, _dS],
816
+ [0, 0, () => IntentList, 2, 1, () => Prompt$, () => Statement$, 0, 0, 4, 4, 1, 0, 0, 0, 0, 2, 2]
817
+ ];
818
+ var GetBotsRequest$ = [3, n0, _GBRet,
819
+ 0,
820
+ [_nT, _mR, _nC],
821
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nC }]]
822
+ ];
823
+ var GetBotsResponse$ = [3, n0, _GBReto,
824
+ 0,
825
+ [_b, _nT],
826
+ [() => BotMetadataList, 0]
827
+ ];
828
+ var GetBotVersionsRequest$ = [3, n0, _GBVR,
829
+ 0,
830
+ [_n, _nT, _mR],
831
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
832
+ ];
833
+ var GetBotVersionsResponse$ = [3, n0, _GBVRe,
834
+ 0,
835
+ [_b, _nT],
836
+ [() => BotMetadataList, 0]
837
+ ];
838
+ var GetBuiltinIntentRequest$ = [3, n0, _GBIR,
839
+ 0,
840
+ [_si],
841
+ [[0, 1]], 1
842
+ ];
843
+ var GetBuiltinIntentResponse$ = [3, n0, _GBIRe,
844
+ 0,
845
+ [_si, _sL, _sl],
846
+ [0, 64 | 0, () => BuiltinIntentSlotList]
847
+ ];
848
+ var GetBuiltinIntentsRequest$ = [3, n0, _GBIRet,
849
+ 0,
850
+ [_l, _sC, _nT, _mR],
851
+ [[0, { [_hQ]: _l }], [0, { [_hQ]: _sC }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
852
+ ];
853
+ var GetBuiltinIntentsResponse$ = [3, n0, _GBIRetu,
854
+ 0,
855
+ [_i, _nT],
856
+ [() => BuiltinIntentMetadataList, 0]
857
+ ];
858
+ var GetBuiltinSlotTypesRequest$ = [3, n0, _GBSTR,
859
+ 0,
860
+ [_l, _sC, _nT, _mR],
861
+ [[0, { [_hQ]: _l }], [0, { [_hQ]: _sC }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
862
+ ];
863
+ var GetBuiltinSlotTypesResponse$ = [3, n0, _GBSTRe,
864
+ 0,
865
+ [_sT, _nT],
866
+ [() => BuiltinSlotTypeMetadataList, 0]
867
+ ];
868
+ var GetExportRequest$ = [3, n0, _GER,
869
+ 0,
870
+ [_n, _v, _rTe, _eT],
871
+ [[0, { [_hQ]: _n }], [0, { [_hQ]: _v }], [0, { [_hQ]: _rTe }], [0, { [_hQ]: _eT }]], 4
872
+ ];
873
+ var GetExportResponse$ = [3, n0, _GERe,
874
+ 0,
875
+ [_n, _v, _rTe, _eT, _eS, _fR, _ur],
876
+ [0, 0, 0, 0, 0, 0, 0]
877
+ ];
878
+ var GetImportRequest$ = [3, n0, _GIR,
879
+ 0,
880
+ [_iI],
881
+ [[0, 1]], 1
882
+ ];
883
+ var GetImportResponse$ = [3, n0, _GIRe,
884
+ 0,
885
+ [_n, _rTe, _mS, _iI, _iS, _fR, _cD],
886
+ [0, 0, 0, 0, 0, 64 | 0, 4]
887
+ ];
888
+ var GetIntentRequest$ = [3, n0, _GIRet,
889
+ 0,
890
+ [_n, _v],
891
+ [[0, 1], [0, 1]], 2
892
+ ];
893
+ var GetIntentResponse$ = [3, n0, _GIRetn,
894
+ 0,
895
+ [_n, _d, _sl, _sU, _cPo, _rS, _fUP, _cS, _dCH, _fA, _pIS, _lUD, _cD, _v, _ch, _kC, _iC, _oC],
896
+ [0, 0, () => SlotList, 64 | 0, () => Prompt$, () => Statement$, () => FollowUpPrompt$, () => Statement$, () => CodeHook$, () => FulfillmentActivity$, 0, 4, 4, 0, 0, () => KendraConfiguration$, () => InputContextList, () => OutputContextList]
897
+ ];
898
+ var GetIntentsRequest$ = [3, n0, _GIRetnt,
899
+ 0,
900
+ [_nT, _mR, _nC],
901
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nC }]]
902
+ ];
903
+ var GetIntentsResponse$ = [3, n0, _GIRetnte,
904
+ 0,
905
+ [_i, _nT],
906
+ [() => IntentMetadataList, 0]
907
+ ];
908
+ var GetIntentVersionsRequest$ = [3, n0, _GIVR,
909
+ 0,
910
+ [_n, _nT, _mR],
911
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
912
+ ];
913
+ var GetIntentVersionsResponse$ = [3, n0, _GIVRe,
914
+ 0,
915
+ [_i, _nT],
916
+ [() => IntentMetadataList, 0]
917
+ ];
918
+ var GetMigrationRequest$ = [3, n0, _GMR,
919
+ 0,
920
+ [_mI],
921
+ [[0, 1]], 1
922
+ ];
923
+ var GetMigrationResponse$ = [3, n0, _GMRe,
924
+ 0,
925
+ [_mI, _vBN, _vBV, _vBL, _vBI, _vBR, _mSi, _mSig, _mT, _a],
926
+ [0, 0, 0, 0, 0, 0, 0, 0, 4, () => MigrationAlerts]
927
+ ];
928
+ var GetMigrationsRequest$ = [3, n0, _GMRet,
929
+ 0,
930
+ [_sBA, _sBO, _vBNC, _mSE, _mR, _nT],
931
+ [[0, { [_hQ]: _sBA }], [0, { [_hQ]: _sBO }], [0, { [_hQ]: _vBNC }], [0, { [_hQ]: _mSE }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
932
+ ];
933
+ var GetMigrationsResponse$ = [3, n0, _GMReti,
934
+ 0,
935
+ [_mSigr, _nT],
936
+ [() => MigrationSummaryList, 0]
937
+ ];
938
+ var GetSlotTypeRequest$ = [3, n0, _GSTR,
939
+ 0,
940
+ [_n, _v],
941
+ [[0, 1], [0, 1]], 2
942
+ ];
943
+ var GetSlotTypeResponse$ = [3, n0, _GSTRe,
944
+ 0,
945
+ [_n, _d, _eV, _lUD, _cD, _v, _ch, _vSS, _pSTS, _sTC],
946
+ [0, 0, () => EnumerationValues, 4, 4, 0, 0, 0, 0, () => SlotTypeConfigurations]
947
+ ];
948
+ var GetSlotTypesRequest$ = [3, n0, _GSTRet,
949
+ 0,
950
+ [_nT, _mR, _nC],
951
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nC }]]
952
+ ];
953
+ var GetSlotTypesResponse$ = [3, n0, _GSTRetl,
954
+ 0,
955
+ [_sT, _nT],
956
+ [() => SlotTypeMetadataList, 0]
957
+ ];
958
+ var GetSlotTypeVersionsRequest$ = [3, n0, _GSTVR,
959
+ 0,
960
+ [_n, _nT, _mR],
961
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
962
+ ];
963
+ var GetSlotTypeVersionsResponse$ = [3, n0, _GSTVRe,
964
+ 0,
965
+ [_sT, _nT],
966
+ [() => SlotTypeMetadataList, 0]
967
+ ];
968
+ var GetUtterancesViewRequest$ = [3, n0, _GUVR,
969
+ 0,
970
+ [_bN, _bVo, _sTt],
971
+ [[0, 1], [64 | 0, { [_hQ]: _bv }], [0, { [_hQ]: _st_ }]], 3
972
+ ];
973
+ var GetUtterancesViewResponse$ = [3, n0, _GUVRe,
974
+ 0,
975
+ [_bN, _ut],
976
+ [0, () => ListsOfUtterances]
977
+ ];
978
+ var InputContext$ = [3, n0, _IC,
979
+ 0,
980
+ [_n],
981
+ [0], 1
982
+ ];
983
+ var Intent$ = [3, n0, _I,
984
+ 0,
985
+ [_iN, _iV],
986
+ [0, 0], 2
987
+ ];
988
+ var IntentMetadata$ = [3, n0, _IM,
989
+ 0,
990
+ [_n, _d, _lUD, _cD, _v],
991
+ [0, 0, 4, 4, 0]
992
+ ];
993
+ var KendraConfiguration$ = [3, n0, _KC,
994
+ 0,
995
+ [_kI, _r, _qFS],
996
+ [0, 0, 0], 2
997
+ ];
998
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
999
+ 0,
1000
+ [_rA],
1001
+ [[0, 1]], 1
1002
+ ];
1003
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
1004
+ 0,
1005
+ [_ta],
1006
+ [() => TagList]
1007
+ ];
1008
+ var LogSettingsRequest$ = [3, n0, _LSR,
1009
+ 0,
1010
+ [_lT, _de, _rA, _kKA],
1011
+ [0, 0, 0, 0], 3
1012
+ ];
1013
+ var LogSettingsResponse$ = [3, n0, _LSRo,
1014
+ 0,
1015
+ [_lT, _de, _kKA, _rA, _rP],
1016
+ [0, 0, 0, 0, 0]
1017
+ ];
1018
+ var Message$ = [3, n0, _M,
1019
+ 0,
1020
+ [_cT, _co, _gN],
1021
+ [0, 0, 1], 2
1022
+ ];
1023
+ var MigrationAlert$ = [3, n0, _MA,
1024
+ 0,
1025
+ [_t, _m, _det, _rURL],
1026
+ [0, 0, 64 | 0, 64 | 0]
1027
+ ];
1028
+ var MigrationSummary$ = [3, n0, _MS,
1029
+ 0,
1030
+ [_mI, _vBN, _vBV, _vBL, _vBI, _vBR, _mSi, _mSig, _mT],
1031
+ [0, 0, 0, 0, 0, 0, 0, 0, 4]
1032
+ ];
1033
+ var OutputContext$ = [3, n0, _OC,
1034
+ 0,
1035
+ [_n, _tTLIS, _tTL],
1036
+ [0, 1, 1], 3
1037
+ ];
1038
+ var Prompt$ = [3, n0, _P,
1039
+ 0,
1040
+ [_me, _mA, _rC],
1041
+ [() => MessageList, 1, 0], 2
1042
+ ];
1043
+ var PutBotAliasRequest$ = [3, n0, _PBAR,
1044
+ 0,
1045
+ [_n, _bV, _bN, _d, _ch, _cL, _ta],
1046
+ [[0, 1], 0, [0, 1], 0, 0, () => ConversationLogsRequest$, () => TagList], 3
1047
+ ];
1048
+ var PutBotAliasResponse$ = [3, n0, _PBARu,
1049
+ 0,
1050
+ [_n, _d, _bV, _bN, _lUD, _cD, _ch, _cL, _ta],
1051
+ [0, 0, 0, 0, 4, 4, 0, () => ConversationLogsResponse$, () => TagList]
1052
+ ];
1053
+ var PutBotRequest$ = [3, n0, _PBR,
1054
+ 0,
1055
+ [_n, _l, _cDh, _d, _i, _eMI, _nICT, _cP, _aS, _iSTTLIS, _vI, _ch, _pB, _dS, _cV, _ta],
1056
+ [[0, 1], 0, 2, 0, () => IntentList, 2, 1, () => Prompt$, () => Statement$, 1, 0, 0, 0, 2, 2, () => TagList], 3
1057
+ ];
1058
+ var PutBotResponse$ = [3, n0, _PBRu,
1059
+ 0,
1060
+ [_n, _d, _i, _eMI, _nICT, _cP, _aS, _st, _fR, _lUD, _cD, _iSTTLIS, _vI, _ch, _v, _l, _cDh, _cV, _dS, _ta],
1061
+ [0, 0, () => IntentList, 2, 1, () => Prompt$, () => Statement$, 0, 0, 4, 4, 1, 0, 0, 0, 0, 2, 2, 2, () => TagList]
1062
+ ];
1063
+ var PutIntentRequest$ = [3, n0, _PIR,
1064
+ 0,
1065
+ [_n, _d, _sl, _sU, _cPo, _rS, _fUP, _cS, _dCH, _fA, _pIS, _ch, _cV, _kC, _iC, _oC],
1066
+ [[0, 1], 0, () => SlotList, 64 | 0, () => Prompt$, () => Statement$, () => FollowUpPrompt$, () => Statement$, () => CodeHook$, () => FulfillmentActivity$, 0, 0, 2, () => KendraConfiguration$, () => InputContextList, () => OutputContextList], 1
1067
+ ];
1068
+ var PutIntentResponse$ = [3, n0, _PIRu,
1069
+ 0,
1070
+ [_n, _d, _sl, _sU, _cPo, _rS, _fUP, _cS, _dCH, _fA, _pIS, _lUD, _cD, _v, _ch, _cV, _kC, _iC, _oC],
1071
+ [0, 0, () => SlotList, 64 | 0, () => Prompt$, () => Statement$, () => FollowUpPrompt$, () => Statement$, () => CodeHook$, () => FulfillmentActivity$, 0, 4, 4, 0, 0, 2, () => KendraConfiguration$, () => InputContextList, () => OutputContextList]
1072
+ ];
1073
+ var PutSlotTypeRequest$ = [3, n0, _PSTR,
1074
+ 0,
1075
+ [_n, _d, _eV, _ch, _vSS, _cV, _pSTS, _sTC],
1076
+ [[0, 1], 0, () => EnumerationValues, 0, 0, 2, 0, () => SlotTypeConfigurations], 1
1077
+ ];
1078
+ var PutSlotTypeResponse$ = [3, n0, _PSTRu,
1079
+ 0,
1080
+ [_n, _d, _eV, _lUD, _cD, _v, _ch, _vSS, _cV, _pSTS, _sTC],
1081
+ [0, 0, () => EnumerationValues, 4, 4, 0, 0, 0, 2, 0, () => SlotTypeConfigurations]
1082
+ ];
1083
+ var ResourceReference$ = [3, n0, _RR,
1084
+ 0,
1085
+ [_n, _v],
1086
+ [0, 0]
1087
+ ];
1088
+ var Slot$ = [3, n0, _S,
1089
+ 0,
1090
+ [_n, _sCl, _d, _sTl, _sTV, _vEP, _pr, _sU, _rC, _oS, _dVS],
1091
+ [0, 0, 0, 0, 0, () => Prompt$, 1, 64 | 0, 0, 0, () => SlotDefaultValueSpec$], 2
1092
+ ];
1093
+ var SlotDefaultValue$ = [3, n0, _SDV,
1094
+ 0,
1095
+ [_dV],
1096
+ [0], 1
1097
+ ];
1098
+ var SlotDefaultValueSpec$ = [3, n0, _SDVS,
1099
+ 0,
1100
+ [_dVL],
1101
+ [() => SlotDefaultValueList], 1
1102
+ ];
1103
+ var SlotTypeConfiguration$ = [3, n0, _STC,
1104
+ 0,
1105
+ [_rCe],
1106
+ [() => SlotTypeRegexConfiguration$]
1107
+ ];
1108
+ var SlotTypeMetadata$ = [3, n0, _STM,
1109
+ 0,
1110
+ [_n, _d, _lUD, _cD, _v],
1111
+ [0, 0, 4, 4, 0]
1112
+ ];
1113
+ var SlotTypeRegexConfiguration$ = [3, n0, _STRC,
1114
+ 0,
1115
+ [_pa],
1116
+ [0], 1
1117
+ ];
1118
+ var StartImportRequest$ = [3, n0, _SIR,
1119
+ 0,
1120
+ [_pay, _rTe, _mS, _ta],
1121
+ [21, 0, 0, () => TagList], 3
1122
+ ];
1123
+ var StartImportResponse$ = [3, n0, _SIRt,
1124
+ 0,
1125
+ [_n, _rTe, _mS, _iI, _iS, _ta, _cD],
1126
+ [0, 0, 0, 0, 0, () => TagList, 4]
1127
+ ];
1128
+ var StartMigrationRequest$ = [3, n0, _SMR,
1129
+ 0,
1130
+ [_vBN, _vBV, _vBNo, _vBR, _mSig],
1131
+ [0, 0, 0, 0, 0], 5
1132
+ ];
1133
+ var StartMigrationResponse$ = [3, n0, _SMRt,
1134
+ 0,
1135
+ [_vBN, _vBV, _vBL, _vBI, _vBR, _mI, _mSig, _mT],
1136
+ [0, 0, 0, 0, 0, 0, 0, 4]
1137
+ ];
1138
+ var Statement$ = [3, n0, _St,
1139
+ 0,
1140
+ [_me, _rC],
1141
+ [() => MessageList, 0], 1
1142
+ ];
1143
+ var Tag$ = [3, n0, _T,
1144
+ 0,
1145
+ [_k, _va],
1146
+ [0, 0], 2
1147
+ ];
1148
+ var TagResourceRequest$ = [3, n0, _TRR,
1149
+ 0,
1150
+ [_rA, _ta],
1151
+ [[0, 1], () => TagList], 2
1152
+ ];
1153
+ var TagResourceResponse$ = [3, n0, _TRRa,
1154
+ 0,
1155
+ [],
1156
+ []
1157
+ ];
1158
+ var UntagResourceRequest$ = [3, n0, _URR,
1159
+ 0,
1160
+ [_rA, _tK],
1161
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1162
+ ];
1163
+ var UntagResourceResponse$ = [3, n0, _URRn,
1164
+ 0,
1165
+ [],
1166
+ []
1167
+ ];
1168
+ var UtteranceData$ = [3, n0, _UD,
1169
+ 0,
1170
+ [_uS, _cou, _dU, _fUD, _lUDa],
1171
+ [0, 1, 1, 4, 4]
1172
+ ];
1173
+ var UtteranceList$ = [3, n0, _UL,
1174
+ 0,
1175
+ [_bV, _ut],
1176
+ [0, () => ListOfUtterance]
1177
+ ];
1178
+ var __Unit = "unit";
1179
+ var BotAliasMetadataList = [1, n0, _BAML,
1180
+ 0, () => BotAliasMetadata$
1181
+ ];
1182
+ var BotChannelAssociationList = [1, n0, _BCAL,
1183
+ 0, [() => BotChannelAssociation$,
1184
+ 0]
1185
+ ];
1186
+ var BotMetadataList = [1, n0, _BML,
1187
+ 0, () => BotMetadata$
1188
+ ];
1189
+ var BuiltinIntentMetadataList = [1, n0, _BIML,
1190
+ 0, () => BuiltinIntentMetadata$
1191
+ ];
1192
+ var BuiltinIntentSlotList = [1, n0, _BISL,
1193
+ 0, () => BuiltinIntentSlot$
1194
+ ];
1195
+ var BuiltinSlotTypeMetadataList = [1, n0, _BSTML,
1196
+ 0, () => BuiltinSlotTypeMetadata$
1197
+ ];
1198
+ var EnumerationValues = [1, n0, _EVn,
1199
+ 0, () => EnumerationValue$
1200
+ ];
1201
+ var InputContextList = [1, n0, _ICL,
1202
+ 0, () => InputContext$
1203
+ ];
1204
+ var IntentList = [1, n0, _IL,
1205
+ 0, () => Intent$
1206
+ ];
1207
+ var IntentMetadataList = [1, n0, _IML,
1208
+ 0, () => IntentMetadata$
1209
+ ];
1210
+ var ListOfUtterance = [1, n0, _LOU,
1211
+ 0, () => UtteranceData$
1212
+ ];
1213
+ var ListsOfUtterances = [1, n0, _LOUi,
1214
+ 0, () => UtteranceList$
1215
+ ];
1216
+ var LogSettingsRequestList = [1, n0, _LSRL,
1217
+ 0, () => LogSettingsRequest$
1218
+ ];
1219
+ var LogSettingsResponseList = [1, n0, _LSRLo,
1220
+ 0, () => LogSettingsResponse$
1221
+ ];
1222
+ var MessageList = [1, n0, _ML,
1223
+ 0, () => Message$
1224
+ ];
1225
+ var MigrationAlerts = [1, n0, _MAi,
1226
+ 0, () => MigrationAlert$
1227
+ ];
1228
+ var MigrationSummaryList = [1, n0, _MSL,
1229
+ 0, () => MigrationSummary$
1230
+ ];
1231
+ var OutputContextList = [1, n0, _OCL,
1232
+ 0, () => OutputContext$
1233
+ ];
1234
+ var SlotDefaultValueList = [1, n0, _SDVL,
1235
+ 0, () => SlotDefaultValue$
1236
+ ];
1237
+ var SlotList = [1, n0, _SL,
1238
+ 0, () => Slot$
1239
+ ];
1240
+ var SlotTypeConfigurations = [1, n0, _STCl,
1241
+ 0, () => SlotTypeConfiguration$
1242
+ ];
1243
+ var SlotTypeMetadataList = [1, n0, _STML,
1244
+ 0, () => SlotTypeMetadata$
1245
+ ];
1246
+ var TagList = [1, n0, _TL,
1247
+ 0, () => Tag$
1248
+ ];
1249
+ var ChannelConfigurationMap = [2, n0, _CCM,
1250
+ 8, 0, 0
1251
+ ];
1252
+ var CreateBotVersion$ = [9, n0, _CBV,
1253
+ { [_h]: ["POST", "/bots/{name}/versions", 201] }, () => CreateBotVersionRequest$, () => CreateBotVersionResponse$
1254
+ ];
1255
+ var CreateIntentVersion$ = [9, n0, _CIV,
1256
+ { [_h]: ["POST", "/intents/{name}/versions", 201] }, () => CreateIntentVersionRequest$, () => CreateIntentVersionResponse$
1257
+ ];
1258
+ var CreateSlotTypeVersion$ = [9, n0, _CSTV,
1259
+ { [_h]: ["POST", "/slottypes/{name}/versions", 201] }, () => CreateSlotTypeVersionRequest$, () => CreateSlotTypeVersionResponse$
1260
+ ];
1261
+ var DeleteBot$ = [9, n0, _DB,
1262
+ { [_h]: ["DELETE", "/bots/{name}", 204] }, () => DeleteBotRequest$, () => __Unit
1263
+ ];
1264
+ var DeleteBotAlias$ = [9, n0, _DBA,
1265
+ { [_h]: ["DELETE", "/bots/{botName}/aliases/{name}", 204] }, () => DeleteBotAliasRequest$, () => __Unit
1266
+ ];
1267
+ var DeleteBotChannelAssociation$ = [9, n0, _DBCA,
1268
+ { [_h]: ["DELETE", "/bots/{botName}/aliases/{botAlias}/channels/{name}", 204] }, () => DeleteBotChannelAssociationRequest$, () => __Unit
1269
+ ];
1270
+ var DeleteBotVersion$ = [9, n0, _DBV,
1271
+ { [_h]: ["DELETE", "/bots/{name}/versions/{version}", 204] }, () => DeleteBotVersionRequest$, () => __Unit
1272
+ ];
1273
+ var DeleteIntent$ = [9, n0, _DI,
1274
+ { [_h]: ["DELETE", "/intents/{name}", 204] }, () => DeleteIntentRequest$, () => __Unit
1275
+ ];
1276
+ var DeleteIntentVersion$ = [9, n0, _DIV,
1277
+ { [_h]: ["DELETE", "/intents/{name}/versions/{version}", 204] }, () => DeleteIntentVersionRequest$, () => __Unit
1278
+ ];
1279
+ var DeleteSlotType$ = [9, n0, _DST,
1280
+ { [_h]: ["DELETE", "/slottypes/{name}", 204] }, () => DeleteSlotTypeRequest$, () => __Unit
1281
+ ];
1282
+ var DeleteSlotTypeVersion$ = [9, n0, _DSTV,
1283
+ { [_h]: ["DELETE", "/slottypes/{name}/version/{version}", 204] }, () => DeleteSlotTypeVersionRequest$, () => __Unit
1284
+ ];
1285
+ var DeleteUtterances$ = [9, n0, _DU,
1286
+ { [_h]: ["DELETE", "/bots/{botName}/utterances/{userId}", 204] }, () => DeleteUtterancesRequest$, () => __Unit
1287
+ ];
1288
+ var GetBot$ = [9, n0, _GB,
1289
+ { [_h]: ["GET", "/bots/{name}/versions/{versionOrAlias}", 200] }, () => GetBotRequest$, () => GetBotResponse$
1290
+ ];
1291
+ var GetBotAlias$ = [9, n0, _GBA,
1292
+ { [_h]: ["GET", "/bots/{botName}/aliases/{name}", 200] }, () => GetBotAliasRequest$, () => GetBotAliasResponse$
1293
+ ];
1294
+ var GetBotAliases$ = [9, n0, _GBAe,
1295
+ { [_h]: ["GET", "/bots/{botName}/aliases", 200] }, () => GetBotAliasesRequest$, () => GetBotAliasesResponse$
1296
+ ];
1297
+ var GetBotChannelAssociation$ = [9, n0, _GBCA,
1298
+ { [_h]: ["GET", "/bots/{botName}/aliases/{botAlias}/channels/{name}", 200] }, () => GetBotChannelAssociationRequest$, () => GetBotChannelAssociationResponse$
1299
+ ];
1300
+ var GetBotChannelAssociations$ = [9, n0, _GBCAe,
1301
+ { [_h]: ["GET", "/bots/{botName}/aliases/{botAlias}/channels", 200] }, () => GetBotChannelAssociationsRequest$, () => GetBotChannelAssociationsResponse$
1302
+ ];
1303
+ var GetBots$ = [9, n0, _GBe,
1304
+ { [_h]: ["GET", "/bots", 200] }, () => GetBotsRequest$, () => GetBotsResponse$
1305
+ ];
1306
+ var GetBotVersions$ = [9, n0, _GBV,
1307
+ { [_h]: ["GET", "/bots/{name}/versions", 200] }, () => GetBotVersionsRequest$, () => GetBotVersionsResponse$
1308
+ ];
1309
+ var GetBuiltinIntent$ = [9, n0, _GBI,
1310
+ { [_h]: ["GET", "/builtins/intents/{signature}", 200] }, () => GetBuiltinIntentRequest$, () => GetBuiltinIntentResponse$
1311
+ ];
1312
+ var GetBuiltinIntents$ = [9, n0, _GBIe,
1313
+ { [_h]: ["GET", "/builtins/intents", 200] }, () => GetBuiltinIntentsRequest$, () => GetBuiltinIntentsResponse$
1314
+ ];
1315
+ var GetBuiltinSlotTypes$ = [9, n0, _GBST,
1316
+ { [_h]: ["GET", "/builtins/slottypes", 200] }, () => GetBuiltinSlotTypesRequest$, () => GetBuiltinSlotTypesResponse$
1317
+ ];
1318
+ var GetExport$ = [9, n0, _GE,
1319
+ { [_h]: ["GET", "/exports", 200] }, () => GetExportRequest$, () => GetExportResponse$
1320
+ ];
1321
+ var GetImport$ = [9, n0, _GI,
1322
+ { [_h]: ["GET", "/imports/{importId}", 200] }, () => GetImportRequest$, () => GetImportResponse$
1323
+ ];
1324
+ var GetIntent$ = [9, n0, _GIe,
1325
+ { [_h]: ["GET", "/intents/{name}/versions/{version}", 200] }, () => GetIntentRequest$, () => GetIntentResponse$
1326
+ ];
1327
+ var GetIntents$ = [9, n0, _GIet,
1328
+ { [_h]: ["GET", "/intents", 200] }, () => GetIntentsRequest$, () => GetIntentsResponse$
1329
+ ];
1330
+ var GetIntentVersions$ = [9, n0, _GIV,
1331
+ { [_h]: ["GET", "/intents/{name}/versions", 200] }, () => GetIntentVersionsRequest$, () => GetIntentVersionsResponse$
1332
+ ];
1333
+ var GetMigration$ = [9, n0, _GM,
1334
+ { [_h]: ["GET", "/migrations/{migrationId}", 200] }, () => GetMigrationRequest$, () => GetMigrationResponse$
1335
+ ];
1336
+ var GetMigrations$ = [9, n0, _GMe,
1337
+ { [_h]: ["GET", "/migrations", 200] }, () => GetMigrationsRequest$, () => GetMigrationsResponse$
1338
+ ];
1339
+ var GetSlotType$ = [9, n0, _GST,
1340
+ { [_h]: ["GET", "/slottypes/{name}/versions/{version}", 200] }, () => GetSlotTypeRequest$, () => GetSlotTypeResponse$
1341
+ ];
1342
+ var GetSlotTypes$ = [9, n0, _GSTe,
1343
+ { [_h]: ["GET", "/slottypes", 200] }, () => GetSlotTypesRequest$, () => GetSlotTypesResponse$
1344
+ ];
1345
+ var GetSlotTypeVersions$ = [9, n0, _GSTV,
1346
+ { [_h]: ["GET", "/slottypes/{name}/versions", 200] }, () => GetSlotTypeVersionsRequest$, () => GetSlotTypeVersionsResponse$
1347
+ ];
1348
+ var GetUtterancesView$ = [9, n0, _GUV,
1349
+ { [_h]: ["GET", "/bots/{botName}/utterances?view=aggregation", 200] }, () => GetUtterancesViewRequest$, () => GetUtterancesViewResponse$
1350
+ ];
1351
+ var ListTagsForResource$ = [9, n0, _LTFR,
1352
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1353
+ ];
1354
+ var PutBot$ = [9, n0, _PB,
1355
+ { [_h]: ["PUT", "/bots/{name}/versions/$LATEST", 200] }, () => PutBotRequest$, () => PutBotResponse$
1356
+ ];
1357
+ var PutBotAlias$ = [9, n0, _PBA,
1358
+ { [_h]: ["PUT", "/bots/{botName}/aliases/{name}", 200] }, () => PutBotAliasRequest$, () => PutBotAliasResponse$
1359
+ ];
1360
+ var PutIntent$ = [9, n0, _PI,
1361
+ { [_h]: ["PUT", "/intents/{name}/versions/$LATEST", 200] }, () => PutIntentRequest$, () => PutIntentResponse$
1362
+ ];
1363
+ var PutSlotType$ = [9, n0, _PST,
1364
+ { [_h]: ["PUT", "/slottypes/{name}/versions/$LATEST", 200] }, () => PutSlotTypeRequest$, () => PutSlotTypeResponse$
1365
+ ];
1366
+ var StartImport$ = [9, n0, _SI,
1367
+ { [_h]: ["POST", "/imports", 201] }, () => StartImportRequest$, () => StartImportResponse$
1368
+ ];
1369
+ var StartMigration$ = [9, n0, _SM,
1370
+ { [_h]: ["POST", "/migrations", 202] }, () => StartMigrationRequest$, () => StartMigrationResponse$
1371
+ ];
1372
+ var TagResource$ = [9, n0, _TR,
1373
+ { [_h]: ["POST", "/tags/{resourceArn}", 204] }, () => TagResourceRequest$, () => TagResourceResponse$
1374
+ ];
1375
+ var UntagResource$ = [9, n0, _UR,
1376
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1377
+ ];
1378
+
1379
+ const getRuntimeConfig$1 = (config) => {
1380
+ return {
1381
+ apiVersion: "2017-04-19",
1382
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1383
+ base64Encoder: config?.base64Encoder ?? toBase64,
1384
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1385
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1386
+ extensions: config?.extensions ?? [],
1387
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultLexModelBuildingServiceHttpAuthSchemeProvider,
1388
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1389
+ {
1390
+ schemeId: "aws.auth#sigv4",
1391
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1392
+ signer: new AwsSdkSigV4Signer(),
1393
+ },
1394
+ ],
1395
+ logger: config?.logger ?? new NoOpLogger(),
1396
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1397
+ protocolSettings: config?.protocolSettings ?? {
1398
+ defaultNamespace: "com.amazonaws.lexmodelbuildingservice",
1399
+ errorTypeRegistries,
1400
+ version: "2017-04-19",
1401
+ serviceTarget: "AWSDeepSenseModelBuildingService",
1402
+ },
1403
+ serviceId: config?.serviceId ?? "Lex Model Building Service",
1404
+ urlParser: config?.urlParser ?? parseUrl,
1405
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1406
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1407
+ };
1408
+ };
1409
+
1410
+ const getRuntimeConfig = (config) => {
1411
+ emitWarningIfUnsupportedVersion(process.version);
1412
+ const defaultsMode = resolveDefaultsModeConfig(config);
1413
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1414
+ const clientSharedValues = getRuntimeConfig$1(config);
1415
+ emitWarningIfUnsupportedVersion$1(process.version);
1416
+ const loaderConfig = {
1417
+ profile: config?.profile,
1418
+ logger: clientSharedValues.logger,
1419
+ };
1420
+ return {
1421
+ ...clientSharedValues,
1422
+ ...config,
1423
+ runtime: "node",
1424
+ defaultsMode,
1425
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1426
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1427
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1428
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1429
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1430
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1431
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1432
+ retryMode: config?.retryMode ??
1433
+ loadConfig({
1434
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1435
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1436
+ }, config),
1437
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1438
+ streamCollector: config?.streamCollector ?? streamCollector,
1439
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1440
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1441
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1442
+ };
1443
+ };
1444
+
34
1445
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1446
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1447
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -819,74 +2230,244 @@ const ProcessBehavior = {
819
2230
  SAVE: "SAVE",
820
2231
  };
821
2232
 
2233
+ exports.AccessDeniedException = AccessDeniedException;
2234
+ exports.AccessDeniedException$ = AccessDeniedException$;
2235
+ exports.BadRequestException = BadRequestException;
2236
+ exports.BadRequestException$ = BadRequestException$;
2237
+ exports.BotAliasMetadata$ = BotAliasMetadata$;
2238
+ exports.BotChannelAssociation$ = BotChannelAssociation$;
2239
+ exports.BotMetadata$ = BotMetadata$;
2240
+ exports.BuiltinIntentMetadata$ = BuiltinIntentMetadata$;
2241
+ exports.BuiltinIntentSlot$ = BuiltinIntentSlot$;
2242
+ exports.BuiltinSlotTypeMetadata$ = BuiltinSlotTypeMetadata$;
822
2243
  exports.ChannelStatus = ChannelStatus;
823
2244
  exports.ChannelType = ChannelType;
2245
+ exports.CodeHook$ = CodeHook$;
2246
+ exports.ConflictException = ConflictException;
2247
+ exports.ConflictException$ = ConflictException$;
824
2248
  exports.ContentType = ContentType;
2249
+ exports.ConversationLogsRequest$ = ConversationLogsRequest$;
2250
+ exports.ConversationLogsResponse$ = ConversationLogsResponse$;
2251
+ exports.CreateBotVersion$ = CreateBotVersion$;
825
2252
  exports.CreateBotVersionCommand = CreateBotVersionCommand;
2253
+ exports.CreateBotVersionRequest$ = CreateBotVersionRequest$;
2254
+ exports.CreateBotVersionResponse$ = CreateBotVersionResponse$;
2255
+ exports.CreateIntentVersion$ = CreateIntentVersion$;
826
2256
  exports.CreateIntentVersionCommand = CreateIntentVersionCommand;
2257
+ exports.CreateIntentVersionRequest$ = CreateIntentVersionRequest$;
2258
+ exports.CreateIntentVersionResponse$ = CreateIntentVersionResponse$;
2259
+ exports.CreateSlotTypeVersion$ = CreateSlotTypeVersion$;
827
2260
  exports.CreateSlotTypeVersionCommand = CreateSlotTypeVersionCommand;
2261
+ exports.CreateSlotTypeVersionRequest$ = CreateSlotTypeVersionRequest$;
2262
+ exports.CreateSlotTypeVersionResponse$ = CreateSlotTypeVersionResponse$;
2263
+ exports.DeleteBot$ = DeleteBot$;
2264
+ exports.DeleteBotAlias$ = DeleteBotAlias$;
828
2265
  exports.DeleteBotAliasCommand = DeleteBotAliasCommand;
2266
+ exports.DeleteBotAliasRequest$ = DeleteBotAliasRequest$;
2267
+ exports.DeleteBotChannelAssociation$ = DeleteBotChannelAssociation$;
829
2268
  exports.DeleteBotChannelAssociationCommand = DeleteBotChannelAssociationCommand;
2269
+ exports.DeleteBotChannelAssociationRequest$ = DeleteBotChannelAssociationRequest$;
830
2270
  exports.DeleteBotCommand = DeleteBotCommand;
2271
+ exports.DeleteBotRequest$ = DeleteBotRequest$;
2272
+ exports.DeleteBotVersion$ = DeleteBotVersion$;
831
2273
  exports.DeleteBotVersionCommand = DeleteBotVersionCommand;
2274
+ exports.DeleteBotVersionRequest$ = DeleteBotVersionRequest$;
2275
+ exports.DeleteIntent$ = DeleteIntent$;
832
2276
  exports.DeleteIntentCommand = DeleteIntentCommand;
2277
+ exports.DeleteIntentRequest$ = DeleteIntentRequest$;
2278
+ exports.DeleteIntentVersion$ = DeleteIntentVersion$;
833
2279
  exports.DeleteIntentVersionCommand = DeleteIntentVersionCommand;
2280
+ exports.DeleteIntentVersionRequest$ = DeleteIntentVersionRequest$;
2281
+ exports.DeleteSlotType$ = DeleteSlotType$;
834
2282
  exports.DeleteSlotTypeCommand = DeleteSlotTypeCommand;
2283
+ exports.DeleteSlotTypeRequest$ = DeleteSlotTypeRequest$;
2284
+ exports.DeleteSlotTypeVersion$ = DeleteSlotTypeVersion$;
835
2285
  exports.DeleteSlotTypeVersionCommand = DeleteSlotTypeVersionCommand;
2286
+ exports.DeleteSlotTypeVersionRequest$ = DeleteSlotTypeVersionRequest$;
2287
+ exports.DeleteUtterances$ = DeleteUtterances$;
836
2288
  exports.DeleteUtterancesCommand = DeleteUtterancesCommand;
2289
+ exports.DeleteUtterancesRequest$ = DeleteUtterancesRequest$;
837
2290
  exports.Destination = Destination;
2291
+ exports.EnumerationValue$ = EnumerationValue$;
838
2292
  exports.ExportStatus = ExportStatus;
839
2293
  exports.ExportType = ExportType;
2294
+ exports.FollowUpPrompt$ = FollowUpPrompt$;
2295
+ exports.FulfillmentActivity$ = FulfillmentActivity$;
840
2296
  exports.FulfillmentActivityType = FulfillmentActivityType;
2297
+ exports.GetBot$ = GetBot$;
2298
+ exports.GetBotAlias$ = GetBotAlias$;
841
2299
  exports.GetBotAliasCommand = GetBotAliasCommand;
2300
+ exports.GetBotAliasRequest$ = GetBotAliasRequest$;
2301
+ exports.GetBotAliasResponse$ = GetBotAliasResponse$;
2302
+ exports.GetBotAliases$ = GetBotAliases$;
842
2303
  exports.GetBotAliasesCommand = GetBotAliasesCommand;
2304
+ exports.GetBotAliasesRequest$ = GetBotAliasesRequest$;
2305
+ exports.GetBotAliasesResponse$ = GetBotAliasesResponse$;
2306
+ exports.GetBotChannelAssociation$ = GetBotChannelAssociation$;
843
2307
  exports.GetBotChannelAssociationCommand = GetBotChannelAssociationCommand;
2308
+ exports.GetBotChannelAssociationRequest$ = GetBotChannelAssociationRequest$;
2309
+ exports.GetBotChannelAssociationResponse$ = GetBotChannelAssociationResponse$;
2310
+ exports.GetBotChannelAssociations$ = GetBotChannelAssociations$;
844
2311
  exports.GetBotChannelAssociationsCommand = GetBotChannelAssociationsCommand;
2312
+ exports.GetBotChannelAssociationsRequest$ = GetBotChannelAssociationsRequest$;
2313
+ exports.GetBotChannelAssociationsResponse$ = GetBotChannelAssociationsResponse$;
845
2314
  exports.GetBotCommand = GetBotCommand;
2315
+ exports.GetBotRequest$ = GetBotRequest$;
2316
+ exports.GetBotResponse$ = GetBotResponse$;
2317
+ exports.GetBotVersions$ = GetBotVersions$;
846
2318
  exports.GetBotVersionsCommand = GetBotVersionsCommand;
2319
+ exports.GetBotVersionsRequest$ = GetBotVersionsRequest$;
2320
+ exports.GetBotVersionsResponse$ = GetBotVersionsResponse$;
2321
+ exports.GetBots$ = GetBots$;
847
2322
  exports.GetBotsCommand = GetBotsCommand;
2323
+ exports.GetBotsRequest$ = GetBotsRequest$;
2324
+ exports.GetBotsResponse$ = GetBotsResponse$;
2325
+ exports.GetBuiltinIntent$ = GetBuiltinIntent$;
848
2326
  exports.GetBuiltinIntentCommand = GetBuiltinIntentCommand;
2327
+ exports.GetBuiltinIntentRequest$ = GetBuiltinIntentRequest$;
2328
+ exports.GetBuiltinIntentResponse$ = GetBuiltinIntentResponse$;
2329
+ exports.GetBuiltinIntents$ = GetBuiltinIntents$;
849
2330
  exports.GetBuiltinIntentsCommand = GetBuiltinIntentsCommand;
2331
+ exports.GetBuiltinIntentsRequest$ = GetBuiltinIntentsRequest$;
2332
+ exports.GetBuiltinIntentsResponse$ = GetBuiltinIntentsResponse$;
2333
+ exports.GetBuiltinSlotTypes$ = GetBuiltinSlotTypes$;
850
2334
  exports.GetBuiltinSlotTypesCommand = GetBuiltinSlotTypesCommand;
2335
+ exports.GetBuiltinSlotTypesRequest$ = GetBuiltinSlotTypesRequest$;
2336
+ exports.GetBuiltinSlotTypesResponse$ = GetBuiltinSlotTypesResponse$;
2337
+ exports.GetExport$ = GetExport$;
851
2338
  exports.GetExportCommand = GetExportCommand;
2339
+ exports.GetExportRequest$ = GetExportRequest$;
2340
+ exports.GetExportResponse$ = GetExportResponse$;
2341
+ exports.GetImport$ = GetImport$;
852
2342
  exports.GetImportCommand = GetImportCommand;
2343
+ exports.GetImportRequest$ = GetImportRequest$;
2344
+ exports.GetImportResponse$ = GetImportResponse$;
2345
+ exports.GetIntent$ = GetIntent$;
853
2346
  exports.GetIntentCommand = GetIntentCommand;
2347
+ exports.GetIntentRequest$ = GetIntentRequest$;
2348
+ exports.GetIntentResponse$ = GetIntentResponse$;
2349
+ exports.GetIntentVersions$ = GetIntentVersions$;
854
2350
  exports.GetIntentVersionsCommand = GetIntentVersionsCommand;
2351
+ exports.GetIntentVersionsRequest$ = GetIntentVersionsRequest$;
2352
+ exports.GetIntentVersionsResponse$ = GetIntentVersionsResponse$;
2353
+ exports.GetIntents$ = GetIntents$;
855
2354
  exports.GetIntentsCommand = GetIntentsCommand;
2355
+ exports.GetIntentsRequest$ = GetIntentsRequest$;
2356
+ exports.GetIntentsResponse$ = GetIntentsResponse$;
2357
+ exports.GetMigration$ = GetMigration$;
856
2358
  exports.GetMigrationCommand = GetMigrationCommand;
2359
+ exports.GetMigrationRequest$ = GetMigrationRequest$;
2360
+ exports.GetMigrationResponse$ = GetMigrationResponse$;
2361
+ exports.GetMigrations$ = GetMigrations$;
857
2362
  exports.GetMigrationsCommand = GetMigrationsCommand;
2363
+ exports.GetMigrationsRequest$ = GetMigrationsRequest$;
2364
+ exports.GetMigrationsResponse$ = GetMigrationsResponse$;
2365
+ exports.GetSlotType$ = GetSlotType$;
858
2366
  exports.GetSlotTypeCommand = GetSlotTypeCommand;
2367
+ exports.GetSlotTypeRequest$ = GetSlotTypeRequest$;
2368
+ exports.GetSlotTypeResponse$ = GetSlotTypeResponse$;
2369
+ exports.GetSlotTypeVersions$ = GetSlotTypeVersions$;
859
2370
  exports.GetSlotTypeVersionsCommand = GetSlotTypeVersionsCommand;
2371
+ exports.GetSlotTypeVersionsRequest$ = GetSlotTypeVersionsRequest$;
2372
+ exports.GetSlotTypeVersionsResponse$ = GetSlotTypeVersionsResponse$;
2373
+ exports.GetSlotTypes$ = GetSlotTypes$;
860
2374
  exports.GetSlotTypesCommand = GetSlotTypesCommand;
2375
+ exports.GetSlotTypesRequest$ = GetSlotTypesRequest$;
2376
+ exports.GetSlotTypesResponse$ = GetSlotTypesResponse$;
2377
+ exports.GetUtterancesView$ = GetUtterancesView$;
861
2378
  exports.GetUtterancesViewCommand = GetUtterancesViewCommand;
2379
+ exports.GetUtterancesViewRequest$ = GetUtterancesViewRequest$;
2380
+ exports.GetUtterancesViewResponse$ = GetUtterancesViewResponse$;
862
2381
  exports.ImportStatus = ImportStatus;
2382
+ exports.InputContext$ = InputContext$;
2383
+ exports.Intent$ = Intent$;
2384
+ exports.IntentMetadata$ = IntentMetadata$;
2385
+ exports.InternalFailureException = InternalFailureException;
2386
+ exports.InternalFailureException$ = InternalFailureException$;
2387
+ exports.KendraConfiguration$ = KendraConfiguration$;
863
2388
  exports.LexModelBuildingService = LexModelBuildingService;
864
2389
  exports.LexModelBuildingServiceClient = LexModelBuildingServiceClient;
2390
+ exports.LexModelBuildingServiceServiceException = LexModelBuildingServiceServiceException;
2391
+ exports.LexModelBuildingServiceServiceException$ = LexModelBuildingServiceServiceException$;
2392
+ exports.LimitExceededException = LimitExceededException;
2393
+ exports.LimitExceededException$ = LimitExceededException$;
2394
+ exports.ListTagsForResource$ = ListTagsForResource$;
865
2395
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2396
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
2397
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
866
2398
  exports.Locale = Locale;
2399
+ exports.LogSettingsRequest$ = LogSettingsRequest$;
2400
+ exports.LogSettingsResponse$ = LogSettingsResponse$;
867
2401
  exports.LogType = LogType;
868
2402
  exports.MergeStrategy = MergeStrategy;
2403
+ exports.Message$ = Message$;
2404
+ exports.MigrationAlert$ = MigrationAlert$;
869
2405
  exports.MigrationAlertType = MigrationAlertType;
870
2406
  exports.MigrationSortAttribute = MigrationSortAttribute;
871
2407
  exports.MigrationStatus = MigrationStatus;
872
2408
  exports.MigrationStrategy = MigrationStrategy;
2409
+ exports.MigrationSummary$ = MigrationSummary$;
2410
+ exports.NotFoundException = NotFoundException;
2411
+ exports.NotFoundException$ = NotFoundException$;
873
2412
  exports.ObfuscationSetting = ObfuscationSetting;
2413
+ exports.OutputContext$ = OutputContext$;
2414
+ exports.PreconditionFailedException = PreconditionFailedException;
2415
+ exports.PreconditionFailedException$ = PreconditionFailedException$;
874
2416
  exports.ProcessBehavior = ProcessBehavior;
2417
+ exports.Prompt$ = Prompt$;
2418
+ exports.PutBot$ = PutBot$;
2419
+ exports.PutBotAlias$ = PutBotAlias$;
875
2420
  exports.PutBotAliasCommand = PutBotAliasCommand;
2421
+ exports.PutBotAliasRequest$ = PutBotAliasRequest$;
2422
+ exports.PutBotAliasResponse$ = PutBotAliasResponse$;
876
2423
  exports.PutBotCommand = PutBotCommand;
2424
+ exports.PutBotRequest$ = PutBotRequest$;
2425
+ exports.PutBotResponse$ = PutBotResponse$;
2426
+ exports.PutIntent$ = PutIntent$;
877
2427
  exports.PutIntentCommand = PutIntentCommand;
2428
+ exports.PutIntentRequest$ = PutIntentRequest$;
2429
+ exports.PutIntentResponse$ = PutIntentResponse$;
2430
+ exports.PutSlotType$ = PutSlotType$;
878
2431
  exports.PutSlotTypeCommand = PutSlotTypeCommand;
2432
+ exports.PutSlotTypeRequest$ = PutSlotTypeRequest$;
2433
+ exports.PutSlotTypeResponse$ = PutSlotTypeResponse$;
879
2434
  exports.ReferenceType = ReferenceType;
2435
+ exports.ResourceInUseException = ResourceInUseException;
2436
+ exports.ResourceInUseException$ = ResourceInUseException$;
2437
+ exports.ResourceReference$ = ResourceReference$;
880
2438
  exports.ResourceType = ResourceType;
2439
+ exports.Slot$ = Slot$;
881
2440
  exports.SlotConstraint = SlotConstraint;
2441
+ exports.SlotDefaultValue$ = SlotDefaultValue$;
2442
+ exports.SlotDefaultValueSpec$ = SlotDefaultValueSpec$;
2443
+ exports.SlotTypeConfiguration$ = SlotTypeConfiguration$;
2444
+ exports.SlotTypeMetadata$ = SlotTypeMetadata$;
2445
+ exports.SlotTypeRegexConfiguration$ = SlotTypeRegexConfiguration$;
882
2446
  exports.SlotValueSelectionStrategy = SlotValueSelectionStrategy;
883
2447
  exports.SortOrder = SortOrder;
2448
+ exports.StartImport$ = StartImport$;
884
2449
  exports.StartImportCommand = StartImportCommand;
2450
+ exports.StartImportRequest$ = StartImportRequest$;
2451
+ exports.StartImportResponse$ = StartImportResponse$;
2452
+ exports.StartMigration$ = StartMigration$;
885
2453
  exports.StartMigrationCommand = StartMigrationCommand;
2454
+ exports.StartMigrationRequest$ = StartMigrationRequest$;
2455
+ exports.StartMigrationResponse$ = StartMigrationResponse$;
2456
+ exports.Statement$ = Statement$;
886
2457
  exports.Status = Status;
887
2458
  exports.StatusType = StatusType;
2459
+ exports.Tag$ = Tag$;
2460
+ exports.TagResource$ = TagResource$;
888
2461
  exports.TagResourceCommand = TagResourceCommand;
2462
+ exports.TagResourceRequest$ = TagResourceRequest$;
2463
+ exports.TagResourceResponse$ = TagResourceResponse$;
2464
+ exports.UntagResource$ = UntagResource$;
889
2465
  exports.UntagResourceCommand = UntagResourceCommand;
2466
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
2467
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
2468
+ exports.UtteranceData$ = UtteranceData$;
2469
+ exports.UtteranceList$ = UtteranceList$;
2470
+ exports.errorTypeRegistries = errorTypeRegistries;
890
2471
  exports.paginateGetBotAliases = paginateGetBotAliases;
891
2472
  exports.paginateGetBotChannelAssociations = paginateGetBotChannelAssociations;
892
2473
  exports.paginateGetBotVersions = paginateGetBotVersions;