@aws-sdk/client-lex-runtime-v2 3.529.0 → 3.533.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-types/commands/PutSessionCommand.d.ts +1 -1
- package/dist-types/commands/RecognizeUtteranceCommand.d.ts +2 -2
- package/dist-types/commands/StartConversationCommand.d.ts +2 -2
- 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/runtimeConfig.shared.d.ts +2 -2
- 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 +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +43 -43
|
@@ -160,7 +160,7 @@ declare const PutSessionCommand_base: {
|
|
|
160
160
|
* // sessionState: "STRING_VALUE",
|
|
161
161
|
* // requestAttributes: "STRING_VALUE",
|
|
162
162
|
* // sessionId: "STRING_VALUE",
|
|
163
|
-
* // audioStream: "
|
|
163
|
+
* // audioStream: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
|
|
164
164
|
* // };
|
|
165
165
|
*
|
|
166
166
|
* ```
|
|
@@ -106,7 +106,7 @@ declare const RecognizeUtteranceCommand_base: {
|
|
|
106
106
|
* requestAttributes: "STRING_VALUE",
|
|
107
107
|
* requestContentType: "STRING_VALUE", // required
|
|
108
108
|
* responseContentType: "STRING_VALUE",
|
|
109
|
-
* inputStream: "
|
|
109
|
+
* inputStream: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes
|
|
110
110
|
* };
|
|
111
111
|
* const command = new RecognizeUtteranceCommand(input);
|
|
112
112
|
* const response = await client.send(command);
|
|
@@ -119,7 +119,7 @@ declare const RecognizeUtteranceCommand_base: {
|
|
|
119
119
|
* // requestAttributes: "STRING_VALUE",
|
|
120
120
|
* // sessionId: "STRING_VALUE",
|
|
121
121
|
* // inputTranscript: "STRING_VALUE",
|
|
122
|
-
* // audioStream: "
|
|
122
|
+
* // audioStream: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
|
|
123
123
|
* // recognizedBotMember: "STRING_VALUE",
|
|
124
124
|
* // };
|
|
125
125
|
*
|
|
@@ -215,7 +215,7 @@ declare const StartConversationCommand_base: {
|
|
|
215
215
|
* clientTimestampMillis: Number("long"),
|
|
216
216
|
* },
|
|
217
217
|
* AudioInputEvent: { // AudioInputEvent
|
|
218
|
-
* audioChunk: "
|
|
218
|
+
* audioChunk: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
219
219
|
* contentType: "STRING_VALUE", // required
|
|
220
220
|
* eventId: "STRING_VALUE",
|
|
221
221
|
* clientTimestampMillis: Number("long"),
|
|
@@ -398,7 +398,7 @@ declare const StartConversationCommand_base: {
|
|
|
398
398
|
* // eventId: "STRING_VALUE",
|
|
399
399
|
* // },
|
|
400
400
|
* // AudioResponseEvent: { // AudioResponseEvent
|
|
401
|
-
* // audioChunk:
|
|
401
|
+
* // audioChunk: new Uint8Array(),
|
|
402
402
|
* // contentType: "STRING_VALUE",
|
|
403
403
|
* // eventId: "STRING_VALUE",
|
|
404
404
|
* // },
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
22
22
|
apiVersion: string;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
base64Encoder:
|
|
25
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
26
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
utf8Encoder:
|
|
27
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
22
22
|
apiVersion: string;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
base64Encoder:
|
|
25
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
26
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
-
utf8Encoder:
|
|
27
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
@@ -12,9 +12,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
12
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
14
|
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
-
base64Encoder:
|
|
15
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
16
16
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
-
utf8Encoder:
|
|
17
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -16,5 +16,5 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
16
16
|
serviceId: string;
|
|
17
17
|
urlParser: import("@smithy/types").UrlParser;
|
|
18
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
-
utf8Encoder:
|
|
19
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
20
20
|
};
|
|
@@ -27,9 +27,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
27
27
|
apiVersion: string;
|
|
28
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
29
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
-
base64Encoder:
|
|
30
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
31
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
-
utf8Encoder:
|
|
32
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
serviceId: string;
|
|
35
35
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
31
31
|
apiVersion: string;
|
|
32
32
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
33
|
base64Decoder: import("@smithy/types").Decoder;
|
|
34
|
-
base64Encoder:
|
|
34
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
35
35
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
36
|
-
utf8Encoder:
|
|
36
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
37
37
|
disableHostPrefix: boolean;
|
|
38
38
|
serviceId: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
@@ -14,9 +14,9 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
14
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
16
|
base64Decoder: import("@smithy/types").Decoder;
|
|
17
|
-
base64Encoder:
|
|
17
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
18
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
-
utf8Encoder:
|
|
19
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
21
|
serviceId: string;
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -2,7 +2,7 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
|
|
|
2
2
|
export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
4
|
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
-
base64Encoder:
|
|
5
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -16,5 +16,5 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
16
16
|
serviceId: string;
|
|
17
17
|
urlParser: import("@smithy/types").UrlParser;
|
|
18
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
-
utf8Encoder:
|
|
19
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.533.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-v2",
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-eventstream": "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-signing": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^2.1.
|
|
39
|
-
"@smithy/core": "^1.3.
|
|
40
|
-
"@smithy/eventstream-serde-browser": "^2.1.
|
|
41
|
-
"@smithy/eventstream-serde-config-resolver": "^2.1.
|
|
42
|
-
"@smithy/eventstream-serde-node": "^2.1.
|
|
43
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
44
|
-
"@smithy/hash-node": "^2.1.
|
|
45
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
46
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
47
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
48
|
-
"@smithy/middleware-retry": "^2.1.
|
|
49
|
-
"@smithy/middleware-serde": "^2.1
|
|
50
|
-
"@smithy/middleware-stack": "^2.1.
|
|
51
|
-
"@smithy/node-config-provider": "^2.2.
|
|
52
|
-
"@smithy/node-http-handler": "^2.4.
|
|
53
|
-
"@smithy/protocol-http": "^3.2.
|
|
54
|
-
"@smithy/smithy-client": "^2.4.
|
|
55
|
-
"@smithy/types": "^2.
|
|
56
|
-
"@smithy/url-parser": "^2.1.
|
|
57
|
-
"@smithy/util-base64": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.533.0",
|
|
24
|
+
"@aws-sdk/core": "3.533.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.533.0",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "3.533.0",
|
|
27
|
+
"@aws-sdk/middleware-eventstream": "3.533.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.533.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.533.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.533.0",
|
|
31
|
+
"@aws-sdk/middleware-signing": "3.533.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.533.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.533.0",
|
|
34
|
+
"@aws-sdk/types": "3.533.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.533.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.533.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.533.0",
|
|
38
|
+
"@smithy/config-resolver": "^2.1.5",
|
|
39
|
+
"@smithy/core": "^1.3.8",
|
|
40
|
+
"@smithy/eventstream-serde-browser": "^2.1.4",
|
|
41
|
+
"@smithy/eventstream-serde-config-resolver": "^2.1.4",
|
|
42
|
+
"@smithy/eventstream-serde-node": "^2.1.4",
|
|
43
|
+
"@smithy/fetch-http-handler": "^2.4.5",
|
|
44
|
+
"@smithy/hash-node": "^2.1.4",
|
|
45
|
+
"@smithy/invalid-dependency": "^2.1.4",
|
|
46
|
+
"@smithy/middleware-content-length": "^2.1.4",
|
|
47
|
+
"@smithy/middleware-endpoint": "^2.4.6",
|
|
48
|
+
"@smithy/middleware-retry": "^2.1.7",
|
|
49
|
+
"@smithy/middleware-serde": "^2.2.1",
|
|
50
|
+
"@smithy/middleware-stack": "^2.1.4",
|
|
51
|
+
"@smithy/node-config-provider": "^2.2.5",
|
|
52
|
+
"@smithy/node-http-handler": "^2.4.3",
|
|
53
|
+
"@smithy/protocol-http": "^3.2.2",
|
|
54
|
+
"@smithy/smithy-client": "^2.4.5",
|
|
55
|
+
"@smithy/types": "^2.11.0",
|
|
56
|
+
"@smithy/url-parser": "^2.1.4",
|
|
57
|
+
"@smithy/util-base64": "^2.2.1",
|
|
58
58
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
59
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
62
|
-
"@smithy/util-endpoints": "^1.1.
|
|
63
|
-
"@smithy/util-retry": "^2.1.
|
|
64
|
-
"@smithy/util-stream": "^2.1.
|
|
65
|
-
"@smithy/util-utf8": "^2.
|
|
59
|
+
"@smithy/util-body-length-node": "^2.2.2",
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^2.1.7",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^2.2.7",
|
|
62
|
+
"@smithy/util-endpoints": "^1.1.5",
|
|
63
|
+
"@smithy/util-retry": "^2.1.4",
|
|
64
|
+
"@smithy/util-stream": "^2.1.5",
|
|
65
|
+
"@smithy/util-utf8": "^2.2.0",
|
|
66
66
|
"tslib": "^2.5.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|