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