@aws-sdk/client-lex-runtime-service 3.1045.0 → 3.1047.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +26 -27
- package/dist-cjs/models/LexRuntimeServiceServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +10 -12
- package/dist-es/LexRuntimeService.js +1 -1
- package/dist-es/LexRuntimeServiceClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/DeleteSessionCommand.js +2 -2
- package/dist-es/commands/GetSessionCommand.js +2 -2
- package/dist-es/commands/PostContentCommand.js +2 -2
- package/dist-es/commands/PostTextCommand.js +2 -2
- package/dist-es/commands/PutSessionCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/LexRuntimeServiceServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/LexRuntimeServiceClient.d.ts +5 -5
- package/dist-types/commands/DeleteSessionCommand.d.ts +6 -4
- package/dist-types/commands/GetSessionCommand.d.ts +6 -4
- package/dist-types/commands/PostContentCommand.d.ts +6 -4
- package/dist-types/commands/PostTextCommand.d.ts +6 -4
- package/dist-types/commands/PutSessionCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/LexRuntimeServiceServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostTextCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
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/
|
|
26
|
-
new (input: GetSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, 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 user
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
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 { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
4
4
|
import type { PostContentRequest, PostContentResponse } from "../models/models_0";
|
|
@@ -24,9 +24,11 @@ export interface PostContentCommandOutput extends Omit<PostContentResponse, "aud
|
|
|
24
24
|
audioStream?: StreamingBlobPayloadOutputTypes;
|
|
25
25
|
}
|
|
26
26
|
declare const PostContentCommand_base: {
|
|
27
|
-
new (input: PostContentCommandInput): import("@smithy/
|
|
28
|
-
new (input: PostContentCommandInput): import("@smithy/
|
|
29
|
-
getEndpointParameterInstructions():
|
|
27
|
+
new (input: PostContentCommandInput): import("@smithy/core/client").CommandImpl<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
new (input: PostContentCommandInput): import("@smithy/core/client").CommandImpl<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
29
|
+
getEndpointParameterInstructions(): {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
30
32
|
};
|
|
31
33
|
/**
|
|
32
34
|
* <p> Sends user input (text or speech) to Amazon Lex. Clients use this API to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
4
4
|
import type { PostTextRequest, PostTextResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface PostTextCommandInput extends PostTextRequest {
|
|
|
22
22
|
export interface PostTextCommandOutput extends PostTextResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PostTextCommand_base: {
|
|
25
|
-
new (input: PostTextCommandInput): import("@smithy/
|
|
26
|
-
new (input: PostTextCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PostTextCommandInput): import("@smithy/core/client").CommandImpl<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PostTextCommandInput): import("@smithy/core/client").CommandImpl<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Sends user input to Amazon Lex. Client applications can use this API to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
3
3
|
import type { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
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/
|
|
27
|
-
new (input: PutSessionCommandInput): import("@smithy/
|
|
28
|
-
getEndpointParameterInstructions():
|
|
26
|
+
new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, 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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
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/
|
|
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/
|
|
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/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p> Request validation failed, there is no usable message in the context,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
2
|
import type { StreamingBlobTypes } from "@smithy/types";
|
|
3
3
|
import type { ConfirmationStatus, ContentType, DialogActionType, DialogState, FulfillmentState, MessageFormatType } from "./enums";
|
|
4
4
|
/**
|
|
@@ -5,13 +5,13 @@ import type { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
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>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: import("@smithy/
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,14 +5,14 @@ import type { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
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);
|
|
12
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
15
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,7 @@ import type { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
10
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
11
|
protocolSettings: {
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/
|
|
35
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
36
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
37
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -6,25 +6,19 @@ import {
|
|
|
6
6
|
UserAgentInputConfig,
|
|
7
7
|
UserAgentResolvedConfig,
|
|
8
8
|
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
-
import {
|
|
10
|
-
RegionInputConfig,
|
|
11
|
-
RegionResolvedConfig,
|
|
12
|
-
} from "@smithy/config-resolver";
|
|
13
|
-
import {
|
|
14
|
-
EndpointInputConfig,
|
|
15
|
-
EndpointResolvedConfig,
|
|
16
|
-
} from "@smithy/middleware-endpoint";
|
|
17
|
-
import {
|
|
18
|
-
RetryInputConfig,
|
|
19
|
-
RetryResolvedConfig,
|
|
20
|
-
} from "@smithy/middleware-retry";
|
|
21
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
9
|
import {
|
|
23
10
|
DefaultsMode as __DefaultsMode,
|
|
24
11
|
SmithyConfiguration as __SmithyConfiguration,
|
|
25
12
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
13
|
Client as __Client,
|
|
27
|
-
} from "@smithy/
|
|
14
|
+
} from "@smithy/core/client";
|
|
15
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
16
|
+
import {
|
|
17
|
+
EndpointInputConfig,
|
|
18
|
+
EndpointResolvedConfig,
|
|
19
|
+
} from "@smithy/core/endpoints";
|
|
20
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
21
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
28
22
|
import {
|
|
29
23
|
AwsCredentialIdentityProvider,
|
|
30
24
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -18,7 +18,7 @@ export interface DeleteSessionCommandOutput
|
|
|
18
18
|
declare const DeleteSessionCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: DeleteSessionCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
DeleteSessionCommandInput,
|
|
23
23
|
DeleteSessionCommandOutput,
|
|
24
24
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const DeleteSessionCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
input: DeleteSessionCommandInput
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
DeleteSessionCommandInput,
|
|
32
32
|
DeleteSessionCommandOutput,
|
|
33
33
|
LexRuntimeServiceClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
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/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -15,7 +15,7 @@ export interface GetSessionCommandOutput
|
|
|
15
15
|
declare const GetSessionCommand_base: {
|
|
16
16
|
new (
|
|
17
17
|
input: GetSessionCommandInput
|
|
18
|
-
): import("@smithy/
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
GetSessionCommandInput,
|
|
20
20
|
GetSessionCommandOutput,
|
|
21
21
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -24,14 +24,16 @@ declare const GetSessionCommand_base: {
|
|
|
24
24
|
>;
|
|
25
25
|
new (
|
|
26
26
|
input: GetSessionCommandInput
|
|
27
|
-
): import("@smithy/
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
28
|
GetSessionCommandInput,
|
|
29
29
|
GetSessionCommandOutput,
|
|
30
30
|
LexRuntimeServiceClientResolvedConfig,
|
|
31
31
|
ServiceInputTypes,
|
|
32
32
|
ServiceOutputTypes
|
|
33
33
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
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/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import {
|
|
3
3
|
MetadataBearer as __MetadataBearer,
|
|
4
4
|
StreamingBlobPayloadInputTypes,
|
|
@@ -30,7 +30,7 @@ export interface PostContentCommandOutput
|
|
|
30
30
|
declare const PostContentCommand_base: {
|
|
31
31
|
new (
|
|
32
32
|
input: PostContentCommandInput
|
|
33
|
-
): import("@smithy/
|
|
33
|
+
): import("@smithy/core/client").CommandImpl<
|
|
34
34
|
PostContentCommandInput,
|
|
35
35
|
PostContentCommandOutput,
|
|
36
36
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -39,14 +39,16 @@ declare const PostContentCommand_base: {
|
|
|
39
39
|
>;
|
|
40
40
|
new (
|
|
41
41
|
input: PostContentCommandInput
|
|
42
|
-
): import("@smithy/
|
|
42
|
+
): import("@smithy/core/client").CommandImpl<
|
|
43
43
|
PostContentCommandInput,
|
|
44
44
|
PostContentCommandOutput,
|
|
45
45
|
LexRuntimeServiceClientResolvedConfig,
|
|
46
46
|
ServiceInputTypes,
|
|
47
47
|
ServiceOutputTypes
|
|
48
48
|
>;
|
|
49
|
-
getEndpointParameterInstructions():
|
|
49
|
+
getEndpointParameterInstructions(): {
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
};
|
|
50
52
|
};
|
|
51
53
|
export declare class PostContentCommand extends PostContentCommand_base {
|
|
52
54
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -13,25 +13,23 @@ export interface PostTextCommandOutput
|
|
|
13
13
|
extends PostTextResponse,
|
|
14
14
|
__MetadataBearer {}
|
|
15
15
|
declare const PostTextCommand_base: {
|
|
16
|
-
new (
|
|
17
|
-
input: PostTextCommandInput
|
|
18
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
16
|
+
new (input: PostTextCommandInput): import("@smithy/core/client").CommandImpl<
|
|
19
17
|
PostTextCommandInput,
|
|
20
18
|
PostTextCommandOutput,
|
|
21
19
|
LexRuntimeServiceClientResolvedConfig,
|
|
22
20
|
ServiceInputTypes,
|
|
23
21
|
ServiceOutputTypes
|
|
24
22
|
>;
|
|
25
|
-
new (
|
|
26
|
-
input: PostTextCommandInput
|
|
27
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
new (input: PostTextCommandInput): import("@smithy/core/client").CommandImpl<
|
|
28
24
|
PostTextCommandInput,
|
|
29
25
|
PostTextCommandOutput,
|
|
30
26
|
LexRuntimeServiceClientResolvedConfig,
|
|
31
27
|
ServiceInputTypes,
|
|
32
28
|
ServiceOutputTypes
|
|
33
29
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
30
|
+
getEndpointParameterInstructions(): {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
35
33
|
};
|
|
36
34
|
export declare class PostTextCommand extends PostTextCommand_base {
|
|
37
35
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
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/
|
|
26
|
+
): import("@smithy/core/client").CommandImpl<
|
|
27
27
|
PutSessionCommandInput,
|
|
28
28
|
PutSessionCommandOutput,
|
|
29
29
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -32,14 +32,16 @@ declare const PutSessionCommand_base: {
|
|
|
32
32
|
>;
|
|
33
33
|
new (
|
|
34
34
|
input: PutSessionCommandInput
|
|
35
|
-
): import("@smithy/
|
|
35
|
+
): import("@smithy/core/client").CommandImpl<
|
|
36
36
|
PutSessionCommandInput,
|
|
37
37
|
PutSessionCommandOutput,
|
|
38
38
|
LexRuntimeServiceClientResolvedConfig,
|
|
39
39
|
ServiceInputTypes,
|
|
40
40
|
ServiceOutputTypes
|
|
41
41
|
>;
|
|
42
|
-
getEndpointParameterInstructions():
|
|
42
|
+
getEndpointParameterInstructions(): {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
};
|
|
43
45
|
};
|
|
44
46
|
export declare class PutSessionCommand extends PutSessionCommand_base {
|
|
45
47
|
protected static __types: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
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/
|
|
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 LexRuntimeServiceExtensionConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
3
|
ServiceException as __ServiceException,
|
|
4
|
-
} from "@smithy/
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
5
|
export { __ServiceExceptionOptions };
|
|
6
6
|
export { __ServiceException };
|
|
7
7
|
export declare class LexRuntimeServiceServiceException extends __ServiceException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
3
3
|
export declare class BadRequestException extends __BaseException {
|
|
4
4
|
readonly name: "BadRequestException";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
2
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
ConfirmationStatus,
|
|
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
-
import("@smithy/
|
|
8
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider:
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (
|
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
21
|
requestHandler:
|
|
22
|
-
| import("@smithy/
|
|
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;
|
|
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
-
import("@smithy/
|
|
8
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
21
21
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
22
|
requestHandler:
|
|
23
23
|
| RequestHandler
|
|
24
|
-
| import("@smithy/
|
|
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;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
9
9
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
10
10
|
| Record<string, unknown>
|
|
11
|
-
| import("@smithy/
|
|
11
|
+
| import("@smithy/core/protocols").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
cacheMiddleware?: boolean;
|
|
14
14
|
protocol:
|
|
@@ -48,9 +48,9 @@ export declare const getRuntimeConfig: (
|
|
|
48
48
|
logger: import("@smithy/types").Logger;
|
|
49
49
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
50
|
defaultsMode:
|
|
51
|
-
| import("@smithy/
|
|
51
|
+
| import("@smithy/core/client").DefaultsMode
|
|
52
52
|
| import("@smithy/types").Provider<
|
|
53
|
-
import("@smithy/
|
|
53
|
+
import("@smithy/core/client").DefaultsMode
|
|
54
54
|
>;
|
|
55
55
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
56
56
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1047.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-service",
|
|
@@ -23,43 +23,21 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.10",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.41",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.40",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
33
33
|
"@aws-sdk/types": "^3.973.8",
|
|
34
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/hash-node": "^4.2.14",
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.14",
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.14",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.32",
|
|
44
|
-
"@smithy/middleware-retry": "^4.5.7",
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.20",
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.14",
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.14",
|
|
48
|
-
"@smithy/node-http-handler": "^4.6.1",
|
|
49
|
-
"@smithy/protocol-http": "^5.3.14",
|
|
50
|
-
"@smithy/smithy-client": "^4.12.13",
|
|
34
|
+
"@aws-sdk/util-endpoints": "^3.996.9",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.11",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.26",
|
|
37
|
+
"@smithy/core": "^3.24.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.4.1",
|
|
39
|
+
"@smithy/node-http-handler": "^4.7.1",
|
|
51
40
|
"@smithy/types": "^4.14.1",
|
|
52
|
-
"@smithy/url-parser": "^4.2.14",
|
|
53
|
-
"@smithy/util-base64": "^4.3.2",
|
|
54
|
-
"@smithy/util-body-length-browser": "^4.2.2",
|
|
55
|
-
"@smithy/util-body-length-node": "^4.2.3",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
58
|
-
"@smithy/util-endpoints": "^3.4.2",
|
|
59
|
-
"@smithy/util-middleware": "^4.2.14",
|
|
60
|
-
"@smithy/util-retry": "^4.3.6",
|
|
61
|
-
"@smithy/util-stream": "^4.5.25",
|
|
62
|
-
"@smithy/util-utf8": "^4.2.2",
|
|
63
41
|
"tslib": "^2.6.2"
|
|
64
42
|
},
|
|
65
43
|
"devDependencies": {
|