@aws-sdk/client-lex-runtime-v2 3.943.0 → 3.947.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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +36 -247
  2. package/dist-cjs/runtimeConfig.browser.js +5 -3
  3. package/dist-cjs/runtimeConfig.js +8 -5
  4. package/dist-cjs/runtimeConfig.native.js +3 -1
  5. package/dist-es/LexRuntimeV2Client.js +2 -2
  6. package/dist-es/runtimeConfig.browser.js +5 -3
  7. package/dist-es/runtimeConfig.js +7 -4
  8. package/dist-es/runtimeConfig.native.js +3 -1
  9. package/dist-es/schemas/schemas_0.js +36 -248
  10. package/dist-types/LexRuntimeV2.d.ts +1 -1
  11. package/dist-types/LexRuntimeV2Client.d.ts +12 -12
  12. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  13. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  14. package/dist-types/commands/DeleteSessionCommand.d.ts +3 -3
  15. package/dist-types/commands/GetSessionCommand.d.ts +3 -3
  16. package/dist-types/commands/PutSessionCommand.d.ts +3 -3
  17. package/dist-types/commands/RecognizeTextCommand.d.ts +3 -3
  18. package/dist-types/commands/RecognizeUtteranceCommand.d.ts +2 -2
  19. package/dist-types/commands/StartConversationCommand.d.ts +3 -3
  20. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  21. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  22. package/dist-types/extensionConfiguration.d.ts +4 -4
  23. package/dist-types/models/LexRuntimeV2ServiceException.d.ts +1 -1
  24. package/dist-types/models/errors.d.ts +1 -1
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/dist-types/runtimeConfig.d.ts +1 -1
  27. package/dist-types/runtimeConfig.native.d.ts +1 -1
  28. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  29. package/dist-types/runtimeExtensions.d.ts +1 -1
  30. package/dist-types/schemas/schemas_0.d.ts +1 -2
  31. package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +3 -3
  32. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  33. package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +1 -1
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  35. package/package.json +13 -12
@@ -171,29 +171,11 @@ const n0 = "com.amazonaws.lexruntimev2";
171
171
  import { TypeRegistry } from "@smithy/core/schema";
172
172
  import { AccessDeniedException as __AccessDeniedException, BadGatewayException as __BadGatewayException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
173
173
  import { LexRuntimeV2ServiceException as __LexRuntimeV2ServiceException } from "../models/LexRuntimeV2ServiceException";
174
- export var BlobStream = [
175
- 0,
176
- n0,
177
- _BS,
178
- {
179
- [_s]: 1,
180
- },
181
- 42,
182
- ];
174
+ export var BlobStream = [0, n0, _BS, { [_s]: 1 }, 42];
183
175
  export var DTMFRegex = [0, n0, _DTMFR, 8, 0];
184
176
  export var SensitiveNonEmptyString = [0, n0, _SNES, 8, 0];
185
177
  export var Text = [0, n0, _T, 8, 0];
186
- export var AccessDeniedException = [
187
- -3,
188
- n0,
189
- _ADE,
190
- {
191
- [_e]: _c,
192
- [_hE]: 403,
193
- },
194
- [_m],
195
- [0],
196
- ];
178
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
197
179
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
198
180
  export var ActiveContext = [
199
181
  3,
@@ -206,17 +188,7 @@ export var ActiveContext = [
206
188
  export var ActiveContextTimeToLive = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
207
189
  export var AudioInputEvent = [3, n0, _AIE, 0, [_aC, _cT, _eI, _cTM], [21, 0, 0, 1]];
208
190
  export var AudioResponseEvent = [3, n0, _ARE, 0, [_aC, _cT, _eI], [21, 0, 0]];
209
- export var BadGatewayException = [
210
- -3,
211
- n0,
212
- _BGE,
213
- {
214
- [_e]: _se,
215
- [_hE]: 502,
216
- },
217
- [_m],
218
- [0],
219
- ];
191
+ export var BadGatewayException = [-3, n0, _BGE, { [_e]: _se, [_hE]: 502 }, [_m], [0]];
220
192
  TypeRegistry.for(n0).registerError(BadGatewayException, __BadGatewayException);
221
193
  export var Button = [3, n0, _B, 0, [_t, _v], [0, 0]];
222
194
  export var ConfidenceScore = [3, n0, _CS, 0, [_sc], [1]];
@@ -228,17 +200,7 @@ export var ConfigurationEvent = [
228
200
  [_rA, _rCT, _sS, _wM, _dP, _eI, _cTM],
229
201
  [128 | 0, 0, [() => SessionState, 0], [() => Messages, 0], 2, 0, 1],
230
202
  ];
231
- export var ConflictException = [
232
- -3,
233
- n0,
234
- _CEo,
235
- {
236
- [_e]: _c,
237
- [_hE]: 409,
238
- },
239
- [_m],
240
- [0],
241
- ];
203
+ export var ConflictException = [-3, n0, _CEo, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
242
204
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
243
205
  export var DeleteSessionRequest = [
244
206
  3,
@@ -254,17 +216,7 @@ export var DeleteSessionRequest = [
254
216
  ],
255
217
  ];
256
218
  export var DeleteSessionResponse = [3, n0, _DSRe, 0, [_bI, _bAI, _lI, _sI], [0, 0, 0, 0]];
257
- export var DependencyFailedException = [
258
- -3,
259
- n0,
260
- _DFE,
261
- {
262
- [_e]: _c,
263
- [_hE]: 424,
264
- },
265
- [_m],
266
- [0],
267
- ];
219
+ export var DependencyFailedException = [-3, n0, _DFE, { [_e]: _c, [_hE]: 424 }, [_m], [0]];
268
220
  TypeRegistry.for(n0).registerError(DependencyFailedException, __DependencyFailedException);
269
221
  export var DialogAction = [
270
222
  3,
@@ -316,17 +268,7 @@ export var IntentResultEvent = [
316
268
  [_iM, _i, _sS, _rA, _sI, _eI, _rBM],
317
269
  [0, () => Interpretations, [() => SessionState, 0], 128 | 0, 0, 0, () => RecognizedBotMember],
318
270
  ];
319
- export var InternalServerException = [
320
- -3,
321
- n0,
322
- _ISE,
323
- {
324
- [_e]: _se,
325
- [_hE]: 500,
326
- },
327
- [_m],
328
- [0],
329
- ];
271
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
330
272
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
331
273
  export var Interpretation = [
332
274
  3,
@@ -352,21 +294,7 @@ export var PutSessionRequest = [
352
294
  _PSR,
353
295
  0,
354
296
  [_bI, _bAI, _lI, _sI, _me, _sS, _rA, _rCT],
355
- [
356
- [0, 1],
357
- [0, 1],
358
- [0, 1],
359
- [0, 1],
360
- [() => Messages, 0],
361
- [() => SessionState, 0],
362
- 128 | 0,
363
- [
364
- 0,
365
- {
366
- [_hH]: _RCT,
367
- },
368
- ],
369
- ],
297
+ [[0, 1], [0, 1], [0, 1], [0, 1], [() => Messages, 0], [() => SessionState, 0], 128 | 0, [0, { [_hH]: _RCT }]],
370
298
  ];
371
299
  export var PutSessionResponse = [
372
300
  3,
@@ -375,36 +303,11 @@ export var PutSessionResponse = [
375
303
  0,
376
304
  [_cT, _me, _sS, _rA, _sI, _aS],
377
305
  [
378
- [
379
- 0,
380
- {
381
- [_hH]: _CT,
382
- },
383
- ],
384
- [
385
- 0,
386
- {
387
- [_hH]: _xalm,
388
- },
389
- ],
390
- [
391
- 0,
392
- {
393
- [_hH]: _xalss,
394
- },
395
- ],
396
- [
397
- 0,
398
- {
399
- [_hH]: _xalra,
400
- },
401
- ],
402
- [
403
- 0,
404
- {
405
- [_hH]: _xalsi,
406
- },
407
- ],
306
+ [0, { [_hH]: _CT }],
307
+ [0, { [_hH]: _xalm }],
308
+ [0, { [_hH]: _xalss }],
309
+ [0, { [_hH]: _xalra }],
310
+ [0, { [_hH]: _xalsi }],
408
311
  [() => BlobStream, 16],
409
312
  ],
410
313
  ];
@@ -436,30 +339,10 @@ export var RecognizeUtteranceRequest = [
436
339
  [0, 1],
437
340
  [0, 1],
438
341
  [0, 1],
439
- [
440
- () => SensitiveNonEmptyString,
441
- {
442
- [_hH]: _xalss,
443
- },
444
- ],
445
- [
446
- () => SensitiveNonEmptyString,
447
- {
448
- [_hH]: _xalra,
449
- },
450
- ],
451
- [
452
- 0,
453
- {
454
- [_hH]: _CT,
455
- },
456
- ],
457
- [
458
- 0,
459
- {
460
- [_hH]: _RCT_,
461
- },
462
- ],
342
+ [() => SensitiveNonEmptyString, { [_hH]: _xalss }],
343
+ [() => SensitiveNonEmptyString, { [_hH]: _xalra }],
344
+ [0, { [_hH]: _CT }],
345
+ [0, { [_hH]: _RCT_ }],
463
346
  [() => BlobStream, 16],
464
347
  ],
465
348
  ];
@@ -470,74 +353,19 @@ export var RecognizeUtteranceResponse = [
470
353
  0,
471
354
  [_iM, _cT, _me, _i, _sS, _rA, _sI, _iT, _aS, _rBM],
472
355
  [
473
- [
474
- 0,
475
- {
476
- [_hH]: _xalim,
477
- },
478
- ],
479
- [
480
- 0,
481
- {
482
- [_hH]: _CT,
483
- },
484
- ],
485
- [
486
- 0,
487
- {
488
- [_hH]: _xalm,
489
- },
490
- ],
491
- [
492
- 0,
493
- {
494
- [_hH]: _xali,
495
- },
496
- ],
497
- [
498
- 0,
499
- {
500
- [_hH]: _xalss,
501
- },
502
- ],
503
- [
504
- 0,
505
- {
506
- [_hH]: _xalra,
507
- },
508
- ],
509
- [
510
- 0,
511
- {
512
- [_hH]: _xalsi,
513
- },
514
- ],
515
- [
516
- 0,
517
- {
518
- [_hH]: _xalit,
519
- },
520
- ],
356
+ [0, { [_hH]: _xalim }],
357
+ [0, { [_hH]: _CT }],
358
+ [0, { [_hH]: _xalm }],
359
+ [0, { [_hH]: _xali }],
360
+ [0, { [_hH]: _xalss }],
361
+ [0, { [_hH]: _xalra }],
362
+ [0, { [_hH]: _xalsi }],
363
+ [0, { [_hH]: _xalit }],
521
364
  [() => BlobStream, 16],
522
- [
523
- 0,
524
- {
525
- [_hH]: _xalrbm,
526
- },
527
- ],
365
+ [0, { [_hH]: _xalrbm }],
528
366
  ],
529
367
  ];
530
- export var ResourceNotFoundException = [
531
- -3,
532
- n0,
533
- _RNFE,
534
- {
535
- [_e]: _c,
536
- [_hE]: 404,
537
- },
538
- [_m],
539
- [0],
540
- ];
368
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
541
369
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
542
370
  export var RuntimeHintDetails = [
543
371
  3,
@@ -578,12 +406,7 @@ export var StartConversationRequest = [
578
406
  [0, 1],
579
407
  [0, 1],
580
408
  [0, 1],
581
- [
582
- 0,
583
- {
584
- [_hH]: _xalcm,
585
- },
586
- ],
409
+ [0, { [_hH]: _xalcm }],
587
410
  [() => StartConversationRequestEventStream, 16],
588
411
  ],
589
412
  ];
@@ -597,33 +420,12 @@ export var StartConversationResponse = [
597
420
  ];
598
421
  export var TextInputEvent = [3, n0, _TIE, 0, [_t, _eI, _cTM], [[() => Text, 0], 0, 1]];
599
422
  export var TextResponseEvent = [3, n0, _TRE, 0, [_me, _eI], [[() => Messages, 0], 0]];
600
- export var ThrottlingException = [
601
- -3,
602
- n0,
603
- _TE,
604
- {
605
- [_e]: _c,
606
- [_hE]: 429,
607
- },
608
- [_m],
609
- [0],
610
- ];
423
+ export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
611
424
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
612
425
  export var TranscriptEvent = [3, n0, _TEr, 0, [_tr, _eI], [0, 0]];
613
- export var ValidationException = [
614
- -3,
615
- n0,
616
- _VE,
617
- {
618
- [_e]: _c,
619
- [_hE]: 400,
620
- },
621
- [_m],
622
- [0],
623
- ];
426
+ export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
624
427
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
625
428
  export var Value = [3, n0, _V, 0, [_oV, _iV, _rV], [0, 0, 64 | 0]];
626
- export var __Unit = "unit";
627
429
  export var LexRuntimeV2ServiceException = [-3, _sm, "LexRuntimeV2ServiceException", 0, [], []];
628
430
  TypeRegistry.for(_sm).registerError(LexRuntimeV2ServiceException, __LexRuntimeV2ServiceException);
629
431
  export var ActiveContextsList = [1, n0, _ACL, 0, [() => ActiveContext, 0]];
@@ -642,9 +444,7 @@ export var StartConversationRequestEventStream = [
642
444
  3,
643
445
  n0,
644
446
  _SCRES,
645
- {
646
- [_s]: 1,
647
- },
447
+ { [_s]: 1 },
648
448
  [_CE, _AIE, _DTMFIE, _TIE, _PCE, _DE],
649
449
  [
650
450
  [() => ConfigurationEvent, 0],
@@ -659,9 +459,7 @@ export var StartConversationResponseEventStream = [
659
459
  3,
660
460
  n0,
661
461
  _SCRESt,
662
- {
663
- [_s]: 1,
664
- },
462
+ { [_s]: 1 },
665
463
  [_PIE, _TEr, _IRE, _TRE, _ARE, _HE, _ADE, _RNFE, _VE, _TE, _ISE, _CEo, _DFE, _BGE],
666
464
  [
667
465
  () => PlaybackInterruptionEvent,
@@ -684,9 +482,7 @@ export var DeleteSession = [
684
482
  9,
685
483
  n0,
686
484
  _DS,
687
- {
688
- [_h]: ["DELETE", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200],
689
- },
485
+ { [_h]: ["DELETE", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] },
690
486
  () => DeleteSessionRequest,
691
487
  () => DeleteSessionResponse,
692
488
  ];
@@ -694,9 +490,7 @@ export var GetSession = [
694
490
  9,
695
491
  n0,
696
492
  _GS,
697
- {
698
- [_h]: ["GET", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200],
699
- },
493
+ { [_h]: ["GET", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] },
700
494
  () => GetSessionRequest,
701
495
  () => GetSessionResponse,
702
496
  ];
@@ -704,9 +498,7 @@ export var PutSession = [
704
498
  9,
705
499
  n0,
706
500
  _PS,
707
- {
708
- [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200],
709
- },
501
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] },
710
502
  () => PutSessionRequest,
711
503
  () => PutSessionResponse,
712
504
  ];
@@ -714,9 +506,7 @@ export var RecognizeText = [
714
506
  9,
715
507
  n0,
716
508
  _RT,
717
- {
718
- [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", 200],
719
- },
509
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", 200] },
720
510
  () => RecognizeTextRequest,
721
511
  () => RecognizeTextResponse,
722
512
  ];
@@ -724,9 +514,7 @@ export var RecognizeUtterance = [
724
514
  9,
725
515
  n0,
726
516
  _RU,
727
- {
728
- [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", 200],
729
- },
517
+ { [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", 200] },
730
518
  () => RecognizeUtteranceRequest,
731
519
  () => RecognizeUtteranceResponse,
732
520
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
3
3
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
4
4
  import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
@@ -1,15 +1,15 @@
1
- import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
1
+ import { type EventStreamInputConfig, type EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
2
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
4
  import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
5
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
- import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
7
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
8
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
9
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
10
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
11
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
12
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
5
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
7
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
8
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
9
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
10
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
11
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
12
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
13
13
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
14
14
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
15
15
  import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
@@ -17,7 +17,7 @@ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./command
17
17
  import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
18
18
  import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
19
19
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
20
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
20
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
21
21
  export { __Client };
22
22
  /**
23
23
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { LexRuntimeV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { LexRuntimeV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig } from "../LexRuntimeV2Client";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type LexRuntimeV2ClientResolvedConfig } from "../LexRuntimeV2Client";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
- import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
+ import type { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
- import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
+ import type { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
- import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
+ import { type PutSessionRequest, PutSessionResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
- import { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
+ import type { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
2
+ import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
- import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
+ import type { StartConversationRequest, StartConversationResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2ServiceException";
3
3
  /**
4
4
  * <p></p>
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
2
+ import type { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
2
- import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
2
+ import type { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
1
+ import type { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
1
+ import type { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { LexRuntimeV2ExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { LexRuntimeV2ExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */