@aws-sdk/client-lex-runtime-service 3.948.0 → 3.953.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.
@@ -24,7 +24,12 @@ export const getRuntimeConfig = (config) => {
24
24
  },
25
25
  ],
26
26
  logger: config?.logger ?? new NoOpLogger(),
27
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.lexruntimeservice" }),
27
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
28
+ protocolSettings: config?.protocolSettings ?? {
29
+ defaultNamespace: "com.amazonaws.lexruntimeservice",
30
+ version: "2016-11-28",
31
+ serviceTarget: "AWSDeepSenseRunTimeService",
32
+ },
28
33
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
29
34
  serviceId: config?.serviceId ?? "Lex Runtime Service",
30
35
  urlParser: config?.urlParser ?? parseUrl,
@@ -135,32 +135,32 @@ const _xalsi = "x-amz-lex-session-id";
135
135
  const _xalste = "x-amz-lex-slot-to-elicit";
136
136
  const n0 = "com.amazonaws.lexruntimeservice";
137
137
  import { TypeRegistry } from "@smithy/core/schema";
138
- import { BadGatewayException as __BadGatewayException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalFailureException as __InternalFailureException, LimitExceededException as __LimitExceededException, LoopDetectedException as __LoopDetectedException, NotAcceptableException as __NotAcceptableException, NotFoundException as __NotFoundException, RequestTimeoutException as __RequestTimeoutException, UnsupportedMediaTypeException as __UnsupportedMediaTypeException, } from "../models/errors";
139
- import { LexRuntimeServiceServiceException as __LexRuntimeServiceServiceException } from "../models/LexRuntimeServiceServiceException";
140
- export var BlobStream = [0, n0, _BS, { [_s]: 1 }, 42];
141
- export var SensitiveString = [0, n0, _SS, 8, 0];
142
- export var SensitiveStringUnbounded = [0, n0, _SSU, 8, 0];
143
- export var SynthesizedJsonActiveContextsString = [0, n0, _SJACS, { [_mT]: _a, [_se]: 1 }, 0];
144
- export var SynthesizedJsonAttributesString = [0, n0, _SJAS, { [_mT]: _a, [_se]: 1 }, 0];
145
- export var SynthesizedJsonString = [0, n0, _SJS, { [_mT]: _a }, 0];
146
- export var Text = [0, n0, _T, 8, 0];
147
- export var ActiveContext = [
138
+ import { BadGatewayException, BadRequestException, ConflictException, DependencyFailedException, InternalFailureException, LimitExceededException, LoopDetectedException, NotAcceptableException, NotFoundException, RequestTimeoutException, UnsupportedMediaTypeException, } from "../models/errors";
139
+ import { LexRuntimeServiceServiceException } from "../models/LexRuntimeServiceServiceException";
140
+ var BlobStream = [0, n0, _BS, { [_s]: 1 }, 42];
141
+ var SensitiveString = [0, n0, _SS, 8, 0];
142
+ var SensitiveStringUnbounded = [0, n0, _SSU, 8, 0];
143
+ var SynthesizedJsonActiveContextsString = [0, n0, _SJACS, { [_mT]: _a, [_se]: 1 }, 0];
144
+ var SynthesizedJsonAttributesString = [0, n0, _SJAS, { [_mT]: _a, [_se]: 1 }, 0];
145
+ var SynthesizedJsonString = [0, n0, _SJS, { [_mT]: _a }, 0];
146
+ var Text = [0, n0, _T, 8, 0];
147
+ export var ActiveContext$ = [
148
148
  3,
149
149
  n0,
150
150
  _AC,
151
151
  0,
152
152
  [_n, _tTL, _p],
153
- [0, () => ActiveContextTimeToLive, [() => ActiveContextParametersMap, 0]],
153
+ [0, () => ActiveContextTimeToLive$, [() => ActiveContextParametersMap, 0]],
154
154
  ];
155
- export var ActiveContextTimeToLive = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
156
- export var BadGatewayException = [-3, n0, _BGE, { [_e]: _ser, [_hE]: 502 }, [_M], [0]];
157
- TypeRegistry.for(n0).registerError(BadGatewayException, __BadGatewayException);
158
- export var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
159
- TypeRegistry.for(n0).registerError(BadRequestException, __BadRequestException);
160
- export var Button = [3, n0, _B, 0, [_t, _v], [0, 0]];
161
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
162
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
163
- export var DeleteSessionRequest = [
155
+ export var ActiveContextTimeToLive$ = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
156
+ export var BadGatewayException$ = [-3, n0, _BGE, { [_e]: _ser, [_hE]: 502 }, [_M], [0]];
157
+ TypeRegistry.for(n0).registerError(BadGatewayException$, BadGatewayException);
158
+ export var BadRequestException$ = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
159
+ TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
160
+ export var Button$ = [3, n0, _B, 0, [_t, _v], [0, 0]];
161
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
162
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
163
+ export var DeleteSessionRequest$ = [
164
164
  3,
165
165
  n0,
166
166
  _DSR,
@@ -172,10 +172,10 @@ export var DeleteSessionRequest = [
172
172
  [0, 1],
173
173
  ],
174
174
  ];
175
- export var DeleteSessionResponse = [3, n0, _DSRe, 0, [_bN, _bA, _uI, _sI], [0, 0, 0, 0]];
176
- export var DependencyFailedException = [-3, n0, _DFE, { [_e]: _c, [_hE]: 424 }, [_M], [0]];
177
- TypeRegistry.for(n0).registerError(DependencyFailedException, __DependencyFailedException);
178
- export var DialogAction = [
175
+ export var DeleteSessionResponse$ = [3, n0, _DSRe, 0, [_bN, _bA, _uI, _sI], [0, 0, 0, 0]];
176
+ export var DependencyFailedException$ = [-3, n0, _DFE, { [_e]: _c, [_hE]: 424 }, [_M], [0]];
177
+ TypeRegistry.for(n0).registerError(DependencyFailedException$, DependencyFailedException);
178
+ export var DialogAction$ = [
179
179
  3,
180
180
  n0,
181
181
  _DA,
@@ -183,7 +183,7 @@ export var DialogAction = [
183
183
  [_ty, _iN, _sl, _sTE, _fS, _m, _mF],
184
184
  [0, 0, [() => StringMap, 0], 0, 0, [() => Text, 0], 0],
185
185
  ];
186
- export var GenericAttachment = [
186
+ export var GenericAttachment$ = [
187
187
  3,
188
188
  n0,
189
189
  _GA,
@@ -191,7 +191,7 @@ export var GenericAttachment = [
191
191
  [_ti, _sT, _aLU, _iU, _b],
192
192
  [0, 0, 0, 0, () => listOfButtons],
193
193
  ];
194
- export var GetSessionRequest = [
194
+ export var GetSessionRequest$ = [
195
195
  3,
196
196
  n0,
197
197
  _GSR,
@@ -204,16 +204,16 @@ export var GetSessionRequest = [
204
204
  [0, { [_hQ]: _cLF }],
205
205
  ],
206
206
  ];
207
- export var GetSessionResponse = [
207
+ export var GetSessionResponse$ = [
208
208
  3,
209
209
  n0,
210
210
  _GSRe,
211
211
  0,
212
212
  [_rISV, _sA, _sI, _dA, _aC],
213
- [[() => IntentSummaryList, 0], [() => StringMap, 0], 0, [() => DialogAction, 0], [() => ActiveContextsList, 0]],
213
+ [[() => IntentSummaryList, 0], [() => StringMap, 0], 0, [() => DialogAction$, 0], [() => ActiveContextsList, 0]],
214
214
  ];
215
- export var IntentConfidence = [3, n0, _IC, 0, [_sc], [1]];
216
- export var IntentSummary = [
215
+ export var IntentConfidence$ = [3, n0, _IC, 0, [_sc], [1]];
216
+ export var IntentSummary$ = [
217
217
  3,
218
218
  n0,
219
219
  _IS,
@@ -221,9 +221,9 @@ export var IntentSummary = [
221
221
  [_iN, _cL, _sl, _cS, _dAT, _fS, _sTE],
222
222
  [0, 0, [() => StringMap, 0], 0, 0, 0, 0],
223
223
  ];
224
- export var InternalFailureException = [-3, n0, _IFE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
225
- TypeRegistry.for(n0).registerError(InternalFailureException, __InternalFailureException);
226
- export var LimitExceededException = [
224
+ export var InternalFailureException$ = [-3, n0, _IFE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
225
+ TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
226
+ export var LimitExceededException$ = [
227
227
  -3,
228
228
  n0,
229
229
  _LEE,
@@ -231,14 +231,14 @@ export var LimitExceededException = [
231
231
  [_rAS, _m],
232
232
  [[0, { [_hH]: _RA }], 0],
233
233
  ];
234
- TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
235
- export var LoopDetectedException = [-3, n0, _LDE, { [_e]: _ser, [_hE]: 508 }, [_M], [0]];
236
- TypeRegistry.for(n0).registerError(LoopDetectedException, __LoopDetectedException);
237
- export var NotAcceptableException = [-3, n0, _NAE, { [_e]: _c, [_hE]: 406 }, [_m], [0]];
238
- TypeRegistry.for(n0).registerError(NotAcceptableException, __NotAcceptableException);
239
- export var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
240
- TypeRegistry.for(n0).registerError(NotFoundException, __NotFoundException);
241
- export var PostContentRequest = [
234
+ TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
235
+ export var LoopDetectedException$ = [-3, n0, _LDE, { [_e]: _ser, [_hE]: 508 }, [_M], [0]];
236
+ TypeRegistry.for(n0).registerError(LoopDetectedException$, LoopDetectedException);
237
+ export var NotAcceptableException$ = [-3, n0, _NAE, { [_e]: _c, [_hE]: 406 }, [_m], [0]];
238
+ TypeRegistry.for(n0).registerError(NotAcceptableException$, NotAcceptableException);
239
+ export var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
240
+ TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
241
+ export var PostContentRequest$ = [
242
242
  3,
243
243
  n0,
244
244
  _PCR,
@@ -256,7 +256,7 @@ export var PostContentRequest = [
256
256
  [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
257
257
  ],
258
258
  ];
259
- export var PostContentResponse = [
259
+ export var PostContentResponse$ = [
260
260
  3,
261
261
  n0,
262
262
  _PCRo,
@@ -283,7 +283,7 @@ export var PostContentResponse = [
283
283
  [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
284
284
  ],
285
285
  ];
286
- export var PostTextRequest = [
286
+ export var PostTextRequest$ = [
287
287
  3,
288
288
  n0,
289
289
  _PTR,
@@ -299,7 +299,7 @@ export var PostTextRequest = [
299
299
  [() => ActiveContextsList, 0],
300
300
  ],
301
301
  ];
302
- export var PostTextResponse = [
302
+ export var PostTextResponse$ = [
303
303
  3,
304
304
  n0,
305
305
  _PTRo,
@@ -307,30 +307,30 @@ export var PostTextResponse = [
307
307
  [_iN, _nIC, _aI, _sl, _sA, _m, _sR, _mF, _dS, _sTE, _rC, _sI, _bV, _aC],
308
308
  [
309
309
  0,
310
- () => IntentConfidence,
310
+ () => IntentConfidence$,
311
311
  [() => IntentList, 0],
312
312
  [() => StringMap, 0],
313
313
  [() => StringMap, 0],
314
314
  [() => Text, 0],
315
- () => SentimentResponse,
315
+ () => SentimentResponse$,
316
316
  0,
317
317
  0,
318
318
  0,
319
- () => ResponseCard,
319
+ () => ResponseCard$,
320
320
  0,
321
321
  0,
322
322
  [() => ActiveContextsList, 0],
323
323
  ],
324
324
  ];
325
- export var PredictedIntent = [
325
+ export var PredictedIntent$ = [
326
326
  3,
327
327
  n0,
328
328
  _PI,
329
329
  0,
330
330
  [_iN, _nIC, _sl],
331
- [0, () => IntentConfidence, [() => StringMap, 0]],
331
+ [0, () => IntentConfidence$, [() => StringMap, 0]],
332
332
  ];
333
- export var PutSessionRequest = [
333
+ export var PutSessionRequest$ = [
334
334
  3,
335
335
  n0,
336
336
  _PSR,
@@ -341,13 +341,13 @@ export var PutSessionRequest = [
341
341
  [0, 1],
342
342
  [0, 1],
343
343
  [() => StringMap, 0],
344
- [() => DialogAction, 0],
344
+ [() => DialogAction$, 0],
345
345
  [() => IntentSummaryList, 0],
346
346
  [0, { [_hH]: _A }],
347
347
  [() => ActiveContextsList, 0],
348
348
  ],
349
349
  ];
350
- export var PutSessionResponse = [
350
+ export var PutSessionResponse$ = [
351
351
  3,
352
352
  n0,
353
353
  _PSRu,
@@ -368,13 +368,13 @@ export var PutSessionResponse = [
368
368
  [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
369
369
  ],
370
370
  ];
371
- export var RequestTimeoutException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
372
- TypeRegistry.for(n0).registerError(RequestTimeoutException, __RequestTimeoutException);
373
- export var ResponseCard = [3, n0, _RC, 0, [_ve, _cT, _gA], [0, 0, () => genericAttachmentList]];
374
- export var SentimentResponse = [3, n0, _SR, 0, [_sL, _sS], [0, 0]];
375
- export var UnsupportedMediaTypeException = [-3, n0, _UMTE, { [_e]: _c, [_hE]: 415 }, [_m], [0]];
376
- TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException, __UnsupportedMediaTypeException);
377
- export var LexRuntimeServiceServiceException = [
371
+ export var RequestTimeoutException$ = [-3, n0, _RTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
372
+ TypeRegistry.for(n0).registerError(RequestTimeoutException$, RequestTimeoutException);
373
+ export var ResponseCard$ = [3, n0, _RC, 0, [_ve, _cT, _gA], [0, 0, () => genericAttachmentList]];
374
+ export var SentimentResponse$ = [3, n0, _SR, 0, [_sL, _sS], [0, 0]];
375
+ export var UnsupportedMediaTypeException$ = [-3, n0, _UMTE, { [_e]: _c, [_hE]: 415 }, [_m], [0]];
376
+ TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException$, UnsupportedMediaTypeException);
377
+ export var LexRuntimeServiceServiceException$ = [
378
378
  -3,
379
379
  _sm,
380
380
  "LexRuntimeServiceServiceException",
@@ -382,51 +382,51 @@ export var LexRuntimeServiceServiceException = [
382
382
  [],
383
383
  [],
384
384
  ];
385
- TypeRegistry.for(_sm).registerError(LexRuntimeServiceServiceException, __LexRuntimeServiceServiceException);
386
- export var ActiveContextsList = [1, n0, _ACL, 8, [() => ActiveContext, 0]];
387
- export var genericAttachmentList = [1, n0, _gAL, 0, () => GenericAttachment];
388
- export var IntentList = [1, n0, _IL, 0, [() => PredictedIntent, 0]];
389
- export var IntentSummaryList = [1, n0, _ISL, 0, [() => IntentSummary, 0]];
390
- export var listOfButtons = [1, n0, _lOB, 0, () => Button];
391
- export var ActiveContextParametersMap = [2, n0, _ACPM, 0, [0, 0], [() => Text, 0]];
392
- export var StringMap = [2, n0, _SM, 8, 0, 0];
393
- export var DeleteSession = [
385
+ TypeRegistry.for(_sm).registerError(LexRuntimeServiceServiceException$, LexRuntimeServiceServiceException);
386
+ var ActiveContextsList = [1, n0, _ACL, 8, [() => ActiveContext$, 0]];
387
+ var genericAttachmentList = [1, n0, _gAL, 0, () => GenericAttachment$];
388
+ var IntentList = [1, n0, _IL, 0, [() => PredictedIntent$, 0]];
389
+ var IntentSummaryList = [1, n0, _ISL, 0, [() => IntentSummary$, 0]];
390
+ var listOfButtons = [1, n0, _lOB, 0, () => Button$];
391
+ var ActiveContextParametersMap = [2, n0, _ACPM, 0, [0, 0], [() => Text, 0]];
392
+ var StringMap = [2, n0, _SM, 8, 0, 0];
393
+ export var DeleteSession$ = [
394
394
  9,
395
395
  n0,
396
396
  _DS,
397
397
  { [_h]: ["DELETE", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
398
- () => DeleteSessionRequest,
399
- () => DeleteSessionResponse,
398
+ () => DeleteSessionRequest$,
399
+ () => DeleteSessionResponse$,
400
400
  ];
401
- export var GetSession = [
401
+ export var GetSession$ = [
402
402
  9,
403
403
  n0,
404
404
  _GS,
405
405
  { [_h]: ["GET", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
406
- () => GetSessionRequest,
407
- () => GetSessionResponse,
406
+ () => GetSessionRequest$,
407
+ () => GetSessionResponse$,
408
408
  ];
409
- export var PostContent = [
409
+ export var PostContent$ = [
410
410
  9,
411
411
  n0,
412
412
  _PC,
413
413
  { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/content", 200] },
414
- () => PostContentRequest,
415
- () => PostContentResponse,
414
+ () => PostContentRequest$,
415
+ () => PostContentResponse$,
416
416
  ];
417
- export var PostText = [
417
+ export var PostText$ = [
418
418
  9,
419
419
  n0,
420
420
  _PT,
421
421
  { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/text", 200] },
422
- () => PostTextRequest,
423
- () => PostTextResponse,
422
+ () => PostTextRequest$,
423
+ () => PostTextResponse$,
424
424
  ];
425
- export var PutSession = [
425
+ export var PutSession$ = [
426
426
  9,
427
427
  n0,
428
428
  _PS,
429
429
  { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
430
- () => PutSessionRequest,
431
- () => PutSessionResponse,
430
+ () => PutSessionRequest$,
431
+ () => PutSessionResponse$,
432
432
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, 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";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, 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";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
11
11
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
- /**
150
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
- * may be overridden. A default will always be set by the client.
152
- * Available options depend on the service's supported protocols and will not be validated by
153
- * the client.
154
- * @alpha
155
- *
156
- */
157
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
149
  /**
159
150
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
151
  */
@@ -20,6 +20,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
20
20
  export type { RuntimeExtension } from "./runtimeExtensions";
21
21
  export type { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguration";
22
22
  export * from "./commands";
23
+ export * from "./schemas/schemas_0";
23
24
  export * from "./models/enums";
24
25
  export * from "./models/errors";
25
26
  export type * from "./models/models_0";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
34
38
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
39
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
36
40
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
41
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeServiceHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
19
24
  serviceId: string;
20
25
  urlParser: import("@smithy/types").UrlParser;
@@ -1,52 +1,38 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var BlobStream: StaticSimpleSchema;
3
- export declare var SensitiveString: StaticSimpleSchema;
4
- export declare var SensitiveStringUnbounded: StaticSimpleSchema;
5
- export declare var SynthesizedJsonActiveContextsString: StaticSimpleSchema;
6
- export declare var SynthesizedJsonAttributesString: StaticSimpleSchema;
7
- export declare var SynthesizedJsonString: StaticSimpleSchema;
8
- export declare var Text: StaticSimpleSchema;
9
- export declare var ActiveContext: StaticStructureSchema;
10
- export declare var ActiveContextTimeToLive: StaticStructureSchema;
11
- export declare var BadGatewayException: StaticErrorSchema;
12
- export declare var BadRequestException: StaticErrorSchema;
13
- export declare var Button: StaticStructureSchema;
14
- export declare var ConflictException: StaticErrorSchema;
15
- export declare var DeleteSessionRequest: StaticStructureSchema;
16
- export declare var DeleteSessionResponse: StaticStructureSchema;
17
- export declare var DependencyFailedException: StaticErrorSchema;
18
- export declare var DialogAction: StaticStructureSchema;
19
- export declare var GenericAttachment: StaticStructureSchema;
20
- export declare var GetSessionRequest: StaticStructureSchema;
21
- export declare var GetSessionResponse: StaticStructureSchema;
22
- export declare var IntentConfidence: StaticStructureSchema;
23
- export declare var IntentSummary: StaticStructureSchema;
24
- export declare var InternalFailureException: StaticErrorSchema;
25
- export declare var LimitExceededException: StaticErrorSchema;
26
- export declare var LoopDetectedException: StaticErrorSchema;
27
- export declare var NotAcceptableException: StaticErrorSchema;
28
- export declare var NotFoundException: StaticErrorSchema;
29
- export declare var PostContentRequest: StaticStructureSchema;
30
- export declare var PostContentResponse: StaticStructureSchema;
31
- export declare var PostTextRequest: StaticStructureSchema;
32
- export declare var PostTextResponse: StaticStructureSchema;
33
- export declare var PredictedIntent: StaticStructureSchema;
34
- export declare var PutSessionRequest: StaticStructureSchema;
35
- export declare var PutSessionResponse: StaticStructureSchema;
36
- export declare var RequestTimeoutException: StaticErrorSchema;
37
- export declare var ResponseCard: StaticStructureSchema;
38
- export declare var SentimentResponse: StaticStructureSchema;
39
- export declare var UnsupportedMediaTypeException: StaticErrorSchema;
40
- export declare var LexRuntimeServiceServiceException: StaticErrorSchema;
41
- export declare var ActiveContextsList: StaticListSchema;
42
- export declare var genericAttachmentList: StaticListSchema;
43
- export declare var IntentList: StaticListSchema;
44
- export declare var IntentSummaryList: StaticListSchema;
45
- export declare var listOfButtons: StaticListSchema;
46
- export declare var ActiveContextParametersMap: StaticMapSchema;
47
- export declare var StringMap: StaticMapSchema;
48
- export declare var DeleteSession: StaticOperationSchema;
49
- export declare var GetSession: StaticOperationSchema;
50
- export declare var PostContent: StaticOperationSchema;
51
- export declare var PostText: StaticOperationSchema;
52
- export declare var PutSession: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var ActiveContext$: StaticStructureSchema;
3
+ export declare var ActiveContextTimeToLive$: StaticStructureSchema;
4
+ export declare var BadGatewayException$: StaticErrorSchema;
5
+ export declare var BadRequestException$: StaticErrorSchema;
6
+ export declare var Button$: StaticStructureSchema;
7
+ export declare var ConflictException$: StaticErrorSchema;
8
+ export declare var DeleteSessionRequest$: StaticStructureSchema;
9
+ export declare var DeleteSessionResponse$: StaticStructureSchema;
10
+ export declare var DependencyFailedException$: StaticErrorSchema;
11
+ export declare var DialogAction$: StaticStructureSchema;
12
+ export declare var GenericAttachment$: StaticStructureSchema;
13
+ export declare var GetSessionRequest$: StaticStructureSchema;
14
+ export declare var GetSessionResponse$: StaticStructureSchema;
15
+ export declare var IntentConfidence$: StaticStructureSchema;
16
+ export declare var IntentSummary$: StaticStructureSchema;
17
+ export declare var InternalFailureException$: StaticErrorSchema;
18
+ export declare var LimitExceededException$: StaticErrorSchema;
19
+ export declare var LoopDetectedException$: StaticErrorSchema;
20
+ export declare var NotAcceptableException$: StaticErrorSchema;
21
+ export declare var NotFoundException$: StaticErrorSchema;
22
+ export declare var PostContentRequest$: StaticStructureSchema;
23
+ export declare var PostContentResponse$: StaticStructureSchema;
24
+ export declare var PostTextRequest$: StaticStructureSchema;
25
+ export declare var PostTextResponse$: StaticStructureSchema;
26
+ export declare var PredictedIntent$: StaticStructureSchema;
27
+ export declare var PutSessionRequest$: StaticStructureSchema;
28
+ export declare var PutSessionResponse$: StaticStructureSchema;
29
+ export declare var RequestTimeoutException$: StaticErrorSchema;
30
+ export declare var ResponseCard$: StaticStructureSchema;
31
+ export declare var SentimentResponse$: StaticStructureSchema;
32
+ export declare var UnsupportedMediaTypeException$: StaticErrorSchema;
33
+ export declare var LexRuntimeServiceServiceException$: StaticErrorSchema;
34
+ export declare var DeleteSession$: StaticOperationSchema;
35
+ export declare var GetSession$: StaticOperationSchema;
36
+ export declare var PostContent$: StaticOperationSchema;
37
+ export declare var PostText$: StaticOperationSchema;
38
+ export declare var PutSession$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
@@ -112,7 +109,6 @@ export interface ClientDefaults
112
109
  retryMode?: string | __Provider<string>;
113
110
  logger?: __Logger;
114
111
  extensions?: RuntimeExtension[];
115
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
116
112
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
117
113
  sdkStreamMixin?: __SdkStreamMixinInjector;
118
114
  }
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
48
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
53
  userAgentAppId?:
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
48
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
49
53
  retryStrategy?: