@aws-sdk/client-lex-runtime-v2 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,23 +1,61 @@
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 { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
4
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
5
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
6
5
  exports.$Command = Command;
7
6
  exports.__Client = Client;
8
- const { resolveRegionConfig } = require("@smithy/core/config");
9
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
10
- const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
11
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
12
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
13
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
14
- const { resolveHttpAuthSchemeConfig, defaultLexRuntimeV2HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
15
- const { getRuntimeConfig } = require("./runtimeConfig");
16
- const { DeleteSession$, GetSession$, PutSession$, RecognizeText$, RecognizeUtterance$, StartConversation$ } = require("./schemas/schemas_0");
17
- __exportStar(require("./schemas/schemas_0"), exports);
18
- __exportStar(require("./models/errors"), exports);
19
- const { LexRuntimeV2ServiceException } = require("./models/LexRuntimeV2ServiceException");
20
- exports.LexRuntimeV2ServiceException = LexRuntimeV2ServiceException;
7
+ 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");
8
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { eventStreamSerdeProvider, resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
10
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
11
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
12
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
13
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
14
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
15
+ const { eventStreamPayloadHandlerProvider } = require("@aws-sdk/eventstream-handler-node");
16
+ const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
17
+ const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
18
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
19
+ const { Sha256 } = require("@smithy/core/checksum");
20
+
21
+ const defaultLexRuntimeV2HttpAuthSchemeParametersProvider = async (config, context, input) => {
22
+ return {
23
+ operation: getSmithyContext(context).operation,
24
+ region: await normalizeProvider(config.region)() || (() => {
25
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
26
+ })(),
27
+ };
28
+ };
29
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
30
+ return {
31
+ schemeId: "aws.auth#sigv4",
32
+ signingProperties: {
33
+ name: "lex",
34
+ region: authParameters.region,
35
+ },
36
+ propertiesExtractor: (config, context) => ({
37
+ signingProperties: {
38
+ config,
39
+ context,
40
+ },
41
+ }),
42
+ };
43
+ }
44
+ const defaultLexRuntimeV2HttpAuthSchemeProvider = (authParameters) => {
45
+ const options = [];
46
+ switch (authParameters.operation) {
47
+ default: {
48
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
49
+ }
50
+ }
51
+ return options;
52
+ };
53
+ const resolveHttpAuthSchemeConfig = (config) => {
54
+ const config_0 = resolveAwsSdkSigV4Config(config);
55
+ return Object.assign(config_0, {
56
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
57
+ });
58
+ };
21
59
 
22
60
  const resolveClientEndpointParameters = (options) => {
23
61
  return Object.assign(options, {
@@ -33,6 +71,753 @@ const commonParams = {
33
71
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
34
72
  };
35
73
 
74
+ var version = "3.1076.0";
75
+ var packageInfo = {
76
+ version: version};
77
+
78
+ const k = "ref";
79
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
80
+ const _data = {
81
+ conditions: [
82
+ [c, [g]],
83
+ [c, j],
84
+ ["aws.partition", j, d],
85
+ [e, [{ [k]: "UseFIPS" }, b]],
86
+ [e, [{ [k]: "UseDualStack" }, b]],
87
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
88
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
89
+ ],
90
+ results: [
91
+ [a],
92
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
93
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
94
+ [g, i],
95
+ ["https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
97
+ ["https://runtime-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "FIPS is enabled but this partition does not support FIPS"],
99
+ ["https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
100
+ [a, "DualStack is enabled but this partition does not support DualStack"],
101
+ ["https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}", i],
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, 12, 3,
110
+ 1, 4, r + 11,
111
+ 2, 5, r + 11,
112
+ 3, 8, 6,
113
+ 4, 7, r + 10,
114
+ 5, r + 8, r + 9,
115
+ 4, 10, 9,
116
+ 6, r + 6, r + 7,
117
+ 5, 11, r + 5,
118
+ 6, r + 4, r + 5,
119
+ 3, r + 1, 13,
120
+ 4, r + 2, r + 3,
121
+ ]);
122
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
123
+
124
+ const cache = new EndpointCache({
125
+ size: 50,
126
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
127
+ });
128
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
129
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
130
+ endpointParams: endpointParams,
131
+ logger: context.logger,
132
+ }));
133
+ };
134
+ customEndpointFunctions.aws = awsEndpointFunctions;
135
+
136
+ class LexRuntimeV2ServiceException extends ServiceException {
137
+ constructor(options) {
138
+ super(options);
139
+ Object.setPrototypeOf(this, LexRuntimeV2ServiceException.prototype);
140
+ }
141
+ }
142
+
143
+ class AccessDeniedException extends LexRuntimeV2ServiceException {
144
+ name = "AccessDeniedException";
145
+ $fault = "client";
146
+ constructor(opts) {
147
+ super({
148
+ name: "AccessDeniedException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
153
+ }
154
+ }
155
+ class ConflictException extends LexRuntimeV2ServiceException {
156
+ name = "ConflictException";
157
+ $fault = "client";
158
+ constructor(opts) {
159
+ super({
160
+ name: "ConflictException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ConflictException.prototype);
165
+ }
166
+ }
167
+ class InternalServerException extends LexRuntimeV2ServiceException {
168
+ name = "InternalServerException";
169
+ $fault = "server";
170
+ constructor(opts) {
171
+ super({
172
+ name: "InternalServerException",
173
+ $fault: "server",
174
+ ...opts,
175
+ });
176
+ Object.setPrototypeOf(this, InternalServerException.prototype);
177
+ }
178
+ }
179
+ class ResourceNotFoundException extends LexRuntimeV2ServiceException {
180
+ name = "ResourceNotFoundException";
181
+ $fault = "client";
182
+ constructor(opts) {
183
+ super({
184
+ name: "ResourceNotFoundException",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
189
+ }
190
+ }
191
+ class ThrottlingException extends LexRuntimeV2ServiceException {
192
+ name = "ThrottlingException";
193
+ $fault = "client";
194
+ constructor(opts) {
195
+ super({
196
+ name: "ThrottlingException",
197
+ $fault: "client",
198
+ ...opts,
199
+ });
200
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
201
+ }
202
+ }
203
+ class ValidationException extends LexRuntimeV2ServiceException {
204
+ name = "ValidationException";
205
+ $fault = "client";
206
+ constructor(opts) {
207
+ super({
208
+ name: "ValidationException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, ValidationException.prototype);
213
+ }
214
+ }
215
+ class BadGatewayException extends LexRuntimeV2ServiceException {
216
+ name = "BadGatewayException";
217
+ $fault = "server";
218
+ constructor(opts) {
219
+ super({
220
+ name: "BadGatewayException",
221
+ $fault: "server",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, BadGatewayException.prototype);
225
+ }
226
+ }
227
+ class DependencyFailedException extends LexRuntimeV2ServiceException {
228
+ name = "DependencyFailedException";
229
+ $fault = "client";
230
+ constructor(opts) {
231
+ super({
232
+ name: "DependencyFailedException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, DependencyFailedException.prototype);
237
+ }
238
+ }
239
+
240
+ const _AC = "ActiveContext";
241
+ const _ACL = "ActiveContextsList";
242
+ const _ACPM = "ActiveContextParametersMap";
243
+ const _ACTTL = "ActiveContextTimeToLive";
244
+ const _ADE = "AccessDeniedException";
245
+ const _AIE = "AudioInputEvent";
246
+ const _ARE = "AudioResponseEvent";
247
+ const _B = "Button";
248
+ const _BGE = "BadGatewayException";
249
+ const _BL = "ButtonsList";
250
+ const _BS = "BlobStream";
251
+ const _CE = "ConflictException";
252
+ const _CEo = "ConfigurationEvent";
253
+ const _CS = "ConfidenceScore";
254
+ const _CT = "Content-Type";
255
+ const _DA = "DialogAction";
256
+ const _DE = "DisconnectionEvent";
257
+ const _DFE = "DependencyFailedException";
258
+ const _DS = "DeleteSession";
259
+ const _DSR = "DeleteSessionRequest";
260
+ const _DSRe = "DeleteSessionResponse";
261
+ const _DTMFIE = "DTMFInputEvent";
262
+ const _DTMFR = "DTMFRegex";
263
+ const _ESS = "ElicitSubSlot";
264
+ const _GS = "GetSession";
265
+ const _GSR = "GetSessionRequest";
266
+ const _GSRe = "GetSessionResponse";
267
+ const _HE = "HeartbeatEvent";
268
+ const _I = "Intent";
269
+ const _IRC = "ImageResponseCard";
270
+ const _IRE = "IntentResultEvent";
271
+ const _ISE = "InternalServerException";
272
+ const _In = "Interpretation";
273
+ const _Int = "Interpretations";
274
+ const _M = "Message";
275
+ const _Me = "Messages";
276
+ const _PCE = "PlaybackCompletionEvent";
277
+ const _PIE = "PlaybackInterruptionEvent";
278
+ const _PS = "PutSession";
279
+ const _PSR = "PutSessionRequest";
280
+ const _PSRu = "PutSessionResponse";
281
+ const _RBM = "RecognizedBotMember";
282
+ const _RCT = "ResponseContentType";
283
+ const _RCT_ = "Response-Content-Type";
284
+ const _RH = "RuntimeHints";
285
+ const _RHD = "RuntimeHintDetails";
286
+ const _RHV = "RuntimeHintValue";
287
+ const _RHVL = "RuntimeHintValuesList";
288
+ const _RNFE = "ResourceNotFoundException";
289
+ const _RT = "RecognizeText";
290
+ const _RTR = "RecognizeTextRequest";
291
+ const _RTRe = "RecognizeTextResponse";
292
+ const _RU = "RecognizeUtterance";
293
+ const _RUR = "RecognizeUtteranceRequest";
294
+ const _RURe = "RecognizeUtteranceResponse";
295
+ const _S = "Slot";
296
+ const _SC = "StartConversation";
297
+ const _SCR = "StartConversationRequest";
298
+ const _SCRES = "StartConversationRequestEventStream";
299
+ const _SCRESt = "StartConversationResponseEventStream";
300
+ const _SCRt = "StartConversationResponse";
301
+ const _SHIM = "SlotHintsIntentMap";
302
+ const _SHSM = "SlotHintsSlotMap";
303
+ const _SNES = "SensitiveNonEmptyString";
304
+ const _SR = "SentimentResponse";
305
+ const _SS = "SentimentScore";
306
+ const _SSe = "SessionState";
307
+ const _Sl = "Slots";
308
+ const _T = "Text";
309
+ const _TE = "ThrottlingException";
310
+ const _TEr = "TranscriptEvent";
311
+ const _TIE = "TextInputEvent";
312
+ const _TRE = "TextResponseEvent";
313
+ const _V = "Value";
314
+ const _VE = "ValidationException";
315
+ const _Va = "Values";
316
+ const _aC = "audioChunk";
317
+ const _aCc = "activeContexts";
318
+ const _aS = "audioStream";
319
+ const _b = "buttons";
320
+ const _bAI = "botAliasId";
321
+ const _bI = "botId";
322
+ const _bN = "botName";
323
+ const _c = "client";
324
+ const _cA = "contextAttributes";
325
+ const _cBEI = "causedByEventId";
326
+ const _cM = "conversationMode";
327
+ const _cS = "confirmationState";
328
+ const _cT = "contentType";
329
+ const _cTM = "clientTimestampMillis";
330
+ const _co = "content";
331
+ const _dA = "dialogAction";
332
+ const _dP = "disablePlayback";
333
+ const _e = "error";
334
+ const _eI = "eventId";
335
+ const _eR = "eventReason";
336
+ const _h = "http";
337
+ const _hE = "httpError";
338
+ const _hH = "httpHeader";
339
+ const _i = "interpretations";
340
+ const _iC = "inputCharacter";
341
+ const _iM = "inputMode";
342
+ const _iRC = "imageResponseCard";
343
+ const _iS = "interpretationSource";
344
+ const _iSn = "inputStream";
345
+ const _iT = "inputTranscript";
346
+ const _iU = "imageUrl";
347
+ const _iV = "interpretedValue";
348
+ const _in = "intent";
349
+ const _lI = "localeId";
350
+ const _m = "message";
351
+ const _me = "messages";
352
+ const _mi = "mixed";
353
+ const _n = "name";
354
+ const _nC = "nluConfidence";
355
+ const _ne = "negative";
356
+ const _neu = "neutral";
357
+ const _oRI = "originatingRequestId";
358
+ const _oV = "originalValue";
359
+ const _p = "phrase";
360
+ const _po = "positive";
361
+ const _rA = "requestAttributes";
362
+ const _rBM = "recognizedBotMember";
363
+ const _rCT = "responseContentType";
364
+ const _rCTe = "requestContentType";
365
+ const _rES = "requestEventStream";
366
+ const _rESe = "responseEventStream";
367
+ const _rH = "runtimeHints";
368
+ const _rHV = "runtimeHintValues";
369
+ const _rV = "resolvedValues";
370
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.lexruntimev2";
371
+ const _sA = "sessionAttributes";
372
+ const _sES = "slotElicitationStyle";
373
+ const _sH = "slotHints";
374
+ const _sI = "sessionId";
375
+ const _sR = "sentimentResponse";
376
+ const _sS = "sessionState";
377
+ const _sSH = "subSlotHints";
378
+ const _sSTE = "subSlotToElicit";
379
+ const _sSe = "sentimentScore";
380
+ const _sSu = "subSlots";
381
+ const _sTE = "slotToElicit";
382
+ const _sc = "score";
383
+ const _se = "server";
384
+ const _sen = "sentiment";
385
+ const _sh = "shape";
386
+ const _sl = "slots";
387
+ const _st = "streaming";
388
+ const _sta = "state";
389
+ const _su = "subtitle";
390
+ const _t = "text";
391
+ const _tTL = "timeToLive";
392
+ const _tTLIS = "timeToLiveInSeconds";
393
+ const _tTLu = "turnsToLive";
394
+ const _ti = "title";
395
+ const _tr = "transcript";
396
+ const _ty = "type";
397
+ const _v = "value";
398
+ const _va = "values";
399
+ const _wM = "welcomeMessages";
400
+ const _xalcm = "x-amz-lex-conversation-mode";
401
+ const _xali = "x-amz-lex-interpretations";
402
+ const _xalim = "x-amz-lex-input-mode";
403
+ const _xalit = "x-amz-lex-input-transcript";
404
+ const _xalm = "x-amz-lex-messages";
405
+ const _xalra = "x-amz-lex-request-attributes";
406
+ const _xalrbm = "x-amz-lex-recognized-bot-member";
407
+ const _xalsi = "x-amz-lex-session-id";
408
+ const _xalss = "x-amz-lex-session-state";
409
+ const n0 = "com.amazonaws.lexruntimev2";
410
+ const _s_registry = TypeRegistry.for(_s);
411
+ var LexRuntimeV2ServiceException$ = [-3, _s, "LexRuntimeV2ServiceException", 0, [], []];
412
+ _s_registry.registerError(LexRuntimeV2ServiceException$, LexRuntimeV2ServiceException);
413
+ const n0_registry = TypeRegistry.for(n0);
414
+ var AccessDeniedException$ = [-3, n0, _ADE,
415
+ { [_e]: _c, [_hE]: 403 },
416
+ [_m],
417
+ [0], 1
418
+ ];
419
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
420
+ var BadGatewayException$ = [-3, n0, _BGE,
421
+ { [_e]: _se, [_hE]: 502 },
422
+ [_m],
423
+ [0], 1
424
+ ];
425
+ n0_registry.registerError(BadGatewayException$, BadGatewayException);
426
+ var ConflictException$ = [-3, n0, _CE,
427
+ { [_e]: _c, [_hE]: 409 },
428
+ [_m],
429
+ [0], 1
430
+ ];
431
+ n0_registry.registerError(ConflictException$, ConflictException);
432
+ var DependencyFailedException$ = [-3, n0, _DFE,
433
+ { [_e]: _c, [_hE]: 424 },
434
+ [_m],
435
+ [0], 1
436
+ ];
437
+ n0_registry.registerError(DependencyFailedException$, DependencyFailedException);
438
+ var InternalServerException$ = [-3, n0, _ISE,
439
+ { [_e]: _se, [_hE]: 500 },
440
+ [_m],
441
+ [0], 1
442
+ ];
443
+ n0_registry.registerError(InternalServerException$, InternalServerException);
444
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
445
+ { [_e]: _c, [_hE]: 404 },
446
+ [_m],
447
+ [0], 1
448
+ ];
449
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
450
+ var ThrottlingException$ = [-3, n0, _TE,
451
+ { [_e]: _c, [_hE]: 429 },
452
+ [_m],
453
+ [0], 1
454
+ ];
455
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
456
+ var ValidationException$ = [-3, n0, _VE,
457
+ { [_e]: _c, [_hE]: 400 },
458
+ [_m],
459
+ [0], 1
460
+ ];
461
+ n0_registry.registerError(ValidationException$, ValidationException);
462
+ const errorTypeRegistries = [
463
+ _s_registry,
464
+ n0_registry,
465
+ ];
466
+ var BlobStream = [0, n0, _BS, { [_st]: 1 }, 42];
467
+ var DTMFRegex = [0, n0, _DTMFR, 8, 0];
468
+ var SensitiveNonEmptyString = [0, n0, _SNES, 8, 0];
469
+ var Text = [0, n0, _T, 8, 0];
470
+ var ActiveContext$ = [3, n0, _AC,
471
+ 0,
472
+ [_n, _tTL, _cA],
473
+ [0, () => ActiveContextTimeToLive$, [() => ActiveContextParametersMap, 0]], 3
474
+ ];
475
+ var ActiveContextTimeToLive$ = [3, n0, _ACTTL,
476
+ 0,
477
+ [_tTLIS, _tTLu],
478
+ [1, 1], 2
479
+ ];
480
+ var AudioInputEvent$ = [3, n0, _AIE,
481
+ 0,
482
+ [_cT, _aC, _eI, _cTM],
483
+ [0, 21, 0, 1], 1
484
+ ];
485
+ var AudioResponseEvent$ = [3, n0, _ARE,
486
+ 0,
487
+ [_aC, _cT, _eI],
488
+ [21, 0, 0]
489
+ ];
490
+ var Button$ = [3, n0, _B,
491
+ 0,
492
+ [_t, _v],
493
+ [0, 0], 2
494
+ ];
495
+ var ConfidenceScore$ = [3, n0, _CS,
496
+ 0,
497
+ [_sc],
498
+ [1]
499
+ ];
500
+ var ConfigurationEvent$ = [3, n0, _CEo,
501
+ 0,
502
+ [_rCT, _rA, _sS, _wM, _dP, _eI, _cTM],
503
+ [0, 128 | 0, [() => SessionState$, 0], [() => Messages, 0], 2, 0, 1], 1
504
+ ];
505
+ var DeleteSessionRequest$ = [3, n0, _DSR,
506
+ 0,
507
+ [_bI, _bAI, _lI, _sI],
508
+ [[0, 1], [0, 1], [0, 1], [0, 1]], 4
509
+ ];
510
+ var DeleteSessionResponse$ = [3, n0, _DSRe,
511
+ 0,
512
+ [_bI, _bAI, _lI, _sI],
513
+ [0, 0, 0, 0]
514
+ ];
515
+ var DialogAction$ = [3, n0, _DA,
516
+ 0,
517
+ [_ty, _sTE, _sES, _sSTE],
518
+ [0, 0, 0, () => ElicitSubSlot$], 1
519
+ ];
520
+ var DisconnectionEvent$ = [3, n0, _DE,
521
+ 0,
522
+ [_eI, _cTM],
523
+ [0, 1]
524
+ ];
525
+ var DTMFInputEvent$ = [3, n0, _DTMFIE,
526
+ 0,
527
+ [_iC, _eI, _cTM],
528
+ [[() => DTMFRegex, 0], 0, 1], 1
529
+ ];
530
+ var ElicitSubSlot$ = [3, n0, _ESS,
531
+ 0,
532
+ [_n, _sSTE],
533
+ [0, () => ElicitSubSlot$], 1
534
+ ];
535
+ var GetSessionRequest$ = [3, n0, _GSR,
536
+ 0,
537
+ [_bI, _bAI, _lI, _sI],
538
+ [[0, 1], [0, 1], [0, 1], [0, 1]], 4
539
+ ];
540
+ var GetSessionResponse$ = [3, n0, _GSRe,
541
+ 0,
542
+ [_sI, _me, _i, _sS],
543
+ [0, [() => Messages, 0], () => Interpretations, [() => SessionState$, 0]]
544
+ ];
545
+ var HeartbeatEvent$ = [3, n0, _HE,
546
+ 0,
547
+ [_eI],
548
+ [0]
549
+ ];
550
+ var ImageResponseCard$ = [3, n0, _IRC,
551
+ 0,
552
+ [_ti, _su, _iU, _b],
553
+ [0, 0, 0, () => ButtonsList], 1
554
+ ];
555
+ var Intent$ = [3, n0, _I,
556
+ 0,
557
+ [_n, _sl, _sta, _cS],
558
+ [0, () => Slots, 0, 0], 1
559
+ ];
560
+ var IntentResultEvent$ = [3, n0, _IRE,
561
+ 0,
562
+ [_iM, _i, _sS, _rA, _sI, _eI, _rBM],
563
+ [0, () => Interpretations, [() => SessionState$, 0], 128 | 0, 0, 0, () => RecognizedBotMember$]
564
+ ];
565
+ var Interpretation$ = [3, n0, _In,
566
+ 0,
567
+ [_nC, _sR, _in, _iS],
568
+ [() => ConfidenceScore$, () => SentimentResponse$, () => Intent$, 0]
569
+ ];
570
+ var Message$ = [3, n0, _M,
571
+ 0,
572
+ [_cT, _co, _iRC],
573
+ [0, [() => Text, 0], () => ImageResponseCard$], 1
574
+ ];
575
+ var PlaybackCompletionEvent$ = [3, n0, _PCE,
576
+ 0,
577
+ [_eI, _cTM],
578
+ [0, 1]
579
+ ];
580
+ var PlaybackInterruptionEvent$ = [3, n0, _PIE,
581
+ 0,
582
+ [_eR, _cBEI, _eI],
583
+ [0, 0, 0]
584
+ ];
585
+ var PutSessionRequest$ = [3, n0, _PSR,
586
+ 0,
587
+ [_bI, _bAI, _lI, _sI, _sS, _me, _rA, _rCT],
588
+ [[0, 1], [0, 1], [0, 1], [0, 1], [() => SessionState$, 0], [() => Messages, 0], 128 | 0, [0, { [_hH]: _RCT }]], 5
589
+ ];
590
+ var PutSessionResponse$ = [3, n0, _PSRu,
591
+ 0,
592
+ [_cT, _me, _sS, _rA, _sI, _aS],
593
+ [[0, { [_hH]: _CT }], [0, { [_hH]: _xalm }], [0, { [_hH]: _xalss }], [0, { [_hH]: _xalra }], [0, { [_hH]: _xalsi }], [() => BlobStream, 16]]
594
+ ];
595
+ var RecognizedBotMember$ = [3, n0, _RBM,
596
+ 0,
597
+ [_bI, _bN],
598
+ [0, 0], 1
599
+ ];
600
+ var RecognizeTextRequest$ = [3, n0, _RTR,
601
+ 0,
602
+ [_bI, _bAI, _lI, _sI, _t, _sS, _rA],
603
+ [[0, 1], [0, 1], [0, 1], [0, 1], [() => Text, 0], [() => SessionState$, 0], 128 | 0], 5
604
+ ];
605
+ var RecognizeTextResponse$ = [3, n0, _RTRe,
606
+ 0,
607
+ [_me, _sS, _i, _rA, _sI, _rBM],
608
+ [[() => Messages, 0], [() => SessionState$, 0], () => Interpretations, 128 | 0, 0, () => RecognizedBotMember$]
609
+ ];
610
+ var RecognizeUtteranceRequest$ = [3, n0, _RUR,
611
+ 0,
612
+ [_bI, _bAI, _lI, _sI, _rCTe, _sS, _rA, _rCT, _iSn],
613
+ [[0, 1], [0, 1], [0, 1], [0, 1], [0, { [_hH]: _CT }], [() => SensitiveNonEmptyString, { [_hH]: _xalss }], [() => SensitiveNonEmptyString, { [_hH]: _xalra }], [0, { [_hH]: _RCT_ }], [() => BlobStream, 16]], 5
614
+ ];
615
+ var RecognizeUtteranceResponse$ = [3, n0, _RURe,
616
+ 0,
617
+ [_iM, _cT, _me, _i, _sS, _rA, _sI, _iT, _aS, _rBM],
618
+ [[0, { [_hH]: _xalim }], [0, { [_hH]: _CT }], [0, { [_hH]: _xalm }], [0, { [_hH]: _xali }], [0, { [_hH]: _xalss }], [0, { [_hH]: _xalra }], [0, { [_hH]: _xalsi }], [0, { [_hH]: _xalit }], [() => BlobStream, 16], [0, { [_hH]: _xalrbm }]]
619
+ ];
620
+ var RuntimeHintDetails$ = [3, n0, _RHD,
621
+ 0,
622
+ [_rHV, _sSH],
623
+ [() => RuntimeHintValuesList, () => SlotHintsSlotMap]
624
+ ];
625
+ var RuntimeHints$ = [3, n0, _RH,
626
+ 0,
627
+ [_sH],
628
+ [() => SlotHintsIntentMap]
629
+ ];
630
+ var RuntimeHintValue$ = [3, n0, _RHV,
631
+ 0,
632
+ [_p],
633
+ [0], 1
634
+ ];
635
+ var SentimentResponse$ = [3, n0, _SR,
636
+ 0,
637
+ [_sen, _sSe],
638
+ [0, () => SentimentScore$]
639
+ ];
640
+ var SentimentScore$ = [3, n0, _SS,
641
+ 0,
642
+ [_po, _ne, _neu, _mi],
643
+ [1, 1, 1, 1]
644
+ ];
645
+ var SessionState$ = [3, n0, _SSe,
646
+ 0,
647
+ [_dA, _in, _aCc, _sA, _oRI, _rH],
648
+ [() => DialogAction$, () => Intent$, [() => ActiveContextsList, 0], 128 | 0, 0, () => RuntimeHints$]
649
+ ];
650
+ var Slot$ = [3, n0, _S,
651
+ 0,
652
+ [_v, _sh, _va, _sSu],
653
+ [() => Value$, 0, () => Values, () => Slots]
654
+ ];
655
+ var StartConversationRequest$ = [3, n0, _SCR,
656
+ 0,
657
+ [_bI, _bAI, _lI, _sI, _rES, _cM],
658
+ [[0, 1], [0, 1], [0, 1], [0, 1], [() => StartConversationRequestEventStream$, 16], [0, { [_hH]: _xalcm }]], 5
659
+ ];
660
+ var StartConversationResponse$ = [3, n0, _SCRt,
661
+ 0,
662
+ [_rESe],
663
+ [[() => StartConversationResponseEventStream$, 16]]
664
+ ];
665
+ var TextInputEvent$ = [3, n0, _TIE,
666
+ 0,
667
+ [_t, _eI, _cTM],
668
+ [[() => Text, 0], 0, 1], 1
669
+ ];
670
+ var TextResponseEvent$ = [3, n0, _TRE,
671
+ 0,
672
+ [_me, _eI],
673
+ [[() => Messages, 0], 0]
674
+ ];
675
+ var TranscriptEvent$ = [3, n0, _TEr,
676
+ 0,
677
+ [_tr, _eI],
678
+ [0, 0]
679
+ ];
680
+ var Value$ = [3, n0, _V,
681
+ 0,
682
+ [_iV, _oV, _rV],
683
+ [0, 0, 64 | 0], 1
684
+ ];
685
+ var ActiveContextsList = [1, n0, _ACL,
686
+ 0, [() => ActiveContext$,
687
+ 0]
688
+ ];
689
+ var ButtonsList = [1, n0, _BL,
690
+ 0, () => Button$
691
+ ];
692
+ var Interpretations = [1, n0, _Int,
693
+ 0, () => Interpretation$
694
+ ];
695
+ var Messages = [1, n0, _Me,
696
+ 0, [() => Message$,
697
+ 0]
698
+ ];
699
+ var RuntimeHintValuesList = [1, n0, _RHVL,
700
+ 0, () => RuntimeHintValue$
701
+ ];
702
+ var Values = [1, n0, _Va,
703
+ 0, () => Slot$
704
+ ];
705
+ var ActiveContextParametersMap = [2, n0, _ACPM,
706
+ 0, [0,
707
+ 0],
708
+ [() => Text,
709
+ 0]
710
+ ];
711
+ var SlotHintsIntentMap = [2, n0, _SHIM,
712
+ 0, 0, () => SlotHintsSlotMap
713
+ ];
714
+ var SlotHintsSlotMap = [2, n0, _SHSM,
715
+ 0, 0, () => RuntimeHintDetails$
716
+ ];
717
+ var Slots = [2, n0, _Sl,
718
+ 0, 0, () => Slot$
719
+ ];
720
+ var StartConversationRequestEventStream$ = [4, n0, _SCRES,
721
+ { [_st]: 1 },
722
+ [_CEo, _AIE, _DTMFIE, _TIE, _PCE, _DE],
723
+ [[() => ConfigurationEvent$, 0], () => AudioInputEvent$, [() => DTMFInputEvent$, 0], [() => TextInputEvent$, 0], () => PlaybackCompletionEvent$, () => DisconnectionEvent$]
724
+ ];
725
+ var StartConversationResponseEventStream$ = [4, n0, _SCRESt,
726
+ { [_st]: 1 },
727
+ [_PIE, _TEr, _IRE, _TRE, _ARE, _HE, _ADE, _RNFE, _VE, _TE, _ISE, _CE, _DFE, _BGE],
728
+ [() => PlaybackInterruptionEvent$, () => TranscriptEvent$, [() => IntentResultEvent$, 0], [() => TextResponseEvent$, 0], () => AudioResponseEvent$, () => HeartbeatEvent$, [() => AccessDeniedException$, 0], [() => ResourceNotFoundException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => InternalServerException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
729
+ ];
730
+ var DeleteSession$ = [9, n0, _DS,
731
+ { [_h]: ["DELETE", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] }, () => DeleteSessionRequest$, () => DeleteSessionResponse$
732
+ ];
733
+ var GetSession$ = [9, n0, _GS,
734
+ { [_h]: ["GET", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] }, () => GetSessionRequest$, () => GetSessionResponse$
735
+ ];
736
+ var PutSession$ = [9, n0, _PS,
737
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] }, () => PutSessionRequest$, () => PutSessionResponse$
738
+ ];
739
+ var RecognizeText$ = [9, n0, _RT,
740
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", 200] }, () => RecognizeTextRequest$, () => RecognizeTextResponse$
741
+ ];
742
+ var RecognizeUtterance$ = [9, n0, _RU,
743
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", 200] }, () => RecognizeUtteranceRequest$, () => RecognizeUtteranceResponse$
744
+ ];
745
+ var StartConversation$ = [9, n0, _SC,
746
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation", 200] }, () => StartConversationRequest$, () => StartConversationResponse$
747
+ ];
748
+
749
+ const getRuntimeConfig$1 = (config) => {
750
+ return {
751
+ apiVersion: "2020-08-07",
752
+ base64Decoder: config?.base64Decoder ?? fromBase64,
753
+ base64Encoder: config?.base64Encoder ?? toBase64,
754
+ disableHostPrefix: config?.disableHostPrefix ?? false,
755
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
756
+ extensions: config?.extensions ?? [],
757
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultLexRuntimeV2HttpAuthSchemeProvider,
758
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
759
+ {
760
+ schemeId: "aws.auth#sigv4",
761
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
762
+ signer: new AwsSdkSigV4Signer(),
763
+ },
764
+ ],
765
+ logger: config?.logger ?? new NoOpLogger(),
766
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
767
+ protocolSettings: config?.protocolSettings ?? {
768
+ defaultNamespace: "com.amazonaws.lexruntimev2",
769
+ errorTypeRegistries,
770
+ version: "2020-08-07",
771
+ serviceTarget: "AWSDeepSenseRunTimeServiceApi2_0",
772
+ },
773
+ sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
774
+ serviceId: config?.serviceId ?? "Lex Runtime V2",
775
+ sha256: config?.sha256 ?? Sha256,
776
+ urlParser: config?.urlParser ?? parseUrl,
777
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
778
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
779
+ };
780
+ };
781
+
782
+ const getRuntimeConfig = (config) => {
783
+ emitWarningIfUnsupportedVersion(process.version);
784
+ const defaultsMode = resolveDefaultsModeConfig(config);
785
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
786
+ const clientSharedValues = getRuntimeConfig$1(config);
787
+ emitWarningIfUnsupportedVersion$1(process.version);
788
+ const loaderConfig = {
789
+ profile: config?.profile,
790
+ logger: clientSharedValues.logger,
791
+ };
792
+ return {
793
+ ...clientSharedValues,
794
+ ...config,
795
+ runtime: "node",
796
+ defaultsMode,
797
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
798
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
799
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
800
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
801
+ eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider,
802
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
803
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
804
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
805
+ requestHandler: NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
806
+ ...await defaultConfigProvider(),
807
+ disableConcurrentStreams: true
808
+ }))),
809
+ retryMode: config?.retryMode ??
810
+ loadConfig({
811
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
812
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
813
+ }, config),
814
+ streamCollector: config?.streamCollector ?? streamCollector,
815
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
816
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
817
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
818
+ };
819
+ };
820
+
36
821
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
37
822
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
38
823
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -269,22 +1054,92 @@ const PlaybackInterruptionReason = {
269
1054
  VOICE_START_DETECTED: "VOICE_START_DETECTED",
270
1055
  };
271
1056
 
1057
+ exports.AccessDeniedException = AccessDeniedException;
1058
+ exports.AccessDeniedException$ = AccessDeniedException$;
1059
+ exports.ActiveContext$ = ActiveContext$;
1060
+ exports.ActiveContextTimeToLive$ = ActiveContextTimeToLive$;
1061
+ exports.AudioInputEvent$ = AudioInputEvent$;
1062
+ exports.AudioResponseEvent$ = AudioResponseEvent$;
1063
+ exports.BadGatewayException = BadGatewayException;
1064
+ exports.BadGatewayException$ = BadGatewayException$;
1065
+ exports.Button$ = Button$;
1066
+ exports.ConfidenceScore$ = ConfidenceScore$;
1067
+ exports.ConfigurationEvent$ = ConfigurationEvent$;
272
1068
  exports.ConfirmationState = ConfirmationState;
1069
+ exports.ConflictException = ConflictException;
1070
+ exports.ConflictException$ = ConflictException$;
273
1071
  exports.ConversationMode = ConversationMode;
1072
+ exports.DTMFInputEvent$ = DTMFInputEvent$;
1073
+ exports.DeleteSession$ = DeleteSession$;
274
1074
  exports.DeleteSessionCommand = DeleteSessionCommand;
1075
+ exports.DeleteSessionRequest$ = DeleteSessionRequest$;
1076
+ exports.DeleteSessionResponse$ = DeleteSessionResponse$;
1077
+ exports.DependencyFailedException = DependencyFailedException;
1078
+ exports.DependencyFailedException$ = DependencyFailedException$;
1079
+ exports.DialogAction$ = DialogAction$;
275
1080
  exports.DialogActionType = DialogActionType;
1081
+ exports.DisconnectionEvent$ = DisconnectionEvent$;
1082
+ exports.ElicitSubSlot$ = ElicitSubSlot$;
1083
+ exports.GetSession$ = GetSession$;
276
1084
  exports.GetSessionCommand = GetSessionCommand;
1085
+ exports.GetSessionRequest$ = GetSessionRequest$;
1086
+ exports.GetSessionResponse$ = GetSessionResponse$;
1087
+ exports.HeartbeatEvent$ = HeartbeatEvent$;
1088
+ exports.ImageResponseCard$ = ImageResponseCard$;
277
1089
  exports.InputMode = InputMode;
1090
+ exports.Intent$ = Intent$;
1091
+ exports.IntentResultEvent$ = IntentResultEvent$;
278
1092
  exports.IntentState = IntentState;
1093
+ exports.InternalServerException = InternalServerException;
1094
+ exports.InternalServerException$ = InternalServerException$;
1095
+ exports.Interpretation$ = Interpretation$;
279
1096
  exports.InterpretationSource = InterpretationSource;
280
1097
  exports.LexRuntimeV2 = LexRuntimeV2;
281
1098
  exports.LexRuntimeV2Client = LexRuntimeV2Client;
1099
+ exports.LexRuntimeV2ServiceException = LexRuntimeV2ServiceException;
1100
+ exports.LexRuntimeV2ServiceException$ = LexRuntimeV2ServiceException$;
1101
+ exports.Message$ = Message$;
282
1102
  exports.MessageContentType = MessageContentType;
1103
+ exports.PlaybackCompletionEvent$ = PlaybackCompletionEvent$;
1104
+ exports.PlaybackInterruptionEvent$ = PlaybackInterruptionEvent$;
283
1105
  exports.PlaybackInterruptionReason = PlaybackInterruptionReason;
1106
+ exports.PutSession$ = PutSession$;
284
1107
  exports.PutSessionCommand = PutSessionCommand;
1108
+ exports.PutSessionRequest$ = PutSessionRequest$;
1109
+ exports.PutSessionResponse$ = PutSessionResponse$;
1110
+ exports.RecognizeText$ = RecognizeText$;
285
1111
  exports.RecognizeTextCommand = RecognizeTextCommand;
1112
+ exports.RecognizeTextRequest$ = RecognizeTextRequest$;
1113
+ exports.RecognizeTextResponse$ = RecognizeTextResponse$;
1114
+ exports.RecognizeUtterance$ = RecognizeUtterance$;
286
1115
  exports.RecognizeUtteranceCommand = RecognizeUtteranceCommand;
1116
+ exports.RecognizeUtteranceRequest$ = RecognizeUtteranceRequest$;
1117
+ exports.RecognizeUtteranceResponse$ = RecognizeUtteranceResponse$;
1118
+ exports.RecognizedBotMember$ = RecognizedBotMember$;
1119
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1120
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1121
+ exports.RuntimeHintDetails$ = RuntimeHintDetails$;
1122
+ exports.RuntimeHintValue$ = RuntimeHintValue$;
1123
+ exports.RuntimeHints$ = RuntimeHints$;
1124
+ exports.SentimentResponse$ = SentimentResponse$;
1125
+ exports.SentimentScore$ = SentimentScore$;
287
1126
  exports.SentimentType = SentimentType;
1127
+ exports.SessionState$ = SessionState$;
288
1128
  exports.Shape = Shape;
1129
+ exports.Slot$ = Slot$;
1130
+ exports.StartConversation$ = StartConversation$;
289
1131
  exports.StartConversationCommand = StartConversationCommand;
1132
+ exports.StartConversationRequest$ = StartConversationRequest$;
1133
+ exports.StartConversationRequestEventStream$ = StartConversationRequestEventStream$;
1134
+ exports.StartConversationResponse$ = StartConversationResponse$;
1135
+ exports.StartConversationResponseEventStream$ = StartConversationResponseEventStream$;
290
1136
  exports.StyleType = StyleType;
1137
+ exports.TextInputEvent$ = TextInputEvent$;
1138
+ exports.TextResponseEvent$ = TextResponseEvent$;
1139
+ exports.ThrottlingException = ThrottlingException;
1140
+ exports.ThrottlingException$ = ThrottlingException$;
1141
+ exports.TranscriptEvent$ = TranscriptEvent$;
1142
+ exports.ValidationException = ValidationException;
1143
+ exports.ValidationException$ = ValidationException$;
1144
+ exports.Value$ = Value$;
1145
+ exports.errorTypeRegistries = errorTypeRegistries;