@aws-sdk/client-lex-runtime-service 3.952.0 → 3.954.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +149 -112
- package/dist-cjs/runtimeConfig.shared.js +6 -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/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +82 -82
- package/dist-types/LexRuntimeServiceClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +38 -52
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -54
- package/package.json +35 -35
|
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
10
|
| Record<string, unknown>
|
|
11
11
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
|
-
apiVersion: string;
|
|
14
13
|
cacheMiddleware?: boolean;
|
|
14
|
+
protocol:
|
|
15
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
16
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
17
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
18
|
+
protocolSettings: {
|
|
19
|
+
defaultNamespace?: string;
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
apiVersion: string;
|
|
15
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
16
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
25
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
|
|
|
39
47
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
40
48
|
logger: import("@smithy/types").Logger;
|
|
41
49
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
42
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
43
|
-
import("@smithy/types").HttpRequest,
|
|
44
|
-
import("@smithy/types").HttpResponse
|
|
45
|
-
>;
|
|
46
50
|
defaultsMode:
|
|
47
51
|
| import("@smithy/smithy-client").DefaultsMode
|
|
48
52
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
2
3
|
export declare const getRuntimeConfig: (
|
|
3
4
|
config: LexRuntimeServiceClientConfig
|
|
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
|
|
|
16
17
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeServiceHttpAuthSchemeProvider;
|
|
17
18
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
19
|
logger: import("@smithy/types").Logger;
|
|
19
|
-
protocol:
|
|
20
|
-
import("@smithy/types").
|
|
21
|
-
import("@smithy/types").
|
|
22
|
-
|
|
20
|
+
protocol:
|
|
21
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
22
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
23
|
+
| typeof AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
[setting: string]: unknown;
|
|
26
|
+
defaultNamespace?: string;
|
|
27
|
+
};
|
|
23
28
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
24
29
|
serviceId: string;
|
|
25
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,59 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
|
-
StaticMapSchema,
|
|
5
3
|
StaticOperationSchema,
|
|
6
|
-
StaticSimpleSchema,
|
|
7
4
|
StaticStructureSchema,
|
|
8
5
|
} from "@smithy/types";
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var
|
|
25
|
-
export declare var
|
|
26
|
-
export declare var
|
|
27
|
-
export declare var
|
|
28
|
-
export declare var
|
|
29
|
-
export declare var
|
|
30
|
-
export declare var
|
|
31
|
-
export declare var
|
|
32
|
-
export declare var
|
|
33
|
-
export declare var
|
|
34
|
-
export declare var
|
|
35
|
-
export declare var
|
|
36
|
-
export declare var
|
|
37
|
-
export declare var
|
|
38
|
-
export declare var
|
|
39
|
-
export declare var
|
|
40
|
-
export declare var
|
|
41
|
-
export declare var
|
|
42
|
-
export declare var
|
|
43
|
-
export declare var
|
|
44
|
-
export declare var
|
|
45
|
-
export declare var
|
|
46
|
-
export declare var UnsupportedMediaTypeException: StaticErrorSchema;
|
|
47
|
-
export declare var LexRuntimeServiceServiceException: StaticErrorSchema;
|
|
48
|
-
export declare var ActiveContextsList: StaticListSchema;
|
|
49
|
-
export declare var genericAttachmentList: StaticListSchema;
|
|
50
|
-
export declare var IntentList: StaticListSchema;
|
|
51
|
-
export declare var IntentSummaryList: StaticListSchema;
|
|
52
|
-
export declare var listOfButtons: StaticListSchema;
|
|
53
|
-
export declare var ActiveContextParametersMap: StaticMapSchema;
|
|
54
|
-
export declare var StringMap: StaticMapSchema;
|
|
55
|
-
export declare var DeleteSession: StaticOperationSchema;
|
|
56
|
-
export declare var GetSession: StaticOperationSchema;
|
|
57
|
-
export declare var PostContent: StaticOperationSchema;
|
|
58
|
-
export declare var PostText: StaticOperationSchema;
|
|
59
|
-
export declare var PutSession: StaticOperationSchema;
|
|
6
|
+
export declare var ActiveContext$: StaticStructureSchema;
|
|
7
|
+
export declare var ActiveContextTimeToLive$: StaticStructureSchema;
|
|
8
|
+
export declare var BadGatewayException$: StaticErrorSchema;
|
|
9
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
10
|
+
export declare var Button$: StaticStructureSchema;
|
|
11
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
12
|
+
export declare var DeleteSessionRequest$: StaticStructureSchema;
|
|
13
|
+
export declare var DeleteSessionResponse$: StaticStructureSchema;
|
|
14
|
+
export declare var DependencyFailedException$: StaticErrorSchema;
|
|
15
|
+
export declare var DialogAction$: StaticStructureSchema;
|
|
16
|
+
export declare var GenericAttachment$: StaticStructureSchema;
|
|
17
|
+
export declare var GetSessionRequest$: StaticStructureSchema;
|
|
18
|
+
export declare var GetSessionResponse$: StaticStructureSchema;
|
|
19
|
+
export declare var IntentConfidence$: StaticStructureSchema;
|
|
20
|
+
export declare var IntentSummary$: StaticStructureSchema;
|
|
21
|
+
export declare var InternalFailureException$: StaticErrorSchema;
|
|
22
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
23
|
+
export declare var LoopDetectedException$: StaticErrorSchema;
|
|
24
|
+
export declare var NotAcceptableException$: StaticErrorSchema;
|
|
25
|
+
export declare var NotFoundException$: StaticErrorSchema;
|
|
26
|
+
export declare var PostContentRequest$: StaticStructureSchema;
|
|
27
|
+
export declare var PostContentResponse$: StaticStructureSchema;
|
|
28
|
+
export declare var PostTextRequest$: StaticStructureSchema;
|
|
29
|
+
export declare var PostTextResponse$: StaticStructureSchema;
|
|
30
|
+
export declare var PredictedIntent$: StaticStructureSchema;
|
|
31
|
+
export declare var PutSessionRequest$: StaticStructureSchema;
|
|
32
|
+
export declare var PutSessionResponse$: StaticStructureSchema;
|
|
33
|
+
export declare var RequestTimeoutException$: StaticErrorSchema;
|
|
34
|
+
export declare var ResponseCard$: StaticStructureSchema;
|
|
35
|
+
export declare var SentimentResponse$: StaticStructureSchema;
|
|
36
|
+
export declare var UnsupportedMediaTypeException$: StaticErrorSchema;
|
|
37
|
+
export declare var LexRuntimeServiceServiceException$: StaticErrorSchema;
|
|
38
|
+
export declare var DeleteSession$: StaticOperationSchema;
|
|
39
|
+
export declare var GetSession$: StaticOperationSchema;
|
|
40
|
+
export declare var PostContent$: StaticOperationSchema;
|
|
41
|
+
export declare var PostText$: StaticOperationSchema;
|
|
42
|
+
export declare var PutSession$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.954.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-service",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -23,42 +23,42 @@
|
|
|
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.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^4.4.
|
|
38
|
-
"@smithy/core": "^3.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
40
|
-
"@smithy/hash-node": "^4.2.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.
|
|
48
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
-
"@smithy/protocol-http": "^5.3.
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
51
|
-
"@smithy/types": "^4.
|
|
52
|
-
"@smithy/url-parser": "^4.2.
|
|
26
|
+
"@aws-sdk/core": "3.954.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.954.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.954.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
33
|
+
"@aws-sdk/types": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.954.0",
|
|
37
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
38
|
+
"@smithy/core": "^3.19.0",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
40
|
+
"@smithy/hash-node": "^4.2.6",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.0",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.16",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
48
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
50
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
51
|
+
"@smithy/types": "^4.10.0",
|
|
52
|
+
"@smithy/url-parser": "^4.2.6",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
-
"@smithy/util-endpoints": "^3.2.
|
|
59
|
-
"@smithy/util-middleware": "^4.2.
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
-
"@smithy/util-stream": "^4.5.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.15",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.18",
|
|
58
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
60
|
+
"@smithy/util-retry": "^4.2.6",
|
|
61
|
+
"@smithy/util-stream": "^4.5.7",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|