@aws-sdk/client-lex-runtime-v2 3.1045.0 → 3.1046.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 (55) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +30 -31
  5. package/dist-cjs/models/LexRuntimeV2ServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +15 -17
  7. package/dist-cjs/runtimeConfig.js +20 -24
  8. package/dist-cjs/runtimeConfig.native.js +2 -2
  9. package/dist-cjs/runtimeConfig.shared.js +10 -12
  10. package/dist-es/LexRuntimeV2.js +1 -1
  11. package/dist-es/LexRuntimeV2Client.js +6 -6
  12. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  13. package/dist-es/commands/DeleteSessionCommand.js +2 -2
  14. package/dist-es/commands/GetSessionCommand.js +2 -2
  15. package/dist-es/commands/PutSessionCommand.js +2 -2
  16. package/dist-es/commands/RecognizeTextCommand.js +2 -2
  17. package/dist-es/commands/RecognizeUtteranceCommand.js +2 -2
  18. package/dist-es/commands/StartConversationCommand.js +2 -2
  19. package/dist-es/endpoint/bdd.js +1 -1
  20. package/dist-es/endpoint/endpointResolver.js +1 -1
  21. package/dist-es/models/LexRuntimeV2ServiceException.js +1 -1
  22. package/dist-es/runtimeConfig.browser.js +5 -7
  23. package/dist-es/runtimeConfig.js +5 -9
  24. package/dist-es/runtimeConfig.native.js +1 -1
  25. package/dist-es/runtimeConfig.shared.js +3 -5
  26. package/dist-es/runtimeExtensions.js +2 -2
  27. package/dist-types/LexRuntimeV2Client.d.ts +6 -6
  28. package/dist-types/commands/DeleteSessionCommand.d.ts +6 -4
  29. package/dist-types/commands/GetSessionCommand.d.ts +6 -4
  30. package/dist-types/commands/PutSessionCommand.d.ts +6 -4
  31. package/dist-types/commands/RecognizeTextCommand.d.ts +6 -4
  32. package/dist-types/commands/RecognizeUtteranceCommand.d.ts +6 -4
  33. package/dist-types/commands/StartConversationCommand.d.ts +6 -4
  34. package/dist-types/endpoint/bdd.d.ts +1 -1
  35. package/dist-types/extensionConfiguration.d.ts +1 -1
  36. package/dist-types/models/LexRuntimeV2ServiceException.d.ts +1 -1
  37. package/dist-types/models/errors.d.ts +1 -1
  38. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  39. package/dist-types/runtimeConfig.d.ts +2 -2
  40. package/dist-types/runtimeConfig.native.d.ts +2 -2
  41. package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +12 -18
  42. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +6 -4
  43. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +6 -4
  44. package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +6 -4
  45. package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +6 -4
  46. package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +6 -4
  47. package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +6 -4
  48. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  49. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  50. package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +1 -1
  51. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  55. package/package.json +16 -41
@@ -1,10 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { sdkStreamMixin } from "@smithy/util-stream";
7
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, sdkStreamMixin, toBase64, toUtf8 } from "@smithy/core/serde";
8
6
  import { defaultLexRuntimeV2HttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -2,12 +2,12 @@ import { type EventStreamInputConfig, type EventStreamResolvedConfig } from "@aw
2
2
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
3
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
4
  import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
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";
5
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
6
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
7
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
8
+ import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/core/event-streams";
9
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
10
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
11
11
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
12
12
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
13
13
  import type { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import type { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
22
22
  export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteSessionCommand_base: {
25
- new (input: DeleteSessionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteSessionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Removes session information for a specified bot, alias, and user ID. </p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import type { GetSessionRequest, GetSessionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetSessionCommandInput extends GetSessionRequest {
22
22
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetSessionCommand_base: {
25
- new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns session information for a specified bot, alias, and
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
3
  import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import type { PutSessionRequest, PutSessionResponse } from "../models/models_0";
@@ -23,9 +23,11 @@ export interface PutSessionCommandOutput extends Omit<PutSessionResponse, "audio
23
23
  audioStream?: StreamingBlobPayloadOutputTypes;
24
24
  }
25
25
  declare const PutSessionCommand_base: {
26
- new (input: PutSessionCommandInput): import("@smithy/smithy-client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: PutSessionCommandInput): import("@smithy/smithy-client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): {
29
+ [x: string]: unknown;
30
+ };
29
31
  };
30
32
  /**
31
33
  * <p>Creates a new session or modifies an existing session with an Amazon Lex V2
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import type { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface RecognizeTextCommandInput extends RecognizeTextRequest {
22
22
  export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RecognizeTextCommand_base: {
25
- new (input: RecognizeTextCommandInput): import("@smithy/smithy-client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: RecognizeTextCommandInput): import("@smithy/smithy-client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RecognizeTextCommandInput): import("@smithy/core/client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RecognizeTextCommandInput): import("@smithy/core/client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Sends user input to Amazon Lex V2. Client applications use this API to send
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
3
  import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import type { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
@@ -24,9 +24,11 @@ export interface RecognizeUtteranceCommandOutput extends Omit<RecognizeUtterance
24
24
  audioStream?: StreamingBlobPayloadOutputTypes;
25
25
  }
26
26
  declare const RecognizeUtteranceCommand_base: {
27
- new (input: RecognizeUtteranceCommandInput): import("@smithy/smithy-client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- new (input: RecognizeUtteranceCommandInput): import("@smithy/smithy-client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
29
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ new (input: RecognizeUtteranceCommandInput): import("@smithy/core/client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ new (input: RecognizeUtteranceCommandInput): import("@smithy/core/client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
29
+ getEndpointParameterInstructions(): {
30
+ [x: string]: unknown;
31
+ };
30
32
  };
31
33
  /**
32
34
  * <p>Sends user input to Amazon Lex V2. You can send text or speech. Clients use
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
4
  import type { StartConversationRequest, StartConversationResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface StartConversationCommandInput extends StartConversationRequest
22
22
  export interface StartConversationCommandOutput extends StartConversationResponse, __MetadataBearer {
23
23
  }
24
24
  declare const StartConversationCommand_base: {
25
- new (input: StartConversationCommandInput): import("@smithy/smithy-client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartConversationCommandInput): import("@smithy/smithy-client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: StartConversationCommandInput): import("@smithy/core/client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartConversationCommandInput): import("@smithy/core/client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Starts an HTTP/2 bidirectional event stream that enables you to send
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import type { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2ServiceException";
3
3
  /**
4
4
  * <p></p>
@@ -5,7 +5,7 @@ import type { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
13
13
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
14
14
  maxAttempts: number | import("@smithy/types").Provider<number>;
15
15
  region: string | import("@smithy/types").Provider<any>;
16
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
16
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
17
17
  retryMode: string | import("@smithy/types").Provider<string>;
18
18
  sha256: import("@smithy/types").HashConstructor;
19
19
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,7 @@ import type { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
14
14
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
15
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
16
  region: string | import("@smithy/types").Provider<string>;
17
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
17
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
18
18
  retryMode: string | import("@smithy/types").Provider<string>;
19
19
  sha256: import("@smithy/types").HashConstructor;
20
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
6
6
  runtime: string;
7
7
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
8
8
  sha256: import("@smithy/types").HashConstructor;
9
- 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
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
10
  cacheMiddleware?: boolean;
11
11
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
12
12
  protocolSettings: {
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
34
34
  logger: import("@smithy/types").Logger;
35
35
  extensions: import("./runtimeExtensions").RuntimeExtension[];
36
36
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
37
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
37
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
38
38
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
39
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
40
40
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -11,29 +11,23 @@ import {
11
11
  UserAgentResolvedConfig,
12
12
  } from "@aws-sdk/middleware-user-agent";
13
13
  import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
14
- import {
15
- RegionInputConfig,
16
- RegionResolvedConfig,
17
- } from "@smithy/config-resolver";
18
- import {
19
- EventStreamSerdeInputConfig,
20
- EventStreamSerdeResolvedConfig,
21
- } from "@smithy/eventstream-serde-config-resolver";
22
- import {
23
- EndpointInputConfig,
24
- EndpointResolvedConfig,
25
- } from "@smithy/middleware-endpoint";
26
- import {
27
- RetryInputConfig,
28
- RetryResolvedConfig,
29
- } from "@smithy/middleware-retry";
30
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
31
14
  import {
32
15
  DefaultsMode as __DefaultsMode,
33
16
  SmithyConfiguration as __SmithyConfiguration,
34
17
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
18
  Client as __Client,
36
- } from "@smithy/smithy-client";
19
+ } from "@smithy/core/client";
20
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
21
+ import {
22
+ EndpointInputConfig,
23
+ EndpointResolvedConfig,
24
+ } from "@smithy/core/endpoints";
25
+ import {
26
+ EventStreamSerdeInputConfig,
27
+ EventStreamSerdeResolvedConfig,
28
+ } from "@smithy/core/event-streams";
29
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
30
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
37
31
  import {
38
32
  AwsCredentialIdentityProvider,
39
33
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  LexRuntimeV2ClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface DeleteSessionCommandOutput
18
18
  declare const DeleteSessionCommand_base: {
19
19
  new (
20
20
  input: DeleteSessionCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  DeleteSessionCommandInput,
23
23
  DeleteSessionCommandOutput,
24
24
  LexRuntimeV2ClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const DeleteSessionCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: DeleteSessionCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  DeleteSessionCommandInput,
32
32
  DeleteSessionCommandOutput,
33
33
  LexRuntimeV2ClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class DeleteSessionCommand extends DeleteSessionCommand_base {
40
42
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  LexRuntimeV2ClientResolvedConfig,
@@ -15,7 +15,7 @@ export interface GetSessionCommandOutput
15
15
  declare const GetSessionCommand_base: {
16
16
  new (
17
17
  input: GetSessionCommandInput
18
- ): import("@smithy/smithy-client").CommandImpl<
18
+ ): import("@smithy/core/client").CommandImpl<
19
19
  GetSessionCommandInput,
20
20
  GetSessionCommandOutput,
21
21
  LexRuntimeV2ClientResolvedConfig,
@@ -24,14 +24,16 @@ declare const GetSessionCommand_base: {
24
24
  >;
25
25
  new (
26
26
  input: GetSessionCommandInput
27
- ): import("@smithy/smithy-client").CommandImpl<
27
+ ): import("@smithy/core/client").CommandImpl<
28
28
  GetSessionCommandInput,
29
29
  GetSessionCommandOutput,
30
30
  LexRuntimeV2ClientResolvedConfig,
31
31
  ServiceInputTypes,
32
32
  ServiceOutputTypes
33
33
  >;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
35
37
  };
36
38
  export declare class GetSessionCommand extends GetSessionCommand_base {
37
39
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import {
3
3
  MetadataBearer as __MetadataBearer,
4
4
  StreamingBlobPayloadOutputTypes,
@@ -23,7 +23,7 @@ export interface PutSessionCommandOutput
23
23
  declare const PutSessionCommand_base: {
24
24
  new (
25
25
  input: PutSessionCommandInput
26
- ): import("@smithy/smithy-client").CommandImpl<
26
+ ): import("@smithy/core/client").CommandImpl<
27
27
  PutSessionCommandInput,
28
28
  PutSessionCommandOutput,
29
29
  LexRuntimeV2ClientResolvedConfig,
@@ -32,14 +32,16 @@ declare const PutSessionCommand_base: {
32
32
  >;
33
33
  new (
34
34
  input: PutSessionCommandInput
35
- ): import("@smithy/smithy-client").CommandImpl<
35
+ ): import("@smithy/core/client").CommandImpl<
36
36
  PutSessionCommandInput,
37
37
  PutSessionCommandOutput,
38
38
  LexRuntimeV2ClientResolvedConfig,
39
39
  ServiceInputTypes,
40
40
  ServiceOutputTypes
41
41
  >;
42
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
42
+ getEndpointParameterInstructions(): {
43
+ [x: string]: unknown;
44
+ };
43
45
  };
44
46
  export declare class PutSessionCommand extends PutSessionCommand_base {
45
47
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  LexRuntimeV2ClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface RecognizeTextCommandOutput
18
18
  declare const RecognizeTextCommand_base: {
19
19
  new (
20
20
  input: RecognizeTextCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  RecognizeTextCommandInput,
23
23
  RecognizeTextCommandOutput,
24
24
  LexRuntimeV2ClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const RecognizeTextCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: RecognizeTextCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  RecognizeTextCommandInput,
32
32
  RecognizeTextCommandOutput,
33
33
  LexRuntimeV2ClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class RecognizeTextCommand extends RecognizeTextCommand_base {
40
42
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import {
3
3
  MetadataBearer as __MetadataBearer,
4
4
  StreamingBlobPayloadInputTypes,
@@ -33,7 +33,7 @@ export interface RecognizeUtteranceCommandOutput
33
33
  declare const RecognizeUtteranceCommand_base: {
34
34
  new (
35
35
  input: RecognizeUtteranceCommandInput
36
- ): import("@smithy/smithy-client").CommandImpl<
36
+ ): import("@smithy/core/client").CommandImpl<
37
37
  RecognizeUtteranceCommandInput,
38
38
  RecognizeUtteranceCommandOutput,
39
39
  LexRuntimeV2ClientResolvedConfig,
@@ -42,14 +42,16 @@ declare const RecognizeUtteranceCommand_base: {
42
42
  >;
43
43
  new (
44
44
  input: RecognizeUtteranceCommandInput
45
- ): import("@smithy/smithy-client").CommandImpl<
45
+ ): import("@smithy/core/client").CommandImpl<
46
46
  RecognizeUtteranceCommandInput,
47
47
  RecognizeUtteranceCommandOutput,
48
48
  LexRuntimeV2ClientResolvedConfig,
49
49
  ServiceInputTypes,
50
50
  ServiceOutputTypes
51
51
  >;
52
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
52
+ getEndpointParameterInstructions(): {
53
+ [x: string]: unknown;
54
+ };
53
55
  };
54
56
  export declare class RecognizeUtteranceCommand extends RecognizeUtteranceCommand_base {
55
57
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  LexRuntimeV2ClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface StartConversationCommandOutput
19
19
  declare const StartConversationCommand_base: {
20
20
  new (
21
21
  input: StartConversationCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  StartConversationCommandInput,
24
24
  StartConversationCommandOutput,
25
25
  LexRuntimeV2ClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const StartConversationCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: StartConversationCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  StartConversationCommandInput,
33
33
  StartConversationCommandOutput,
34
34
  LexRuntimeV2ClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class StartConversationCommand extends StartConversationCommand_base {
41
43
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface LexRuntimeV2ExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class LexRuntimeV2ServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2ServiceException";
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
@@ -3,7 +3,7 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
19
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
20
  region: string | import("@smithy/types").Provider<any>;
21
21
  requestHandler:
22
- | import("@smithy/protocol-http").HttpHandler<any>
22
+ | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
25
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
21
21
  region: string | import("@smithy/types").Provider<string>;
22
22
  requestHandler:
23
23
  | RequestHandler
24
- | import("@smithy/protocol-http").HttpHandler<any>;
24
+ | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
26
  sha256: import("@smithy/types").HashConstructor;
27
27
  streamCollector: import("@smithy/types").StreamCollector;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
7
7
  | import("@smithy/types").NodeHttpHandlerOptions
8
8
  | import("@smithy/types").FetchHttpHandlerOptions
9
9
  | Record<string, unknown>
10
- | import("@smithy/protocol-http").HttpHandler<any>
10
+ | import("@smithy/core/protocols").HttpHandler<any>
11
11
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
12
  cacheMiddleware?: boolean;
13
13
  protocol:
@@ -48,9 +48,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
48
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
49
49
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
50
50
  defaultsMode:
51
- | import("@smithy/smithy-client").DefaultsMode
51
+ | import("@smithy/core/client").DefaultsMode
52
52
  | import("@smithy/types").Provider<
53
- import("@smithy/smithy-client").DefaultsMode
53
+ import("@smithy/core/client").DefaultsMode
54
54
  >;
55
55
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
56
56
  customUserAgent?: string | import("@smithy/types").UserAgent;