@aws-sdk/client-lex-runtime-service 3.775.0 → 3.777.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/DeleteSessionCommand.d.ts +1 -0
- package/dist-types/commands/GetSessionCommand.d.ts +1 -0
- package/dist-types/commands/PostContentCommand.d.ts +6 -0
- package/dist-types/commands/PostTextCommand.d.ts +1 -0
- package/dist-types/commands/PutSessionCommand.d.ts +6 -0
- package/package.json +2 -2
|
@@ -79,6 +79,7 @@ declare const DeleteSessionCommand_base: {
|
|
|
79
79
|
* @throws {@link LexRuntimeServiceServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class DeleteSessionCommand extends DeleteSessionCommand_base {
|
|
@@ -110,6 +110,7 @@ declare const GetSessionCommand_base: {
|
|
|
110
110
|
* @throws {@link LexRuntimeServiceServiceException}
|
|
111
111
|
* <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
|
|
112
112
|
*
|
|
113
|
+
*
|
|
113
114
|
* @public
|
|
114
115
|
*/
|
|
115
116
|
export declare class GetSessionCommand extends GetSessionCommand_base {
|
|
@@ -125,6 +125,11 @@ declare const PostContentCommand_base: {
|
|
|
125
125
|
* };
|
|
126
126
|
* const command = new PostContentCommand(input);
|
|
127
127
|
* const response = await client.send(command);
|
|
128
|
+
* // consume or destroy the stream to free the socket.
|
|
129
|
+
* const bytes = await response.audioStream.transformToByteArray();
|
|
130
|
+
* // const str = await response.audioStream.transformToString();
|
|
131
|
+
* // response.audioStream.destroy(); // only applicable to Node.js Readable streams.
|
|
132
|
+
*
|
|
128
133
|
* // { // PostContentResponse
|
|
129
134
|
* // contentType: "STRING_VALUE",
|
|
130
135
|
* // intentName: "STRING_VALUE",
|
|
@@ -212,6 +217,7 @@ declare const PostContentCommand_base: {
|
|
|
212
217
|
* @throws {@link LexRuntimeServiceServiceException}
|
|
213
218
|
* <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
|
|
214
219
|
*
|
|
220
|
+
*
|
|
215
221
|
* @public
|
|
216
222
|
*/
|
|
217
223
|
export declare class PostContentCommand extends PostContentCommand_base {
|
|
@@ -255,6 +255,7 @@ declare const PostTextCommand_base: {
|
|
|
255
255
|
* @throws {@link LexRuntimeServiceServiceException}
|
|
256
256
|
* <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
|
|
257
257
|
*
|
|
258
|
+
*
|
|
258
259
|
* @public
|
|
259
260
|
*/
|
|
260
261
|
export declare class PostTextCommand extends PostTextCommand_base {
|
|
@@ -84,6 +84,11 @@ declare const PutSessionCommand_base: {
|
|
|
84
84
|
* };
|
|
85
85
|
* const command = new PutSessionCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
+
* // consume or destroy the stream to free the socket.
|
|
88
|
+
* const bytes = await response.audioStream.transformToByteArray();
|
|
89
|
+
* // const str = await response.audioStream.transformToString();
|
|
90
|
+
* // response.audioStream.destroy(); // only applicable to Node.js Readable streams.
|
|
91
|
+
*
|
|
87
92
|
* // { // PutSessionResponse
|
|
88
93
|
* // contentType: "STRING_VALUE",
|
|
89
94
|
* // intentName: "STRING_VALUE",
|
|
@@ -155,6 +160,7 @@ declare const PutSessionCommand_base: {
|
|
|
155
160
|
* @throws {@link LexRuntimeServiceServiceException}
|
|
156
161
|
* <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
|
|
157
162
|
*
|
|
163
|
+
*
|
|
158
164
|
* @public
|
|
159
165
|
*/
|
|
160
166
|
export declare class PutSessionCommand extends PutSessionCommand_base {
|
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.777.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-service",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.775.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|